image - Background converted from white to grey when read in matlab -
i have image: can seen background white, , when viewed in finder/explorer shows background white or light grey. but when read image matlab using basic command: imread(img_name); it read in this: why changing colour of background? i thought maybe indexed , tried converting grey command: [map, im] = imread(img_name); new = in2gray(im, map); but didn't work error stating map not valid colourmap edit imfinfo output added: filename: 'u:\iam_manual\010.png' filemoddate: '27-jun-2015 17:32:03' filesize: 1843331 format: 'png' formatversion: [] width: 2078 height: 2056 bitdepth: 8 colortype: 'indexed' formatsignature: [137 80 78 71 13 10 26 10] colormap: [256x3 double] histogram: [] interlacetype: 'none' transparency: 'none' simpletransparencyd