Go to file
Benjamin Loison ee7353cfde
Correct iterativeMean implementation for images
Otherwise get:

```
Traceback (most recent call last):
  File "/home/benjamin/robust_image_source_identification_on_modern_smartphones/datasets/raise/./extract_noise.py", line 148, in <module>
    treatImage(imageFileName, color = color)
  File "/home/benjamin/robust_image_source_identification_on_modern_smartphones/datasets/raise/./extract_noise.py", line 114, in treatImage
    estimatedPrnuIterativeMean.add(imageNoiseNpArray)
  File "/home/benjamin/robust_image_source_identification_on_modern_smartphones/datasets/raise/utils.py", line 34, in add
    self.mean = ((self.mean * self.numberOfElementsInMean) + element) / (self.numberOfElementsInMean + 1)
                  ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'
```
2024-04-27 15:58:29 +02:00
algorithms Make Gaussian noise in getPrnuShownAsSuch only on text 2024-03-29 13:22:36 +01:00
articles Add articles/Euclidean distance - Wikipedia/ 2024-04-27 15:08:56 +02:00
datasets Correct iterativeMean implementation for images 2024-04-27 15:58:29 +02:00
.gitignore Add __pycache__ to .gitignore 2024-03-26 18:21:01 +01:00