kernelkit.processing.preweight

Contents

kernelkit.processing.preweight#

kernelkit.processing.preweight(projections: ndarray, geoms: list[ProjectionGeometry], detector_piercings: list = None, verbose: bool = False)#

Pixelwise rescaling to compensate for ray length in conebeam images

Parameters:
projectionslist of numpy.ndarray or cupy.ndarray

The projections to filter.

geomslist of ProjectionGeometry

The geometries of the projections.

detector_piercingslist of numpy.ndarray, optional

The piercing points of the central ray through the detector. If not given, the detector midpoint position is used.

verbosebool, optional

Whether to show a progress bar.