Reference for pyronn/ct_reconstruction/geometry/geometry_base.py
pyronn.ct_reconstruction.geometry.geometry_base.GeometryBase
GeometryBase(volume_shape, volume_spacing, detector_shape, detector_spacing, number_of_projections, angular_range, source_detector_distance, source_isocenter_distance, *args, **kwargs)
The Base Class for the different Geometry classes. Provides commonly used members.
volume_shape: The volume size in Z, Y, X order.
volume_spacing: The spacing between voxels in Z, Y, X order.
detector_shape: Shape of the detector in Y, X order.
detector_spacing: The spacing between detector voxels in Y, X order.
number_of_projections: Number of equidistant projections.
angular_range: The covered angular range.
source_detector_distance: The source to detector distance (sdd).
source_isocenter_distance: The source to isocenter distance (sid).
Source code in pyronn/ct_reconstruction/geometry/geometry_base.py
get_dict
Get the geometry as a dict.
Source code in pyronn/ct_reconstruction/geometry/geometry_base.py
set_trajectory
Sets the member trajectory.
Args: trajectory: np.array defining the trajectory.
update
Change the geometry.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
dict
|
new geometry values. Choose your target properties by setting them as the keys. |
required |
Source code in pyronn/ct_reconstruction/geometry/geometry_base.py
pyronn.ct_reconstruction.geometry.geometry_base.GeometryParallel2D
GeometryParallel2D(volume_shape, volume_spacing, detector_shape, detector_spacing, number_of_projections, angular_range, *args, **kwargs)
Bases: GeometryBase
2D Parallel specialization of Geometry.
Source code in pyronn/ct_reconstruction/geometry/geometry_base.py
pyronn.ct_reconstruction.geometry.geometry_base.GeometryFan2D
GeometryFan2D(volume_shape, volume_spacing, detector_shape, detector_spacing, number_of_projections, angular_range, source_detector_distance, source_isocenter_distance, *args, **kwargs)
Bases: GeometryBase
2D Fan specialization of Geometry.
Source code in pyronn/ct_reconstruction/geometry/geometry_base.py
pyronn.ct_reconstruction.geometry.geometry_base.GeometryCone3D
GeometryCone3D(volume_shape, volume_spacing, detector_shape, detector_spacing, number_of_projections, angular_range, source_detector_distance, source_isocenter_distance, *args, **kwargs)
Bases: GeometryBase
3D Cone specialization of Geometry.