Azzera filtri
Azzera filtri

Error using HDRREAD: Not a Radiance File

6 visualizzazioni (ultimi 30 giorni)
Xiongyu Wu
Xiongyu Wu il 19 Ott 2020
Risposto: Sarvani Panguluri il 22 Ott 2020
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

Risposte (1)

Sarvani Panguluri
Sarvani Panguluri il 22 Ott 2020
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