Skip to content

Commit b3c2120

Browse files
authored
Merge pull request #2053 from shimat/feature/net-new-small-modules-2017
Wrap plot, phase_unwrapping, hfs, signal, and xstereo modules
2 parents dbfa4de + e9afc33 commit b3c2120

36 files changed

Lines changed: 2278 additions & 29 deletions

src/OpenCvSharp/Internal/PInvoke/NativeMethods/NativeMethods_stdvector.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,19 @@ public static partial void vector_ImageFeatures_getKeypointsSize(
360360
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
361361
public static partial void vector_KeyLine_delete(IntPtr vector);
362362
#endregion
363+
#region cv::stereo::MatchQuasiDense
364+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
365+
public static partial IntPtr vector_MatchQuasiDense_new1();
366+
367+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
368+
public static partial nuint vector_MatchQuasiDense_getSize(OpenCvSafeHandle vector);
369+
370+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
371+
public static partial IntPtr vector_MatchQuasiDense_getPointer(OpenCvSafeHandle vector);
372+
373+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
374+
public static partial void vector_MatchQuasiDense_delete(IntPtr vector);
375+
#endregion
363376

364377
#region vector<uchar>
365378
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
using System.Runtime.CompilerServices;
2+
using System.Runtime.InteropServices;
3+
4+
#pragma warning disable 1591
5+
#pragma warning disable CA1401 // P/Invokes should not be visible
6+
#pragma warning disable IDE1006 // Naming style
7+
8+
namespace OpenCvSharp.Internal;
9+
10+
// ReSharper disable InconsistentNaming
11+
static partial class NativeMethods
12+
{
13+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
14+
public static partial ExceptionStatus hfs_Ptr_HfsSegment_delete(IntPtr obj);
15+
16+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
17+
public static partial ExceptionStatus hfs_Ptr_HfsSegment_get(IntPtr obj, out IntPtr returnValue);
18+
19+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
20+
public static partial ExceptionStatus hfs_HfsSegment_create(
21+
int height, int width,
22+
float segEgbThresholdI, int minRegionSizeI,
23+
float segEgbThresholdII, int minRegionSizeII,
24+
float spatialWeight, int slicSpixelSize, int numSlicIter,
25+
out IntPtr returnValue);
26+
27+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
28+
public static partial ExceptionStatus hfs_HfsSegment_getSegEgbThresholdI(OpenCvSafeHandle obj, out float returnValue);
29+
30+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
31+
public static partial ExceptionStatus hfs_HfsSegment_setSegEgbThresholdI(OpenCvSafeHandle obj, float value);
32+
33+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
34+
public static partial ExceptionStatus hfs_HfsSegment_getMinRegionSizeI(OpenCvSafeHandle obj, out int returnValue);
35+
36+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
37+
public static partial ExceptionStatus hfs_HfsSegment_setMinRegionSizeI(OpenCvSafeHandle obj, int value);
38+
39+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
40+
public static partial ExceptionStatus hfs_HfsSegment_getSegEgbThresholdII(OpenCvSafeHandle obj, out float returnValue);
41+
42+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
43+
public static partial ExceptionStatus hfs_HfsSegment_setSegEgbThresholdII(OpenCvSafeHandle obj, float value);
44+
45+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
46+
public static partial ExceptionStatus hfs_HfsSegment_getMinRegionSizeII(OpenCvSafeHandle obj, out int returnValue);
47+
48+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
49+
public static partial ExceptionStatus hfs_HfsSegment_setMinRegionSizeII(OpenCvSafeHandle obj, int value);
50+
51+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
52+
public static partial ExceptionStatus hfs_HfsSegment_getSpatialWeight(OpenCvSafeHandle obj, out float returnValue);
53+
54+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
55+
public static partial ExceptionStatus hfs_HfsSegment_setSpatialWeight(OpenCvSafeHandle obj, float value);
56+
57+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
58+
public static partial ExceptionStatus hfs_HfsSegment_getSlicSpixelSize(OpenCvSafeHandle obj, out int returnValue);
59+
60+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
61+
public static partial ExceptionStatus hfs_HfsSegment_setSlicSpixelSize(OpenCvSafeHandle obj, int value);
62+
63+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
64+
public static partial ExceptionStatus hfs_HfsSegment_getNumSlicIter(OpenCvSafeHandle obj, out int returnValue);
65+
66+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
67+
public static partial ExceptionStatus hfs_HfsSegment_setNumSlicIter(OpenCvSafeHandle obj, int value);
68+
69+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
70+
internal static partial ExceptionStatus hfs_HfsSegment_performSegmentGpu(
71+
OpenCvSafeHandle obj, in InputArrayProxy src, [MarshalAs(UnmanagedType.Bool)] bool ifDraw, out IntPtr returnValue);
72+
73+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
74+
internal static partial ExceptionStatus hfs_HfsSegment_performSegmentCpu(
75+
OpenCvSafeHandle obj, in InputArrayProxy src, [MarshalAs(UnmanagedType.Bool)] bool ifDraw, out IntPtr returnValue);
76+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
using System.Runtime.CompilerServices;
2+
using System.Runtime.InteropServices;
3+
4+
#pragma warning disable 1591
5+
#pragma warning disable CA1401 // P/Invokes should not be visible
6+
#pragma warning disable IDE1006 // Naming style
7+
8+
namespace OpenCvSharp.Internal;
9+
10+
// ReSharper disable InconsistentNaming
11+
static partial class NativeMethods
12+
{
13+
#region HistogramPhaseUnwrapping
14+
15+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
16+
public static partial ExceptionStatus phase_unwrapping_Ptr_HistogramPhaseUnwrapping_delete(IntPtr obj);
17+
18+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
19+
public static partial ExceptionStatus phase_unwrapping_Ptr_HistogramPhaseUnwrapping_get(IntPtr obj, out IntPtr returnValue);
20+
21+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
22+
internal static partial ExceptionStatus phase_unwrapping_HistogramPhaseUnwrapping_create(
23+
ref HistogramPhaseUnwrapping.Params parameters, out IntPtr returnValue);
24+
25+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
26+
internal static partial ExceptionStatus phase_unwrapping_HistogramPhaseUnwrapping_getInverseReliabilityMap(
27+
OpenCvSafeHandle obj, in OutputArrayProxy reliabilityMap);
28+
29+
#endregion
30+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
using System.Runtime.CompilerServices;
2+
using System.Runtime.InteropServices;
3+
4+
#pragma warning disable 1591
5+
#pragma warning disable CA1401 // P/Invokes should not be visible
6+
#pragma warning disable IDE1006 // Naming style
7+
8+
namespace OpenCvSharp.Internal;
9+
10+
// ReSharper disable InconsistentNaming
11+
static partial class NativeMethods
12+
{
13+
#region PhaseUnwrapping
14+
15+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
16+
internal static partial ExceptionStatus phase_unwrapping_PhaseUnwrapping_unwrapPhaseMap(
17+
OpenCvSafeHandle obj, in InputArrayProxy wrappedPhaseMap, in OutputArrayProxy unwrappedPhaseMap, in InputArrayProxy shadowMask);
18+
19+
#endregion
20+
}
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
using System.Runtime.CompilerServices;
2+
using System.Runtime.InteropServices;
3+
4+
#pragma warning disable 1591
5+
#pragma warning disable CA1401 // P/Invokes should not be visible
6+
#pragma warning disable IDE1006 // Naming style
7+
8+
namespace OpenCvSharp.Internal;
9+
10+
// ReSharper disable InconsistentNaming
11+
static partial class NativeMethods
12+
{
13+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
14+
public static partial ExceptionStatus plot_Ptr_Plot2d_delete(IntPtr obj);
15+
16+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
17+
public static partial ExceptionStatus plot_Ptr_Plot2d_get(IntPtr obj, out IntPtr returnValue);
18+
19+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
20+
internal static partial ExceptionStatus plot_Plot2d_create1(in InputArrayProxy data, out IntPtr returnValue);
21+
22+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
23+
internal static partial ExceptionStatus plot_Plot2d_create2(in InputArrayProxy dataX, in InputArrayProxy dataY, out IntPtr returnValue);
24+
25+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
26+
public static partial ExceptionStatus plot_Plot2d_setMinX(OpenCvSafeHandle obj, double value);
27+
28+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
29+
public static partial ExceptionStatus plot_Plot2d_setMinY(OpenCvSafeHandle obj, double value);
30+
31+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
32+
public static partial ExceptionStatus plot_Plot2d_setMaxX(OpenCvSafeHandle obj, double value);
33+
34+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
35+
public static partial ExceptionStatus plot_Plot2d_setMaxY(OpenCvSafeHandle obj, double value);
36+
37+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
38+
public static partial ExceptionStatus plot_Plot2d_setPlotLineWidth(OpenCvSafeHandle obj, int value);
39+
40+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
41+
public static partial ExceptionStatus plot_Plot2d_setNeedPlotLine(OpenCvSafeHandle obj, [MarshalAs(UnmanagedType.Bool)] bool value);
42+
43+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
44+
public static partial ExceptionStatus plot_Plot2d_setPlotLineColor(OpenCvSafeHandle obj, Scalar value);
45+
46+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
47+
public static partial ExceptionStatus plot_Plot2d_setPlotBackgroundColor(OpenCvSafeHandle obj, Scalar value);
48+
49+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
50+
public static partial ExceptionStatus plot_Plot2d_setPlotAxisColor(OpenCvSafeHandle obj, Scalar value);
51+
52+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
53+
public static partial ExceptionStatus plot_Plot2d_setPlotGridColor(OpenCvSafeHandle obj, Scalar value);
54+
55+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
56+
public static partial ExceptionStatus plot_Plot2d_setPlotTextColor(OpenCvSafeHandle obj, Scalar value);
57+
58+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
59+
public static partial ExceptionStatus plot_Plot2d_setPlotSize(OpenCvSafeHandle obj, int width, int height);
60+
61+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
62+
public static partial ExceptionStatus plot_Plot2d_setShowGrid(OpenCvSafeHandle obj, [MarshalAs(UnmanagedType.Bool)] bool value);
63+
64+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
65+
public static partial ExceptionStatus plot_Plot2d_setShowText(OpenCvSafeHandle obj, [MarshalAs(UnmanagedType.Bool)] bool value);
66+
67+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
68+
public static partial ExceptionStatus plot_Plot2d_setGridLinesNumber(OpenCvSafeHandle obj, int value);
69+
70+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
71+
public static partial ExceptionStatus plot_Plot2d_setInvertOrientation(OpenCvSafeHandle obj, [MarshalAs(UnmanagedType.Bool)] bool value);
72+
73+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
74+
public static partial ExceptionStatus plot_Plot2d_setPointIdxToPrint(OpenCvSafeHandle obj, int value);
75+
76+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
77+
internal static partial ExceptionStatus plot_Plot2d_render(OpenCvSafeHandle obj, in OutputArrayProxy plotResult);
78+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
using System.Runtime.CompilerServices;
2+
using System.Runtime.InteropServices;
3+
4+
#pragma warning disable 1591
5+
#pragma warning disable CA1401 // P/Invokes should not be visible
6+
#pragma warning disable IDE1006 // Naming style
7+
8+
namespace OpenCvSharp.Internal;
9+
10+
// ReSharper disable InconsistentNaming
11+
static partial class NativeMethods
12+
{
13+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
14+
internal static partial ExceptionStatus signal_resampleSignal(
15+
in InputArrayProxy inputSignal, in OutputArrayProxy outSignal, int inFreq, int outFreq);
16+
}
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
using System.Runtime.CompilerServices;
2+
using System.Runtime.InteropServices;
3+
4+
#pragma warning disable 1591
5+
#pragma warning disable CA1401 // P/Invokes should not be visible
6+
#pragma warning disable CA2101 // Specify marshaling for P/Invoke string arguments
7+
#pragma warning disable IDE1006 // Naming style
8+
9+
namespace OpenCvSharp.Internal;
10+
11+
// ReSharper disable InconsistentNaming
12+
static partial class NativeMethods
13+
{
14+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
15+
public static partial ExceptionStatus xstereo_Ptr_QuasiDenseStereo_delete(IntPtr obj);
16+
17+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
18+
public static partial ExceptionStatus xstereo_Ptr_QuasiDenseStereo_get(IntPtr obj, out IntPtr returnValue);
19+
20+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
21+
public static partial ExceptionStatus xstereo_QuasiDenseStereo_create(
22+
Size monoImgSize, [MarshalAs(UnmanagedType.LPStr)] string paramFilepath, out IntPtr returnValue);
23+
24+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
25+
public static partial ExceptionStatus xstereo_QuasiDenseStereo_loadParameters(
26+
OpenCvSafeHandle obj, [MarshalAs(UnmanagedType.LPStr)] string filepath, out int returnValue);
27+
28+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
29+
public static partial ExceptionStatus xstereo_QuasiDenseStereo_saveParameters(
30+
OpenCvSafeHandle obj, [MarshalAs(UnmanagedType.LPStr)] string filepath, out int returnValue);
31+
32+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
33+
public static partial ExceptionStatus xstereo_QuasiDenseStereo_getSparseMatches(
34+
OpenCvSafeHandle obj, IntPtr sMatches);
35+
36+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
37+
public static partial ExceptionStatus xstereo_QuasiDenseStereo_getDenseMatches(
38+
OpenCvSafeHandle obj, IntPtr denseMatches);
39+
40+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
41+
public static partial ExceptionStatus xstereo_QuasiDenseStereo_process(
42+
OpenCvSafeHandle obj, IntPtr imgLeft, IntPtr imgRight);
43+
44+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
45+
public static partial ExceptionStatus xstereo_QuasiDenseStereo_getMatch(
46+
OpenCvSafeHandle obj, int x, int y, out Point2f returnValue);
47+
48+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
49+
public static partial ExceptionStatus xstereo_QuasiDenseStereo_getDisparity(
50+
OpenCvSafeHandle obj, out IntPtr returnValue);
51+
52+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
53+
public static partial ExceptionStatus xstereo_QuasiDenseStereo_getParam(
54+
OpenCvSafeHandle obj, out PropagationParameters returnValue);
55+
56+
[LibraryImport(DllExtern), UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
57+
public static partial ExceptionStatus xstereo_QuasiDenseStereo_setParam(
58+
OpenCvSafeHandle obj, ref PropagationParameters value);
59+
}

src/OpenCvSharp/Internal/Vectors/StdVector.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ private static IntPtr New1()
137137
if (typeof(T) == typeof(Vec6f)) return NativeMethods.vector_Vec6f_new1();
138138
if (typeof(T) == typeof(Vec6d)) return NativeMethods.vector_Vec6d_new1();
139139
if (typeof(T) == typeof(XFeatures2D.EllipticKeyPoint)) return NativeMethods.vector_EllipticKeyPoint_new1();
140+
if (typeof(T) == typeof(MatchQuasiDense)) return NativeMethods.vector_MatchQuasiDense_new1();
140141
throw Unsupported();
141142
}
142143

@@ -202,6 +203,7 @@ private static nuint GetSize(OpenCvSafeHandle ptr)
202203
if (typeof(T) == typeof(Vec6f)) return NativeMethods.vector_Vec6f_getSize(ptr);
203204
if (typeof(T) == typeof(Vec6d)) return NativeMethods.vector_Vec6d_getSize(ptr);
204205
if (typeof(T) == typeof(XFeatures2D.EllipticKeyPoint)) return NativeMethods.vector_EllipticKeyPoint_getSize(ptr);
206+
if (typeof(T) == typeof(MatchQuasiDense)) return NativeMethods.vector_MatchQuasiDense_getSize(ptr);
205207
throw Unsupported();
206208
}
207209

@@ -228,6 +230,7 @@ private static IntPtr GetPointer(OpenCvSafeHandle ptr)
228230
if (typeof(T) == typeof(Vec6f)) return NativeMethods.vector_Vec6f_getPointer(ptr);
229231
if (typeof(T) == typeof(Vec6d)) return NativeMethods.vector_Vec6d_getPointer(ptr);
230232
if (typeof(T) == typeof(XFeatures2D.EllipticKeyPoint)) return NativeMethods.vector_EllipticKeyPoint_getPointer(ptr);
233+
if (typeof(T) == typeof(MatchQuasiDense)) return NativeMethods.vector_MatchQuasiDense_getPointer(ptr);
231234
throw Unsupported();
232235
}
233236

@@ -254,6 +257,7 @@ private static void Delete(IntPtr ptr)
254257
if (typeof(T) == typeof(Vec6f)) { NativeMethods.vector_Vec6f_delete(ptr); return; }
255258
if (typeof(T) == typeof(Vec6d)) { NativeMethods.vector_Vec6d_delete(ptr); return; }
256259
if (typeof(T) == typeof(XFeatures2D.EllipticKeyPoint)) { NativeMethods.vector_EllipticKeyPoint_delete(ptr); return; }
260+
if (typeof(T) == typeof(MatchQuasiDense)) { NativeMethods.vector_MatchQuasiDense_delete(ptr); return; }
257261
throw Unsupported();
258262
}
259263
}

0 commit comments

Comments
 (0)