Bug introduced in 9.0 and fixed in 10.0
I am trying to get the ImageDeconvolve function to work with Image3D
objects. In the documentation of ImageDeconvolve
it says:
ImageDeconvolve works with Image3D objects.
But I can't get the function to work. I tried the following:
kernel = GaussianMatrix[{{7, 7, 7}, 2}];
Image3D@kernel // ImageAdjust
img3d = Import["ExampleData/CTengine.tiff", "Image3D"]
ImageDeconvolve[img3d, GaussianMatrix[{{1, 1, 1}, 1}],
Method -> {"RichardsonLucy", "Preconditioned" -> True},
MaxIterations -> 16]
Deconvolution seems to be applied only to the first plane. Is ImageDeconvolve
just not working for Image3D
or am I doing something wrong here? I also tried different algorithms, kernels and other options without success.