One question is e.g.: What is the exact meaning of the hfov (horizontal 
field of view): Is it the angle measured from the left of the leftmost 
pixel area to the right of the rightmost pixel or from the mid of the left 
to the mid of the right pixel ?

The formulas in the optimizer are faily complicated. But assume that for a 
pixel the angle between the optical axis and the ray going through the 
"reference point" of the pixel area was calcualted, call it alpha. Assume 
the y coordinate is so that the y position is in the middle   [[  y = 
(H-1)/2 if the reference point of each pixel is in the middle of the pixel 
area ]].

W and H are the width and height of the image in pixels.

Assume in the optimizer the angle alpha is calculated as:
alpha = 2 * arctan( (x- (W-1)/2) / ((W-1)/2) * tan(hfov / 2) ) 
This would indicate that the reference point is in the middle of the pixels.

If the calculation would be:
alpha = arctan( (x - W/2) / (W/2) * tan(hfov) )  
This would indicate that the reference point is in the left (and upper) 
pixel area. 

The actual formulas are more complicated, but it should be possible to get 
this information out of them.


[email protected] schrieb am Sonntag, 15. Mai 2022 um 20:41:33 UTC+2:

> If control points would link a pixel in one image to a pixel in another 
> they could have integer coordinates.
> But if they link a 4.5 pixel wide and 2.5 pixel high leave of a tree to 
> the same leaf in a different photo the leaf might be 300.45 pixels more to 
> the left and 2.4 pixels higher in one picture than in the other.
>
> If you drop the digits after the comma the world might get a 
> playstation-1-look.
>

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/e698d992-8db4-47f8-9663-6fb8cf44f1a0n%40googlegroups.com.

Reply via email to