darfix.core.imageOperations.background_subtraction_2D#

darfix.core.imageOperations.background_subtraction_2D(img, bg)[source]#

Compute background subtraction.

Parameters:
  • img (array_like) – Raw image

  • bg (array_like) – Background image

Returns:

Image with subtracted background