Send HDRI mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.radiance-online.org/mailman/listinfo/hdri
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of HDRI digest..."
Today's Topics:
1. pcomb error (Mehmedalp Tural)
2. Re: pcomb error (Lars O. Grobe)
----------------------------------------------------------------------
Message: 1
Date: Thu, 24 Jan 2013 19:17:18 -0800
From: Mehmedalp Tural <[email protected]>
To: [email protected]
Subject: [HDRI] pcomb error
Message-ID:
<
CACu+U4biScb2pcHELMvzd869CyZA-GmkQU_Ec00TiY5nOG7jkw@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Dear list,
I am trying to use a pcomb syntax from an earlier post for vignetting
correction (using the polynomial y = -9E-09x5 + 1E-06x4 - 4E-05x3 -
0.0003x2- 0.0637x + 21.223
):
pcomb -e 'sq(x):x*x;r=sqrt(sq(2/xres*x-1)+sq(2/yres*y-1))' \ -e
'sf=-9E-09*r^5 + 1E-06*r^4 - 4E-05*r^3 - 0.0003*r^2 - 0.0637*r + 21.223' \
-e 'ro=sf*ri(1);go=sf*gi(1);bo=sf*bi(1)' fisheye_28.hdr > corrected.hdr
I am getting "no such file or directory" error. Still, pcomb writes a 65kb
output file with the name I defined. First I thought it could be a problem
related to the path or installation so I tried to run including the full
path of both input and output images but got the same result.
I also tried the command on a Mac and got the same error. I checked the
path on the Mac and it seems correct. Environmental variables and registry
entries look ok on the windows machine, too. Every other command seem to
work fine.
Am I missing something in the syntax?
Thank you,
Alp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://www.radiance-online.org/pipermail/hdri/attachments/20130124/488c3030/attachment-0001.html
>
------------------------------
Message: 2
Date: Fri, 25 Jan 2013 12:15:10 +0800
From: "Lars O. Grobe" <[email protected]>
To: High Dynamic Range Imaging <[email protected]>
Subject: Re: [HDRI] pcomb error
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
Hi
there is a backslash in your commandline. Probably you copied it from a
script, where it was inserted to continue the command on the next line.
However, in your case, it will cause the error message you describe.
pcomb -e 'sq(x):x*x;r=sqrt(sq(2/xres*x-1)+sq(2/yres*y-1))' -e
'sf=-9E-09*r^5 + 1E-06*r^4 - 4E-05*r^3 - 0.0003*r^2 - 0.0637*r + 21.223' -e
'ro=sf*ri(1);go=sf*gi(1);bo=sf*bi(1)' fisheye_28.hdr > corrected.hdr
(all in one line) should do the job.
Cheers & iyi calismalar,
Lars.
> Dear list,
>
> I am trying to use a pcomb syntax from an earlier post for vignetting
correction (using the polynomial y = -9E-09x5 + 1E-06x4 - 4E-05x3 -
0.0003x2 - 0.0637x + 21.223):
> pcomb -e 'sq(x):x*x;r=sqrt(sq(2/xres*x-1)+sq(2/yres*y-1))' \ -e
'sf=-9E-09*r^5 + 1E-06*r^4 - 4E-05*r^3 - 0.0003*r^2 - 0.0637*r + 21.223' \
-e 'ro=sf*ri(1);go=sf*gi(1);bo=sf*bi(1)' fisheye_28.hdr > corrected.hdr
> I am getting "no such file or directory" error. Still, pcomb writes a
65kb output file with the name I defined. First I thought it could be a
problem related to the path or installation so I tried to run including the
full path of both input and output images but got the same result.
> I also tried the command on a Mac and got the same error. I checked the
path on the Mac and it seems correct. Environmental variables and registry
entries look ok on the windows machine, too. Every other command seem to
work fine.
> Am I missing something in the syntax?
> Thank you,
>
> Alp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://www.radiance-online.org/pipermail/hdri/attachments/20130125/37e5bb14/attachment-0001.html
>
------------------------------
_______________________________________________
HDRI mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/hdri
End of HDRI Digest, Vol 55, Issue 1
***********************************