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

LesionFilling seems not to save the resultant image. #1258

Closed
sj-choi opened this issue Oct 21, 2021 · 6 comments · Fixed by #1265
Closed

LesionFilling seems not to save the resultant image. #1258

sj-choi opened this issue Oct 21, 2021 · 6 comments · Fixed by #1265
Labels
bug Reproducible bugs

Comments

@sj-choi
Copy link

sj-choi commented Oct 21, 2021

I was running LesionFilling command on Linux VM (Xubuntu VBox).
It is a very simple and straightforward script, but I got an error message shown below:
"""
Number of lesions: 174
./WML_filling_counting_labeling_volume-recording_Data_since_2019.sh: line 18: 21602 Floating point exception(core dumped) ${ANTSPATH}/LesionFilling 3 ./${i}-pre-denoised-T1W_0p5.nii.gz ./${i}-FLAIR_WML.nii.gz ./${i}-lesion_filled_T1W_0p5.nii.gz
'
"""
And the result (supposed to be a lesion-filled T1 image) was not saved.

I would like to know what may cause 'Floatingpoint exception(core dumped)'?
Are there any conditions for input data? (nii.gz or nii etc.)

Thank you,
SC

@sj-choi sj-choi changed the title LesionFilling LesionFilling seems not to save the resultant image. Oct 22, 2021
@cookpa
Copy link
Member

cookpa commented Oct 22, 2021

Floating point exception suggests a problem with the data, would you be able to share it?

@sj-choi
Copy link
Author

sj-choi commented Oct 28, 2021

Thanks for your reply. I finally acquired permission to share two files (T1W and WML mask images).
Could you let me know how I can share them with you (any cloud service that I can upload them safely or email address so that I can send you a file link)?

Thank you
-SC

@cookpa
Copy link
Member

cookpa commented Oct 29, 2021

@sj-choi
Copy link
Author

sj-choi commented Oct 29, 2021

I uploaded two sets of images that issued (attempting LesionFilling command on Xubuntu Linux environment) the same type of error messages without resultant lesion-filled images. Other images from the same pool of batch-processed data were successfully lesion-filled while but a few of them were not with that floating-point error.

Thank you.

@cookpa cookpa added the bug Reproducible bugs label Oct 29, 2021
@cookpa
Copy link
Member

cookpa commented Oct 29, 2021

Thanks - I think there is a divide by zero happening somewhere. I'll work on a fix for LesionFilling.

@sj-choi
Copy link
Author

sj-choi commented Oct 29, 2021

In the meantime, is there any similar implementation (in ANTsR or ANTsRNet) of LesionFilling so that I can use it instead of LesionFilling (in ANTs)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Reproducible bugs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants