Skip to content

BUG: Address degenerate case.#1767

Merged
ntustison merged 1 commit intomasterfrom
AtroposDegCase
Jul 4, 2024
Merged

BUG: Address degenerate case.#1767
ntustison merged 1 commit intomasterfrom
AtroposDegCase

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
@ntustison ntustison deleted the AtroposDegCase branch July 4, 2024 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant