What exactly does the imread() function read?
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Tanish Agarwal
am 9 Apr. 2018
Bearbeitet: Walter Roberson
am 11 Apr. 2018
Does the imread() function read the value of each pixel of the specified image? Or something else?
1 Kommentar
Akzeptierte Antwort
Image Analyst
am 9 Apr. 2018
It gets the value of all the pixels and puts them into a 2-D monochrome array or a 3-D color array.
2 Kommentare
Guillaume
am 9 Apr. 2018
or even 4-D array for CMYK encoded TIFF images. As per Pawel link, it's all explained in the documentation.
Walter Roberson
am 9 Apr. 2018
Bearbeitet: Walter Roberson
am 11 Apr. 2018
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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Convert Image Type finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!