Reference for pyronn/ct_reconstruction/layers/torch/projection_2d.py
pyronn.ct_reconstruction.layers.torch.projection_2d.ParallelProjection2DFunction
Bases: Function
forward
staticmethod
forward(ctx, input: Tensor, sinogram_shape: Tensor, volume_origin: Tensor, detector_origin: Tensor, volume_spacing: Tensor, detector_spacing: Tensor, trajectory) -> Tensor
Forward operator of 2D parallel projection Args: input: volume to be projected sinogram_shape: number_of_projections x detector_width volume_origin: origin of the world coordinate system w.r.t. the volume array (tensor) ...
Source code in pyronn/ct_reconstruction/layers/torch/projection_2d.py
pyronn.ct_reconstruction.layers.torch.projection_2d.ParallelProjection2D
Bases: Module
Source code in pyronn/ct_reconstruction/layers/torch/projection_2d.py
pyronn.ct_reconstruction.layers.torch.projection_2d.FanProjection2DFunction
Bases: Function
forward
staticmethod
forward(ctx, input: Tensor, sinogram_shape: Tensor, volume_origin: Tensor, detector_origin: Tensor, volume_spacing: Tensor, detector_spacing: Tensor, source_isocenter_distance: Tensor, source_detector_distance: Tensor, trajectory: Tensor) -> Tensor
Forward operator of 2D fan projection Args: input: volume to be projected sinogram_shape: number_of_projections x detector_width volume_origin: origin of the world coordinate system w.r.t. the volume array (tensor) ...
Source code in pyronn/ct_reconstruction/layers/torch/projection_2d.py
pyronn.ct_reconstruction.layers.torch.projection_2d.FanProjection2D
Bases: Module