demo1
Contents
clear load filelist subdir = 'photos\'; n = length(files);
image 1
Note that this is a FUJIFILM FinePix6900Zoom digital camera
filename = [ subdir char(files{1})]; photo_info(filename); rgb = imread(filename); imshow(rgb)
Filename: 'C:\ece563\basics\photos\photos\2013_0115_163116AA.JPG' FileModDate: '16-Jan-2013 22:31:05' FileSize: 607096 Format: 'jpg' FormatVersion: '' Width: 2048 Height: 1536 BitDepth: 24 ColorType: 'truecolor' FormatSignature: '' NumberOfSamples: 3 CodingMethod: 'Huffman' CodingProcess: 'Sequential' Comment: {} Make: 'FUJIFILM' Model: 'FinePix6900ZOOM' Orientation: 1 XResolution: 72 YResolution: 72 ResolutionUnit: 'Inch' Software: 'Digital Camera FinePix6900ZOOM Ver1.00' DateTime: '2013:01:15 16:31:16' YCbCrPositioning: 'Co-sited' Copyright: ' ' DigitalCamera: [1x1 struct] ExifThumbnail: [1x1 struct] Digital Camera FNumber: 2.8000 ExposureProgram: 'Normal program' ISOSpeedRatings: 100 ExifVersion: [48 50 49 48] DateTimeOriginal: '2013:01:15 16:31:16' DateTimeDigitized: '2013:01:15 16:31:16' ComponentsConfiguration: 'YCbCr' CompressedBitsPerPixel: 1.5000 ShutterSpeedValue: 6 ApertureValue: 3 BrightnessValue: 3.1100 ExposureBiasValue: 0 MaxApertureValue: 3 MeteringMode: 'Pattern' Flash: 'Flash fired, no strobe return detection fun...' FocalLength: 9.7000 MakerNote: [1x238 double] FlashpixVersion: [48 49 48 48] ColorSpace: 'sRGB' CPixelXDimension: 2048 CPixelYDimension: 1536 InteroperabilityIFD: [1x1 struct] FocalPlaneXResolution: 2678 FocalPlaneYResolution: 2674 FocalPlaneResolutionUnit: 3 SensingMethod: 'One-chip color area sensor' FileSource: 'DSC' SceneType: 'A directly photographed image' ExifThumbnail Compression: 'OJPEG' Orientation: 1 XResolution: 72 YResolution: 72 ResolutionUnit: 'Inch' JPEGInterchangeFormat: 1102 JPEGInterchangeFormatLength: 9225 YCbCrPositioning: 'Co-sited' Warning: Image is too big to fit on screen; displaying at 33%
image 2
This is my new FUJIFILEM FinePix S1 digital camera
filename = [ subdir char(files{2})]; photo_info(filename); rgb = imread(filename); imshow(rgb)
Filename: 'C:\ece563\basics\photos\photos\2014_1019_185336AA.JPG' FileModDate: '08-Nov-2014 17:13:56' FileSize: 2785448 Format: 'jpg' FormatVersion: '' Width: 4608 Height: 2592 BitDepth: 24 ColorType: 'truecolor' FormatSignature: '' NumberOfSamples: 3 CodingMethod: 'Huffman' CodingProcess: 'Sequential' Comment: {} Make: 'FUJIFILM' Model: 'FinePix S1' Orientation: 1 XResolution: 72 YResolution: 72 ResolutionUnit: 'Inch' Software: 'Digital Camera FinePix S1 Ver1.01' DateTime: '2014:10:19 18:53:36' YCbCrPositioning: 'Co-sited' Copyright: ' ' DigitalCamera: [1x1 struct] UnknownTags: [1x1 struct] ExifThumbnail: [1x1 struct] Digital Camera ExposureTime: 0.0222 FNumber: 3.3000 ExposureProgram: 'Normal program' ISOSpeedRatings: 100 ExifVersion: [48 50 51 48] DateTimeOriginal: '2014:10:19 18:53:36' DateTimeDigitized: '2014:10:19 18:53:36' ComponentsConfiguration: 'YCbCr' CompressedBitsPerPixel: 2 ShutterSpeedValue: 5.5000 ApertureValue: 3.3000 BrightnessValue: 3.8000 ExposureBiasValue: 0 MaxApertureValue: 3.5300 MeteringMode: 'Pattern' LightSource: 'unknown' Flash: 'Flash did not fire, no strobe return detect...' FocalLength: 7.2000 MakerNote: [1x9576 double] FlashpixVersion: [48 49 48 48] ColorSpace: 'sRGB' CPixelXDimension: 4608 CPixelYDimension: 2592 InteroperabilityIFD: [1x1 struct] FocalPlaneXResolution: 7463 FocalPlaneYResolution: 7463 FocalPlaneResolutionUnit: 3 SensingMethod: 'One-chip color area sensor' FileSource: 'DSC' SceneType: 'A directly photographed image' CustomRendered: 'Normal process' ExposureMode: 'Auto exposure' WhiteBalance: 'Auto white balance' SceneCaptureType: 'Standard' Sharpness: 'Normal' SubjectDistanceRange: 'unknown' UnknownTags: [1x1 struct] ExifThumbnail Compression: 'OJPEG' Orientation: 1 XResolution: 72 YResolution: 72 ResolutionUnit: 'Inch' JPEGInterchangeFormat: 12276 JPEGInterchangeFormatLength: 9298 YCbCrPositioning: 'Co-sited' Warning: Image is too big to fit on screen; displaying at 25%
image 3
This is a LGE Nexus 4 (cell phone) with GPS enabled
filename = [ subdir char(files{3})]; photo_info(filename); rgb = imread(filename); imshow(rgb)
Filename: 'C:\ece563\basics\photos\photos\IMG_20141019_161626.jpg' FileModDate: '21-Nov-2014 12:31:46' FileSize: 4816554 Format: 'jpg' FormatVersion: '' Width: 2448 Height: 3264 BitDepth: 24 ColorType: 'truecolor' FormatSignature: '' NumberOfSamples: 3 CodingMethod: 'Huffman' CodingProcess: 'Sequential' Comment: {} Make: 'LGE' Model: 'Nexus 4' XResolution: 72 YResolution: 72 ResolutionUnit: 'Inch' YCbCrPositioning: 'Centered' DigitalCamera: [1x1 struct] GPSInfo: [1x1 struct] ExifThumbnail: [1x1 struct] Digital Camera ExposureTime: 0.0052 FNumber: 2.6500 ISOSpeedRatings: 100 ExifVersion: [48 50 50 48] DateTimeOriginal: '2014:10:19 16:16:26' DateTimeDigitized: '2014:10:19 16:16:26' ComponentsConfiguration: 'YCbCr' FocalLength: 4.6000 FlashpixVersion: [48 49 48 48] ColorSpace: 'sRGB' CPixelXDimension: 2448 CPixelYDimension: 3264 InteroperabilityIFD: [1x1 struct] ExifThumbnail Compression: 'OJPEG' XResolution: 72 YResolution: 72 ResolutionUnit: 'Inch' JPEGInterchangeFormat: 735 JPEGInterchangeFormatLength: 55049 GPSInfo GPSLatitudeRef: 'S' GPSLatitude: [16 31 30.1840] GPSLongitudeRef: 'E' GPSLongitude: [145 27 51.4050] GPSAltitudeRef: 0 GPSAltitude: 55.0990 GPSTimeStamp: [23 16 18] GPSImgDirectionRef: 'M' GPSImgDirection: 252 GPSProcessingMethod: 'ASCII FUSED' GPSDateStamp: '2014:10:19' Warning: Image is too big to fit on screen; displaying at 17%
image 4
This is a digital image - but not directly from a camera
filename = [ subdir char(files{9})]; photo_info(filename); rgb = imread(filename); imshow(rgb)
Filename: 'C:\ece563\basics\photos\photos\mandrill.tif' FileModDate: '26-Sep-1997 15:33:19' FileSize: 786572 Format: 'tif' FormatVersion: [] Width: 512 Height: 512 BitDepth: 24 ColorType: 'truecolor' FormatSignature: [77 77 0 42] ByteOrder: 'big-endian' NewSubFileType: 0 BitsPerSample: [8 8 8] Compression: 'Uncompressed' PhotometricInterpretation: 'RGB' StripOffsets: 8 SamplesPerPixel: 3 RowsPerStrip: 4.2950e+09 StripByteCounts: 786432 XResolution: [] YResolution: [] ResolutionUnit: 'Inch' Colormap: [] PlanarConfiguration: 'Chunky' TileWidth: [] TileLength: [] TileOffsets: [] TileByteCounts: [] Orientation: 1 FillOrder: 1 GrayResponseUnit: 0.0100 MaxSampleValue: [255 255 255] MinSampleValue: [0 0 0] Thresholding: 1 Offset: 786440