필터 지우기
필터 지우기

What do i get when i do c = imread('image.jpeg')

조회 수: 2 (최근 30일)
Muthuraj V
Muthuraj V 2011년 10월 24일
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.

답변 (1개)

Walter Roberson
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
Image Analyst
Image Analyst 2011년 10월 24일
Coefficients? Of what? They're intensity values of course.
Walter Roberson
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 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