Extracting information from output

2 ビュー (過去 30 日間)
Lalit Patil
Lalit Patil 2012 年 12 月 20 日
I am using
info = imfinfo('Image2.png')
command for getting information about image..
and it gives following result..
Filename: 'Image2.png'
FileModDate: '14-Dec-2012 11:38:55'
FileSize: 180952
Format: 'png'
FormatVersion: []
Width: 752
Height: 480
BitDepth: 8
ColorType: 'grayscale'
FormatSignature: [137 80 78 71 13 10 26 10]
Now i want to extract only sixth and seventh line from it..
So, how to do..?

採用された回答

Walter Roberson
Walter Roberson 2012 年 12 月 20 日
info.Width and info.Height will have the values you are looking for.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFeature Detection and Extraction についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by