Commit Graph

459 Commits

Author SHA1 Message Date
Benjamin Loison
7ed6ff5adb
Add RESOLUTION support for Denoiser.MEAN in extract_noise.py 2024-05-15 19:20:19 +02:00
Benjamin Loison
ec4657eda8
Clean low pass denoiser 2024-05-15 18:21:11 +02:00
Benjamin Loison
95796b53fc
#69: Remove artifacts from low pass denoiser
See [Robust_image_source_identification_on_modern_smartphones/issues/69#issuecomment-1892](#69 (comment)).
2024-05-15 17:41:19 +02:00
Benjamin Loison
462bd92509
Make production ready benchmark_load_part_of_images.py 2024-05-15 16:23:39 +02:00
f7c08849dc
Update old merge_with_same_color_scale_single_color_channel_images_according_to_bayer_filter.py 2024-05-15 15:43:16 +02:00
8ec292ba11
Add old Termux try 2024-05-15 15:42:25 +02:00
dac9ce9d50
Update remove_period_patterns.py 2024-05-15 15:39:11 +02:00
d68cd1f8d9
Add articles/Median absolute deviation - Wikipedia/ 2024-05-15 15:35:35 +02:00
3de2d90a84
Add articles/Univariate - Wikipedia/ 2024-05-15 15:29:40 +02:00
feaca32d6e
Add articles/Point spread function - Wikipedia/ 2024-05-15 15:19:42 +02:00
2312fe8705
Add articles/Airy disk - Wikipedia/ 2024-05-15 15:08:09 +02:00
cc45d3dc77
Add articles/Sinc function - Wikipedia/ 2024-05-15 15:02:33 +02:00
7dcd1f3331
Update remove_period_patterns.py 2024-05-14 11:40:56 +02:00
337a6eca84
Add titles 2024-05-14 02:12:54 +02:00
db2e19738e
Update annotations 2024-05-14 02:12:23 +02:00
038f5ffc00
Add remove_period_patterns.py 2024-05-14 02:03:46 +02:00
db55fc6d0f
Add articles/Fourier transforms of images plus.maths.org/ 2024-05-14 01:28:00 +02:00
0b9fa48597
Add articles/Fixed-pattern noise - Wikipedia/ 2024-05-14 01:26:42 +02:00
1c3dd8d67c
Add articles/FloreView_An_Image_and_Video_Dataset_for_Forensic_Analysis/ 2024-05-14 01:25:16 +02:00
b7c494579c
Add old get_ft_prnu.py 2024-05-14 01:19:57 +02:00
810bde8e35
Add fft scripts 2024-05-14 01:19:05 +02:00
4bab354a95
Clean fft.py 2024-05-14 00:24:02 +02:00
451bd55219
Add fft.py 2024-05-14 00:17:29 +02:00
44e325c42b
Add articles/skimage.restoration — skimage 0.23.2 documentation/ 2024-05-13 23:37:01 +02:00
Benjamin Loison
ce64450101
Load lazily images (#62) 2024-05-13 20:06:47 +02:00
Benjamin Loison
10f8766793
First try lazy load 2024-05-13 19:50:54 +02:00
Benjamin Loison
f85e63b6e0
#62: First lazy load try
```
OPERATION = <Operation.LOAD_NPY: 3>
RESOLUTION = 100
Image:   0%|▍                                                                                            | 1/200 [00:00<00:00, 5084.00it/s]
Camera:   0%|                                                                                                        | 0/2 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "/home/benjamin/robust_image_source_identification_on_modern_smartphones/datasets/raise/./benchmark_load_part_of_images.py", line 43, in <module>
    rawColorChannels = np.load(numpyFilePath, mmap_mode = 'r', allow_pickle = True)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/benjamin/venv/lib/python3.11/site-packages/numpy/lib/npyio.py", line 453, in load
    return format.open_memmap(file, mode=mmap_mode,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/benjamin/venv/lib/python3.11/site-packages/numpy/lib/format.py", line 932, in open_memmap
    raise ValueError(msg)
ValueError: Array can't be memory-mapped: Python objects in dtype.
```
2024-05-13 18:30:28 +02:00
Benjamin Loison
ac32abede1
Save all colors 2024-05-13 18:22:25 +02:00
Benjamin Loison
36b17eb3cc
#62: Add benchmark_load_part_of_images.py 2024-05-13 17:52:49 +02:00
Benjamin Loison
fb0f78e069
Add the ability to hardcode resolution 2024-05-13 16:27:53 +02:00
Benjamin Loison
86093a40c0
Load training images to memory to ease implementation and make execution
faster
2024-05-13 16:26:58 +02:00
Benjamin Loison
54178c1101
#72: Verify actual data type pointer 2024-05-13 16:10:11 +02:00
Benjamin Loison
50058d5d2e
#72: Verify pointer before actually implementing the correct second choice 2024-05-13 15:55:59 +02:00
Benjamin Loison
dbfc2756b2
Remove commented code 2024-05-13 15:21:30 +02:00
Benjamin Loison
31704c6e78
#72: Implement, possibly incorrectly, first choice 2024-05-13 15:20:17 +02:00
Benjamin Loison
5e6702e007
#63: use scipy.stats.pearsonr 2024-05-13 12:51:26 +02:00
Benjamin Loison
1a910d2e2c
Add a try with numpy.corrcoef 2024-05-13 12:39:59 +02:00
Benjamin Loison
6ed57bc477
Precise purpose of a part of code 2024-05-13 03:13:58 +02:00
Benjamin Loison
3f7b6bf21a
Replace _ with for end-user color channel name 2024-05-13 02:56:27 +02:00
Benjamin Loison
b2ffc20473
Add comments to attribute_source_camera.py 2024-05-13 02:48:22 +02:00
Benjamin Loison
226936020e
Remove comments of {min,max}Color 2024-05-13 02:02:51 +02:00
c1d0ec5155
Add articles/Summed-area table - Wikipedia/ 2024-05-10 01:33:58 +02:00
cfddb71f00
Add articles/Non-local means - Wikipedia/ 2024-05-10 01:25:41 +02:00
934add5d91
Add boxplot for the specified denoisers 2024-05-10 00:14:30 +02:00
73fb61b16d
Correct missing denoiser usage 2024-05-10 00:13:47 +02:00
8523c02517
Fix #68: Use same color map for different images to more accurately compare them 2024-05-10 00:03:08 +02:00
3e332c19d8
Remove unnecessary from PIL import Image 2024-05-10 00:02:44 +02:00
0bd9e57942
Correct warning Token not allowed in a PDF string (Unicode): (hyperref) removing \\'`
Answer from [the Tex Stack Exchange answer 330980](https://tex.stackexchange.com/a/330980).
2024-05-09 22:06:06 +02:00
e1ff265e6b
Add documentation/slides/slides.tex 2024-05-09 22:05:11 +02:00
d8a4e66ff8
Add documentation/report/report.tex 2024-05-09 21:59:04 +02:00