ntustison / BRATS2013

Ah, yes, I see that you know your Judo well.
8 stars 6 forks source link

Apply ANts on 3D segmentation #1

Open liamheng opened 7 years ago

liamheng commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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.