Skip to content

Add ANTs LabelGeometryMeasures for volume stats per label #151

Closed
@binarybottle

Description

@binarybottle

As suggested by @satra and @ntustison in issue @150, we could add volume stats per label computed by LabelGeometryMeasures in ANTs.

@ntustison -- Why would I be getting the following error from the T1 and labeled version of the same?:

jovyan@76e723833dac:~/work$ LabelGeometryMeasures 3 /home/jovyan/work/CBIC/5545866_T1w_VNavNorm/mindboggle123_output/mindboggled/5545866_VNavNorm/labels/freesurfer_wmparc_labels_in_hybrid_graywhite.nii.gz /home/jovyan/work/Desktop/CBIC/5545866_T1w_VNavNorm/t1.nii.gz
terminate called after throwing an instance of 'itk::ExceptionObject'
what(): /opt/ANTs/build/ITKv4-install/include/ITK-4.11/itkImageToImageFilter.hxx:250:
itk::ERROR: LabelGeometryImageFilter(0x3791490): Inputs do not occupy the same physical space!
InputImage Origin: [9.8958282e+01, 1.1097722e+02, -9.7684586e+01], InputImage_1 Origin: [9.8958290e+01, 1.1097722e+02, -9.7684586e+01]
Tolerance: 1.0000061e-06

Aborted

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions