DIPlib Documentation - ©1995-2017 Quantitative Imaging Group, Delft University of Technology.

AttenuationCorrection

Attenuation correction algorithm

SYNOPSIS

#include "dip_microscopy.h"

dip_Error dip_AttenuationCorrection ( in, out, fAttenuation, bAttenuation, background, threshold, NA, refIndex, ratio, method )

DATA TYPES

binary, integer, float

FUNCTION

This function implements an attenuation correction using three different recursive attenuation correction algorithms. The RAC-DET algorithm is the most accurate one, since it takes both forward and backward attenuation into account. It is however considerably slower that the RAC-LT2 and RAC-LT1 algorithms which take only forward attenuation into account. These last two algorithms assume a constant attenuation (background) for pixels with an intensity lower than the threshold.

ARGUMENTS

Data typeNameDescription
dip_ImageinInput image
dip_ImageoutOutput image
dip_floatfAttenuationForward attenuation factor
dip_floatbAttenuationBackward attenuation factor
dip_floatbackgroundBackground attenuation factor
dip_floatthresholdBackground threshold
dip_floatNANumerical aperture
dip_floatrefIndexRefractive index
dip_floatratioZ/X sampling ratio
dipf_AttenuationCorrectionmethodCorrection method

The dipf_AttenuationCorrection enumaration consists of the following flags:

NameDescription
DIP_ATTENUATION_RAC_LT2Recursive Attenuation Correction algorithm using two Light Cone convolutions
DIP_ATTENUATION_RAC_LT1Recursive Attenuation Correction algorithm using one Light Cone convolution
DIP_ATTENUATION_RAC_DETRecursive Attenuation Correction algorithm using Directional Extinction Tracking

LITERATURE

K.C. Strasters, H.T.M. van der Voort, J.M. Geusebroek, and A.W.M. Smeulders, Fast attenuation correction in fluorescence confocal imaging: a recursive approach, BioImaging, vol. 2, no. 2, 1994, 78-92.

AUTHOR

Karel Strasters, adapted to DIPlib by Geert van Kempen.

SEE ALSO

SimulatedAttenuation, ExponentialFitCorrection