Dear community,
As the attached image shows, I was trying to transform equidistant fisheye image into hemispherical image, then it shows: bad view file, and the size of image_out.hdr is 0.
Does anyone know the reason?
Thanks!
Dear community,
As the attached image shows, I was trying to transform equidistant fisheye image into hemispherical image, then it shows: bad view file, and the size of image_out.hdr is 0.
Does anyone know the reason?
Thanks!
What does “getinfo image_in.hdr” give you?
Thanks Greg,
It shows:
OK, so that’s your problem – the HDR file doesn’t have a VIEW line in the header, so it’s not a valid view file, nor a valid input to pinterp.
You can add a basic view, which might be appropriate for a 180° fisheye lens using:
getinfo -a “VIEW= -vta -vh 180 -vv 180” < image_in.hdr > image_mod.hdr
then use “image_mod.hdr” in place of “image_in.hdr” in your command.
-Greg
P.S. If the getinfo -a command gives you an error, then you need a more recent installation of Radiance.