Skip to content

ENH: Ingest ITKBoneEnhancement into Modules/Filtering/BoneEnhancement#6272

Merged
hjmjohnson merged 176 commits into
InsightSoftwareConsortium:mainfrom
hjmjohnson:ingest-BoneEnhancement
May 20, 2026
Merged

ENH: Ingest ITKBoneEnhancement into Modules/Filtering/BoneEnhancement#6272
hjmjohnson merged 176 commits into
InsightSoftwareConsortium:mainfrom
hjmjohnson:ingest-BoneEnhancement

Conversation

@hjmjohnson
Copy link
Copy Markdown
Member

Ingest the ITKBoneEnhancement remote module into Modules/Filtering/BoneEnhancement (group: Filtering). Source upstream: InsightSoftwareConsortium/ITKBoneEnhancement. Tracking issue: #6160.

Ingest stats
  • Commits: 165 (including 25 merge commits -- Mode A topology preserved per Utilities/Maintenance/RemoteModuleIngest/INGESTION_STRATEGY.md)
  • Files installed under Modules/Filtering/BoneEnhancement/: 47
  • Approx. content size: 198 KiB
  • Tip SHA: a765aa2b13ec4653471c0c1bcc8e96cd70d5ffc3
External-data fixtures

CID / .sha512 content-links present in this ingest:

(none -- module has no external-data fixtures)

If any fixtures resolve via ITKTestingData, that repo must contain the matching content-link before this PR can merge cleanly.

Follow-on commits (on top of the unrelated-histories merge)
  • a765aa2 COMP: Remove BoneEnhancement.remote.cmake and enable in configure-ci
  • 6cd9a17 COMP: Suppress -Wunused-parameter in HessianGaussianImageFilterTest
  • 1f42b56 STYLE: Replace itkStaticConstMacro with static constexpr
  • 44cedd6 STYLE: Add itkVirtualGetNameOfClassMacro + itkOverrideGetNameOfClassMacro
  • b5645bb ENH: Bump ITK and replace http with https using script

Besler and others added 30 commits November 13, 2017 00:14
greater than to make concept checking easy, use Math::abs instead of vnl_math_abs
variable. Instead, implement the pure virtual function GetEigenValueOrder()
exceptions instead of returning empty sigma arrays
MultiScaleHessianEnhancementImageFilter
Enh/base - Initial framework written
KrcahEigentoScalarParameterEstimationImageFilter
MaximumAbsoluteValueImageFilter
MultiScaleHessianEnhancementImageFilter
@kwrobot-v1
Copy link
Copy Markdown

kwrobot-v1 Bot commented May 14, 2026

Errors:

  • Failed to reserve ref 36b43a1 for the merge request: invalid git ref: 'no such commit'.
  • Failed to run the checks: mr utilities error: failed to list commits of 36b43a1ce7d4c1a3e282bee63ff9d4e1065b2ee7 for https://github.com/InsightSoftwareConsortium/ITK/pull/6272: fatal: bad object 36b43a1ce7d4c1a3e282bee63ff9d4e1065b2ee7 .

hjmjohnson added a commit to hjmjohnson/ITK that referenced this pull request May 14, 2026
The if(NOT ITK_SOURCE_DIR) branch (find_package(ITK) +
include(ITKModuleExternal)) only executes when building the module
standalone outside ITK. In-tree builds always take the
itk_module_impl() else branch. Drop the dead branch following the
cleanup pattern from InsightSoftwareConsortium#6272/InsightSoftwareConsortium#6279.
hjmjohnson added a commit to hjmjohnson/ITK that referenced this pull request May 14, 2026
The if(NOT ITK_SOURCE_DIR) branch (find_package(ITK) +
include(ITKModuleExternal)) only executes when building the module
standalone outside ITK. In-tree builds always take the
itk_module_impl() else branch. Drop the dead branch following the
cleanup pattern from InsightSoftwareConsortium#6272/InsightSoftwareConsortium#6279.
@hjmjohnson hjmjohnson marked this pull request as ready for review May 14, 2026 22:53
@hjmjohnson
Copy link
Copy Markdown
Member Author

@greptileai review

