From a136a98a844dbc27406e846453fe32869fdfe7eb Mon Sep 17 00:00:00 2001 From: Jeremy Hummel Date: Tue, 13 Aug 2019 01:17:26 -0700 Subject: [PATCH] rm initial clip --- imagelib/color_transfer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imagelib/color_transfer.py b/imagelib/color_transfer.py index d345611..7d55828 100644 --- a/imagelib/color_transfer.py +++ b/imagelib/color_transfer.py @@ -41,8 +41,8 @@ def reinhard_color_transfer(target, source, clip=False, preserve_paper=False, ta OpenCV image (w, h, 3) NumPy array (float32) """ - np.clip(source, 0, 1, out=source) - np.clip(target, 0, 1, out=target) + # np.clip(source, 0, 1, out=source) + # np.clip(target, 0, 1, out=target) # convert the images from the RGB to L*ab* color space, being # sure to utilizing the floating point data type (note: OpenCV