Skip to content
Snippets Groups Projects
Commit 613c2c35 authored by Sebastian Vincent Schwarz's avatar Sebastian Vincent Schwarz
Browse files

Update Image.py

parent dccb45d5
No related branches found
No related tags found
No related merge requests found
...@@ -120,11 +120,10 @@ class Image: ...@@ -120,11 +120,10 @@ class Image:
rows = len(self.__imageData) rows = len(self.__imageData)
cols = len(self.__imageData[0]) cols = len(self.__imageData[0])
# newImage = [[0 for x in range(cols)] for y in range(rows)]
for i in range(rows): for i in range(rows):
for j in range(cols): for j in range(cols):
self.__imageData[i][j] = Image.get_filtered_pixel(self, i, j, self.__imageData, kernel, borderBehavior) self.__imageData[i][j] = Image.get_filtered_pixel(self, i, j, self.__imageData, kernel, borderBehavior)
return self.__imageData return self.__imageData
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment