Re-design psnr.py code and change image names (#592)

* Change some Image File names & re-code the psnr algorithm (conserving both methods). Also Added new example.

* Selected psnr method and reformat some code from arithmetic_analysis
This commit is contained in:
Rafael García Cuéllar
2018-11-05 18:19:08 +01:00
committed by Harshil
parent 39912aed57
commit beafe3656f
10 changed files with 53 additions and 50 deletions

View File

@ -21,7 +21,7 @@ def minDist(mdist, vset, V):
def Dijkstra(graph, V, src):
mdist=[float('inf') for i in range(V)]
vset = [False for i in range(V)]
mdist[src] = 0.0;
mdist[src] = 0.0
for i in range(V-1):
u = minDist(mdist, vset, V)