Affine transform resulting from transforms implied in ornt
Imagine you have an array arr of shape shape, and you apply the transforms implied by ornt (more below), to get tarr. tarr may have a different shape shape_prime. This routine returns the affine that will take a array coordinate for tarr and give you the corresponding array coordinate in arr.
Parameters : | ornt : (n,2) ndarray
shape : length n sequence
|
---|---|
Returns : | transformed_affine : (n+1,n+1) ndarray
|