Discussion:
[HDRI] Crop HDRIs in radiance and evalglare
Jonghoon Kim
2014-02-26 15:33:10 UTC
Permalink
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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/hdri/attachments/20140226/c839693a/attachment.html>
Axel Jacobs
2014-02-26 16:25:28 UTC
Permalink
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
Post by Jonghoon Kim
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
HDRI at radiance-online.org
http://www.radiance-online.org/mailman/listinfo/hdri
Loading...