- https://github.com/Benjamin-Loison
- Joined on
2022-10-16
Well I was only saving the last color.
Serializing for all colors on both cameras:
time ./benchmark_load_part_of_images.py
Image: 100%
Related to Benjamin_Loison/rawpy/issues/2.
time ./benchmark_load_part_of_images.py
Image: 100%
Thought about using benchmark_raw_images_loading.py:
#!/usr/bin/env python
from tqdm import tqdm
IMAGES_CAMERAS_FOLDER = {
'RAISE': 'flat-field/nef',
'Rafael…
class iterativeMean:
mean = None
numberOfElementsInMean = 0
def add(self, element):
if self.mean is None:
self.mean = element
else:
…
It does not seem that can only load part of a raw image with rawpy, if even possible at all.
In getRawColorChannel:
rawImageVisible = raw.raw_image_visible.copy()[:100,…
50 images for both cameras take about 22 GB of memory.
Should implement an enum to choose between RMS and correlation.
Implementation
So now let us correct the implementation to implement:
- $prnu_{camera}^l = \text{mean}(image_{camera}^{training_j} − denoiser(image_{camera}^{training_j}, l, camera) \text{…
I doubt that current iterative mean leverages the best its current knowledge of the training set.
More precisely we add to the estimated PRNU mean the image substracted the average of already…
Unclear if correlation should in absolute be close to 1 or just close to 1.
Is it the most appropriate, while staying in the use-case context, to compute {min,max}Color only on training images. Do not forget all denoisers.