...
vmin, vmax : float, optional
*vmin* and *vmax* set the color scaling for the image by fixing the
values that map to the colormap color limits. If either *vmin*
or *vmax* is None, that limit is determined from the *arr*
min/max value.
cmap : str or `~matplotlib.colors.Colormap`, default: :rc:`image.cmap`
A Colormap instance or registered colormap name. The colormap
maps scalar data to colors. It is ignored for RGB(A) data.
...
```python
help(plt.imsave)
```
```
...
vmin, vmax : float, optional
*vmin* and *vmax* set the color scaling for the image by fixing the
values that map to the colormap color limits. If either *vmin*
or *vmax* is None, that limit is determined from the *arr*
min/max value.
cmap : str or `~matplotlib.colors.Colormap`, default: :rc:`image.cmap`
A Colormap instance or registered colormap name. The colormap
maps scalar data to colors. It is ignored for RGB(A) data.
...
```
If use the same color scale, then only mean is interesting as it enforces its own color scale and 2 other images are monocolor.
Mean:
Bilateral:
When remove mean denoiser:
Bilateral:
Wavelet:
```
denoiser = bilateral np.min(multipleColorsImage) = -0.04890543970650529 np.max(multipleColorsImage) = 0.047219058067642594
denoiser = wavelet np.min(multipleColorsImage) = -0.05360332845280251 np.max(multipleColorsImage) = 0.03556257229735231
denoiser = mean np.min(multipleColorsImage) = -69.4864864864864 np.max(multipleColorsImage) = 36.67181467181476
```
If use the same color scale, then only `mean` is interesting as it enforces its own color scale and 2 other images are monocolor.
Mean:

Bilateral:

When remove mean denoiser:
Bilateral:

Wavelet:

Should make similar plot for RAISE flat-field to maybe understand why Rafael images are absorbing in #63.
Why have such an outlier for mean blue? Maybe because of borders? I would not say so as they do not behave differently as far as I understand. Maybe because of point at (644, 1200)? It seems to:
importnumpyasnpimportmatplotlib.pyplotaspltfileName='means/mean_flat-field_NEF_mean_blue'npArray=np.load(f'{fileName}.npy')plt.title('Distribution of PRNU estimation of RAISE flat-field raw blue channel')plt.hist(npArray.flatten(),'auto')plt.show()
>>> index = -1; np.partition(npArray.flatten(), index)[index]
5042.010000000002
>>> index = -2; np.partition(npArray.flatten(), index)[index]
423.28999999999934
So the first and second maximum are 5042 and 423.29.
Should make similar plot for RAISE flat-field to maybe understand why Rafael images are absorbing in #63.



Why have such an outlier for mean blue? Maybe because of borders? I would not say so as they do not behave differently as far as I understand. Maybe because of point at (644, 1200)? It seems to:


```python
import numpy as np
import matplotlib.pyplot as plt
fileName = 'means/mean_flat-field_NEF_mean_blue'
npArray = np.load(f'{fileName}.npy')
plt.title('Distribution of PRNU estimation of RAISE flat-field raw blue channel')
plt.hist(npArray.flatten(), 'auto')
plt.show()
```


```pycon
>>> index = -1; np.partition(npArray.flatten(), index)[index]
5042.010000000002
>>> index = -2; np.partition(npArray.flatten(), index)[index]
423.28999999999934
```
So the first and second maximum are 5042 and 423.29.
>>> index = -100; np.partition(npArray.flatten(), index)[index]
27.28
>>> index = 100; np.partition(npArray.flatten(), index)[index]
-26.35
So width of 53.63 and compared to other denoisers width of about 0.1, the width is 563 times wider...
```pycon
>>> index = -100; np.partition(npArray.flatten(), index)[index]
27.28
>>> index = 100; np.partition(npArray.flatten(), index)[index]
-26.35
```
So width of 53.63 and compared to other denoisers width of about 0.1, the width is 563 times wider...
They are not clearly visible as the first maximum, this is explainable as the intensity is 133 times less.
Could locate such maximums to potentially see visually other outliers.
```pycon
>>> np.unravel_index(npArray.argmax(), npArray.shape)
(1200, 644)
>>> index = -0; np.where(npArray == np.partition(npArray.flatten(), index)[index])
(array([1202]), array([643]))
>>> index = -1; np.array(np.where(npArray == np.partition(npArray.flatten(), index)[index])[::-1]) * 2
array([[1288],
[2400]])
```
They are not clearly visible as the first maximum, this is explainable as the intensity is 133 times less.
Could compute proportion of pixels for mean outside largest other denoisers band.
But it may be a significant proportion exceeding not much, so should maybe just plot distribution of pixel values and zoom on the largest other denoisers band.
Could compute proportion of pixels for mean outside largest other denoisers band.
But it may be a significant proportion exceeding not much, so should maybe just plot distribution of pixel values and zoom on the largest other denoisers band.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
is identical (according to
diff) to:If use the same color scale, then only
meanis interesting as it enforces its own color scale and 2 other images are monocolor.Mean:
Bilateral:
When remove mean denoiser:
Bilateral:
Wavelet:
Should make similar plot for RAISE flat-field to maybe understand why Rafael images are absorbing in #63.
Why have such an outlier for mean blue? Maybe because of borders? I would not say so as they do not behave differently as far as I understand. Maybe because of point at (644, 1200)? It seems to:
So the first and second maximum are 5042 and 423.29.
Could be interesting to just add a line with raw images.
So width of 53.63 and compared to other denoisers width of about 0.1, the width is 563 times wider...
Could locate such maximums to potentially see visually other outliers.
They are not clearly visible as the first maximum, this is explainable as the intensity is 133 times less.
Related to Benjamin_Loison/gimp/issues/29.
Could compute proportion of pixels for mean outside largest other denoisers band.
But it may be a significant proportion exceeding not much, so should maybe just plot distribution of pixel values and zoom on the largest other denoisers band.