hjmjohnson added a commit to hjmjohnson/ITK that referenced this pull request May 17, 2026
The if(NOT ITK_SOURCE_DIR) branch (find_package(ITK) +
include(ITKModuleExternal)) only executes when building the module
standalone outside ITK. In-tree builds always take the
itk_module_impl() else branch. Drop the dead branch following the
cleanup pattern from InsightSoftwareConsortium#6272/InsightSoftwareConsortium#6279.
hjmjohnson added a commit to hjmjohnson/ITK that referenced this pull request May 19, 2026
The if(NOT ITK_SOURCE_DIR) branch (find_package(ITK) +
include(ITKModuleExternal)) only executes when building the module
standalone outside ITK. In-tree builds always take the
itk_module_impl() else branch. Drop the dead branch following the
cleanup pattern from InsightSoftwareConsortium#6272/InsightSoftwareConsortium#6279.
hjmjohnson added a commit to hjmjohnson/ITK that referenced this pull request May 19, 2026
The if(NOT ITK_SOURCE_DIR) branch (find_package(ITK) +
include(ITKModuleExternal)) only executes when building the module
standalone outside ITK. In-tree builds always take the
itk_module_impl() else branch. Drop the dead branch following the
cleanup pattern from InsightSoftwareConsortium#6272/InsightSoftwareConsortium#6279.
hjmjohnson and others added 12 commits May 19, 2026 09:22
Brings BoneEnhancement from a configure-time remote fetch into the ITK
source tree at Modules/Filtering/BoneEnhancement/ using the v4 ingestion
pipeline (whitelist filter-repo + per-commit clang-format + black +
commit-prefix sanitization).

Upstream repo:  https://github.com/InsightSoftwareConsortium/ITKBoneEnhancement.git
Upstream tip:   479604dbc883e25a2147c436237b9ac35fc77c2c
Ingest date:    2026-05-14
Whitelist:      default.list

Per-commit transforms applied across all 163 commits:
  - filter-repo --paths-from-file (whitelist)
  - filter-repo --to-subdirectory-filter Modules/Filtering/BoneEnhancement
  - clang-format -style=file (ITK main's .clang-format) for *.cxx/.h/.hxx/...
  - black for *.py
  - heuristic ITK prefix added to commit subjects without one

Merge topology preserved: 39 -> 24 merge(s).

Primary author: Bryce Besler <babesler@ucalgary.ca>

Co-authored-by: Bryce Besler <Besler@users.noreply.github.com>
Co-authored-by: Dzenan Zukic <dzenan.zukic@kitware.com>
Co-authored-by: Dženan Zukić <dzenan.zukic@kitware.com>
Co-authored-by: Hans J. Johnson <hans-johnson@uiowa.edu>
Co-authored-by: Hans Johnson <hans-johnson@uiowa.edu>
Co-authored-by: Jon Haitz Legarreta Gorroño <jon.haitz.legarreta@gmail.com>
Co-authored-by: Mathew Seng <mathewseng@gmail.com>
Co-authored-by: Matt McCormick <matt.mccormick@kitware.com>
Co-authored-by: Matt McCormick <matt@mmmccormick.com>
Co-authored-by: Pablo Hernandez-Cerdan <pablo.hernandez.cerdan@outlook.com>
Co-authored-by: Tom Birdsong <tom.birdsong@kitware.com>
BoneEnhancement has been ingested into Modules/Filtering/BoneEnhancement;
drop the remote-module stub and enable Module_BoneEnhancement in the
pixi configure-ci task so CI exercises the in-tree module.
The mask was set twice on m_EigenToMeasureParameterEstimationFilter
instead of being forwarded to m_EigenToMeasureImageFilter, so the
per-pixel measure ran unmasked across the full image.
The if(NOT ITK_SOURCE_DIR) branch (find_package(ITK) +
include(ITKModuleExternal)) only executes when building the module
standalone outside ITK. In-tree builds always take the
itk_module_impl() else branch. Drop the dead branch following the
cleanup pattern from InsightSoftwareConsortium#6272/InsightSoftwareConsortium#6279.
Use a domain-specific description derived from the upstream README
rather than the generic 'Module ingested from upstream.' placeholder.
generateResponseAtScale returned the EigenToMeasure filter's output
object directly. The next scale's Update() reuses that same buffer, so
the scale-0 response aliased the scale-1 response and the multi-scale
maximum silently dropped the scale-0 contribution. DisconnectPipeline()
on the returned image gives each scale its own buffer.
@hjmjohnson hjmjohnson force-pushed the ingest-BoneEnhancement branch from 874a372 to b14825d Compare May 19, 2026 14:25
@hjmjohnson
Copy link
Copy Markdown
Member Author

/azp run ITK.Linux.Python

@hjmjohnson
Copy link
Copy Markdown
Member Author

/azp run ITK.macOS.Python

@hjmjohnson hjmjohnson requested a review from dzenanz May 20, 2026 11:12
hjmjohnson added a commit to hjmjohnson/ITK that referenced this pull request May 20, 2026
The if(NOT ITK_SOURCE_DIR) branch (find_package(ITK) +
include(ITKModuleExternal)) only executes when building the module
standalone outside ITK. In-tree builds always take the
itk_module_impl() else branch. Drop the dead branch following the
cleanup pattern from InsightSoftwareConsortium#6272/InsightSoftwareConsortium#6279.
@hjmjohnson hjmjohnson merged commit 01c60b8 into InsightSoftwareConsortium:main May 20, 2026
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Filtering Issues affecting the Filtering module area:Python wrapping Python bindings for a class area:Remotes Issues affecting the Remote module type:Enhancement Improvement of existing methods or implementation type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots 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.

8 participants