OpenCV Gaussian Blur / Smooth 3D Matrix / Histogram

I have a (3D) histogram that I would like to apply using Gaussian smoothing to:

cv::MatND Hist; 

In 1D and 2D cases, I blur it with:

 cv::GaussianBlur(Hist, Hist, cv::Size(1,3), 1.0);// 1D case cv::GaussianBlur(Hist, Hist, cv::Size(3,3), 1.0);// 2D case 

But I'm struggling to apply the Gaussian blur in the three-dimensional case.

Has anyone figured out how to do this?

+3
opencv 3d gaussian histogram blur
source share
1 answer
+4
source share

All Articles