What exactly does the imread() function read?
6 ビュー (過去 30 日間)
古いコメントを表示
Does the imread() function read the value of each pixel of the specified image? Or something else?
採用された回答
Image Analyst
2018 年 4 月 9 日
It gets the value of all the pixels and puts them into a 2-D monochrome array or a 3-D color array.
2 件のコメント
Guillaume
2018 年 4 月 9 日
or even 4-D array for CMYK encoded TIFF images. As per Pawel link, it's all explained in the documentation.
Walter Roberson
2018 年 4 月 9 日
編集済み: Walter Roberson
2018 年 4 月 11 日
I have seen some people report 4d for tiff RGBA as well.
Correction: I have seen some people report rows x columns x 4 for RGBA.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Convert Image Type についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!