Intensity (luminance) calculation
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Image Analyst
2015 年 10 月 15 日
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 件のコメント
Image Analyst
2015 年 10 月 19 日
OK, then the pixel value at row i, column j is img(i,j) since your image is named img instead of grayscaleImage.
参考
カテゴリ
Help Center および File Exchange で Image Filtering and Enhancement についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!