Skip to content

Commit 17a4c75

Browse files
committed
chore: further split .resx; feature: add flip
1 parent 8c396cb commit 17a4c75

34 files changed

Lines changed: 602 additions & 178 deletions

JSharp/ImageProcessingCore.cs

Lines changed: 76 additions & 76 deletions
Large diffs are not rendered by default.

JSharp/JSharp.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@
7272
<AutoGen>True</AutoGen>
7373
<DependentUpon>Kernels.resx</DependentUpon>
7474
</Compile>
75-
<Compile Update="Resources\Project.Designer.cs">
75+
<Compile Update="Resources\Thresholding.Designer.cs">
7676
<DesignTime>True</DesignTime>
7777
<AutoGen>True</AutoGen>
78-
<DependentUpon>Project.resx</DependentUpon>
78+
<DependentUpon>Thresholding.resx</DependentUpon>
7979
</Compile>
8080
<Compile Update="Resources\Strings.Designer.cs">
8181
<DesignTime>True</DesignTime>
@@ -112,9 +112,9 @@
112112
<Generator>PublicResXFileCodeGenerator</Generator>
113113
<LastGenOutput>Kernels.Designer.cs</LastGenOutput>
114114
</EmbeddedResource>
115-
<EmbeddedResource Update="Resources\Project.resx">
115+
<EmbeddedResource Update="Resources\Thresholding.resx">
116116
<Generator>PublicResXFileCodeGenerator</Generator>
117-
<LastGenOutput>Project.Designer.cs</LastGenOutput>
117+
<LastGenOutput>Thresholding.Designer.cs</LastGenOutput>
118118
</EmbeddedResource>
119119
<EmbeddedResource Update="Resources\Strings.resx">
120120
<Generator>PublicResXFileCodeGenerator</Generator>

JSharp/Resources/Kernels.Designer.cs

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

JSharp/Resources/Kernels.de.resx

