What NumberOfSamples and SamplesPerPixel mean?

5 visualizaciones (últimos 30 días)
Shaila parvin
Shaila parvin el 11 de Feb. de 2014
Comentada: Juan Diego Alzate Ramirez el 4 de Mayo de 2022
The “infonfo” command shows the characteristics of an image. I don’t understand two of them. They are:
1. NumberOfSamples
2. SamplesPerPixel
Can anyone please help me?
  1 comentario
Kevin Claytor
Kevin Claytor el 11 de Feb. de 2014
Is this a built-in command? I can't seem to find the documentation on it. If it's a third-party plugin, can you provide a link to the site?

Iniciar sesión para comentar.

Respuestas (1)

Image Analyst
Image Analyst el 11 de Feb. de 2014
Do you mean imfinfo()?
Anyway, the first one sounds like maybe the number of color channels???? And the second one is either the number of color channels or the number of bits per pixel. Where did you find this information?
  2 comentarios
Shaila parvin
Shaila parvin el 12 de Feb. de 2014
Yes, I mean it. I mean imfinfo('image.jpg').
Juan Diego Alzate Ramirez
Juan Diego Alzate Ramirez el 4 de Mayo de 2022
Hello everyone. do you guys know if is possible to change (3 samples per pixel) to (1 samples per pixel)? I am trying to upload some images to a software. It seems that is the main issue. Is possible to change the atributes with mathlab?

Iniciar sesión para comentar.

Categorías

Más información sobre Image Processing Toolbox 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