Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Informatik_3_Abgaben_Beachboys
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Juan Lauer Garrido
Informatik_3_Abgaben_Beachboys
Commits
b40d594a
Commit
b40d594a
authored
3 years ago
by
rasmusse
Browse files
Options
Downloads
Patches
Plain Diff
Push Main fix
parent
dccb45d5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Bildfaltung/__pycache__/Image.cpython-37.pyc
+0
-0
0 additions, 0 deletions
Bildfaltung/__pycache__/Image.cpython-37.pyc
Bildfaltung/main.py
+3
-1
3 additions, 1 deletion
Bildfaltung/main.py
with
3 additions
and
1 deletion
Bildfaltung/__pycache__/Image.cpython-37.pyc
+
0
−
0
View file @
b40d594a
No preview for this file type
This diff is collapsed.
Click to expand it.
Bildfaltung/main.py
+
3
−
1
View file @
b40d594a
...
...
@@ -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
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment