ENH: Add StructuralSimilarityImageFilter at Modules/Filtering#6094
Draft
hjmjohnson wants to merge 1 commit intoInsightSoftwareConsortium:mainfrom
Draft
ENH: Add StructuralSimilarityImageFilter at Modules/Filtering#6094hjmjohnson wants to merge 1 commit intoInsightSoftwareConsortium:mainfrom
hjmjohnson wants to merge 1 commit intoInsightSoftwareConsortium:mainfrom
Conversation
New standalone module at Modules/Filtering/StructuralSimilarity/ containing StructuralSimilarityImageFilter (SSIM, Wang et al. 2004). Computes per-pixel SSIM map and scalar mean SSIM between two images using a sliding Gaussian window over local luminance, contrast, and structure terms. Placed as a standalone module under Filtering/ rather than extending the existing ImageCompare module, to avoid perturbing a core module's dependency surface for a new filter. Enabled in CI via configure-ci. Reference: Wang Z., Bovik A.C., Sheikh H.R., Simoncelli E.P., "Image quality assessment: From error visibility to structural similarity," IEEE Trans. Image Processing 13(4), 2004. Co-Authored-By: Hans Johnson <hans-johnson@uiowa.edu>
78c7b8f to
ae93a00
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
Modules/Filtering/StructuralSimilarity/containingStructuralSimilarityImageFilter(SSIM, Wang et al. 2004). Standalone module under Filtering — does not touch ImageCompare or any other existing module. Enabled in CI viaconfigure-ci. Supersedes #6034 (which was stacked on the now-rejectedModules/Beta/approach in #6085).What changed from PR #6034
Modules/Beta/StructuralSimilarity/, stacked on ENH: Add Modules/Beta/ container (infra-only for stacked beta-module ingests) #6085 (Modules/Beta/container, rejected by reviewers)Modules/Filtering/StructuralSimilarity/, based directly onupstream/main. No dependency on ENH: Add Modules/Beta/ container (infra-only for stacked beta-module ingests) #6085 or WIP: ENH: Ingest 10 beta modules inline under Modules/Beta/ (stacked on #6085) #6086.-DModule_StructuralSimilarity:BOOL=ONtoconfigure-ciinpyproject.tomlModule layout
Local verification
Reviewer feedback addressed (from #6034)
AI disclosure
Filter implementation and test suite developed with Claude Code assistance across multiple iterations. Relocated from Modules/Beta/ to Modules/Filtering/ per reviewer consensus.