-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #637 from ANTsX/better-imports
ENH: simpler imports, image decorator, and better code organization
- Loading branch information
Showing
108 changed files
with
1,545 additions
and
1,899 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,40 @@ | ||
|
||
from .ants_image_io import ( | ||
image_header_info, | ||
image_clone, | ||
image_read, | ||
dicom_read, | ||
image_write, | ||
make_image, | ||
matrix_to_images, | ||
images_from_matrix, | ||
image_list_to_matrix, | ||
images_to_matrix, | ||
matrix_from_images, | ||
timeseries_to_matrix, | ||
matrix_to_timeseries, | ||
from_numpy, | ||
_from_numpy | ||
) | ||
|
||
from .ants_image import ( | ||
ANTsImage, | ||
copy_image_info, | ||
set_origin, | ||
get_origin, | ||
set_direction, | ||
get_direction, | ||
set_spacing, | ||
get_spacing, | ||
image_physical_space_consistency, | ||
image_type_cast, | ||
allclose | ||
) | ||
|
||
from .ants_metric_io import ( | ||
new_ants_metric, | ||
create_ants_metric, | ||
supported_metrics | ||
) | ||
|
||
from .ants_transform_io import ( | ||
create_ants_transform, | ||
new_ants_transform, | ||
read_transform, | ||
write_transform, | ||
transform_from_displacement_field, | ||
transform_to_displacement_field | ||
) | ||
|
||
from .ants_transform import ( | ||
ANTsTransform, | ||
set_ants_transform_parameters, | ||
get_ants_transform_parameters, | ||
get_ants_transform_fixed_parameters, | ||
set_ants_transform_fixed_parameters, | ||
apply_ants_transform, | ||
apply_ants_transform_to_point, | ||
apply_ants_transform_to_vector, | ||
apply_ants_transform_to_image, | ||
invert_ants_transform, | ||
compose_ants_transforms, | ||
transform_index_to_physical_point, | ||
transform_physical_point_to_index | ||
) | ||
|
||
|
||
from .ants_image_io import (image_header_info, | ||
image_clone, | ||
image_read, | ||
dicom_read, | ||
image_write, | ||
make_image, | ||
from_numpy, | ||
new_image_like) | ||
from .ants_image import (copy_image_info, | ||
set_origin, | ||
get_origin, | ||
set_direction, | ||
get_direction, | ||
set_spacing, | ||
get_spacing, | ||
is_image, | ||
from_pointer) | ||
from .ants_metric_io import (new_ants_metric, | ||
create_ants_metric, | ||
supported_metrics) | ||
from .ants_transform_io import (create_ants_transform, | ||
new_ants_transform, | ||
read_transform, | ||
write_transform, | ||
transform_from_displacement_field, | ||
transform_to_displacement_field, | ||
fsl2antstransform) | ||
from .ants_transform import (ANTsTransform, | ||
set_ants_transform_parameters, | ||
get_ants_transform_parameters, | ||
get_ants_transform_fixed_parameters, | ||
set_ants_transform_fixed_parameters, | ||
apply_ants_transform, | ||
apply_ants_transform_to_point, | ||
apply_ants_transform_to_vector, | ||
apply_ants_transform_to_image, | ||
invert_ants_transform, | ||
compose_ants_transforms, | ||
transform_index_to_physical_point, | ||
transform_physical_point_to_index) |
Oops, something went wrong.