help > RE: Tissue Segmentation Input/Tissue Segmentation Atlas directory
Dec 29, 2020  03:12 PM | Juan Prieto - NIRAL
RE: Tissue Segmentation Input/Tissue Segmentation Atlas directory
Hi Jane,

You are correct, the images should be aligned to the ACPC line. However, since you are providing your own mask we need to make sure it is in the right space. 

Let's make sure the correct configuration is being used.
Are you using the rigid registration option? If it is the case, the output of this step creates files with prefix _stx.nrrd, make sure your brainmask is aligned with those. 
Also, if you are providing your own mask, the 'Perform automatic skull-stripping' option on the second tab should be unchecked.
The skull stripping is performed regardless, i.e., using the computed mask or your own mask.

Finally, let's take a look at the file _labels_EMS.nrrd, this is the output of the tissue segmentation step. The tissue segmentation is key to compute the Final_QCistern output. There are 2 steps here, a non-rigid registration to the segmentation atlas followed by ABC algorithm to compute the tissue classes.

Please check the inputs to the ABC algorithm in the ABCParams.xml file and also the intermediate outputs of this step.

The final steps will use the brainmask and the tissue segmentation to compute the QCistern file.

Please let me know how it goes.


Originally posted by Chieh-En Tseng:
Originally posted by Alex Brown:
Hi Juan,

The scripts ran to completion and produced output files! However, the coronal mask, and all the EMSPartial_Masking files are empty when I attempt to view them in Slicer. the MID0 files do have viewable output, but the mask is not cut at the ACPC (whole brainmask segmentation). Also, my volume summary value is "29".

The only error in the error log is the following:

 < Failed opening /home/bic/Desktop/1.7.7_output/ABC_Segmentation/T1_stripped_to_template_EMS.affine>


A few questions:

If I provide a brainmask, does it need to binary? the brainmask i provided was from freesurfer, which is not a binary mask.

If I do provide a brainmask, do I need to register/transform the brainmask to ACPC space first?

If I do not provide a brainmask I will need an adult skullstripping atlas. Does your team have any adult skullstripping atlases?

Thanks!
Alex

Hello,

I think I have a similar issue. The MID0 files have viewable outputs but not the EMS_withoutVent_Partial_CSF file or FINAL_QCistern file. The volume summary value is "28". I registered the images to be aligned to the ACPC line and the origin is at the AC (is this what ACPC space means?), I am using my own brainmask, the adult tissue segmentation atlas, and to remove the ventricles I'm using the one year old ventricle mask and T1 template. Is there anything that I should be doing differently to get a viewable output in FINAL_QCistern? I have also tried with my own ventricle mask and looked at the uploaded example as a reference but I still haven't been able to get the correct final output, I would really appreciate any guidance.

I am attaching the FinalMasking folder and FINAL_QCistern files if you could have a look. Thank you for your help!

Best wishes,
Jane

Threaded View

TitleAuthorDate
Alex Brown Jun 18, 2020
Juan Prieto Jun 23, 2020
Alex Brown Jun 23, 2020
Juan Prieto Jun 23, 2020
Alex Brown Jun 23, 2020
Alex Brown Jun 23, 2020
Juan Prieto Jun 18, 2020
Alex Brown Jun 18, 2020
Juan Prieto Jun 18, 2020
Alex Brown Jun 18, 2020
Juan Prieto Jun 18, 2020
Alex Brown Jun 19, 2020
Alex Brown Jun 19, 2020
Juan Prieto Jun 19, 2020
Alex Brown Jun 19, 2020
Juan Prieto Jun 22, 2020
Alex Brown Jun 23, 2020
Alex Brown Jun 23, 2020
Alex Brown Jun 23, 2020
Juan Prieto Jun 23, 2020
Juan Prieto Jun 23, 2020
Alex Brown Jun 25, 2020
Chieh-En Tseng Dec 28, 2020
RE: Tissue Segmentation Input/Tissue Segmentation Atlas directory
Juan Prieto Dec 29, 2020
Chieh-En Tseng Dec 29, 2020
Juan Prieto Dec 29, 2020
Chieh-En Tseng Dec 29, 2020
Chieh-En Tseng Dec 28, 2020
Juan Prieto Jun 29, 2020
Juan Prieto Jul 6, 2020