Browse Source

Entfernen der Print Befehle für's Debugging

master
Max Sponsel 4 years ago
parent
commit
1cc63c6a30
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      Code/Farbaenderung.py

+ 1
- 3
Code/Farbaenderung.py View File

self.cb_image[i, j, x] = gammaCorrection(self.img_mat[i, j, x]) self.cb_image[i, j, x] = gammaCorrection(self.img_mat[i, j, x])
rechen_Mat = np.copy(self.T_reversed.dot(sim_mat).dot(self.T)) rechen_Mat = np.copy(self.T_reversed.dot(sim_mat).dot(self.T))
print(rechen_Mat)
# Einzelne Pixelwertberechnung # Einzelne Pixelwertberechnung
for i in range(self.rows): for i in range(self.rows):
for j in range(self.cols): for j in range(self.cols):
for x in range(3): for x in range(3):
self.sim_image[i, j, x] = reverseGammaCorrection(self.cb_image[i, j, x]) self.sim_image[i, j, x] = reverseGammaCorrection(self.cb_image[i, j, x])
print(self.img_mat[78, 86])
print(self.sim_image[78, 86])
return self.sim_image return self.sim_image

Loading…
Cancel
Save