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

feat: Add onnx based segmentation tool #1655

Closed
wants to merge 6 commits into from
Closed

Conversation

sedghi
Copy link
Member

@sedghi sedghi commented Dec 3, 2024

This pull request introduces several significant changes across multiple files to enhance the functionality and documentation of the @cornerstonejs libraries. The most important changes include the addition of a new API report for @cornerstonejs/ai, updates to various tools, and modifications to the build scripts.

Enhancements to @cornerstonejs/ai:

  • Added a new API report file for @cornerstonejs/ai to document the available classes and methods. (common/reviews/api/ai.api.md)
  • Introduced a README file for @cornerstonejs/ai to provide an overview and documentation links. (packages/ai/README.md)
  • Added api-extractor.json configuration for @cornerstonejs/ai to generate API reports. (packages/ai/api-extractor.json)

Tool updates:

  • Updated VolumeViewport to include an optional useSlabThickness parameter in the getCurrentImageIdIndex method. (common/reviews/api/core.api.md)
  • Added interpolationUID to the Annotation type and changed cachedStats to use Record<string, unknown>. (common/reviews/api/tools.api.md) [1] [2]
  • Added a createAnnotation method to AnnotationDisplayTool and several static methods and properties to BaseTool. (common/reviews/api/tools.api.md) [1] [2] [3] [4]
  • Refactored BrushTool to extend LabelmapBaseTool and removed several methods. (common/reviews/api/tools.api.md) [1] [2]
  • Updated PlanarFreehandROITool and SplineROITool to use ContourAnnotation instead of Annotation. (common/reviews/api/tools.api.md) [1] [2]
  • Added AddPreview to the StrategyCallbacks enum. (common/reviews/api/tools.api.md)
  • Updated ProbeTool constructor and added probeDefaults static property. (common/reviews/api/tools.api.md) [1] [2]

Build script updates:

  • Added a new build script for updating the API of the @cornerstonejs/ai package. (package.json)

Copy link

stackblitz bot commented Dec 3, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

netlify bot commented Dec 3, 2024

Deploy Preview for cornerstone-3d-docs ready!

Name Link
🔨 Latest commit
🔍 Latest deploy log https://app.netlify.com/sites/cornerstone-3d-docs/deploys/674f195f887ba310106560fb
😎 Deploy Preview https://deploy-preview-1655--cornerstone-3d-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@sedghi sedghi closed this Dec 3, 2024
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

Successfully merging this pull request may close these issues.

2 participants