Skip to content

Merge spectral tools and image utilities into master - #55

Merged
stevenkboyd merged 54 commits into
masterfrom
merge-spectral
Oct 14, 2026
Merged

stevenkboyd merged 54 commits into
masterfrom
merge-spectral

Conversation

@friedchickean

Copy link
Copy Markdown
Contributor

Integrates the spectral CT tools and supporting image utilities into master. Resolves the branch conflicts while preserving the lates implementation, dependencies, command registrations, and label definitions on master.

4 conflicts were:

  • OgoMasterLabels.py - Competing label defintions. Kept master's label 98 as "Trabecular Bone" and removed duplicated entries
  • Helper.py - Both branches changed histogram calculation. kept master's implementation.
  • requirements.tct - Different dependency list. Kept master's dependencies and new packages required by the FEA workflow.
  • setup.cfg - Both branches added command registrations. Combined registrations from both master and spectral.

…ity validation and dynamic description generation
stevenkboyd and others added 24 commits January 30, 2026 10:48
- Implemented ImageChangeExtent for adjusting image extents using offsets or absolute values.
- Created ImageFilterByMask to apply a binary mask to an input image with optional morphological operations.
- Developed ImageMirror to flip images along specified axes with options for flipping about the origin.
- Updated StyleGuide to improve error messaging and maintain consistency in output.
- Enhanced cli_tools with extent validation and improved image information printing.
- Registered new CLI commands in setup configuration for easy access.
…utput formatting

- Added a 'brief' parameter to allow for a concise summary of image information.
- Improved formatting of printed output for better readability.
- Retained detailed information in full mode, including physical dimensions, direction matrix, and image statistics.
- Calculated and displayed image dimensionality.

@stevenkboyd stevenkboyd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. There might be some bumps as we sort out the new command line options.

@stevenkboyd
stevenkboyd merged commit d5bec37 into master Oct 14, 2026
2 checks passed
@stevenkboyd
stevenkboyd deleted the merge-spectral branch October 14, 2026 22:15
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.

3 participants