Skip to content

LesionFilling error #1201

@enrit

Description

@enrit

Hi All,

I have segmented MS lesions and as a next step, I am using LesionFilling to 'paint' the lesions on a T1 image.

However, I am encountering the following errror -

LesionFilling 3 T1.nii.gz Lesion.nii.gz test.nii.gz
libc++abi: terminating with uncaught exception of type itk::ExceptionObject: /Applications/ANTs/build/staging/include/ITK-5.2/itkConnectedComponentImageFilter.hxx:145:
itk::ERROR: itk::ERROR: ConnectedComponentImageFilter(0x7fb53a605330): Number of objects (258) greater than maximum of output pixel type (255).
Abort trap: 6

Can you suggest how do I fix it ?

Many thanks

Rito

Metadata

Metadata

Assignees

No one assigned

    Labels

    wouldbeniceNice ideas not under development (pull requests welcome)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions