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
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
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
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 CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by