You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MovingImagePyramidBase::SetMovingSchedule() uses zero as default value for "NumberOfResolutions", and then produces an error message when it is indeed zero! Looking at commit ab62f3d (September 6, 2004)
xl::xout["error"] << "ERROR: NumberOfResolutions not specified!" << std::endl;
}
On the other hand, commit f84ac0d (ENH: First checkin of a generic pyramid..., Feb 2, 2012) has changed the default for "NumberOfResolutions" in FixedImagePyramidBase to 3, and silently accepts zero as well, assuming it should be one:
And set zero to one, in `MovingImagePyramidBase::SetMovingSchedule()`, just as in `FixedImagePyramidBase::SetFixedSchedule()`.
Following commit f84ac0d "ENH: First checkin of a generic pyramid...", February 2, 2012.
Addressed issue #858 MovingImagePyramidBase, FixedImagePyramidBase have different defaults for "NumberOfResolutions"
Following commit f84ac0d "ENH: First checkin of a generic pyramid...", February 2, 2012.
Addressed issue #858 MovingImagePyramidBase, FixedImagePyramidBase have different defaults for "NumberOfResolutions"
Following commit f84ac0d "ENH: First checkin of a generic pyramid...", February 2, 2012.
Addressed issue #858 MovingImagePyramidBase, FixedImagePyramidBase have different defaults for "NumberOfResolutions"
MovingImagePyramidBase::SetMovingSchedule()
uses zero as default value for "NumberOfResolutions", and then produces an error message when it is indeed zero! Looking at commit ab62f3d (September 6, 2004)elastix/src/Core/ComponentBaseClasses/elxMovingImagePyramidBase.hxx
Lines 38 to 43 in ab62f3d
On the other hand, commit f84ac0d (ENH: First checkin of a generic pyramid..., Feb 2, 2012) has changed the default for "NumberOfResolutions" in
FixedImagePyramidBase
to3
, and silently accepts zero as well, assuming it should be one:elastix/src/Core/ComponentBaseClasses/elxFixedImagePyramidBase.hxx
Lines 104 to 107 in f84ac0d
Other places (MultiMetricMultiResolutionRegistration, MultiResolutionRegistration) also use
3
as default value.Should
MovingImagePyramidBase::SetMovingSchedule()
also use3
as default value?The text was updated successfully, but these errors were encountered: