How to return array of pixel values associated with image matrix (C)?
2 views (last 30 days)
I am using imagesc to map my array, C, to a full color image. The colors of parts of the image determine the phases of the data. I would like to determine the thresholds for ranges of pixels (ranges that correspond to phases of the data). How can I retrieve the pixel values that MATLAB automatically assigns to my data in matrix C?
clim = [0 100]; %set range for pixel color
I = imagesc(flipud(C),clim);
b = colorbar;