What NumberOfSamples and SamplesPerPixel mean?
4 次查看(过去 30 天)
显示 更早的评论
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
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
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 个评论
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 Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!