tomwer.core.utils.normalization.flatFieldCorrection#
- tomwer.core.utils.normalization.flatFieldCorrection(imgs, dark, flat)#
Simple normalization of a list of images. Normalization is made for X-Ray imaging: (img - dark) / (flat - dark)
- Parameters:
imgs – list of imgs to correct. key: index of the image, value: the image path or numpy.ndarray
dark – dark image
flat – flat image
- Returns:
list of corrected images