Skip to content
Snippets Groups Projects
Commit d2ba2cd5 authored by rasmusse's avatar rasmusse
Browse files
parents b40d594a 613c2c35
No related branches found
No related tags found
No related merge requests found
......@@ -120,11 +120,10 @@ class Image:
rows = len(self.__imageData)
cols = len(self.__imageData[0])
# newImage = [[0 for x in range(cols)] for y in range(rows)]
for i in range(rows):
for j in range(cols):
self.__imageData[i][j] = Image.get_filtered_pixel(self, i, j, self.__imageData, kernel, borderBehavior)
return self.__imageData
\ No newline at end of file
return self.__imageData
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