MATLAB: How to store all the intensity values of an image into an array

intensity values into an array

i have used canny edge detection on an image. now i need all the intensity values of that image in an array. how do i do that using matlab?

Best Answer

The array that you read the image into already is the intensity values for the image.
If you happen to mean brightness, then rgb2gray() of the image is the brightness.
Related Question