http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
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.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public static void cvGetQuadrangleSubPix( IntPtr src, IntPtr dst, IntPtr mapMatrix ) |
Visual Basic |
---|
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 ) |
Parameters
- src
- Type: System..::..IntPtr
Source image
- dst
- Type: System..::..IntPtr
Extracted quadrangle
- mapMatrix
- Type: System..::..IntPtr
The transformation 2 x 3 matrix [A|b]