# Revision history [back]

### Different result of working cvPyrMeanShiftFiltering,cvDilate, cvFindContours,cvCanny and pyrMeanShiftFiltering,dilate, findContours, canny.

When I used cvPyrMeanShiftFiltering,cvDilate, cvFindContours and cvCanny which work with IplImage type I have memory leak. I tried use new analogs cv::pyrMeanShiftFiltering,cv::dilate, cv::findContours and cv::canny which work with cv::Mat. In same case I have different result. Please help to fix memory leak problem or fix work difference of old and new function works.


### Different result of working cvPyrMeanShiftFiltering,cvDilate, cvFindContours,cvCanny and pyrMeanShiftFiltering,dilate, findContours, canny.

When I used cvPyrMeanShiftFiltering,cvDilate, cvFindContours and cvCanny which work with IplImage type I have memory leak. I tried use new analogs cv::pyrMeanShiftFiltering,cv::dilate, cv::findContours and cv::canny which work with cv::Mat. In same case I have different result. Please help to fix memory leak problem or fix work difference of old and new function works.

works. Where is the analog of cvCreateStructuringElementEx function? cvFindContours and findContours have different parameters and have different count of parameters.

### Different result of working cvPyrMeanShiftFiltering,cvDilate, cvFindContours,cvCanny and pyrMeanShiftFiltering,dilate, findContours, canny.

When I used cvPyrMeanShiftFiltering,cvDilate, cvFindContours and cvCanny which work with IplImage type I have memory leak. I tried use new analogs cv::pyrMeanShiftFiltering,cv::dilate, cv::findContours and cv::canny which work with cv::Mat. In same case I have different result. Please help to fix memory leak problem or fix work difference of old and new function works. Where is the analog of cvCreateStructuringElementEx function? cvFindContours and findContours have different parameters and have different count of parameters.function?

### Different result of working cvPyrMeanShiftFiltering,cvDilate, cvFindContours,cvCanny and pyrMeanShiftFiltering,dilate, findContours, canny.

When I used cvPyrMeanShiftFiltering,cvDilate, cvFindContours and cvCanny which work with IplImage type I have memory leak. I tried use new analogs cv::pyrMeanShiftFiltering,cv::dilate, cv::findContours and cv::canny which work with cv::Mat. In same case I have different result. Please help to fix memory leak problem or fix work difference of old and new function works. Where is the analog of cvCreateStructuringElementEx function?

### Different result of working cvPyrMeanShiftFiltering,cvDilate, cvFindContours,cvCanny and pyrMeanShiftFiltering,dilate, findContours, canny.

When I used cvPyrMeanShiftFiltering,cvDilate, cvFindContours and cvCanny which work with IplImage type I have memory leak. I tried use new analogs cv::pyrMeanShiftFiltering,cv::dilate, cv::findContours and cv::canny which work with cv::Mat. In same case I have different result. Please help to fix memory leak problem or fix work difference of old and new function works. Where is the analog of cvCreateStructuringElementEx function?