フィルターのクリア

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 Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by