fixed gpu morphology: now kernel in gpu is passed to npp functions.

warnings in cxcore
added graphcut wrapper
This commit is contained in:
Anatoly Baksheev
2010-09-28 08:45:44 +00:00
parent 5d95cd75f2
commit 60e572bbcf
5 changed files with 108 additions and 16 deletions

View File

@@ -533,6 +533,12 @@ namespace cv
//! applies an advanced morphological operation to the image
CV_EXPORTS void morphologyEx( const GpuMat& src, GpuMat& dst, int op, const Mat& kernel, Point anchor, int iterations);
//////////////////////////////// Image Labeling ////////////////////////////////
//!performs labeling via graph cuts
CV_EXPORTS void graphcut(GpuMat& terminals, GpuMat& leftTransp, GpuMat& rightTransp, GpuMat& top, GpuMat& bottom, GpuMat& labels, GpuMat& buf);
//////////////////////////////// StereoBM_GPU ////////////////////////////////
class CV_EXPORTS StereoBM_GPU