/// <summary> /// Builds the whole pyramid at once. Output array of CvMat headers (levels[*]) // is initialized with the headers of subsequent pyramid levels /// TODO: Remove 'container' argument and return an object /// </summary> public void CalcPyramid(CVArr container, CVMat levels, int level_count, PyrFilter filter) { PInvoke.cvCalcPyramid(new __CvImagePtr(this), new __CvArrPtr(container), levels.Ptr, level_count, (int)filter); }
/// <summary> /// Up-samples image and smoothes the result with gaussian kernel. /// dst_width = src_width*2, /// dst_height = src_height*2 /// TODO: Remove 'dst' argument and return a CVImage object /// </summary> public void PyrUp(CVImage dst, PyrFilter filter) { PInvoke.cvPyrUp(new __CvImagePtr(this), new __CvImagePtr(dst), (int)filter); }
/// <summary> /// Builds the whole pyramid at once. Output array of CvMat headers (levels[*]) // is initialized with the headers of subsequent pyramid levels /// TODO: Remove 'container' argument and return an object /// </summary> public void CalcPyramid(CVArr container, CVMat levels, int level_count, PyrFilter filter) { PInvoke.cvCalcPyramid(new __CvImagePtr(this), new __CvArrPtr(container), levels.Ptr, level_count, (int)filter); CVUtils.CheckLastError(); }
/// <summary> /// Up-samples image and smoothes the result with gaussian kernel. /// dst_width = src_width*2, /// dst_height = src_height*2 /// TODO: Remove 'dst' argument and return a CVImage object /// </summary> public void PyrUp(CVImage dst, PyrFilter filter) { PInvoke.cvPyrUp(new __CvImagePtr(this), new __CvImagePtr(dst), (int)filter); CVUtils.CheckLastError(); }