greedy
greedy copied to clipboard
Smoothing cannot be zero
I would like to evaluate some parameter choices against ANTs defaults, which use zero smoothing in some contexts. Using -s 1.732vox 0vox
(ANTs default) in registration causes a runtime error:
src/ITK-4.13.2/Modules/Filtering/Smoothing/include/itkRecursiveGaussianImageFilter.hxx:344:
itk::ERROR: RecursiveGaussianImageFilter(0x3e34950): Sigma must be greater than zero.
Similarly, -ri LABEL 0vox
fails.
Using a small number is a viable workaround.
Thanks, Phil! I need to put an if statement in the code if sigma is zero.
Paul
On Thu, Aug 15, 2019 at 2:46 PM Philip Cook [email protected] wrote:
I would like to evaluate some parameter choices against ANTs defaults, which use zero smoothing in some contexts. Using -s 1.732vox 0vox (ANTs default) in registration causes a runtime error:
src/ITK-4.13.2/Modules/Filtering/Smoothing/include/itkRecursiveGaussianImageFilter.hxx:344: itk::ERROR: RecursiveGaussianImageFilter(0x3e34950): Sigma must be greater than zero.
Similarly, -ri LABEL 0vox fails.
Using a small number is a viable workaround.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pyushkevich/greedy/issues/12?email_source=notifications&email_token=AAJPEWYR3AL2OWDPEQ35MH3QEWQALA5CNFSM4IMA2GNKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HFP2I5A, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJPEW3IGKFFLWHAHJHRULLQEWQALANCNFSM4IMA2GNA .
-- Paul A. Yushkevich, Ph.D. Associate Professor Penn Image Computing and Science Laboratory Department of Radiology University of Pennsylvania