MATLAB: Finding index value in BW image

Image Processing Toolboxindex

How do i find the index value of a pixel in a black and white image without using the imtool function?
assume that the coordinate as [X, Y]

Best Answer

indexValue = grayImage(Y, X);