Hello, can someone explain how image processing works in general pls.
I need to answer these questions using pullow in python:
b. Swap Red and Blue → how does the image change?
c. Extract the Green channel and compute its average value.
d. Convert image to grayscale by averaging R, G, B.
e. Image cropping – cut out the center 100×100 region.
f. Blurring – apply Gaussian blur.
But I first wanted to understand the theoretical aspect of how images are processed. I know that images are sequences of bits and are made up using multi-dimensional matrix/vectors.
I know we need to use libraries like numpy so that we can upload the image to be processed.
First question, when we upload the image into that array, do we have pixels to work with?
I know images are made of 3 colors, RGB, how do they work?
Like if I need to swap red with blue, what's the idea behind that, convey all bits holding blue into red?
The colors have an average value, what does that mean pls