What do i get when i do c = imread('image.jpeg')
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi All,
when we do R= imread('someimage.jpeg')
what will be there in R..?? is it coefficients or intensity values...
can c\some one clarify this..?
Thank you, Raj.
댓글 수: 0
답변 (1개)
Walter Roberson
2011년 10월 24일
For JPEG files, it will be RGB values.
imread() fully decodes the images it reads, and outputs an indexed image if the image was stored as an indexed image, and outputs an RGB image if the image was stored as an RGB image. JPEG images are always stored as RGB images.
댓글 수: 3
Walter Roberson
2011년 10월 24일
Muthuraj, if your question is, "Can imread() be used to retrieve the DCT coefficients of a JPEG image", then the answer is NO.
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!