Retrieves a pixel rectangle from an image with sub-pixel accuracy.
            
 
    Namespace: 
   OpenCvSharp
    Assembly:
   OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
 Syntax
Syntaxpublic Mat GetRectSubPix(
	Size patchSize,
	Point2f center,
	int patchType = -1
)
Public Function GetRectSubPix ( 
	patchSize As Size,
	center As Point2f,
	Optional patchType As Integer = -1
) As Mat
public:
Mat^ GetRectSubPix(
	Size patchSize, 
	Point2f center, 
	int patchType = -1
)
member GetRectSubPix : 
        patchSize : Size * 
        center : Point2f * 
        ?patchType : int 
(* Defaults:
        let _patchType = defaultArg patchType -1
*)
-> Mat 
function GetRectSubPix(patchSize, center, patchType);
Parameters
- patchSize
- Type: OpenCvSharpSize
 Size of the extracted patch.
- center
- Type: OpenCvSharpPoint2f
 Floating point coordinates of the center of the extracted rectangle 
            within the source image. The center must be inside the image.
- patchType (Optional)
- Type: SystemInt32
 Depth of the extracted pixels. By default, they have the same depth as src.
Return Value
Type: 
MatExtracted patch that has the size patchSize and the same number of channels as src .
 See Also
See Also