pysaber Package

Functions

apply_blur_psfs(rad, sod, odd, pix_wid, ...)

Function to blur the input radiograph with point spread functions (PSF) of X-ray source and detector blurs.

estimate_blur(rads, sod, odd, pix_wid, edge)

Estimate parameters of point spread functions (PSF) that model X-ray source blur and/or detector blur from normalized radiographs of a straight sharp edge or mutually perpendicular intersecting pair of sharp edges.

get_detector_psf(pix_wid, det_pars)

Function to compute point spread function (PSF) of detector blur.

get_effective_psf(pix_wid, src_pars, det_pars)

Function to compute the effective point spread function (PSF), which is the convolution of X-ray source and detector PSFs.

get_source_psf(pix_wid, src_pars[, sod, odd])

Function to compute the point spread function (PSF) of X-ray source blur in the plane of the X-ray source or the detector.

get_trans_fit(rad, sod, odd, pix_wid, ...[, pad])

Function to compute the blur model prediction and ideal transmission function for a radiograph with a single straight edge or two mutually perpendicular edges.

get_trans_masks(rad, edge[, tran_pars, pad, ...])

Function to compute transmission function and masks for a radiograph with a single straight edge or two mutually perpendicular edges.

least_squares_deblur(rad, sod, odd, pix_wid, ...)

Function to reduce blur (deblur) in radiographs using a regularized least squares iterative algorithm.

wiener_deblur(rad, sod, odd, pix_wid, ...)

Function to reduce blur (deblur) in a radiograph using Wiener filtering.