Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] PlanarFreehandROITool decimate configuration parameter not working on annotation update #1297

Closed
kom482 opened this issue May 30, 2024 · 0 comments

Comments

@kom482
Copy link
Contributor

kom482 commented May 30, 2024

Describe the Bug

The decimate configuration parameter in the PlanarFreehandROITool is not functioning as expected when updating an annotation. Specifically, changes to the decimate parameter are not applied to existing annotations.

Recording.2024-05-30.213824.mp4

Steps to Reproduce

  1. Set PlanarFreehandROITool Configuration with decimate parameter
  toolGroup.setToolConfiguration(PlanarFreehandROITool.toolName, {
    calculateStats: true,
    decimate: {
      enabled: true,
      epsilon: 5
    }
  });
  1. Create an annotation using PlanarFreehandROITool
  2. Update annotation
  3. Observe that the updated annotation does not reflect the decimate parameter.

The current behavior

Changes to the decimate parameter are not applied to existing annotation

The expected behavior

The decimate parameter should correctly apply to existing annotations upon update, adjusting the annotation as per the epsilon value.

OS

Windows 11

Node version

16.20.2

Browser

Chrome 125.0.6422.113

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant