Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geometric transform implementations #7955

Draft
wants to merge 31 commits into
base: dev
Choose a base branch
from

Commits on Apr 12, 2024

  1. Add kind property in MetaTensor (Project-MONAI#7488)

    Part of Project-MONAI#7486
    
    
    ### Types of changes
    <!--- Put an `x` in all the boxes that apply, and remove the not
    applicable items -->
    - [x] Non-breaking change (fix or new feature that would not break
    existing functionality).
    - [ ] Breaking change (fix or new feature that would cause existing
    functionality to change).
    - [ ] New tests added to cover the changes.
    - [ ] Integration tests passed locally by running `./runtests.sh -f -u
    --net --coverage`.
    - [ ] Quick tests passed locally by running `./runtests.sh --quick
    --unittests --disttests`.
    - [ ] In-line docstrings updated.
    - [ ] Documentation updated, tested `make html` command in the `docs/`
    folder.
    
    ---------
    
    Signed-off-by: YunLiu <[email protected]>
    KumoLiu authored Apr 12, 2024
    Configuration menu
    Copy the full SHA
    00436d0 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Adding apply_to_geometry function

    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    b2ab07e View commit details
    Browse the repository at this point in the history
  2. Adding load_geometry function

    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    7c7ec30 View commit details
    Browse the repository at this point in the history
  3. Adding missing import for apply_to_geometry

    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    8077759 View commit details
    Browse the repository at this point in the history
  4. Adding KindKeys to __all__ in monai.utils.enums.py

    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    7edb44e View commit details
    Browse the repository at this point in the history
  5. Adding tests for apply_to_geometry

    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    61cb5c3 View commit details
    Browse the repository at this point in the history
  6. Adding apply_to_geometry to __all__ in lazy/functional.py

    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    1e83ec8 View commit details
    Browse the repository at this point in the history
  7. Adding flip functionality for geometric_tensors

    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    e503d6a View commit details
    Browse the repository at this point in the history
  8. Adding KindKeys to utils/__init__

    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    f345fc9 View commit details
    Browse the repository at this point in the history
  9. Adding | None to meta_info for apply_to_geometry

    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    edc4bb7 View commit details
    Browse the repository at this point in the history
  10. Adding resize functionality for geometric tensors

    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    b8baae9 View commit details
    Browse the repository at this point in the history
  11. Adding rotate functionality for geometric tensors

    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    e59b4a9 View commit details
    Browse the repository at this point in the history
  12. Fixing line endings for monai/transforms/io/functional.py

    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    a0b768e View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. Fixed rotate to that output_shape is returned. Made resize consistent…

    … with rotate
    
    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    4e6ae70 View commit details
    Browse the repository at this point in the history
  2. Work towards geometry tests for rotate

    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    f763c8f View commit details
    Browse the repository at this point in the history
  3. Fixed KindKey types for flip functionality

    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    fc8e0b8 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2024

  1. Fix to handle 2d data being multiplied by a 3d transform from the met…

    …atensor api
    
    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    0857ac7 View commit details
    Browse the repository at this point in the history
  2. Bug fixes to make all related unit tests pass

    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    aa83926 View commit details
    Browse the repository at this point in the history
  3. Removed ndims (not ndim) from MetaTensor

    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    55edf77 View commit details
    Browse the repository at this point in the history
  4. Adding tests for rotate / flip

    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    7928f32 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1a216e9 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. load_geometry functionality and tests

    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    7004598 View commit details
    Browse the repository at this point in the history
  2. Resolving conflict

    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    51d8d28 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    62f506b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4740533 View commit details
    Browse the repository at this point in the history
  5. Zoom modified to use spatial_dims_from_tensorlike

    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    2ff1d73 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c2d351f View commit details
    Browse the repository at this point in the history
  7. Added and tested point zoom functionality

    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    645e0c6 View commit details
    Browse the repository at this point in the history
  8. Adding traced_no_op function for use in transforms that no-op geometr…

    …y data (like Spacing)
    
    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    f2e2426 View commit details
    Browse the repository at this point in the history
  9. Adding geometry support to Spacing transform

    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    4898b88 View commit details
    Browse the repository at this point in the history
  10. Adding save_geometry function plus test

    Signed-off-by: Ben Murray <[email protected]>
    atbenmurray committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    2cda79a View commit details
    Browse the repository at this point in the history