Ah.  I guess evalglare expects an exposure line in the file as reassurance it 
wasn't produced by Photoshop or some other program that doesn't concern itself 
with absolute calibration.  In that case, try changing the final process to:

        getinfo -a "VIEW= -vta -vh 180 -vv 180" "EXPOSURE=1.0" < processed.hdr 
> final.hdr

Hopefully, evalglare will be satisfied with that (and it will be correct).

Cheers,
-Greg

> From: Belal Abboushi <[email protected]>
> Date: October 1, 2017 2:55:15 PM PDT
> 
> Hi Greg,
> Thanks for looking into this. I added the view line but I still get the same 
> error message from evalglare, which is:
> 
> error: header contains invalid exposure entry!!!!
> Check exposure and correct header setting~
> Stopping.
> 
> I tried to manually (using hdrscope) delete the two indented exposure lines 
> (which leaves one) and evalglare seems to run fine.
> Any suggestions are greatly appreciated.
> 
> Thank you,
> Belal

++++++++++

> From: "Gregory J. Ward" <[email protected]>
> Date: October 1, 2017 2:36:03 PM PDT
> 
> Hi Belal,
> 
> I am not familiar with hdrscope, but you might inform the author that it's 
> not a good idea to remove the tabs when reporting the header, since they are 
> very important to the interpretation of the image.
> 
> Since all of the views are indented in your header, you will at minimum need 
> to add back a valid VIEW= line to the header, using the getinfo "-a" option 
> we discussed earlier, e.g.:
> 
>       getinfo -a "VIEW= -vta -vh 180 -vv 180" < processed.hdr > final.hdr
> 
> Best,
> -Greg
> 
>> From: Belal Abboushi <[email protected]>
>> Date: October 1, 2017 10:57:25 AM PDT
>> To: [email protected]
>> 
>> Hi Greg,
>> 
>> The header does contain indentations. The header I posted to forum is copied 
>> from hdrscope. Attached is the header file (directly from radiance) and the 
>> Image.
>> 
>> Thank you very much for helping,
>> 
>> -- 
>> Best,
>> Belal
_______________________________________________
HDRI mailing list
[email protected]
https://www.radiance-online.org/mailman/listinfo/hdri

Reply via email to