Skip to content

GrowCut: recompute distance volume when DistancePenalty changes #6306

Closed

Description

@hjmjohnson

The GrowCut module was ingested into ITK from the (now being-archived) ITKGrowCut remote module. This issue tracks, in ITK proper, the bug originally filed as InsightSoftwareConsortium/ITKGrowCut#18 by @lassoan (2023-07-12).


If DistancePenalty is changed then all the internal distance volume would need to be recomputed from scratch. However, currently this is not happening. The result is that after an initial Update() call, setting DistancePenalty and calling Update() again has no effect.

See an example here: Slicer/Slicer#6946 (review)


Status: fixed during ingestion by FastGrowCut::SetDistancePenalty() now calling Reset() (clearing m_bSegInitialized and recreating m_DistanceVolume) so the next Update() recomputes the distance volume with the new penalty. Delivered in ITK PR #6274 (commit d3af540).

Original report: InsightSoftwareConsortium/ITKGrowCut#18 (archived). Credit: @lassoan.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions