Precision for -verbose -distort?
Posted: 2014-05-28T02:34:00-07:00
Can the "-verbose" output of "-distort" respect "-precision", please?
In particular I want to use the output from:
Two parameters in each direction are given to only one digit precision: "-0.000001" and "-0.000002".
The imprecision gives an error of a handful of coordinates in x- and y-direction in 5000x7500 images, which isn't a lot, but it fuzzes up images that I'd rather have correct.
(And maybe the spelling could be corrected to "equivalent".)
Thanks.
In particular I want to use the output from:
Code: Select all
Perspective Projection:
-distort PerspectiveProjection \
'0.986612, -0.025803, -302.555209, 0.007779,
0.988016, -388.255167, -0.000001, -0.000002'
Perspective Distort, FX Equivelent:
-fx 'ii=i+page.x+0.5; jj=j+page.y+0.5;
rr=+0.000001*ii +0.000002*jj + 1;
xx=(+1.012397*ii +0.027217*jj +316.872932)/rr;
yy=(-0.007611*ii +1.011634*jj +390.469383)/rr;
rr>0 ? p{ xx-page.x-.5, yy-page.y-.5 } : blue' \
The imprecision gives an error of a handful of coordinates in x- and y-direction in 5000x7500 images, which isn't a lot, but it fuzzes up images that I'd rather have correct.
(And maybe the spelling could be corrected to "equivalent".)
Thanks.