imicpe 1.0.12__py3-none-any.whl → 1.0.13__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
imicpe/_version.py CHANGED
@@ -1 +1 @@
1
- __version__="1.0.12"
1
+ __version__="1.0.13"
imicpe/optim/metrics.py CHANGED
@@ -1,6 +1,6 @@
1
1
  import numpy as np
2
2
  import torch
3
- from skimage.metrics import structural_similarity as ssim
3
+ from skimage.metrics import structural_similarity
4
4
 
5
5
  def mse(I,ref):
6
6
  """ Calcule la MSE
@@ -59,5 +59,5 @@ def ssim(I,ref):
59
59
  Valeur de SSIM
60
60
  """
61
61
 
62
- return np.round(ssim(ref, I, data_range=ref.max() - ref.min()),3)
62
+ return np.round(structural_similarity(ref, I, data_range=ref.max() - ref.min()),3)
63
63
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: imicpe
3
- Version: 1.0.12
3
+ Version: 1.0.13
4
4
  Summary: Toolbox for Maths,Signal,Image Teaching @ CPE
5
5
  Author-email: Marion Foare <marion.foare@cpe.fr>, Eric Van Reeth <eric.vanreeth@cpe.fr>, Arthur Gautheron <arthur.gautheron@cpe.fr>
6
6
  License: MIT License
@@ -1,5 +1,5 @@
1
1
  imicpe/__init__.py,sha256=WjDmvecyDIyJLYp4rCV9vsSYbQDc4L1EpYqORvEXliI,33
2
- imicpe/_version.py,sha256=3chbJVcAqS6Mdt5Y3Nw6RT_gpHGvY8uMaRq8iKyb_RU,21
2
+ imicpe/_version.py,sha256=V9_FbM1-Ez19GT7lZEDEMPz1NKsR8n4pxJKZgvHOszk,21
3
3
  imicpe/cs/__init__.py,sha256=fLe1o5jNvrB4qEVBE6amEV9i3NFwM3E_uGiiiHXrph0,339
4
4
  imicpe/cs/l1.py,sha256=5bTNM8JG8J8srTamh-gl3ShhFoJjqCvVwlteN_M6Uak,3236
5
5
  imicpe/cs/masks.py,sha256=5ehQ-QnYY4trBt7BIx0Pp8DUa3x5KApkc7TPp9LA9Pc,2030
@@ -8,7 +8,7 @@ imicpe/cs/operators.py,sha256=pTA8gu_17yoBD4Hs7Cvg0PWUX4xrcMr6DJxyNYX9yBA,9028
8
8
  imicpe/cs/shepp_logan_phantom.py,sha256=_RDHimZI6R8uyAwXNyB3BldYjCiNDRorDmPYoJR0T6Q,485
9
9
  imicpe/cs/tikhonov.py,sha256=NokBVdMsErWrf4pHZ3jWFwyRVaP7Z9z4qqujuisjyF4,2488
10
10
  imicpe/optim/__init__.py,sha256=t8M8iIS0Q3bZMxG4rblM1xPFJBuVZKOhZPGdjQHx7Do,366
11
- imicpe/optim/metrics.py,sha256=3IzMEeW-5j8T5CL0BUg-L3KbaQ0iGclMsYl43UgaBQw,1348
11
+ imicpe/optim/metrics.py,sha256=zyf2rsz3SVGIFRvt2iE-Z9cemjhz5TBoZxaAPIxvUoE,1357
12
12
  imicpe/optim/operators.py,sha256=xrV0AUQ2PyntguuIcnmL4cVultqMn4c9gsbl5oMO_Qs,12573
13
13
  imicpe/optim/pnnDataset.py,sha256=PFh5u0SXx761O6N6vVfWfEDmzmCm87eYzAL7mWHBRrw,3971
14
14
  imicpe/optim/pnnTrainer.py,sha256=3ygh9XwFJN7jMPsEG3LHLa8sgBbDd9Yu_QWg4ZtM_DM,4571
@@ -18,8 +18,8 @@ imicpe/reco3D/angles.py,sha256=lv9I0_YBJTCWoesu7dHuAFHqRpY6gmlj9CmDskAri4E,3448
18
18
  imicpe/reco3D/calculPose.py,sha256=QHqBESjWa6JpTQycRSGOZEu6BWRfFF5o7O96IsPPruw,9262
19
19
  imicpe/reco3D/evalTrajecto.py,sha256=ICdXBlDBJmLC6uFPvFFd5qmWm2F7STx7i-bD1w4RB-w,6770
20
20
  imicpe/reco3D/vue3D.py,sha256=_5upl5rJ-LYRbk4Dk2G6qZYnmPvKLaJYgL3wnU3it6o,7525
21
- imicpe-1.0.12.dist-info/licenses/LICENSE,sha256=ACwmltkrXIz5VsEQcrqljq-fat6ZXAMepjXGoe40KtE,1069
22
- imicpe-1.0.12.dist-info/METADATA,sha256=5locM3xm8SZUbBtCLAe2nYBRtNeWH6MSlGjxibpCUsI,1340
23
- imicpe-1.0.12.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
24
- imicpe-1.0.12.dist-info/top_level.txt,sha256=6_gSXCYolzjXHaIDeAsZ_M3nLXdqrMKt48XCz3reJc0,7
25
- imicpe-1.0.12.dist-info/RECORD,,
21
+ imicpe-1.0.13.dist-info/licenses/LICENSE,sha256=ACwmltkrXIz5VsEQcrqljq-fat6ZXAMepjXGoe40KtE,1069
22
+ imicpe-1.0.13.dist-info/METADATA,sha256=tYqwQ1mSI9O_OsDK703-HTS7dlV8MqILjb2BLjJm2RY,1340
23
+ imicpe-1.0.13.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
24
+ imicpe-1.0.13.dist-info/top_level.txt,sha256=6_gSXCYolzjXHaIDeAsZ_M3nLXdqrMKt48XCz3reJc0,7
25
+ imicpe-1.0.13.dist-info/RECORD,,