|
|
|
@ -75,7 +75,7 @@ for y, x in goodPix:
|
|
|
|
|
image2 = image.copy()
|
|
|
|
|
for y, x in badPix:
|
|
|
|
|
coord = np.array([x,y])
|
|
|
|
|
image2[y,x] = model.getValueOfPoint(coord, 8)[0]
|
|
|
|
|
image2[y,x] = model.getValueOfPoint(coord, 8)
|
|
|
|
|
|
|
|
|
|
print("temps d'infération des",str(len(badPix)),"pixels:",str(round(time()-t,3)),"s")
|
|
|
|
|
|
|
|
|
|