CBICA / CaPTk

Cancer Imaging Phenomics Toolkit (CaPTk) is a software platform to perform image analysis and predictive modeling tasks. Documentation: https://cbica.github.io/CaPTk
https://www.cbica.upenn.edu/captk
Other
173 stars 63 forks source link

Captk errors I have encountered #1471

Open MGH194 opened 2 years ago

MGH194 commented 2 years ago

hi everyone I have no experience in programming but I have been trying to work with the Captk as an end user and use it in my project. I am going to describe some problem I have encountered with when use this software. 1- for glioma segmentation:

image001

when I try command line (you can find text file that is stored in C:\Users**your user name**.CaPTk\1.8.1 then open it and copy & past the last line command to CMD to execute this application aging) I encounter with this message:

The first image file 'C:/Users/MGH/.CaPTk/1.8.1/tmp_4669732791761504473/t1.nii.gz' has different physical dimensions with 'C:/Users/MGH/.CaPTk/1.8.1/tmp_4669732791761504473/t2.nii.gz', please register them before trying again.

so it is recommended to convert dicom image to nifti format image using preprocessing tan and select Dicom to Nifti option.

in my case when I load T2 image this message will be appear. I don't know if it is relevant to the image sequence that we have used to obtain T2 image? in our institute we obtain T2 images using Propeller sequence (a generic name in GE MRI scanner) which is less sensitive to patient's head motion and so preserve image quality. after press ok button a dialog box appears and you should select T2 image as moving image and T1 image as fixed image to register inconsistent T2 image with T1 image. after completing registration, load the registered image instead of inconsistent image.

image

but I visit this folders and files after completion of the application: image

image

there is no file that show me segmented tumor.

I propose the Captk team to produce some tutorials video and instruct end user how to use their application properly.

I am trying to use this software more and write my question about it here.

thank you for your free software.

AlexanderGetka-cbica commented 2 years ago

Hi @MGH194,

Thanks for your interest in CaPTk and for your feedback.

I will investigate the disparity between the CLI and GUI modes of the DeepMedic-based brain tumor segmentation.

Regarding loading T2 and T1 images together: This error is shown when images have inconsistent dimensions with one another and can't be loaded simultaneously in the viewer. As you mentioned, registering the two images allows you to load them together -- I would guess that the T2 scanner is producing images with a different resolution or origin. You can check this from the command line with our Utilities tool, like so:

CaPTk Utilities -inf -i C:/path/to/image/file.nii.gz

Regarding the output of the brain tumor segmentation application: I believe the Segm.nii file contains the multi-label segmentation. From the CaPTk GUI, first load the registered image file you used as input, then go to File -> Load -> ROI and load the Segm.nii file that way. This should give you the visualization you want.

We have tutorials on our documentation at https://cbica.github.io/CaPTk/How_To_Guides.html , as well as a few video tutorials on this YouTube channel: https://www.youtube.com/channel/UC69N7TN5bH2onj4dHcPLxxA

Thanks again for reaching out and I hope this solves your issue. Please feel free to let us know if any of the above is unclear or if you have additional feedback.