필터 지우기
필터 지우기

What NumberOfSamples and SamplesPerPixel mean?

조회 수: 9 (최근 30일)
Shaila parvin
Shaila parvin 2014년 2월 11일
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
Kevin Claytor
Kevin Claytor 2014년 2월 11일
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?

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2014년 2월 11일
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
Shaila parvin
Shaila parvin 2014년 2월 12일
Yes, I mean it. I mean imfinfo('image.jpg').
Juan Diego Alzate Ramirez
Juan Diego Alzate Ramirez 2022년 5월 4일
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?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by