Installing SimpleCV + Ubuntu


Today it’s a small tutorial to install SimpleCV in Ubuntu. SimpleCV is a opensource framework for computer vision application development. It’s not a replacement for OpenCV, indeed it uses OpenCV as others libraries. As they say in their website: This is computer vision made easy.  Continue reading Installing SimpleCV + Ubuntu

Installing OpenCV 2.4.9 + QT5 in Ubuntu


Today is a small how to install OpenCV + QT5 in linux Ubuntu. For those who doesn’t know what is OpenCV, you can check here. Briefly OpenCV is a library for real time image processing created by Intel. It’s free for use under BSD license. Continue reading Installing OpenCV 2.4.9 + QT5 in Ubuntu

Baye’s theorem

Hello there!

More than 6 months from last post, for a good reason. We had our third kid and now, time is more than ever a scarce resource. So, let’s stop talking and go direct to the point!

Today I’ll explain a little about Baye’s theorem and why it’s important to know it.  Baye’s theorem is named after, Thomas Bayes an English statistician. This theorem is a solution to solve a problem of inverse conditional probability. I’ll give you an example to have a better understanding:

Continue reading Baye’s theorem

Test Driven Development – Unity + Microchip


Today I’ll explain a little bit about unit tests, test driven development (TDD) and how to set up an environment to be able to use TDD concepts in Microchip microcontrollers. Continue reading Test Driven Development – Unity + Microchip

Undefined Behavior in C compilers – What?

Hello people,

In this post I’d like to share one topic that is very important mainly for those which uses optimization in their C compiler. It’s very known that the C compiler was created having in mind to be a powerful language and able to generate efficient code. Continue reading Undefined Behavior in C compilers – What?

Vector quantization

  Hello there! In this post, as promised, I’ll explain a little about vector quantization. I’ll try to explain more how it works and not focus in the math, ok?

So, what’s the main idea behind vector quantization? The idea is pretty simple. Continue reading Vector quantization

Digikey – 180 days of education – Embedded Vision

Hello there!

Some posts ago I wrote about digikey’s continuing education program, if you didn’t read it, there is the link.

In the next five days, they are discussing about embedded vision, so if you are interested, check it out here. Continue reading Digikey – 180 days of education – Embedded Vision

Scalar Quantization


Today I’ll explain a little about scalar quantization. The goal of scalar quantization is to try to display an image using less quantization levels or less bit to represent each color level.

This method is very simple and very intuitive but the results aren’t that good. So, what’s the idea of scalar quantization? Imagine that we have an RGB image with color quantization from 0 to 255 (8 bits) and we want to represent the colors level only with 2 bits for each color. So instead of using 24 bits we’ll use only 6. Continue reading Scalar Quantization

Image Dithering – Octave

Hello there!

This post is about ordered dithering in Octave. What’s is dithering? You can find a very good explanation here in wikipedia. But briefly, the idea of dithering is to create the illusion of color depth in images with (in our case) only two color quantization. This technique is used in printers, scanners, etc. We print small dots black and leave white spaces and our eyes will do the rest of the job. For those who doesn’t know, our eyes has a low pass filter as frequency response.

Continue reading Image Dithering – Octave

Installing packages on Octave

Hello there!

Here a simple “how to” to install packages on Octave.

Continue reading Installing packages on Octave