Jamie Starling
  • Home
  • Visual Interventions
  • Shop
  • About
Select Page
Image Processing – Python Generating a Histogram for a Gray Scale Image

Image Processing – Python Generating a Histogram for a Gray Scale Image

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...
Image Processing – Python Convert Image to Gray Scale – Single Color Channel

Image Processing – Python Convert Image to Gray Scale – Single Color Channel

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...
Image Processing – Python Convert Image to Gray Scale – Average

Image Processing – Python Convert Image to Gray Scale – Average

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...
Image Processing – Python Read Image File and Convert into an Array

Image Processing – Python Read Image File and Convert into an Array

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...
Image Processing – Color Image Arrays

Image Processing – Color Image Arrays

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...
Image Processing – Memory Usage

Image Processing – Memory Usage

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...
« Older Entries
Next Entries »

Recent Posts


  • Light and Love 20220111
  • Light and Love 20220106
  • Light and Love 20220105
  • Light and Love 20221230
  • Light and Love 20221213
  • Light and Love 20221207
  • Light and Love 20221206

Categories


  • Beaufort North Carolina
  • Motion
  • Products
  • The Art of Technology
  • Visual Interventions
  • White Rabbit
  • Privacy Policy – Legal Notice