Tag: Visualization
-

More Experiments Around RGB Averaging
I decided to replicate the showing/hiding the dominant hues in images with showing/hiding around the average RGB values instead. I created a class called RGBColor (just holds red, green, and blue values), similar to the one I created called HSBColor. I could have used the java.awt.Color class, but that insists on a range of 0-1…
-

Eliminating the Dominant Hue from an Image
I thought it would be interesting to invert the idea of showing only the dominant hue, and show everything but that instead. I used the exact same code, but inverted the if statement so: if (!hueInRange(hue, lower, upper)) became if (hueInRange(hue, lower, upper)) Effect is as follows, as with most of these, my favourite effect…
-

Showing Only the Dominant Hue In an Image
Having extracted the dominant hue from the images, we can manipulate the image such that pixels that are not (or close to) the dominant hue are instead made grayscale. I converted to grayscale using the brightness of the image in the HSB. This worked really nicely. From my earlier experiments I decided on a hue…
-

Sunflower Layout in Processing
For a while, I’ve been wanting to make something that explores color in photo sets. Reading Beautiful Visualization (Amazon), I came across the perfect way to arrange the elements. It imitates the layout of the sunflower seeds, “the most efficient and visually mesmerizing way of packing small elements into a large circle”. I decided to…




