フィルターのクリア

How to extract image from a multidimensional matrix ?

1 回表示 (過去 30 日間)
Mariem Harmassi
Mariem Harmassi 2012 年 11 月 29 日
I downloaded the USPS database a set of 1100 images per number from 0to9 . USPS is a data 256x1100x10 uint8 matrix , so how can I extract one image and the set corresponding to one number ????

採用された回答

Walter Roberson
Walter Roberson 2012 年 11 月 29 日
data(:, ImageNumber, DigitNumber)
which would seem to give you a vector of 256 elements. I have to wonder whether that is then intended to be reshaped to 8 x 8, or if instead you missed a dimension when you write the size?
I do not know if the digits start from 0 and go to 9, or start from 1, go to 9, and then have 0.
  2 件のコメント
Image Analyst
Image Analyst 2012 年 11 月 29 日
Yeah, way too low a resolution. I would guess it must be 256 by 256 pixel images, 1100 of them, and the 4th dimension is the number 0-9. What does it say when you do "whos USPS" or whatever your multidimensional matrix is called?
Mariem Harmassi
Mariem Harmassi 2012 年 11 月 29 日
Think you for answering , i resolved the problem ,itis an 8*8 image dimension . :))))

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by