Error using HDRREAD: Not a Radiance File

조회 수: 5 (최근 30일)
Xiongyu Wu
Xiongyu Wu 2020년 10월 19일
답변: Sarvani Panguluri 2020년 10월 22일
hi,
i'm trying to read an hdr file using hdrread, here is the code:
hdr_input = hdrread('untitled.hdr');
the error meaasge is "Not a Radiance file.", hdrread>readHeader (line 67)
I'm trying to find out why.
the hdr image I got is from a Blender model, I see when I set the background color to black or transparency, it will output the error message.
If the background color is another color or little brighter, then the image can be read by MATLAB.
Any help would be appreciated.
Thank you

답변 (1개)

Sarvani Panguluri
Sarvani Panguluri 2020년 10월 22일
Hi,
To investigate further,can you share the untitled.hdr that you are using .

Community Treasure Hunt

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

Start Hunting!

Translated by