Performs downsampling step of Gaussian pyramid decomposition. First it convolves source image with the specified filter and then downsamples the image by rejecting even rows and columns.
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)
Syntax
C# | Visual Basic | Visual C++ |
public static void cvPyrDown( IntPtr src, IntPtr dst, FILTER_TYPE filter )
Public Shared Sub cvPyrDown ( _ src As IntPtr, _ dst As IntPtr, _ filter As FILTER_TYPE _ )
public: static void cvPyrDown( IntPtr src, IntPtr dst, FILTER_TYPE filter )
Parameters
- src
- IntPtr
The source image.
- dst
- IntPtr
The destination image, should have 2x smaller width and height than the source.
- filter
- FILTER_TYPE
Type of the filter used for convolution; only CV_GAUSSIAN_5x5 is currently supported.