Skip to content

Commit

Permalink
BUG: SumOfPairwiseCorrelationCoefficientsMetric TransformIsStack false
Browse files Browse the repository at this point in the history
Initialized `SumOfPairwiseCorrelationCoefficientsMetric::TransformIsStackTransform` to false. Otherwise it would always be true.

Other metrics (PCAMetric, PCAMetric2, VarianceOverLastDimension) have a similar TransformIsStackTransform property, but those are initialized to false, during the construction of those metrics.

 - Addresses issue #1159 "SumOfPairwiseCorrelationCoefficientsMetric m_TransformIsStackTransform always true?!?"
  • Loading branch information
N-Dekker committed Jun 25, 2024
1 parent c1719e1 commit 60d3712
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class ITK_TEMPLATE_EXPORT SumOfPairwiseCorrelationCoefficientsMetric
FixedImageSizeType m_GridSize{};

/** Bool to indicate if the transform used is a stacktransform. Set by elx files. */
bool m_TransformIsStackTransform{ true };
bool m_TransformIsStackTransform{ false };
};

} // end namespace itk
Expand Down

0 comments on commit 60d3712

Please sign in to comment.