Benjamin Loison
90df8a7cb9
Verify
raw.raw_pattern
as raw.color_desc
does not seem enough
As got: ```bash python3 extract_noise.py ``` ``` Denoising images: 0%| | 0/8156 [00:00<?, ?it/s]/mnt/HDD0/raise/nef/ra2c888f8t.NEF Denoising images: 0%| | 0/8156 [00:00<?, ?it/s] Traceback (most recent call last): File "/home/benjamin/robust_image_source_identification_on_modern_smartphones/datasets/raise/extract_noise.py", line 73, in <module> treatImage(imageFileName) File "/home/benjamin/robust_image_source_identification_on_modern_smartphones/datasets/raise/extract_noise.py", line 46, in treatImage assert np.array_equal(raw.raw_pattern, np.array([[3, 2], [0, 1]], dtype = np.uint8)) AssertionError ```
Description
Languages
Python
84%
Java
14.9%
Shell
1.1%