.PFM format in matlab

15 visualizaciones (últimos 30 días)
Hamid Fsian
Hamid Fsian el 5 de Dic. de 2021
Comentada: Hamid Fsian el 9 de Dic. de 2021
leftImage = imread('data/artroom1/disp0.pfm');
rightImage = imread('data/artroom1/disp1.pfm');
so i'm trying te read thoses images, but i have an error "Unable to determine the file format."

Respuesta aceptada

DGM
DGM el 5 de Dic. de 2021
Imread does not support PFM.
The HDR toolbox appears to have a utility to read PFM files:
or since PFM is structurally similar to a simple PPM file, you could write your own quite easily.
  1 comentario
Hamid Fsian
Hamid Fsian el 9 de Dic. de 2021
thank you very much !

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by