Lines changed: 217 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,217 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<root>
3+
<!--
4+
Microsoft ResX Schema
5+
6+
Version 2.0
7+
8+
The primary goals of this format is to allow a simple XML format
9+
that is mostly human readable. The generation and parsing of the
10+
various data types are done through the TypeConverter classes
11+
associated with the data types.
12+
13+
Example:
14+
15+
... ado.net/XML headers & schema ...
16+
<resheader name="resmimetype">text/microsoft-resx</resheader>
17+
<resheader name="version">2.0</resheader>
18+
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19+
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20+
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21+
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22+
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23+
<value>[base64 mime encoded serialized .NET Framework object]</value>
24+
</data>
25+
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26+
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27+
<comment>This is a comment</comment>
28+
</data>
29+
30+
There are any number of "resheader" rows that contain simple
31+
name/value pairs.
32+
33+
Each data row contains a name, and value. The row also contains a
34+
type or mimetype. Type corresponds to a .NET class that support
35+
text/value conversion through the TypeConverter architecture.
36+
Classes that don't support this are serialized and stored with the
37+
mimetype set.
38+
39+
The mimetype is used for serialized objects, and tells the
40+
ResXResourceReader how to depersist the object. This is currently not
41+
extensible. For a given mimetype the value must be set accordingly:
42+
43+
Note - application/x-microsoft.net.object.binary.base64 is the format
44+
that the ResXResourceWriter will generate, however the reader can
45+
read any of the formats listed below.
46+
47+
mimetype: application/x-microsoft.net.object.binary.base64
48+
value : The object must be serialized with
49+
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50+
: and then encoded with base64 encoding.
51+
52+
mimetype: application/x-microsoft.net.object.soap.base64
53+
value : The object must be serialized with
54+
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55+
: and then encoded with base64 encoding.
56+
57+
mimetype: application/x-microsoft.net.object.bytearray.base64
58+
value : The object must be serialized into a byte array
59+
: using a System.ComponentModel.TypeConverter
60+
: and then encoded with base64 encoding.
61+
-->
62+
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63+
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64+
<xsd:element name="root" msdata:IsDataSet="true">
65+
<xsd:complexType>
66+
<xsd:choice maxOccurs="unbounded">
67+
<xsd:element name="metadata">
68+
<xsd:complexType>
69+
<xsd:sequence>
70+
<xsd:element name="value" type="xsd:string" minOccurs="0" />
71+
</xsd:sequence>
72+
<xsd:attribute name="name" use="required" type="xsd:string" />
73+
<xsd:attribute name="type" type="xsd:string" />
74+
<xsd:attribute name="mimetype" type="xsd:string" />
75+
<xsd:attribute ref="xml:space" />
76+
</xsd:complexType>
77+
</xsd:element>
78+
<xsd:element name="assembly">
79+
<xsd:complexType>
80+
<xsd:attribute name="alias" type="xsd:string" />
81+
<xsd:attribute name="name" type="xsd:string" />
82+
</xsd:complexType>
83+
</xsd:element>
84+
<xsd:element name="data">
85+
<xsd:complexType>
86+
<xsd:sequence>
87+
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88+
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89+
</xsd:sequence>
90+
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91+
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92+
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93+
<xsd:attribute ref="xml:space" />
94+
</xsd:complexType>
95+
</xsd:element>
96+
<xsd:element name="resheader">
97+
<xsd:complexType>
98+
<xsd:sequence>
99+
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100+
</xsd:sequence>
101+
<xsd:attribute name="name" type="xsd:string" use="required" />
102+
</xsd:complexType>
103+
</xsd:element>
104+
</xsd:choice>
105+
</xsd:complexType>
106+
</xsd:element>
107+
</xsd:schema>
108+
<resheader name="resmimetype">
109+
<value>text/microsoft-resx</value>
110+
</resheader>
111+
<resheader name="version">
112+
<value>2.0</value>
113+
</resheader>
114+
<resheader name="reader">
115+
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116+
</resheader>
117+
<resheader name="writer">
118+
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119+
</resheader>
120+
<data name="BorderTypeIsolated" xml:space="preserve">
121+
<value>Isolieration</value>
122+
</data>
123+
<data name="BorderTypeReflect" xml:space="preserve">
124+
<value>Reflektion</value>
125+
</data>
126+
<data name="BorderTypeReflect101" xml:space="preserve">
127+
<value>Reflektion101</value>
128+
</data>
129+
<data name="BorderTypeReplicate" xml:space="preserve">
130+
<value>Replikation</value>
131+
</data>
132+
<data name="BorderTypeWrap" xml:space="preserve">
133+
<value>Wicklung</value>
134+
</data>
135+
<data name="BoxBlur" xml:space="preserve">
136+
<value>Feld-Weichzeichnung</value>
137+
<comment>also called Blur</comment>
138+
</data>
139+
<data name="Canny" xml:space="preserve">
140+
<value>Canny</value>
141+
</data>
142+
<data name="Custom" xml:space="preserve">
143+
<value>Benutzerdefiniert</value>
144+
</data>
145+
<data name="DirectionalEdgeDetection" xml:space="preserve">
146+
<value>Richtungskantenerkennung</value>
147+
</data>
148+
<data name="EdgeDetection" xml:space="preserve">
149+
<value>Kantenerkennung</value>
150+
</data>
151+
<data name="GaussianBlur" xml:space="preserve">
152+
<value>Gaußsche Weichzeichner</value>
153+
</data>
154+
<data name="Identity" xml:space="preserve">
155+
<value>Identität</value>
156+
</data>
157+
<data name="Laplacian" xml:space="preserve">
158+
<value>Laplace</value>
159+
</data>
160+
<data name="Others" xml:space="preserve">
161+
<value>Andere</value>
162+
</data>
163+
<data name="Prewitt" xml:space="preserve">
164+
<value>Prewitt</value>
165+
</data>
166+
<data name="PrewittE" xml:space="preserve">
167+
<value>E</value>
168+
</data>
169+
<data name="PrewittN" xml:space="preserve">
170+
<value>N</value>
171+
</data>
172+
<data name="PrewittNE" xml:space="preserve">
173+
<value>NE</value>
174+
</data>
175+
<data name="PrewittNW" xml:space="preserve">
176+
<value>NW</value>
177+
</data>
178+
<data name="PrewittS" xml:space="preserve">
179+
<value>S</value>
180+
</data>
181+
<data name="PrewittSE" xml:space="preserve">
182+
<value>SE</value>
183+
</data>
184+
<data name="PrewittSW" xml:space="preserve">
185+
<value>SW</value>
186+
</data>
187+
<data name="PrewittW" xml:space="preserve">
188+
<value>W</value>
189+
</data>
190+
<data name="Selected" xml:space="preserve">
191+
<value>Ausgewählt</value>
192+
</data>
193+
<data name="Sharpen" xml:space="preserve">
194+
<value>Schärfen</value>
195+
</data>
196+
<data name="SharpenMask1" xml:space="preserve">
197+
<value>Unscharfmaskierung1</value>
198+
</data>
199+
<data name="SharpenMask2" xml:space="preserve">
200+
<value>Unscharfmaskierung2</value>
201+
</data>
202+
<data name="SharpenMask3" xml:space="preserve">
203+
<value>Unscharfmaskierung3</value>
204+
</data>
205+
<data name="Smoothe" xml:space="preserve">
206+
<value>Glätten</value>
207+
</data>
208+
<data name="Sobel" xml:space="preserve">
209+
<value>Sobel</value>
210+
</data>
211+
<data name="SobelEW" xml:space="preserve">
212+
<value>Vertikaler Sobel</value>
213+
</data>
214+
<data name="SobelNS" xml:space="preserve">
215+
<value>Horizontaler Sobel</value>
216+
</data>
217+
</root>

