Skip to content

[Bug] Contour convertHoles utility not working as expected #2359

@jbocce

Description

@jbocce

Describe the Bug

The convertHoles utility appears to put the created contour in the destination segment. See the video below.

convertHoles.mp4

Steps to Reproduce

  1. Run the contour utility API example: https://www.cornerstonejs.org/live-examples/contourapi
  2. Draw a contour on segment 1 and draw a hole in it.
  3. Convert the hole created to a contour on segment 2 using the supplied drop down and button.

The current behavior

The hole looks like it is converted to a contour but its color suggests it is still on segment 1.

The expected behavior

The hole should be converted to a contour on segment 2 with the appropriate color.

System Information

Windows 11
Node 23.9.0
Chrome 140.0.7339.208

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions