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

Segmentations derived from ITK-SNAP won't load on CaPTk #1512

Open
smajumd4 opened this issue Jun 15, 2023 · 0 comments
Open

Segmentations derived from ITK-SNAP won't load on CaPTk #1512

smajumd4 opened this issue Jun 15, 2023 · 0 comments

Comments

@smajumd4
Copy link

smajumd4 commented Jun 15, 2023

The bug

When we try to load a segmentation that was genrated ITK-SNAP or another software and overlay on top of the image that was segmented, it says that the physical dimensions do not match. However, a look into the nifti headers show that the dimensions are same.

How to reproduce

Steps to reproduce the behavior:

  1. Open a .nifti image on ITK-SNAP.
  2. Draw a 2D segmentation using the paintbrush.
  3. Save the segmentation as a mifti using Segementation > Save Segmentation image.
  4. Open the same .nifti image on CaPTk by File > Load > Image(s)
  5. Now open the mask file with File > Load > ROI
  6. A pop up shows up

Expected behavior

It should overlay the mask onto the image by itself without any issue since all the dimensions and voxel spacings match.

Screenshots

image

CaPTk Version

I tried 1.7.6 and 1.9.0

Desktop (please complete the following information):

  • OS: WIndows 10
  • Windows 10 enterprise, Version 22H2, OS Buiild 19045.2965

Additional context

Please contact Shweta from the CBIG Lab if more information is required.

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