We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9eb52b7 commit 3ca11c8Copy full SHA for 3ca11c8
samples
test/OpenCvSharp.Tests/imgproc/ImgProcTest.cs
@@ -8,6 +8,33 @@ namespace OpenCvSharp.Tests.ImgProc
8
{
9
public class ImgProcTest : TestBase
10
11
+ [Fact]
12
+ public void WarpAffine()
13
+ {
14
+ using var src = new Mat(new Size(1024, 768), MatType.CV_8UC4);
15
+
16
+ using var matrix = new Mat(new Size(3, 2), MatType.CV_64FC1);
17
+ matrix.Set<double>(0, 0, 1);
18
+ matrix.Set<double>(1, 1, 1);
19
20
+ using var dst = new Mat();
21
+ Cv2.WarpAffine(src, dst, matrix, src.Size());
22
+ }
23
24
+ // TODO
25
+ [Fact(Skip = "fails with exception")]
26
+ public void WarpAffineBigImage()
27
28
+ using var src = new Mat(new Size(8192, 10), MatType.CV_8UC4);
29
30
31
32
33
34
35
+ Cv2.WarpAffine(src, dst, matrix, src.Size()); // fails with exception
36
37
38
[Fact]
39
public void MorphologyExErode()
40
0 commit comments