/// <summary> /// Smoothes the input image with gaussian kernel and then down-samples it. /// dst_width = floor(src_width/2)[+1] /// dst_height = floor(src_height/2)[+1] /// TODO: Remove 'dst' argument and return a CVImage object /// </summary> public void PyrDown(CVImage dst, PyrFilter filter) { PInvoke.cvPyrDown(new __CvImagePtr(this), new __CvImagePtr(dst), (int)filter); }
/// <summary> /// Smoothes the input image with gaussian kernel and then down-samples it. /// dst_width = floor(src_width/2)[+1] /// dst_height = floor(src_height/2)[+1] /// TODO: Remove 'dst' argument and return a CVImage object /// </summary> public void PyrDown(CVImage dst, PyrFilter filter) { PInvoke.cvPyrDown(new __CvImagePtr(this), new __CvImagePtr(dst), (int)filter); CVUtils.CheckLastError(); }