Skip to content

Conversation

@N-Dekker
Copy link
Contributor

Added UseLegacySobelOperatorCoordinates(bool) member function, allowing to switch off UseLegacyCoefficients from the Sobel operators used by the metric.

Added a complimentary member function, IsUsingLegacySobelOperatorCoordinates().

Follow-up to pull request #5735 commit e6d4997
"ENH: Add UseLegacyOperatorCoefficients to SobelEdgeDetectionImageFilter"

@github-actions github-actions bot added type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots type:Enhancement Improvement of existing methods or implementation type:Testing Ensure that the purpose of a class is met/the results on a wide set of test cases are correct area:Registration Issues affecting the Registration module labels Jan 23, 2026
@N-Dekker N-Dekker force-pushed the GradientDifferenceImageToImageMetric-LegacySobelOperatorCoordinates branch from 34fc2e0 to 8b9ee7d Compare January 23, 2026 13:38
@N-Dekker N-Dekker marked this pull request as ready for review January 23, 2026 16:03
@N-Dekker N-Dekker marked this pull request as draft January 23, 2026 19:42
@N-Dekker N-Dekker changed the title ENH: Add legacy Sobel option to GradientDifferenceImageToImageMetric WIP: Add legacy Sobel option to GradientDifferenceImageToImageMetric Jan 23, 2026
@N-Dekker
Copy link
Contributor Author

@hjmjohnson
Copy link
Member

@N-Dekker I think this is ready for rebase and review.

@N-Dekker
Copy link
Contributor Author

I think this is ready for rebase and review.

Thanks Hans, but I'm still thinking of a slightly better unit test. One that really shows that the legacy option affects the output. To be continued. 🤷

@N-Dekker N-Dekker force-pushed the GradientDifferenceImageToImageMetric-LegacySobelOperatorCoordinates branch from 8b9ee7d to 01adb88 Compare January 28, 2026 14:33
@github-actions github-actions bot removed type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots type:Enhancement Improvement of existing methods or implementation labels Jan 28, 2026
Added `UseLegacySobelOperatorCoordinates(bool)` member function, allowing to
switch off `UseLegacyCoefficients` from the Sobel operators used by the metric.

Added a complimentary member function, IsUsingLegacySobelOperatorCoordinates().

Follow-up to pull request InsightSoftwareConsortium#5735
commit e6d4997
"ENH: Add UseLegacyOperatorCoefficients to SobelEdgeDetectionImageFilter"
@N-Dekker N-Dekker force-pushed the GradientDifferenceImageToImageMetric-LegacySobelOperatorCoordinates branch from 01adb88 to e049158 Compare January 28, 2026 16:48
@N-Dekker N-Dekker changed the title WIP: Add legacy Sobel option to GradientDifferenceImageToImageMetric ENH: Add legacy Sobel option to GradientDifferenceImageToImageMetric Jan 28, 2026
@N-Dekker N-Dekker marked this pull request as ready for review January 28, 2026 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Registration Issues affecting the Registration module type:Testing Ensure that the purpose of a class is met/the results on a wide set of test cases are correct

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants