Clean (xripl.clean)

Created on Thu Aug 1 13:13:52 2019

Functions for cleaning and regularizing images.

@author: Pawel M. Kozlowski

Functions

cleanArtifacts(image[, diskSize, plots, ...])

Applies morphological opening to clean bright streaks and spots from radiographs, and then applies a morphological closing to remove dark artifacts.

flatten(image[, medianDisk, gaussSize, ...])

Produces an approximate image of the background light intensity variations in the image and divides the image by this background to effectively flatten the contrast.

enhanceRadiograph(img[, medianDisk, ...])

Median filter, morphological filter, and pseudo-flatfield the radiographs to prepare it for feature identification.