From f4d8c028b22d8fba941a15edd24229fb7812db74 Mon Sep 17 00:00:00 2001 From: Benjamin Loison <12752145+Benjamin-Loison@users.noreply.github.com> Date: Wed, 17 Apr 2024 14:32:55 +0200 Subject: [PATCH] Remove unnecessary spaces Thanks to: ```bash sed -i 's/^ *$//g' extract_noise.py ``` --- datasets/raise/extract_noise.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/datasets/raise/extract_noise.py b/datasets/raise/extract_noise.py index 8e456b8..1686d34 100755 --- a/datasets/raise/extract_noise.py +++ b/datasets/raise/extract_noise.py @@ -56,13 +56,13 @@ def treatImage(imageFileName, computeExtremes = False): # RG # GB rawImageVisible = raw.raw_image_visible.copy() - + redRawImageVisible = rawImageVisible[::2, ::2] greenRightRawImageVisible = rawImageVisible[::2, 1::2] - + greenBottomRawImageVisible = rawImageVisible[1::2, ::2] blueRawImageVisible = rawImageVisible[1::2, 1::2] - + # Actual color to estimate the PRNU with. colorRawImageVisible = greenBottomRawImageVisible if computeExtremes: