Remove unnecessary spaces
Thanks to: ```bash sed -i 's/^ *$//g' extract_noise.py ```
This commit is contained in:
parent
3760164622
commit
f4d8c028b2
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user