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

Apply ANts on 3D segmentation #1

Open
liamheng opened this issue Feb 1, 2017 · 3 comments
Open

Apply ANts on 3D segmentation #1

liamheng opened this issue Feb 1, 2017 · 3 comments

Comments

@liamheng
Copy link

liamheng commented Feb 1, 2017

Hi, Nick

I'm doing 3D segmentation with ANTs. And I figured out the example code cannot be used for 3D segmentation.

For my understanding,
I shall perform the scripts createTruthLabels.pl, createNormalizedImagesForCohort.pl, createFeatureImagesForCohort.pl, runLeaveOneOutCrossValidation.pl, createRandomForestModel.pl, applyTumorSegmentationModelForCohort.pl, refineTumorSegmentationResultsForCohort.pl one by one to finish the segmentation. Am I right?

And the script can be run by command: createTruthLabels.pl . What shall be the input of ?

Thank you so much.

Heng

@ntustison
Copy link
Owner

Those scripts are certainly available to use but they weren't meant for public consumption in that I wouldn't be able to walk you through all those scripts I used to do the BRATS competition. That's the reason I put together the simple 2-D example that you should be able to take an apply to your 3-D data.

@liamheng
Copy link
Author

liamheng commented Feb 3, 2017

I tried to use the 2-D example first, and it can be applied on 3-D images. However, the segmentation results are not good. I think this is because you did some preprocessing before the example, such as you added three labels of tissue to the groundtrueth. And this step seems important to the following segmentation.

@ntustison
Copy link
Owner

Yes, you need to add labels for the normal tissues: gray matter, white matter, and csf. But you're going to need to figure that out on your own. The scripts are pretty clean so you should be able to figure out what they're doing.

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

No branches or pull requests

2 participants