Reference for pyronn/ct_reconstruction/geometry/geometry_specific.py
pyronn.ct_reconstruction.geometry.geometry_specific.SpecificGeometry
Bases: ABC
flowchart TD
pyronn.ct_reconstruction.geometry.geometry_specific.SpecificGeometry[SpecificGeometry]
click pyronn.ct_reconstruction.geometry.geometry_specific.SpecificGeometry href "" "pyronn.ct_reconstruction.geometry.geometry_specific.SpecificGeometry"
geo_info_dict: All required information for creating a geometry.
Source code in pyronn/ct_reconstruction/geometry/geometry_specific.py
generate_specific_phantom
Generates a phantom created by the given function and its corresponding sinogram.
The method first creates a phantom based on the volume shape specified in the geometry attribute of the class. It then computes the sinogram by applying a forward projection. The projection is calculated based on the parameters defined in the geometry attribute, including the detector shape, spacing, and the source-detector configuration.
Returns:
| Type | Description |
|---|---|
|
Tuple[np.array, np.array]: A tuple containing two numpy arrays. The first array is the generated |
|
|
3D mask of the phantom, and the second array is the corresponding 3D sinogram obtained through |
|
|
the cone beam forward projection. |
Source code in pyronn/ct_reconstruction/geometry/geometry_specific.py
pyronn.ct_reconstruction.geometry.geometry_specific.CircularGeometrys3D
Bases: SpecificGeometry
flowchart TD
pyronn.ct_reconstruction.geometry.geometry_specific.CircularGeometrys3D[CircularGeometrys3D]
pyronn.ct_reconstruction.geometry.geometry_specific.SpecificGeometry[SpecificGeometry]
pyronn.ct_reconstruction.geometry.geometry_specific.SpecificGeometry --> pyronn.ct_reconstruction.geometry.geometry_specific.CircularGeometrys3D
click pyronn.ct_reconstruction.geometry.geometry_specific.CircularGeometrys3D href "" "pyronn.ct_reconstruction.geometry.geometry_specific.CircularGeometrys3D"
click pyronn.ct_reconstruction.geometry.geometry_specific.SpecificGeometry href "" "pyronn.ct_reconstruction.geometry.geometry_specific.SpecificGeometry"
Source code in pyronn/ct_reconstruction/geometry/geometry_specific.py
pyronn.ct_reconstruction.geometry.geometry_specific.ArbitraryGeometrys3D
Bases: SpecificGeometry
flowchart TD
pyronn.ct_reconstruction.geometry.geometry_specific.ArbitraryGeometrys3D[ArbitraryGeometrys3D]
pyronn.ct_reconstruction.geometry.geometry_specific.SpecificGeometry[SpecificGeometry]
pyronn.ct_reconstruction.geometry.geometry_specific.SpecificGeometry --> pyronn.ct_reconstruction.geometry.geometry_specific.ArbitraryGeometrys3D
click pyronn.ct_reconstruction.geometry.geometry_specific.ArbitraryGeometrys3D href "" "pyronn.ct_reconstruction.geometry.geometry_specific.ArbitraryGeometrys3D"
click pyronn.ct_reconstruction.geometry.geometry_specific.SpecificGeometry href "" "pyronn.ct_reconstruction.geometry.geometry_specific.SpecificGeometry"