Hi Chris,

I think Adobe Photoshop must have messed up with the header files while 
creating the HDR. I was about to try the methods you sent in your earlier email 
but seems there is a shorter route by using hdrgen or photosphere to create the 
HDR file. I am a novice in this area and your help is really appreciated.

Thanks again for all your help.

Regards,
Avinash



From: Chris Kallie [mailto:[email protected]]
Sent: Wednesday, April 24, 2013 10:28 AM
To: [email protected]
Subject: Re: [HDRI] unknown view type

Hi Avinash,

Just a followup: I was able to install and run evalglare on the .hdr created 
from last night's .nef files (Method 1). I then performed the following two 
operations:

pfilt -1 -x /4 -y /4 test01.hdr>test01s.hdr
evalglare -c test01g.hdr test01s.hdr

Everything seemed to work (i.e., I got a grayscale output image with a green 
'glare' mask). I suspect that since the header information (I was calling it 
'metadata' before) was already in the image, there was no need to add -vtv, or 
declare -vv -vh. Here is what I found in my test01s.hdr header:

#?RADIANCE
CAMERA= NIKON D90 version dcraw v9.12
hdrgen created HDR image from '_DSC3776.tif' '_DSC3775.tif' '_DSC3774.tif' 
'_DSC3773.tif' '_DSC3772.tif'
EXPOSURE=3.280407e+00
VIEW= -vtv -vh 37.200130 -vv 25.245402
CAPDATE= 2013:04:23 23:46:20
PRIMARIES= 0.6400 0.3300 0.3000 0.6000 0.1500 0.0600 0.3127 0.3290
FORMAT=32-bit_rle_rgbe
pfilt -1 -x /4 -y /4

I hope this helps...
-Chris

On 4/23/13 10:31 PM, Avinash Gautam wrote:
I am trying to generate a hdri image from my camera Nikon D90 using various 
lenses. My Nikon camera generates a .NEF file in RAW version however I was able 
to generate a .HDR file using .JPG of the same images in Photoshop. After I 
generated the .HDR file I tried running evalglare on it which gives me an 
error. I understand I need to have a fish eye lens to get the full view in 
order to get the correct results but the purpose of my experiment is to test 
the error in dgp using different lenses that are not fish eye lens. I am using 
the -vth command and have entered the -vv and -vh as calculated for the 35mm 
lens on a DX format camera (25.74degrees and 37.4degrees). This gives me an 
error pict_update_view: unknown view type and error: invalid view specified. 
Can anyone please let me know where I am going wrong.

Thanks,
Avinash







_______________________________________________

HDRI mailing list

[email protected]<mailto:[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