Error to open segmentation project

1,036 views
Skip to first unread message

mirk...@gmail.com

unread,
Dec 5, 2015, 6:47:06 AM12/5/15
to itksnap-users
Hi!
I'm using ITK-SNAP for manual hippocampal subfields segmentation. I'm facing a problem with saving and successfully reopen a saved segmentation project on Mac. I m quoting here the error message I get :

"Error: Unsupported or missing image file format. ITK-SNAP failed to create an ImageIO object for the image (...)"

I haven't changed anything in the image file format myself. I only changed the pathway for the retrieval of my workspace- you think that might created some disturbance?


Kind Regards,

Dimitra


Paul Yushkevich

unread,
Dec 5, 2015, 7:55:01 AM12/5/15
to itksna...@googlegroups.com
Hi Dimitra,

I suspect the problem is due to the editing of the workspace file. There is rarely a need to change paths in the workspace file. This is because the workspace code can figure out the relative path of the images in the event that the workspace and the images are moved to a new location. Please see a post from a couple of days ago on this. 

Paul

--
You received this message because you are subscribed to the Google Groups "itksnap-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to itksnap-user...@googlegroups.com.
To post to this group, send email to itksna...@googlegroups.com.
Visit this group at http://groups.google.com/group/itksnap-users.
For more options, visit https://groups.google.com/d/optout.



--
Paul A. Yushkevich, Ph.D.
Associate Professor
Penn Image Computing and Science Laboratory
Department of Radiology
University of Pennsylvania

Alex Yonan

unread,
May 13, 2021, 6:35:39 PM5/13/21
to itksnap-users
I'm working on segmenting 2D images on ITK-SNAP. 

1) I upload the image as a Generic ITK Image
2) I do the segmentation
3) I save the workspace, and I have 2 files, a (.itksnap) file and a (.nii)
4) I need to send these segments to my colleague in order for them to check/verify my segmentations.

Problem: whenever he loads to the .nii file it only loads the segmented file and it doesn't load the x-ray image (so he is unable to tell whether what I have done is correct or not)
and when he clicks on the .itksnap file, this error message appears:

Failed to open project /Users/AJ/Desktop/ITK/segmented_x_rays/38.itksnap

Error: Unsupported or missing image file format. ITK-SNAP failed to create an ImageIO object for the image 'C:/Users/Alex/Desktop/Dataset/38.jpg' using format 'Generic ITK Image'.


Can anyone help please?


Thank you

alekfi...@gmail.com

unread,
Jun 7, 2021, 4:46:45 PM6/7/21
to itksnap-users
Hi Alex,
I think this like here is your problem:
      C:/Users/Alex/Desktop/Dataset/38.jpg
ITK-SNAP won't open a JPEG as a main image, so you need to either create a nifti or img file to send as the anatomical data.
Your itksnap file is not the xray data. Try sharing that folder with your colleague on OneDrive/network drive, and have them open it from there (this follows with Dr. Yushkevich's recent advice as well, it seems)
I'm not certain this will help, but that is my inclination.
Best,
Aleksandr
Reply all
Reply to author
Forward
0 new messages