How can i change ppm image resolution when I using Imread?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
This question was flagged by Angelo Yeo
For example,
xx.ppm has 10bit data format
when I use a = imread("xx.ppm")
'a' file's data has multiplied by 64, because MATLAB Imread ppm default data format is 8bit unit
More exactly, If a files axis(1,1) origianl data is decimal 10 but In Matlab Imread, that data is changed decimal 640.
But I want using 10bit data format.
How can I change ppm image data unit format when I Using Imread?
please help me,
I'm sorry for the lack of readability because My English skill are not good
Thanks for reading.
3 Comments
Matlab Pro
on 4 Jun 2024
Hi
Not clear enough:
Can you attach the "xx.ppm" file? it will be easier to understand
"'a' file's data has multiplied by 64" - not clear: Do you mean its size as a variable is multiplied by 64?
경현
on 4 Jun 2024
DGM
on 4 Jun 2024
Please keep this in the original thread.
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!