Remove unnecessary spaces
Thanks to: ```bash sed -i 's/^ *$//g' extract_noise.py ```
This commit is contained in:
@@ -56,13 +56,13 @@ def treatImage(imageFileName, computeExtremes = False):
|
|||||||
# RG
|
# RG
|
||||||
# GB
|
# GB
|
||||||
rawImageVisible = raw.raw_image_visible.copy()
|
rawImageVisible = raw.raw_image_visible.copy()
|
||||||
|
|
||||||
redRawImageVisible = rawImageVisible[::2, ::2]
|
redRawImageVisible = rawImageVisible[::2, ::2]
|
||||||
greenRightRawImageVisible = rawImageVisible[::2, 1::2]
|
greenRightRawImageVisible = rawImageVisible[::2, 1::2]
|
||||||
|
|
||||||
greenBottomRawImageVisible = rawImageVisible[1::2, ::2]
|
greenBottomRawImageVisible = rawImageVisible[1::2, ::2]
|
||||||
blueRawImageVisible = rawImageVisible[1::2, 1::2]
|
blueRawImageVisible = rawImageVisible[1::2, 1::2]
|
||||||
|
|
||||||
# Actual color to estimate the PRNU with.
|
# Actual color to estimate the PRNU with.
|
||||||
colorRawImageVisible = greenBottomRawImageVisible
|
colorRawImageVisible = greenBottomRawImageVisible
|
||||||
if computeExtremes:
|
if computeExtremes:
|
||||||
|
Reference in New Issue
Block a user