fixed gpu::Laplacian

fixed gpu performance sample
This commit is contained in:
Vladislav Vinogradov
2012-04-02 11:21:45 +00:00
parent 66fd36f79e
commit 1bc9ec0d77
4 changed files with 46 additions and 17 deletions

View File

@@ -395,7 +395,7 @@ CV_EXPORTS void GaussianBlur(const GpuMat& src, GpuMat& dst, Size ksize, GpuMat&
//! applies Laplacian operator to the image
//! supports only ksize = 1 and ksize = 3
CV_EXPORTS void Laplacian(const GpuMat& src, GpuMat& dst, int ddepth, int ksize = 1, double scale = 1, Stream& stream = Stream::Null());
CV_EXPORTS void Laplacian(const GpuMat& src, GpuMat& dst, int ddepth, int ksize = 1, double scale = 1, int borderType = BORDER_DEFAULT, Stream& stream = Stream::Null());
////////////////////////////// Arithmetics ///////////////////////////////////
@@ -1094,8 +1094,8 @@ public:
bool use_local_init_data_cost;
private:
GpuMat messages_buffers;
GpuMat messages_buffers;
GpuMat temp;
GpuMat out;
};