This Release fixes the ToOrientation transform for shapes, adds a ton of tests and fixes some other misc stuff
Full Changelog: https://github.com/justusschock/medical-shape/compare/v0.1.1...v0.1.2
Published by justusschock over 2 years ago
The ToOrientation Transform now correctly handles transformations to all possible orientations.
It can be instantiated by an orientation axcode like ("R", "A", "S")
or an affine as target orientation. It can now also handle images and for transforming shapes it does require at least one image to be present in the subject as well to properly handle the origin transformation.
Published by justusschock over 2 years ago
Full Changelog: https://github.com/justusschock/medical-shape/compare/v0.0.5...v0.1.0
Published by justusschock over 2 years ago
Due to a typo, the save
function from the Shape
class would error out. This is fixed now.
Published by justusschock over 2 years ago
This release adds the option to have point descriptions to the Shape
class and the .mjson
file specification.
Published by justusschock over 2 years ago
Change all imports from
from shape import X
import shape
shape.X
to
from medical_shape import X
import medical_shape
medical_shape.X
Published by justusschock over 2 years ago
This first release contains a working shape-extension as well as some transforms for these shapes. More details will follow with the next releases.