/// <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);
 }