JSharp/Resources/Kernels.pl.resx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,6 @@
174174
<data name="BorderTypeReplicate" xml:space="preserve">
175175
<value>Replikacja</value>
176176
</data>
177-
<data name="EdgePixelsHandling" xml:space="preserve">
178-
<value>Obsługa Pikseli Brzegowych</value>
179-
</data>
180177
<data name="SobelEW" xml:space="preserve">
181178
<value>Poziomy Sobel</value>
182179
</data>

JSharp/Resources/Kernels.resx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,6 @@
148148
<data name="EdgeDetection" xml:space="preserve">
149149
<value>Edge Detection</value>
150150
</data>
151-
<data name="EdgePixelsHandling" xml:space="preserve">
152-
<value>Edge Pixels Handling</value>
153-
</data>
154151
<data name="GaussianBlur" xml:space="preserve">
155152
<value>Gaussian Blur</value>
156153
</data>

JSharp/Resources/Strings.Designer.cs

Lines changed: 27 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

JSharp/Resources/Strings.de.resx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,6 @@
141141
<data name="EdgeDetection_Hough" xml:space="preserve">
142142
<value>Kantenerkennung (Hough)</value>
143143
</data>
144-
<data name="EdgePixelsHandling" xml:space="preserve">
145-
<value>Umgang mit Kantenpixeln</value>
146-
</data>
147144
<data name="EqualizeHistogram" xml:space="preserve">
148145
<value>Histogramm äqualisieren</value>
149146
</data>
@@ -156,12 +153,18 @@
156153
<data name="Filters" xml:space="preserve">
157154
<value>Filter</value>
158155
</data>
156+
<data name="Flip" xml:space="preserve">
157+
<value>Umdrehen</value>
158+
</data>
159159
<data name="GrabCut" xml:space="preserve">
160160
<value>GrabCut</value>
161161
</data>
162162
<data name="Grayize" xml:space="preserve">
163163
<value>RGB zu Graustufen</value>
164164
</data>
165+
<data name="Histogram" xml:space="preserve">
166+
<value>Histogramm</value>
167+
</data>
165168
<data name="Image" xml:space="preserve">
166169
<value>Bild</value>
167170
</data>
@@ -267,6 +270,9 @@
267270
<data name="Thresholding" xml:space="preserve">
268271
<value>Schwellenwertverfahren</value>
269272
</data>
273+
<data name="Transform" xml:space="preserve">
274+
<value>Transformieren</value>
275+
</data>
270276
<data name="Watershed" xml:space="preserve">
271277
<value>Wasserscheide</value>
272278
</data>

0 commit comments

Comments
 (0)