Skip to content
Snippets Groups Projects
Commit b40d594a authored by rasmusse's avatar rasmusse
Browse files

Push Main fix

parent dccb45d5
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -17,8 +17,8 @@ pathImg2 = ".//images//Bild 2.pgm"
'''Main for showing the functionalities of the implementation'''
if __name__ == '__main__':
def main():
clamping = ClampingBorderBehavior()
zero = ZeroPaddingBorderBehavior()
horizontal = KernelFactory.createHorizontalPrewittKernel()
......@@ -77,6 +77,8 @@ if __name__ == '__main__':
img5_box27_clamp.convolve(box27, clamping)
img5_box27_clamp.writeToFile(".//images//Clamped//Ergebnis 2_27.pgm")
if __name__ == '__main__':
main()
......
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