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!