Skip to main content

ANTs DBM Longitudinal

A Flywheel gear wrapping ANTs antsLongitudinalCorticalThickness.sh script. This script creates a Single Subject Template from all the anatomical images and time point based template.

Usage

This gear should be run on the Subject level.

Inputs

  • registered_predefined_atlases (file): Registered atlases to a population based template.
<working_dir_name>
└── <template_folder_name>
    ├── Priors2
    │   ├── <nifti-file-name>
    │   ├── <nifti-file-name>
    │   ├── <nifti-file-name>
    │   ├── <nifti-file-name>
    │   ├── <nifti-file-name>
    │   └── <nifti-file-name>
    ├── brain_extraction_probability_mask
    │   └── <nifti-file-name>
    ├── brain_segmentation_template
    │   └── <nifti-file-name>
    ├── extraction_registration_mask
    │   └── <nifti-file-name>
    └── t1_registration_template
        └── <nifti-file-name>

As shown above, each directory should be labeled with one of the following names:

  • Priors2
  • brain_extraction_probability_mask
  • brain_segmentation_template
  • extraction_registration_mask
  • t1_registration_template

Within each directory, it should contain only ONE template/mask image, except for the Priors2 directory.

Note: If registered predefined atlases template is not provided, the gear will use the default atlases template which can be configured in the gear config (Default: OASIS-30_Atropos_template). Note: If registered predefined atlases template is not provided, the gear will use the default atlases template which can be configured in the gear config (Default: OASIS-30_Atropos_template).

Configuration

  • debug (boolean, default: False): Include debug statements in output.
  • image_dimension (int, default: 3): 2 or 3 (for 2- or 3-dimensional image)
  • atropos_iteration (int, default: 5): Number of iterations within Atropos.
  • denoise_anatomical_image (int, default: 1): Denoise anatomical images.
  • number_of_modalities (int, default: 1): Number of modalities used to construct the template: For example,if one wanted to use multiple modalities consisting of T1, T2, and FA components, it will be 3 modalities.
  • rigid_template_update_component (int, default: 0): Update the single-subject template with the full affine transform (default 0).If 1, the rigid component of the affine transform will be used to update the template. Using the rigid component is desireable to reduce bias, but variations in the origin or head position across time points can cause the template head to drift out of the field of view.
  • rigid_alignment_to_SST (int, default: 0): If 1, register anatomical images to the single-subject template before processing with antsCorticalThickness. This potentially reduces bias caused by variable orientation and voxel spacing
  • input_regex (str, default: ".*nii\.gz"): Regular expression that matches files to be used as anatomical image inputs. (Default '.*nii\.gz'). https://en.wikipedia.org/wiki/Regular_expression.
  • input_tags (str, default: ""): Tag(s) that matches files to be used as anatomical image inputs. When multiple tags are specified, they must be comma separated (e.g. anatomical,ANTsLongitudinal)
  • atlases_template (str, default: "OASIS-30_Atropos_template"): If predefined atlases are not provided as an input, the gear will use this as the default predefined atlas template.

Contributing

For more information about how to get started contributing to this gear, checkout CONTRIBUTING.md.

Metadata

Release files for fw-gear-ants-dbm-longitudinal 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for fw-gear-ants-dbm-longitudinal 0.1.2
File Interpreter ABI Platform
fw_gear_ants_dbm_longitudinal-0.1.2-py3-none-any.whl Python 3 none any Details

Release files / fw_gear_ants_dbm_longitudinal-0.1.2-py3-none-any.whl

Download URL fw_gear_ants_dbm_longitudinal-0.1.2-py3-none-any.whl
Size 54.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a75e04b1bc615f054c5b92f72e55662e5b80ff76772e69851cd618265509ccbc
BLAKE2b-256 checksum
How to use checksums
4c54d319537f9cadf57a114e3a66d33f1accb69918dbee36be07e561091d6a85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Alpine Linux","version":"3.24.1","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page