mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Merge pull request #17088 from mpashchenkov:mp/ocv-gapi-kernel-laplacian
G-API: Laplacian and bilateralFilter standard kernels * Added Laplacian kernel and tests * Added: Laplacian kernel, Bilateral kernel (CPU, GPU); Performance and accuracy tests for this kernels * Changed tolerance for GPU test * boner * Some changes with alignment; Tests's parameters are the same as for OCV * Cut tests * Compressed tests * Minor changes (rsrt bb) * Returned types
This commit is contained in:
committed by
GitHub
parent
189fc43765
commit
51a42c0647
@@ -87,6 +87,16 @@ std::tuple<GMat, GMat> SobelXY(const GMat& src, int ddepth, int order, int ksize
|
||||
return imgproc::GSobelXY::on(src, ddepth, order, ksize, scale, delta, borderType, bordVal);
|
||||
}
|
||||
|
||||
GMat Laplacian(const GMat& src, int ddepth, int ksize, double scale, double delta, int borderType)
|
||||
{
|
||||
return imgproc::GLaplacian::on(src, ddepth, ksize, scale, delta, borderType);
|
||||
}
|
||||
|
||||
GMat bilateralFilter(const GMat& src, int d, double sigmaColor, double sigmaSpace, int borderType)
|
||||
{
|
||||
return imgproc::GBilateralFilter::on(src, d, sigmaColor, sigmaSpace, borderType);
|
||||
}
|
||||
|
||||
GMat equalizeHist(const GMat& src)
|
||||
{
|
||||
return imgproc::GEqHist::on(src);
|
||||
|
||||
Reference in New Issue
Block a user