Both pcompos and pcomb mess with the HDR header. Also, what you are doing here:

echo "VIEW= -vta -vh 180 -vv 180 -vp 0 0 0 -vd 1 0 0 -vu 0 0 1" >
output_masked2.hdr

is overwrite HDR image output_masked2.hdr with just the view string.
You need to edit this image in a text editor and put a full VIEW= line
back in.  If you're happy using vim, then you could try Radiance's
vinfo.

Regards

Axel


On 26 February 2014 15:33, Jonghoon Kim <[email protected]> wrote:
> Dear list,
>
> I am trying to glare analysis via HDR images captured by a canon DSLR Camera
> and sigma fish eye lens.
>
> The procedure that I use was
>
> 1. Taking 13 images via gphoto2 +Crontab
>
> 2. Creating HDR images in HDRgen
>
> 3. Resize
> pfilt -x 1433  -y 955 Big.hdr > resize.hdr
>
> 4.Crop & cleaning mask
> ra_xyze -r -o -u resize.hdr | pcompos -x 800 -y 800 - -315 -78 > crop.hdr |
> pcomb -s -1000 output_masked2.hdr
>
> 5. Evalglare analysis
> echo "VIEW= -vta -vh 180 -vv 180 -vp 0 0 0 -vd 1 0 0 -vu 0 0 1" >
> output_masked2.hdr
> evalglare output_masked2.hdr
>
> The problem is that Evalglare reports errors after the crop process.
>
> error: no valid view specified
>
> (There was no evalglare errors when I test it with the resized image.)
>
> I has checked the luminance values of the HDR in photosphere and it looks
> OK!
>
> Do I need to use another crop command for evalglare processing?
>
> Please, let me know if you have any ideas.
>
> Best regards,
> Jonghoon Kim
> Ph.D. student
> Texas A&M University
>
>
>
>
> _______________________________________________
> HDRI mailing list
> [email protected]
> http://www.radiance-online.org/mailman/listinfo/hdri
>

_______________________________________________
HDRI mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/hdri

Reply via email to