Extracts pixels from src at sub-pixel accuracy and stores them to dst as follows:
dst(x, y)= src( A_11 x'+A_12 y'+ b1, A_21 x'+A_22 y'+ b2),
where A and b are taken from map_matrix:
map_matrix = [ [A11 A12 b1], [ A21 A22 b2 ] ]
x'=x-(width(dst)-1)*0.5, y'=y-(height(dst)-1)*0.5
where the values of pixels at non-integer coordinates A (x,y)^T + b are retrieved using bilinear interpolation. When the function needs pixels outside of the image, it uses replication border mode to reconstruct the values. Every channel of multiple-channel images is processed independently.
Namespace:
Emgu.CV
Assembly:
Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Sub cvGetQuadrangleSubPix ( _
src As IntPtr, _
dst As IntPtr, _
mapMatrix As IntPtr _
) |
Visual C++ |
---|
public:
static void cvGetQuadrangleSubPix(
IntPtr src,
IntPtr dst,
IntPtr mapMatrix
) |
See Also