iat_warp_updown appropriately modifies the WARPOLD and returns WARPNEW in order to apply the latter in the next level of pyramid. If FLAG is equal to 1, the function makes WARPNEW appropriate for the next (down) level of higher resolution. If FLAG is equal to 0, the function makes WARPNEW appropriate for the next (up) level of lower resolution.

Input arguments

WARPOLD the current warp (transform)
TRANSFORM the type of adopted transform. Valid strings: {‘translation’,’euclidean’,’affine’,’homography’}.
FLAG The flag which defines the ‘next’ level. 1 means that the the next level is a higher resolution level, while 0 implies a lower resolution level.

Output arguments

WARPNEW: the new next-level warp (transform)

Back to Index