change_detection_subtraction

change_detection_subtraction(images, output_range=None)[source]

Change detection for all images in an image stack.

Change detection with image differencing is applied to an image stack. The new images are the result of the change between the n-th and the n-1st image.

The first image will be deleted from the stack.

Parameters
images: ImageStack, list
output_range: tuple, optional

The resulting images will be rescaled to the given range. E.g. (0,1).

Returns
out: ImageStack, list