hi,
I want to retrieve Type, size, dimensions of an image in matlab.
hi,
I want to retrieve Type, size, dimensions of an image in matlab.
IMFINFO should show you the information you're looking for.
Here's the example from the Matlab help:
info = imfinfo('ngc6543a.jpg')
info =
Filename: [1x95 char]
FileModDate: '01-Oct-1996 17:19:44'
FileSize: 27387
Format: 'jpg'
FormatVersion: ''
Width: 600
Height: 650
BitDepth: 24
ColorType: 'truecolor'
FormatSignature: ''
NumberOfSamples: 3
CodingMethod: 'Huffman'
CodingProcess: 'Sequential'
Comment: {[1x69 char]}