Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How can i change ppm image resolution when I using Imread?

5 visualizaciones (últimos 30 días)
경현
경현 el 4 de Jun. de 2024
Cerrada: Angelo Yeo el 5 de Jun. de 2024
Angelo Yeo ha marcado con alerta este/a pregunta
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 comentarios
경현
경현 el 4 de Jun. de 2024
Hi
Sorry My English skill are poor
It's mean, xx files loading data 'a' has muliplied by 64,
xx files original data (view by using notepad) is 10 (10 bitdepth)
but matlab is forcibly change 16bitdepth(uint16) format.
So data is changed 10(In Notepad) --> 640 (In Matlab)
I want my ppm data format has 10 bit depth

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by