Y’CbCr (“YUV”) conversion – part 1
Ok this week let’s try something a little bit more useful than random manipulation of one picture. Starting from the same beautiful Yosemite picture, we will convert it from RGB color space to Y’CbCr...
View ArticleY’CbCr (“YUV”) conversion – part 2
Now the fun part : the implementation using Processing.js We will load the original picture as in the previous example: img = loadImage(“Yosemite.jpg”); Then we will go through all the pixels by 2...
View ArticleLuma histogram
In the previous post we created 3 channels from the RGB original picture : Y’, Cb, and Cr. We will now look that the luma histogram, so using the Y’ channel computed in previous post. What is an...
View ArticleMacro photography with a smartphone ? DIY !
Creativity is often allowing us to solve some nice problems. Like, let say, taking macro photo without a macro lens. Plenty of tricks exist and can best be done with interchangeable lens cameras. These...
View ArticleContrast enhancement – part 1/2
In the previous image processing posts, we built a luma histogram from a RGB picture. In the next posts, we will work on contrast enhancement. We will use the luma channel, and define 2 luma stretch...
View ArticleColor saturation enhancement and Y’CbCr to RGB conversion
Before finishing the contrast enhancement started in previous post, we need to add a Y’CbCr to RGB function. It will allow us to close the loop : RGB=>Y’CbCr=>contrast enhancement on Y’=>RGB....
View ArticleEmbedding a Processing.js sketch in a WordPress page
Processing.js is very handy, and it is very cool to run your sketches in your browser. I was looking around for one easy way to embed a sketch into a WordPress page or post, and found a good option. I...
View ArticleContrast enhancement – part 2/2
All right, now that we added some missing bricks, like Y’CbCr to RGB , we can finish our contrast enhancement started in the post Contrast enhancement – part 1/2. The goal is to tweak poor contrast...
View ArticleMy new GitHub account
Hi there, I just created one account on GitHub, and added a GPL license on all the samples published so far on this site. Find everything in this repository :...
View Article
More Pages to Explore .....