TODO:
Add a widget that asks the user for the location of the dark field image and then runs the function.
def replace_hot_pixels(darkfield_image: Union[NDArray,ArrayLike],
data: Union[NDArray,ArrayLike]) -> Union[NDArray,ArrayLike]:
"""
Replace hot pixels with mean values surrounding it
Parameters
----------
darkfield_image: Union[NDArray,ArrayLike]
darkfield image for FISH channels
data: Union[NDArray,ArrayLike]
ND data [broadcast_dim,z,y,x]
Returns
-------
corrected_data: Union[NDArray,ArrayLike]
corrected data
"""
TODO: Add a widget that asks the user for the location of the dark field image and then runs the function.