clearex.preprocess.pad

Functions

add_median_border(image_data)

Add a border to the image data with the median intensity value.

clearex.preprocess.pad.add_median_border(image_data)

Add a border to the image data with the median intensity value.

Parameters:

image_data (np.ndarray) – The image data to add a border to.

Returns:

The image data with a border added.

Return type:

np.ndarray