谢谢迪帕克,我发现这真的有用的解决方案
函数[matrixZ, Zplanes] = denoising3D(矩阵、飞机);
Zplanes =飞机* 7;
B = imgaussfilt3(矩阵);
[r、c、z] =大小(B);
matrixZ = 0 (r、c、Zplanes);
为i = 1: r
img (:,) = B(我::);
imgZ = imresize (img, [c Zplanes]);
matrixZ(我::)= imgZ;
结束
结束
imgaussfilt3是一个新的体积函数实现图像处理工具箱的最后版本,辉煌!及rescalig我威胁使用imresize片的数量作为一个群体。用这种方式我减少了计算时间为100次