Releases: BioMedIA/deepali
Releases · BioMedIA/deepali
0.6.3
What's Changed
- [core] Multiply input by 'scale' even when 'steps=0' in expv() by @aschuh-hf in #144
- [utils] Support MetaImage files with unspecified HeaderSize by @sgerber-hf in #149
- [doc] Add TorchIR to list of related projects by @aschuh-hf in #146
New Contributors
- @sgerber-hf made their first contribution in #149
Full Changelog: 0.6.2...0.6.3
0.6.2
0.6.1
Maintenance release with some minor breaking changes.
- [core] Fix spatial derivatives when using
mode="bspline"
ormode="gaussian"
(#135). - [core] Rename
SpatialDerivativeKeys
all()
andunmixed()
argumentndim
tospatial_dims
(#132). - [data] Fix exception when passing a
FlowFields
batch tensor toF.grid_sample()
(#134). - [losses] Add
spacing
option to flow field loss modules (#136). - [spatial] Reverse stride order when subsampling
DenseVectorFieldTransform
(#133).
0.6.0
Add low-level functions for stationary velocity field based diffeomorphic spatial transforms.
- Modify
mi_loss()
to allow use ofnum_samples
to limit maximum number when using asample_ratio
(#121). - Ensure Gaussian kernel tensor is 1-dimensional even when
sigma=0
(#122). - Fix
compose_flows()
to compute composite displacement field (#128, #129). - Add
compose_svfs()
to compose velocity fields using Baker-Campbell-Hausdorff (BCH) formula (#129, #130). - Add
lie_bracket()
of vector fields which is required for BCH formula (#129). - Add
logv()
, the inverse map ofexpv()
, based on the algorithm proposed by Bossa & Olsom (2008) (#131). - Switch from
.vscode/
folder todeepali.code-workspace
file (#123).
0.5.2
0.5.1
Maintenance release.
- [core] Ignore error in
deepali.core.pathlib.delete()
of failed deletion of non-empty directory - [utils] Fix check if path exists in
deepali.utils.simpleitk.imageio.read_image()
- [utils] Force pull file from cloud storage in
deepali.utils.vtk.polydata.read_polydata()
- [ci] Update action/checkout to v4
0.5.0
Maintenance release with some minor breaking changes.
- Fix
DataclassConfig.from_path()
when argument is a URI (#111) - Fix and extend flow field derivative based losses (#117)
- Add
flow_derivatives()
with defaultspacing
for finite differences assuming a normalized flow field. - Add
curl()
,divergence()
, anddivergence_free_flow()
functions to core library. - Modify
finite_differences()
to pad input usingreplicate
instead of padding output with zeros. - Add
mode='forward_central_backward'
to avoid padding usingreplicate
orconstant
values. - Add
mode='bspline'
tospatial_derivatives()
. - Generalize
cubic_bspline_jacobian_*()
tojacobian_*()
functions for allmode
values. - Fix bending energy, curvature, and divergence loss functions.
- Add
0.4.3
Maintenance release.
- Move
deepali.utils.storage
module todeepali.core
. - Add
EulerRotation.matrix_()
setter. - Add
LogLevel
convenience initialization methods. - Fix setting default
log_level
inconfigure_logging()
. - Fix flattening of direction cosines matrix in
write_sitk_iamge()
. - Remove
pyyaml
dependency, only useruamel.yaml
instead. - Install
conda-devenv
andconda-lock
in conda environment.
0.4.2
Maintenance release.
- Modified
spatial.ImageTransformer
to allowtarget
grid domain to differ fromtransform.grid()
domain. - Change image tensor creation functions to return non-batched image tensor when
num=0
is passed. - Fix assertion condition when comparing data tensor shape to MetaImage
DimSize
metadata. - Fix
torch.from_numpy()
warning that NumPy array is read-only when reading MetaImage from data blob. - Fix
circle_image()
andcshape_image()
functions used to create synthetic 2D registration example images.
0.4.1
Minor refactoring of deepali.core
and deepali.utils
with a few breaking changes.
- Renamed
deepali.core.path
todeepali.core.pathlib
- Moved functions
make_temp_dir()
,temp_dir()
, andtemp_file()
todeepali.core.tempfile
.
- Moved functions
- Renamed
deepali.core.types
todeepali.core.typing
.- Moved
TensorCollections
related functions todeepali.core.collections
.
- Moved
- Move
deepali.utils.cli
modules todeepali.core
such asdeepali.core.argparse
deepali.core.environ
deepali.core.logging
- Added
deepali.utils.imageio
library.- If installed, use
nibabel
to read/write NIfTI images instead of SimpleITK. - Support direct streaming of
.mha
MetaImage files from cloud storage (AWS S3). - Keep using SimpleITK for all other image file formats.
- If installed, use
- Modified
Image.read()
andImage.write()
methods to usedeepali.utils.imageio
library. - Use absolute imports between
deepali.*
packages, relative imports only within. - Added software citation using Zenodo.