Hi there,
i am trying to obtain data from pixel Images.
I know its possible to read a line and obtain the r/g/b values of one specific pixel.
Still i can´t fully wrap my head around how to archive two things:
1. How can I assign a certain area within a picture (for example a square in the upper left of a png) to be read out?
2. How can I obtain data such as average gray value ?
I am just starting with processing so please bare with me if my question is somewhat stupid.
I am searching for days now and i just can´t seem to find any useful information.
Every help.. or link to tutorial would be much appreciated.
Thank you very much!
i am trying to obtain data from pixel Images.
I know its possible to read a line and obtain the r/g/b values of one specific pixel.
Still i can´t fully wrap my head around how to archive two things:
1. How can I assign a certain area within a picture (for example a square in the upper left of a png) to be read out?
2. How can I obtain data such as average gray value ?
I am just starting with processing so please bare with me if my question is somewhat stupid.
I am searching for days now and i just can´t seem to find any useful information.
Every help.. or link to tutorial would be much appreciated.
Thank you very much!
1