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
Good first issueA good issue for community members new to contributingtype:BugInconsistencies or issues which will cause an incorrect result under some or all circumstances
I guess there is no right/wrong answer for what they "should be initialized" to. As for the m_DeltaLatticePerThread and m_OmegaLatticePerThreadthey are initialized later in the code. If threads come into play, defaulting them to 1 is my best guess. I ignore if there is a default number of work units...
As for the itk::ThresholdLabelerImageFilter, m_Thresholdsand m_RealThresholds are cleared in the constructor, so if that is correct, defaulting them to some value does indeed make no sense.
Good first issueA good issue for community members new to contributingtype:BugInconsistencies or issues which will cause an incorrect result under some or all circumstances
Activity
dzenanz commentedon Apr 13, 2019
Is this issue still valid? @andinet tried and failed to reproduce on Windows - Visual Studio.
jhlegarreta commentedon Apr 13, 2019
Having a look at the current test outputs I'd dare to say they still are:
https://open.cdash.org/testDetails.php?test=753066184&build=5857204
Having a look at the class, the members are not initialized either in their declaration or in the constructor.
And
https://open.cdash.org/testDetails.php?test=753066916&build=5857204
With the same conclusion.
dzenanz commentedon Apr 16, 2019
What should they be initialized to? User is required to set the thresholds he wants the labels for. I guess it is similar for the other class too.
jhlegarreta commentedon Apr 16, 2019
I guess there is no right/wrong answer for what they "should be initialized" to. As for the
m_DeltaLatticePerThreadandm_OmegaLatticePerThreadthey are initialized later in the code. If threads come into play, defaulting them to 1 is my best guess. I ignore if there is a default number of work units...As for the
itk::ThresholdLabelerImageFilter,m_Thresholdsandm_RealThresholdsare cleared in the constructor, so if that is correct, defaulting them to some value does indeed make no sense.hjmjohnson commentedon Jan 23, 2025
Much work has been done to address this by @N-Dekker; we have no known open items.