.PFM format in matlab

조회 수: 40 (최근 30일)
Hamid Fsian
Hamid Fsian 2021년 12월 5일
댓글: Hamid Fsian 2021년 12월 9일
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."

채택된 답변

DGM
DGM 2021년 12월 5일
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
Hamid Fsian
Hamid Fsian 2021년 12월 9일
thank you very much !

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Camera Calibration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by