Skip to content

Add image alias - #5

Merged
pressler-vsc merged 5 commits into
mainfrom
add_image_alias
Aug 27, 2026
Merged

Add image alias#5
pressler-vsc merged 5 commits into
mainfrom
add_image_alias

Conversation

@johnstob

Copy link
Copy Markdown
Contributor

This PR is to introduce the initial SICD alias removal tool.

It has been added to the single entry point CLI

usage: skp sicd_alias [-h] [--threshold THRESHOLD] [--num-iters NUM_ITERS] [--zones ZONES [ZONES ...]]
                      [--symmetric] [--dilate DILATE] [--prf-override PRF_OVERRIDE]
                      input_sicd_filename output_sicd_filename

Clean up PRF alias energy from a SICD

positional arguments:
  input_sicd_filename
  output_sicd_filename

options:
  -h, --help            show this help message and exit
  --threshold THRESHOLD
                        Threshold to use when creating NIFT mask (units of stddev) (default: 9)
  --num-iters NUM_ITERS
                        Number of iterations of cleaning to do (default: 2)
  --zones ZONES [ZONES ...]
                        PRF multipliers to search for alias energy (default: [-2, -1, 1, 2])
  --symmetric           Search positive and negative of zones (default: listed zones only, not their inverse)
  --dilate DILATE       Number of pixels to dilate the masks (default: 1)
  --prf-override PRF_OVERRIDE
                        Override the PRF with a fixed value

Below are before/after PNG of TTG SICD with aliases introduced/mitigated:

Before After
ttg_spotlight_alias ttg_spotlight_alias_removed

@pressler-vsc
pressler-vsc merged commit 3479fb2 into main Aug 27, 2026
10 checks passed
@pressler-vsc
pressler-vsc deleted the add_image_alias branch August 27, 2026 18:02
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.

2 participants