利用高斯算子,可建立高斯影差分像金字塔 I have improved both functions to make them working for 1D, 2D and 3D images. Output images will have the same data type of the original image, and both functions are working much faster now.