Intensity (luminance) calculation
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
How can I calculate the intensity level of the ith pixel (or the luminance of the ith pixel) of an 1024*1024 grey level image
0 Kommentare
Antworten (1)
Image Analyst
am 15 Okt. 2015
Knowing the row and column, you can get its gray level:
grayLevel = grayscaleImage(row, column);
The total number of rows and columns does not enter into it - all you need to know is the location of the pixel.
5 Kommentare
Image Analyst
am 19 Okt. 2015
OK, then the pixel value at row i, column j is img(i,j) since your image is named img instead of grayscaleImage.
Siehe auch
Kategorien
Mehr zu Image Filtering and Enhancement finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!