by Jamie Starling | Jun 15, 2022 | The Art of Technology
What is an image histogram – it is a profile of the occurrences of each gray level present in an image. In the visual example below – we are using a bar graph to visualize it. It starts at 0 and goes to 255, each vertical bar represents the number of times...
by Jamie Starling | Jun 8, 2022 | The Art of Technology
In the last post we took a look at averaging the RGB channels to produce a gray scale image. It does require some math division to get the result. If you need a way that is even simpler and faster than averaging – we can extract the values from one of the color...
by Jamie Starling | Jun 8, 2022 | The Art of Technology
Let’s us look at some ways of converting a color image into a black and white or gray scale image. The most straight forward approach is averaging the three color channels, RGB. GrayValue = (Red + Green + Blue) / 3 You do this for every pixel. It is quick and...
by Jamie Starling | Jun 6, 2022 | The Art of Technology
There are a tons of image already – instead of going though the pain staking process of creating by hand our own images, I am going to use an image I already captured. And yes, it is of my three cats. I am also adding to the collection of cat images on the...
by Jamie Starling | Jun 6, 2022 | The Art of Technology
Up to this point we have been dealing with Black and White images or Gray Scale images – that can be represented by a 2d array. Array(height, width) In which each element in the array represents one pixel and the level of gray, with 0 being black and 255 being...
by Jamie Starling | Jun 2, 2022 | The Art of Technology
Something to consider is the memory usage for the images that you will be processing. Given a 100×200 image – black and white. That 100×200 array takes up roughly 20K of ram. If it is a color image, it would be 3 times that – because each color...