how to determine image size png
Show older comments
Hi all, anyone can help me how to know the pixel size of one pixel??
my image is medtest.png
>> info = imfinfo('medtest.png')
info =
struct with fields:
Filename: 'C:\Users\Akmal\Documents\MATLAB\Add-Ons\Functions\Region Growing\medtest.png'
FileModDate: '25-Dec-2020 23:21:43'
FileSize: 53631
Format: 'png'
FormatVersion: []
Width: 468
Height: 400
BitDepth: 8
ColorType: 'grayscale'
FormatSignature: [137 80 78 71 13 10 26 10]
Colormap: []
Histogram: []
InterlaceType: 'none'
Transparency: 'none'
SimpleTransparencyData: []
BackgroundColor: []
RenderingIntent: []
Chromaticities: [0.31269 0.32899 0.63999 0.33001 0.3 0.6 0.15 0.05999]
Gamma: 0.45454
XResolution: 2835
YResolution: 2835
ResolutionUnit: 'meter'
XOffset: []
YOffset: []
OffsetUnit: []
SignificantBits: []
ImageModTime: []
Title: []
Author: []
Description: []
Copyright: []
CreationTime: []
Software: []
Disclaimer: []
Warning: []
Source: []
Comment: []
OtherText: []
Accepted Answer
More Answers (0)
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!