Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
Muthuraj V
Muthuraj V el 24 de Oct. de 2011
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.

Respuestas (1)

Walter Roberson
Walter Roberson el 24 de Oct. de 2011
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 comentarios
Image Analyst
Image Analyst el 24 de Oct. de 2011
Coefficients? Of what? They're intensity values of course.
Walter Roberson
Walter Roberson el 24 de Oct. de 2011
Muthuraj, if your question is, "Can imread() be used to retrieve the DCT coefficients of a JPEG image", then the answer is NO.

Iniciar sesión para comentar.

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by