Skip to content

Releases: bhklab/med-imagetools

v2.0.0-rc.3

07 Feb 19:10
Compare
Choose a tag to compare
v2.0.0-rc.3 Pre-release
Pre-release

v2.0.0-rc.3 (2025-02-07)

This release is published under the MIT License.

Chores


Detailed Changes: v2.0.0-rc.2...v2.0.0-rc.3

v2.0.0-rc.2

07 Feb 18:38
Compare
Choose a tag to compare
v2.0.0-rc.2 Pre-release
Pre-release

v2.0.0-rc.2 (2025-02-07)

This release is published under the MIT License.

Chores

  • Comment out PyPI publish step in CI workflow (c42f5eb)

  • Update pixi.lock file (e2c2c5e)

Features

  • Allow CI-CD workflow to run on development branch (d832db9)

  • Update docs and lockfile (6e07540)


Detailed Changes: v2.0.0-rc.1...v2.0.0-rc.2

v2.0.0-rc.1

07 Feb 18:11
Compare
Choose a tag to compare
v2.0.0-rc.1 Pre-release
Pre-release

v2.0.0-rc.1 (2025-02-07)

Chores

Features

  • Add optional import functionality and clean up dependencies (#217, 9efc491)

Introduce optional import functionality for h5py and pynrrd, while removing unused dependencies and refactoring the codebase for better maintainability.

  • Documentation • Updated installation instructions with new environment setup commands and streamlined guidance.

  • Refactor • Removed legacy imaging processing and indexing functionalities to simplify the toolset.

  • New Features • Enhanced error handling for optional dependencies to offer clearer messaging when modules are missing.


Detailed Changes: v1.21.1...v2.0.0-rc.1

v1.23.2

07 Feb 23:39
Compare
Choose a tag to compare

v1.23.2 (2025-02-07)

This release is published under the MIT License.

Bug Fixes

  • Add function to handle out of bounds coordinates for a RegionBox in an image (#221, 155f59a)

This works the same way as _adjust_negative_coordinates, but requires the image as an addition input and modifies the RegionBox object directly.

A message is logged in the debugger if a dimension is adjusted.

I also updated the crop_image function to call this before applying the crop.


Detailed Changes: v1.23.1...v1.23.2

v1.23.1

07 Feb 22:26
Compare
Choose a tag to compare

v1.23.1 (2025-02-07)

This release is published under the MIT License.

Bug Fixes

  • Handle odd extra dimension values in expand_to_min_size (#220, 6eb58ea)

Detailed Changes: v1.23.0...v1.23.1

v1.23.0

07 Feb 20:35
Compare
Choose a tag to compare

v1.23.0 (2025-02-07)

This release is published under the MIT License.

Features

  • Add desired_size to centroid bounding box generation (#219, 30a129f)

In old version, bounding box was a single voxel. Now is expanded to at least the minimum dimension default.

  • New Features

  • Now, users can optionally specify a desired size when generating image bounding boxes for enhanced control.

  • Chores

    • Updated the software version from 1.21.1 to 1.22.0.

Detailed Changes: v1.22.0...v1.23.0

v1.22.0

07 Feb 17:56
Compare
Choose a tag to compare

v1.22.0 (2025-02-07)

This release is published under the MIT License.

Features

  • Add optional import functionality and clean up dependencies (#217, 9efc491)

Introduce optional import functionality for h5py and pynrrd, while removing unused dependencies and refactoring the codebase for better maintainability.

  • Documentation • Updated installation instructions with new environment setup commands and streamlined guidance.

  • Refactor • Removed legacy imaging processing and indexing functionalities to simplify the toolset.

  • New Features • Enhanced error handling for optional dependencies to offer clearer messaging when modules are missing.


Detailed Changes: v1.21.1...v1.22.0

v1.21.1

06 Feb 23:24
Compare
Choose a tag to compare

v1.21.1 (2025-02-06)

This release is published under the MIT License.

Bug Fixes

  • Refactor DICOM utilities and enhance documentation (#216, 1ed8de6)

Remove unnecessary sanitization functionality, improve DICOM exception handling, and introduce new utilities for loading and extracting ROI metadata. Update documentation to include references for the new DICOM utilities.

  • New Features

  • Enhanced support for processing various DICOM file formats with improved metadata extraction and robust error handling.

  • Introduced cross-platform support for determining optimal file path and filename lengths, along with secure filename sanitization.

  • Refactor

  • Streamlined DICOM processing by removing legacy parameters and simplifying function interfaces for consistent performance.

  • Tests

  • Updated the testing suite for improved type safety and reliability, ensuring smoother interactions when handling DICOM files.

Documentation

  • Enhance RegionBox with flexible padding options and module updates (#215, 5f38f49)

Introduce the BoxPadMethod enum for padding flexibility in RegionBox. Update import paths and remove deprecated modules to streamline the codebase.


Detailed Changes: v1.21.0...v1.21.1

v1.21.0

06 Feb 16:38
Compare
Choose a tag to compare

v1.21.0 (2025-02-06)

This release is published under the MIT License.

Chores

Features

  • Improve AbstractBaseWriter with indexing and add docs (#176) (#189, e147629)

  • New Features

  • Introduced a unified file writing framework that streamlines saving image and array data across various formats (e.g., HDF5, NIFTI, NumPy).

  • Enhanced file handling with improved validations for naming, compression levels, and managing existing files, ensuring smooth data export and logging.

  • Tests

  • Added comprehensive testing to verify file saving operations, error handling, and file indexing, ensuring robust performance across different usage scenarios.

Refactoring

  • Remove Vector3D; update Coordinate3D and enhance RegionBox (#210, c16ae7c)

Remove the Vector3D class, integrating its functionality into Coordinate3D. Update documentation and improve the calculate_image_boundaries function to support world coordinates. Rename variables for clarity and consistency.

  • New Features - Introduced a cropping capability that allows simultaneous cropping of images and their corresponding masks. - Added an optional parameter to select the coordinate system when computing image boundaries. - Added new functions to retrieve example dataset paths and images.

  • Enhancements - Improved 3D coordinate operations to now support integer arithmetic as well as equality and ordering comparisons. - Updated documentation and diagrams to provide a clearer, simplified view of class relationships.

  • Refactor - Removed a legacy 3D vector type to streamline the available coordinate types.

  • Bug Fixes - Simplified exception handling and improved clarity in the BoundingBoxOutsideImageError class.

  • Tests - Expanded test coverage for the new Coordinate3D class, including equality and comparison operations, while removing tests for the deprecated Vector3D. - Added a new test for validating example dataset images.


Detailed Changes: v1.20.0...v1.21.0

v1.20.0

06 Feb 14:59
Compare
Choose a tag to compare

v1.20.0 (2025-02-06)

This release is published under the MIT License.

Features

  • Add examples module for image dataset tools (#212, a882574)

  • New Features

  • Introduced new functions for streamlined access to example dataset resources, mapping key identifiers to their corresponding file paths and images.

  • Added a dynamic capability to conditionally include functionalities based on the availability of test data.

  • Bug Fixes

    • Enhanced error handling for missing dataset files.
  • Tests

  • Added a new test function to verify the integrity and presence of example dataset images.


Detailed Changes: v1.19.0...v1.20.0