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: