Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

BUG: Address degenerate case. #1767

Merged
merged 1 commit into from
Jul 4, 2024
Merged

BUG: Address degenerate case. #1767

merged 1 commit into from
Jul 4, 2024

Conversation

ntustison
Copy link
Member

Proposed solution to #1765.

@ntustison
Copy link
Member Author

This results in the following exception:

Running Atropos for 3-dimensional images.

Progress: 
WARNING: In /Users/ntustison/Pkg/ANTs/ImageSegmentation/antsGaussianListSampleFunction.hxx, line 106
GaussianListSampleFunction (0x6000026bc180): The input list sample has <= 1 element.  Function evaluations will be equal to 0.

  Iteration 0 (of 5): posterior probability = 0 (annealing temperature = 1)

itk::ExceptionObject (0x6000039b4ee0)
Location: "unknown" 
File: /Users/ntustison/Pkg/ANTs/ImageSegmentation/antsAtroposSegmentationImageFilter.hxx
Line: 1319
Description: ITK ERROR: AtroposSegmentationImageFilter(0x11de090c0): Updating the class labeling resulted in 2 non-zero label sets but 3 is requested.

@ntustison ntustison merged commit dc336c5 into master Jul 4, 2024
1 check passed
@ntustison ntustison deleted the AtroposDegCase branch July 4, 2024 16:32
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant