From 1493551410277bf3bc635a9ab0009ca5b951d177 Mon Sep 17 00:00:00 2001 From: iperov Date: Sat, 11 May 2019 19:42:03 +0400 Subject: [PATCH] fix --- samplelib/SampleProcessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samplelib/SampleProcessor.py b/samplelib/SampleProcessor.py index f7f9aee..a40679f 100644 --- a/samplelib/SampleProcessor.py +++ b/samplelib/SampleProcessor.py @@ -213,7 +213,7 @@ class SampleProcessor(object): img_mask = img[...,3:4] if apply_ct: - if ct_sample_bgr is None: + if ct_sample_bgr is not None: ct_sample_bgr = ct_sample.load_bgr() ct_sample_bgr_resized = cv2.resize( ct_sample_bgr, (resolution,resolution), cv2.INTER_LINEAR )