http://www.emgu.com
Extracts pixels from src: dst(x, y) = src(x + center.x - (width(dst)-1)*0.5, y + center.y - (height(dst)-1)*0.5) where the values of pixels at non-integer coordinates are retrieved using bilinear interpolation. Every channel of multiple-channel images is processed independently. Whereas the rectangle center must be inside the image, the whole rectangle may be partially occluded. In this case, the replication border mode is used to get pixel values beyond the image boundaries.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static void cvGetRectSubPix(
	IntPtr src,
	IntPtr dst,
	PointF center
)
Visual Basic
Public Shared Sub cvGetRectSubPix ( 
	src As IntPtr,
	dst As IntPtr,
	center As PointF
)
Visual C++
public:
static void cvGetRectSubPix(
	IntPtr src, 
	IntPtr dst, 
	PointF center
)
F#
static member cvGetRectSubPix : 
        src : IntPtr * 
        dst : IntPtr * 
        center : PointF -> unit 

Parameters

src
Type: System..::..IntPtr
Source image
dst
Type: System..::..IntPtr
Extracted rectangle
center
Type: System.Drawing..::..PointF
Floating point coordinates of the extracted rectangle center within the source image. The center must be inside the image.

See Also