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

9_1043Cal.hdr:
        #?RADIANCE
        CAPDATE= 2017:09:30 22:49:12
        GMT= 2017:10:01 05:49:12
        9_1043com.hdr:
                CAPDATE= 2017:09:30 22:49:10
                GMT= 2017:10:01 05:49:10
                maskc.hdr:
                        ra_bmp -r
                9_1043cs.hdr:
                        CAPDATE= 2017:09:30 22:49:09
                        GMT= 2017:10:01 05:49:09
                        9_1043.hdr:
                                CAPDATE= 2017:09:30 22:49:08
                                GMT= 2017:10:01 05:49:08
                                9_1043.hdr:
                                        CAMERA= Canon Canon PowerShot G15 
version v.0
                                        hdrgen created HDR image from 
'IMG_8062.JPG' 'IMG_8061.JPG' 'IMG_8060.JPG' 'IMG_8059.JPG' 'IMG_8058.JPG' 
'IMG_8057.JPG'
                                        Removed lens flare
                                        EXPOSURE=2.057471e-01
                                        VIEW= -vtv -vh 49.053696 -vv 49.053696
                                        CAPDATE= 2017:06:22 10:43:42
                                        PRIMARIES= 0.6400 0.3300 0.3000 0.6000 
0.1500 0.0600 0.3127 0.3290
                                pinterp -vf 9_1043.hdr -vth -x 1200 -y 1200 -ff 
9_1043.hdr 1
                                VIEW= -vth -vp 0 0 0 -vd 0 1 0 -vu 0 0 1 -vh 
49.0537 -vv 49.0537 -vo 0 -va 0 -vs 0 -vl 0
                                EXPOSURE=2.057471e-01
                        pcompos -x 1126 -y 1126 9_1043.hdr -55 -14
                        pfilt -1 -e 1.000 -x /1.4075 -y /1.4075
                pcomb -e 
ro=if(ri(1)-0.5,ri(2),0);go=if(gi(1)-0.5,gi(2),0);bo=if(bi(1)-0.5,bi(2),0) 
maskc.hdr 9_1043cs.hdr
        G15Vig.hdr:
                ra_tiff -r
        pcomb -e "ro=ri(1) / ri(2);go=gi(1) / gi(2);bo=bi(1) / bi(2)" -o 
9_1043com.hdr G15Vig.hdr
        FORMAT=32-bit_rle_rgbe
        EXPOSURE=0.342682082
        


Begin forwarded message:

From: "Gregory J. Ward" <[email protected]>

Date: October 1, 2017 10:36:27 AM PDT


The header lines from the inputs to pcomb and pcompos should be indented, which leads their being ignored during processing.

If your header is lacking the indentations, then something may be going wrong in your processing chain.  Can you e-mail me your actual image so I may examine the header directly?

-Greg

From: Belal Abboushi <[email protected]>

Date: September 30, 2017 11:49:06 PM PDT


Hi all,

I am putting together a post processing cmd batch file to convert image to hemispherical, resize, crop, mask, apply vignetting image, etc. The problem I'm facing is that header of the resultant HDRI header contains some duplicated lines, I am particularly concerned about view and exposure lines, as you can see below:

#?RADIANCE
CAPDATE= 2017:09:30 22:49:12
GMT= 2017:10:01 05:49:12
9_1043com.hdr:
CAPDATE= 2017:09:30 22:49:10
GMT= 2017:10:01 05:49:10
maskc.hdr:
ra_bmp -r
9_1043cs.hdr:
CAPDATE= 2017:09:30 22:49:09
...
EXPOSURE=0.342682082

I am eager to hear your input on how to clean it up so it'd run in Evalglare. Any suggestions are greatly appreciated! 

Best,
Belal Abboushi
_______________________________________________
HDRI mailing list
[email protected]
https://www.radiance-online.org/mailman/listinfo/hdri

Reply via email to