mantidimaging.core.reconstruct.base_recon module#
- class mantidimaging.core.reconstruct.base_recon.BaseRecon[source]#
Bases:
object- static find_cor(images: ImageStack, slice_idx: int, start_cor: float, recon_params: ReconstructionParameters) float[source]#
- static full(images: ImageStack, recon_params: ReconstructionParameters, progress: Progress | None = None) ImageStack[source]#
Performs a volume reconstruction using sample data provided as sinograms.
- Parameters:
images – ImageStack containing the sinogram array, COR, and projection angle data
recon_params – Reconstruction Parameters
progress – Optional progress reporter
- Returns:
3D image data for reconstructed volume
- static prepare_sinogram(data: np.ndarray, recon_params: ReconstructionParameters) np.ndarray[source]#
- static single_sino(images: ImageStack, slice_idx: int, recon_params: ReconstructionParameters, progress: Progress | None = None) np.ndarray[source]#
Reconstruct a single sinogram
- Parameters:
images – ImageStack containing the sinogram array, COR, and projection angle data
slice_idx – The index of the sinogram to reconstruct
recon_params – Reconstruction parameters to configure which algorithm/filter/etc is used
progress – Optional progress reporter
The center of rotation for parallel geometry will be converted to vector geometry before reconstructing
- Returns:
2D image data for reconstructed slice