darfix.core.imageOperations#

Functions

background_subtraction(data, bg_frames[, method])

Function that computes the median between a series of dark images from a dataset and subtracts it to each frame of the raw data to remove the noise.

background_subtraction_2D(img, bg)

Compute background subtraction.

chunk_image(start, chunk_shape, img)

Return a chunk of an image.

hot_pixel_removal_2D(image[, ksize])

Function to remove hot pixels of the data using median filter.

hot_pixel_removal_3D(data[, ksize])

Function to remove hot pixels of the data using median filter.

img2img_mean(img[, mean, n])

Update mean from stack of images, given a new image and its index in the stack.

mask_removal(data, mask)

Set 0 values of mask to 0.

threshold_removal(data[, bottom, top])

Set bottom and top threshold to the images in the dataset.

Classes

Method(value)

Methods available to compute the background.