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
_______________________________________________ HDRI mailing list [email protected] http://www.radiance-online.org/mailman/listinfo/hdri
