Benjamin_Loison commented on issue Benjamin_Loison/Robust_image_source_identifica…#49 2024-04-15 20:34:52 +02:00
RAW image processing

Let us give a try with red as above red image looks easier to understand than the blue one.

What precisely generates the PRNU? The sensor, the Bayer filter...?
Benjamin_Loison commented on issue Benjamin_Loison/Robust_image_source_identifica…#49 2024-04-15 20:04:58 +02:00
RAW image processing

r01b6aed6t.NEF_R

r01b6aed6t.NEF_G

![r01b6aed6t.NEF_B](/attachments/b12256e5-080b-4e…

bddfa4c8d5 Clean datasets/raise/extract_noise.py
Benjamin_Loison commented on issue Benjamin_Loison/Robust_image_source_identifica…#29 2024-04-15 16:14:53 +02:00
Estimate PRNU on easy real images

Tried estimating PRNU on not flat-field PNG from NEF images but I get the following for Nikon D7000 4946x3278 4,651 images:

100%
9a7f68b1b7 Clean datasets/raise/extract_noise.py
bb0b43194f Clean datasets/raise/extract_noise.py
0445d98f52 Clean datasets/raise/extract_noise.py
a09f2ba1c0 #29: Add Nikon D7000 4946x3278 PRNU estimation from NEF to PNG images
Benjamin_Loison commented on issue Benjamin_Loison/Robust_image_source_identifica…#49 2024-04-15 15:30:51 +02:00
RAW image processing

np.unique(raw_image_visible) shows that values 1, 2 etc are also taken, there is no gap.

Benjamin_Loison commented on issue Benjamin_Loison/Robust_image_source_identifica…#49 2024-04-15 15:04:49 +02:00
RAW image processing

Raw script:

import rawpy
import imageio

filename = 'r01b6aed6t.NEF'

def printWithName(variable):
    print(variable, '=', repr(eval(variable)))

with rawpy.imread(filename) as
Benjamin_Loison commented on issue Benjamin_Loison/Robust_image_source_identifica…#49 2024-04-15 12:08:10 +02:00
RAW image processing
def printWithName(variable):
    print(variable, '=', repr(eval(variable)))

with rawpy.imread(filename) as raw:
    printWithName('raw.color_desc')
    printWithName('raw.color_matrix'
RAW image processing
Benjamin_Loison opened issue Benjamin_Loison/linux#15 2024-04-14 18:48:20 +02:00
Configure a key to act like suppr
Benjamin_Loison commented on issue Benjamin_Loison/Robust_image_source_identifica…#48 2024-04-14 14:49:29 +02:00
Download whole RAISE dataset

About converting to less :

for file in *.NEF; do darktable-cli $file ../png/${file//.NEF/}.png 2>&1; done 
Benjamin_Loison commented on issue Benjamin_Loison/Robust_image_source_identifica…#48 2024-04-14 01:07:44 +02:00
Download whole RAISE dataset
file=RAISE_all.csv; tail -n +2 $file 
Download whole RAISE dataset
Download whole RAISE dataset