Commit Graph

440 Commits

Author SHA1 Message Date
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
557b10b645
Update annotations 2024-05-09 21:51:53 +02:00
8bbf60cd1a
Add articles/Pearson correlation coefficient - Wikipedia/ 2024-05-09 21:51:18 +02:00
320a7dfef2
Add articles/Standard deviation - Wikipedia/ 2024-05-09 21:50:51 +02:00
bf5120d972
Add articles/Covariance - Wikipedia/ 2024-05-09 21:50:33 +02:00
5de9de9663
Add articles/Geometric mean - Wikipedia/ 2024-05-09 21:50:01 +02:00
96e52e53dd
Update annotations 2024-05-03 14:37:57 +02:00
5ff8e3792d
Add articles/Convolution - Wikipedia/ 2024-05-03 14:37:26 +02:00
06ea9855f0
Update annotations 2024-05-03 14:18:29 +02:00
Benjamin Loison
f1495f2ba0
Add and use PREDICT_ONLY_ON_WHOLE_TRAINING_SET 2024-05-03 13:55:32 +02:00
Benjamin Loison
612f4119fd
Determine the mean of camera images only on the training set 2024-05-03 03:54:26 +02:00
Benjamin Loison
d7f7728211
Add Denoiser Enum 2024-05-03 03:49:15 +02:00
Benjamin Loison
9fd44debf5
Remove implicit getColorMeans denoiser argument 2024-05-03 03:39:57 +02:00
Benjamin Loison
0c429aa4d6
Add and use getImageCrop 2024-05-03 03:13:38 +02:00
Benjamin Loison
fd6a9868fe
Add mean DENOISER support 2024-05-03 02:47:43 +02:00
Benjamin Loison
9d33abcea3
Add necessary denoiser argument 2024-05-03 02:45:27 +02:00
Benjamin Loison
82b14a8724
Uppercase constants 2024-05-03 02:43:56 +02:00
Benjamin Loison
4bea5e3a97
Move getImageNpArray to utils.py 2024-05-03 02:32:05 +02:00
Benjamin Loison
790c0d6da4
Add and use getImageFilePath 2024-05-03 02:27:07 +02:00
Benjamin Loison
514413e1dd
Add and use getColorMeans 2024-05-03 02:21:01 +02:00