adapt_michelson_contrast#
- stimupy.utils.adapt_michelson_contrast(img, michelson_contrast, mean_luminance=None)#
Adapt Michelson contrast of image
- Parameters:
- Returns:
img – image with adapted michelson contrast and mean luminance if passed
- Return type:
np.ndarray