4 ms·
So OK you can use cv2.COLOR_RGB2GRAY to get a grayscale image. But what does that teach you? In my image processing 101 course a couple of years ago we actuall
by haffla 11y ago
So OK you can use cv2.COLOR_RGB2GRAY to get a grayscale image. But what does that teach you?
In my image processing 101 course a couple of years ago we actually didn't use any libraries except for reading images and showing them (written by the teacher). Just Java. A picture would be a 2 dimensional array. The pixel is represented by an integer. So you just need a nested for loop and you can manipulate every pixel yourself, thus learning what really happens under the hood, how filters work.
- piratefsh 11y agoi totally agree that the fun part lies in understanding how things work under the hood. i never understood how edge detection work until i worked on an implementation with JavaScript and canvas, and that was a fantastic learning experience. the motivation behind this article was to provide a general idea of what image processing could do, and hopefully encourage someone to delve deeper into the mechanics of image processing :)