Denosing filter gives different result based on volume size

Hi, in an attempt to get a preview of what CurvatureAnisotropicDiffusion will produce with less processing time i tried to run it in on a cropped volume to serve as a sample, however the final result on the complete volume (with the same parameters) is a lot stronger and produces a blurry image.
is there any way to predict the target parameters(conductance and time step) relative to those of a smaller volume based on their size difference? or is there any way to preview what a filter will produce?
The only way i could produce a sufficiently close preview was by setting the cropping roi to cover the full axial plane and a thick (40+ voxel) vertical axis, wich still takes a lot of time to compute
Thanks for any inputs.

I suspect that’s probably inherent in the algorithm itself. Slicer just exposes the basic ITK class, so you might try asking on the ITK forum. Perhaps there’s a way to compensate.

1 Like

Thanks for your answer.
Indeed, only hoped that someone here would have experience with this issue first, i asked on itk forum.
If this works well it could help many users. I made a module to preview more than 40 different filter strenghts using a slider to interactively evaluate the output blurriness then apply the most appropriate one on the full volume (and the computing time is less than a minute for all of them).
Applying the selected stenght is the only remaining issue.

Sounds like a neat module! I saw your post on the ITK list. I hope you get a good response there.

1 Like

Hopefully, otherwise it would be unusable, here is a preview of how the module works if you’re interested:

Yes, that looks really nice and should be helpful.

It would be nice if someone from the ITK community is already familiar with the algorithm and the implementation, but if not you could probably go back to the original publications and look at the code to see if it’s expected that the volume size should be a factor in the result. With your tool you should have the basis to explore the impact of this - that could help people in parameter selection.

Requiring padding around the region of interest may be normal. I’ve added some more details to the discussion on ITK forum.

1 Like