From a128678b806d72925ae45f605bd6a62f107bf034 Mon Sep 17 00:00:00 2001 From: Jeremy Hummel Date: Mon, 12 Aug 2019 22:47:35 -0700 Subject: [PATCH] no clip --- samplelib/SampleProcessor.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/samplelib/SampleProcessor.py b/samplelib/SampleProcessor.py index dab8bc3..44145e2 100644 --- a/samplelib/SampleProcessor.py +++ b/samplelib/SampleProcessor.py @@ -235,14 +235,13 @@ class SampleProcessor(object): img_bgr = imagelib.linear_color_transfer(img_bgr, ct_sample_bgr) elif apply_ct == ColorTransferMode.RCT: - img_bgr = imagelib.reinhard_color_transfer(img_bgr, ct_sample_bgr, clip=True) + img_bgr = imagelib.reinhard_color_transfer(img_bgr, ct_sample_bgr) elif apply_ct == ColorTransferMode.RCT_MASKED and ct_sample_mask is None: ct_sample_mask = ct_sample.load_fanseg_mask() or \ LandmarksProcessor.get_image_hull_mask(ct_sample_bgr.shape, ct_sample.landmarks) img_bgr = imagelib.reinhard_color_transfer(img_bgr, ct_sample_bgr, - clip=True, target_mask=img_mask, source_mask=ct_sample_mask)