由网友(馋鬼)分享简介:我有一个(3D)的直方图,我想申请高斯平滑的:I have a (3D) Histogram which I like to apply Gaussian smoothing on:cv::MatND Hist;在一维和二维情况下,我通过对其进行模糊处理:In the 1D and 2D cases I blur...
我有一个(3D)的直方图,我想申请高斯平滑的:
I have a (3D) Histogram which I like to apply Gaussian smoothing on:
cv::MatND Hist;
在一维和二维情况下,我通过对其进行模糊处理:
In the 1D and 2D cases I blur it via:
cv::GaussianBlur(Hist, Hist, cv::Size(1,3), 1.0);// 1D case
cv::GaussianBlur(Hist, Hist, cv::Size(3,3), 1.0);// 2D case
不过,我很难申请高斯模糊在3D情况。
But I struggle to apply Gaussian blurring in the 3D case.
有没有人有一个想法如何尝试呢?
Has anyone got an idea how to attempt this?
推荐答案
尝试使用可分离的内核像如下所示: 的http://www.programming-techniques.com/2013/03/gaussian-blurring-using-separable.html
Try use separable kernels like shown here: http://www.programming-techniques.com/2013/03/gaussian-blurring-using-separable.html
相关推荐
最新文章