Skip to content

template building/additional segmentations #51

@Javiercbr

Description

@Javiercbr

Hey there 👋

I’m trying to use FireANTs for full-body CT template building and ran into a problem with saving additional segmentations.

I set up my config as shown in the README, with a save_additional block like:

image_list_file: /media/SHARED/Corregistro/Pruebas_FireAnts/TemplateBuilding/lista_NVM.txt
image_prefix: null
image_suffix: null
num_subjects: null  

save_additional: 
  image_file:   ['/media/SHARED/Corregistro/Pruebas_FireAnts/TemplateBuilding/lista_NVM_TS.txt'] 
  image_prefix: ['label_']
  image_suffix: ['.nii.gz']
  is_segmentation: [true]

lista_NVM.txt and lista_NVM_TS.txt are mirror list files with the filenames of CT and the corresponding segmentation — they only differ in a string (CT instead of TS).

…but nothing happens — no extra images are saved.

I checked fireants/scripts/template/build_template.py and couldn’t find any place where save_additional is actually called or processed. It looks like the option exists in the configs, but the functionality might not have been wired into the script yet.

Is save_additional some kind of WIP or I’m missing something?

Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions