correction accord

demo/3
Ludovic CASTIGLIA 4 months ago
parent 14100ea7d4
commit 5f14d8eb00

@ -49,7 +49,7 @@ for y in range(1, height-1):
neighbors.append(image[ny,nx])
avg_diff = np.mean([np.abs(pixel - n).sum() for n in neighbors])
differences[y,x] = avg_diff
print("image corompu")
print("image corompue")
# Trouver les pixels corrompus algorithmiquement
corrupted_pixels = np.where(differences > 200)

Loading…
Cancel
Save