Page MenuHomePhabricator

Allow double-valued variance in basic image processing
Closed, ResolvedPublic

Description

Hi guys,

one of our users complained that he cannot enter the variance of 0.5 to
the basic image processing Gaussian filter. And indeed, for Gaussian
image filter, the normal spinbox is used as an imput even though itk
accepts a double. Similar thing could be said for gradient filter. Is
there any specific reason for this? If not, find a simple patch attached.

All best,

Rostislav.

PS: that file desperately needs some refactoring, but I guess you know it :)

Event Timeline

@Caspar: could this still go into the release? Your decision ...

I think this change can be included.

User goch has pushed new remote branch:

bug-19072-double-variance

[8d72e4]: Merge branch 'bug-19072-double-variance'

Merged commits:

2015-05-14 20:34:30 Rostislav Khlebnikov [88e9cc]
Double parameters for gaussian and gradient filters.