MATLAB: Gray values of pixels

gray

please can anybody help me how to get gray values of pixels?? please do reply…..

Best Answer

You can simply do
grayValue = yourImage(row, column);
or use an interactive tool like imtool() or impixel() or impixelinfo().
Related Question