Open ZemaTimoteo opened 3 years ago
Hi Thiago, Thanks a lot for your interest in pyKNEEr! It seems to be an issue with your dicom data type. One quick test would be to resave your dicom images using a software written in ITK and then see if it works. Would that make sense to you? If so, one option is to use ITK-SNAP (see here). Open one dicom stack in ITK-SNAP and resave it as a dicom (changing name or in another folder so you do not overwrite your original dataset). Then try to use this newly saved dicom in the preprocessing notebook, and see if it works. Let me know!
Hi @sbonaretti ,
Thank you for such a quick reply!
I try to do as you said, however it did not run. The ITK-SNAP did not seam to have an option to save it as DICOM
, so I used the Generic ITK image
(Should I do differently)?
What other way do I have to check if the DICOM
files are well suited to run with pyKNEEr?
Thank you so much in advance Tiago
Hi, Yes, you are right, I have just double checked as well. As soon as I have time, I will add the possibility of starting the pipeline with images other than .dcm. Have you tried with other software, e.g. Horos? Sorry for not being able to help you more right now. Best, Serena
Hi @sbonaretti ,
My name is Tiago and I am using pykneer for getting T2mapping.
I convert the
preprocessing.ipynb
into a python file, and it runs the DEMO data. However I can not make it run on my Dicom data. I get this error code when uploading dicom images for preprocessing:This issue occurs on
line 117
ofsitk_functions.py
I attatched '.txt' files for the DEMO data and MyData ofimg_sitk
variable configurations (Apperently they seem alike.)DEMO_img_sitk.txt MyData_img_sitk.txt
Code
pK_preprocessing.py
: Code.txtI don't know what I should do to get around this issue. Your help would be very helpful.
Thank you so much in advance.
Best Tiago