Does the imread() function read the value of each pixel of the specified image? Or something else?

 채택된 답변

Image Analyst
Image Analyst 2018년 4월 9일

0 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Convert Image Type에 대해 자세히 알아보기

태그

질문:

2018년 4월 9일

편집:

2018년 4월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by