-
Notifications
You must be signed in to change notification settings - Fork 4
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
Lung_Atlas/copd01_iBHCT_Both_Lung_Mask.mha #2
Comments
Hello, Thank you for your interest in our article. The Lung_Atlas is a combination of the "ptpulmo" software plus an atlas-based segmentation. I will update the DOC to make this more clear. There is no significant difference in the results. All in all, even a primitive segmentation would suffice for this purpose. You might just need to rename your lung masks in order to perform other steps. |
I am confused about function ncmi in multi_registrations.py. When runing ut.ncmi(setting, cn=cn), error occurs that ### "unrecognized setting images". As far as my concerned, 128 line in multi_registrations.py, config_str = 'images=' + su.address_generator(setting, 'Im', cn=cn, type_im=0) + ' ' + \ su.address_generator(setting, 'nonRigid_MovedImage', cn=cn, out=0) + '\n' , it should be 'image=' rather than 'images='(I guess). |
That is correct indeed. The argument should be About the NCIM.exe, could you run the standalone app in your windows command prompt and check if it is working. Are you able to run Pooling.exe without any issue? About the MIND feature, that was computed in MATLAB. I used a modified kernel from the original MIND implementation at mpheinrich.de. I added the modified kernel (search_region_h.m) to the repository. The CVH feature was also computed in MATLAB. I guess an equivalent method like numpy .histogram2d would generate the same results. |
About the NCIM.exe, I guess there might be then some problems with the image header (size, spacing). I cannot regenerate the error on my workstation. Are you using this app for the DIR-Lab images? Could you try it on other images just to verify that you get the same error? Later, I will add a unit test with a phantom image. The function ants_loss.plot_loss() only is uese for visualization purposes. If you would like to run registrations locally, you could store the local log file as well. Maybe the function set_log_file() can be helpful. After storing all log files in a same directory, I expect that ants_loss.plot_loss() should run without any issues. |
Hello,I am interested in your article and your idea is awesome. But i have some problems with debuging your codes, in do_elastix_registration.py, where_to _run is set to 'local' . I use a way to finish lungs segmentation,but what is the Lung_Atlas/copd01_iBHCT_Both_Lung_Mask.mha? It confuses me a lot because it seems that there is nothing about lung atlas in chest_segmentation.py.
Looking forward to your reply at your earliest convenience.
The text was updated successfully, but these errors were encountered: