Skip to content
Snippets Groups Projects
Commit 3e7f4f29 authored by Juan Lauer Garrido's avatar Juan Lauer Garrido
Browse files

Last Push

parent dae303f1
No related branches found
No related tags found
No related merge requests found
Showing
with 25 additions and 182 deletions
{
"ExpandedNodes": [
""
],
"PreviewInSolutionExplorer": false
}
\ No newline at end of file
File deleted
File deleted
{
"version": "0.2.0",
"configurations": [
{
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/Levenshtein/bin/Debug/net6.0/Levenshtein.dll",
"args": [],
"cwd": "${workspaceFolder}/Levenshtein",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach"
}
]
}
\ No newline at end of file
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/Levenshtein/Levenshtein.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/Levenshtein/Levenshtein.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"--project",
"${workspaceFolder}/Levenshtein/Levenshtein.csproj"
],
"problemMatcher": "$msCompile"
}
]
}
\ No newline at end of file
......@@ -4,7 +4,10 @@
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/venv" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="jdk" jdkName="Python 3.9 (Bildfaltung)" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="PyDocumentationSettings">
<option name="renderExternalDocumentation" value="true" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.10 (Bildfaltung)" project-jdk-type="Python SDK" />
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9 (Bildfaltung)" project-jdk-type="Python SDK" />
</project>
\ No newline at end of file
......@@ -22,10 +22,25 @@ if __name__ == '__main__':
clamping = ClampingBorderBehavior()
zero = ZeroPaddingBorderBehavior()
img = Image()
neu = Image()
print(img.readFromFile(pathImg1))
print(img.readFromFile(pathImg2))
img1_horizontal = Image()
img1_horizontal.readFromFile(pathImg1)
img1_horizontal.convolve(horizontal, zero)
img1_horizontal.writeToFile(".//images//ZeroPadded//Ergebnis 1_horizontal.pgm")
img2_horizontal = Image()
img2_horizontal.readFromFile(pathImg1)
img2_horizontal.convolve(horizontal, clamping)
img2_horizontal.writeToFile(".//images//Clamped//Ergebnis 1_horizontal.pgm")
img1_vertical = Image()
img1_vertical.readFromFile(pathImg1)
img1_vertical.convolve(vertical, zero)
img1_horizontal.writeToFile(".//images//ZeroPadded//Ergebnis 1_vertical.pgm")
img2_vertical = Image()
img2_vertical.readFromFile(pathImg1)
img2_vertical.convolve(vertical, clamping)
img2_horizontal.writeToFile(".//images//Clamped//Ergebnis 1_vertical.pgm")
......
File deleted
File deleted
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.1.32407.343
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Levenshtein", "Levenshtein.csproj", "{C26B8C9B-964F-49E9-BCA9-9CED62EFC617}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{C26B8C9B-964F-49E9-BCA9-9CED62EFC617}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C26B8C9B-964F-49E9-BCA9-9CED62EFC617}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C26B8C9B-964F-49E9-BCA9-9CED62EFC617}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C26B8C9B-964F-49E9-BCA9-9CED62EFC617}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A346A59E-56E5-4E6A-8268-451891979433}
EndGlobalSection
EndGlobal
......@@ -26,3 +26,4 @@ namespace Levenshtein
}
}
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"Levenshtein/1.0.0": {
"runtime": {
"Levenshtein.dll": {}
}
}
}
},
"libraries": {
"Levenshtein/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
\ No newline at end of file
File deleted
{
"runtimeOptions": {
"tfm": "net6.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
}
}
}
\ No newline at end of file
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")]
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Levenshtein")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("Levenshtein")]
[assembly: System.Reflection.AssemblyTitleAttribute("Levenshtein")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.
0c36e2593d92e4e1138111db86019d09eaf4bcb9
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;
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