123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242 |
-
- using OpenCVForUnity.CoreModule;
- using OpenCVForUnity.UtilsModule;
- using System;
- using System.Collections.Generic;
- using System.Runtime.InteropServices;
- namespace OpenCVForUnity.Xfeatures2dModule
- {
- // C++: class PCTSignatures
- //javadoc: PCTSignatures
- public class PCTSignatures : Algorithm
- {
- protected override void Dispose (bool disposing)
- {
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- try {
- if (disposing) {
- }
- if (IsEnabledDispose) {
- if (nativeObj != IntPtr.Zero)
- xfeatures2d_PCTSignatures_delete(nativeObj);
- nativeObj = IntPtr.Zero;
- }
- } finally {
- base.Dispose (disposing);
- }
- #else
- return;
- #endif
- }
- protected internal PCTSignatures (IntPtr addr) : base (addr) { }
- // internal usage only
- public static new PCTSignatures __fromPtr__ (IntPtr addr) { return new PCTSignatures (addr); }
- // C++: enum DistanceFunction
- public const int L0_25 = 0;
- public const int L0_5 = 1;
- public const int L1 = 2;
- public const int L2 = 3;
- public const int L2SQUARED = 4;
- public const int L5 = 5;
- public const int L_INFINITY = 6;
- // C++: enum PointDistribution
- public const int UNIFORM = 0;
- public const int REGULAR = 1;
- public const int NORMAL = 2;
- // C++: enum SimilarityFunction
- public const int MINUS = 0;
- public const int GAUSSIAN = 1;
- public const int HEURISTIC = 2;
- //
- // C++: static Ptr_PCTSignatures cv::xfeatures2d::PCTSignatures::create(int initSampleCount = 2000, int initSeedCount = 400, int pointDistribution = 0)
- //
- //javadoc: PCTSignatures::create(initSampleCount, initSeedCount, pointDistribution)
- public static PCTSignatures create (int initSampleCount, int initSeedCount, int pointDistribution)
- {
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- PCTSignatures retVal = PCTSignatures.__fromPtr__(xfeatures2d_PCTSignatures_create_10(initSampleCount, initSeedCount, pointDistribution));
-
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: PCTSignatures::create(initSampleCount, initSeedCount)
- public static PCTSignatures create (int initSampleCount, int initSeedCount)
- {
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- PCTSignatures retVal = PCTSignatures.__fromPtr__(xfeatures2d_PCTSignatures_create_11(initSampleCount, initSeedCount));
-
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: PCTSignatures::create(initSampleCount)
- public static PCTSignatures create (int initSampleCount)
- {
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- PCTSignatures retVal = PCTSignatures.__fromPtr__(xfeatures2d_PCTSignatures_create_12(initSampleCount));
-
- return retVal;
- #else
- return null;
- #endif
- }
- //javadoc: PCTSignatures::create()
- public static PCTSignatures create ()
- {
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- PCTSignatures retVal = PCTSignatures.__fromPtr__(xfeatures2d_PCTSignatures_create_13());
-
- return retVal;
- #else
- return null;
- #endif
- }
- //
- // C++: static Ptr_PCTSignatures cv::xfeatures2d::PCTSignatures::create(vector_Point2f initSamplingPoints, int initSeedCount)
- //
- //javadoc: PCTSignatures::create(initSamplingPoints, initSeedCount)
- public static PCTSignatures create (MatOfPoint2f initSamplingPoints, int initSeedCount)
- {
- if (initSamplingPoints != null) initSamplingPoints.ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- Mat initSamplingPoints_mat = initSamplingPoints;
- PCTSignatures retVal = PCTSignatures.__fromPtr__(xfeatures2d_PCTSignatures_create_14(initSamplingPoints_mat.nativeObj, initSeedCount));
-
- return retVal;
- #else
- return null;
- #endif
- }
- //
- // C++: static Ptr_PCTSignatures cv::xfeatures2d::PCTSignatures::create(vector_Point2f initSamplingPoints, vector_int initClusterSeedIndexes)
- //
- //javadoc: PCTSignatures::create(initSamplingPoints, initClusterSeedIndexes)
- public static PCTSignatures create (MatOfPoint2f initSamplingPoints, MatOfInt initClusterSeedIndexes)
- {
- if (initSamplingPoints != null) initSamplingPoints.ThrowIfDisposed ();
- if (initClusterSeedIndexes != null) initClusterSeedIndexes.ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- Mat initSamplingPoints_mat = initSamplingPoints;
- Mat initClusterSeedIndexes_mat = initClusterSeedIndexes;
- PCTSignatures retVal = PCTSignatures.__fromPtr__(xfeatures2d_PCTSignatures_create_15(initSamplingPoints_mat.nativeObj, initClusterSeedIndexes_mat.nativeObj));
-
- return retVal;
- #else
- return null;
- #endif
- }
- //
- // C++: float cv::xfeatures2d::PCTSignatures::getDropThreshold()
- //
- //javadoc: PCTSignatures::getDropThreshold()
- public float getDropThreshold ()
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- float retVal = xfeatures2d_PCTSignatures_getDropThreshold_10(nativeObj);
-
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: float cv::xfeatures2d::PCTSignatures::getJoiningDistance()
- //
- //javadoc: PCTSignatures::getJoiningDistance()
- public float getJoiningDistance ()
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- float retVal = xfeatures2d_PCTSignatures_getJoiningDistance_10(nativeObj);
-
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: float cv::xfeatures2d::PCTSignatures::getWeightA()
- //
- //javadoc: PCTSignatures::getWeightA()
- public float getWeightA ()
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- float retVal = xfeatures2d_PCTSignatures_getWeightA_10(nativeObj);
-
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: float cv::xfeatures2d::PCTSignatures::getWeightB()
- //
- //javadoc: PCTSignatures::getWeightB()
- public float getWeightB ()
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- float retVal = xfeatures2d_PCTSignatures_getWeightB_10(nativeObj);
-
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: float cv::xfeatures2d::PCTSignatures::getWeightContrast()
- //
- //javadoc: PCTSignatures::getWeightContrast()
- public float getWeightContrast ()
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- float retVal = xfeatures2d_PCTSignatures_getWeightContrast_10(nativeObj);
-
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: float cv::xfeatures2d::PCTSignatures::getWeightEntropy()
- //
- //javadoc: PCTSignatures::getWeightEntropy()
- public float getWeightEntropy ()
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- float retVal = xfeatures2d_PCTSignatures_getWeightEntropy_10(nativeObj);
-
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: float cv::xfeatures2d::PCTSignatures::getWeightL()
- //
- //javadoc: PCTSignatures::getWeightL()
- public float getWeightL ()
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- float retVal = xfeatures2d_PCTSignatures_getWeightL_10(nativeObj);
-
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: float cv::xfeatures2d::PCTSignatures::getWeightX()
- //
- //javadoc: PCTSignatures::getWeightX()
- public float getWeightX ()
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- float retVal = xfeatures2d_PCTSignatures_getWeightX_10(nativeObj);
-
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: float cv::xfeatures2d::PCTSignatures::getWeightY()
- //
- //javadoc: PCTSignatures::getWeightY()
- public float getWeightY ()
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- float retVal = xfeatures2d_PCTSignatures_getWeightY_10(nativeObj);
-
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: int cv::xfeatures2d::PCTSignatures::getClusterMinSize()
- //
- //javadoc: PCTSignatures::getClusterMinSize()
- public int getClusterMinSize ()
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- int retVal = xfeatures2d_PCTSignatures_getClusterMinSize_10(nativeObj);
-
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: int cv::xfeatures2d::PCTSignatures::getDistanceFunction()
- //
- //javadoc: PCTSignatures::getDistanceFunction()
- public int getDistanceFunction ()
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- int retVal = xfeatures2d_PCTSignatures_getDistanceFunction_10(nativeObj);
-
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: int cv::xfeatures2d::PCTSignatures::getGrayscaleBits()
- //
- //javadoc: PCTSignatures::getGrayscaleBits()
- public int getGrayscaleBits ()
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- int retVal = xfeatures2d_PCTSignatures_getGrayscaleBits_10(nativeObj);
-
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: int cv::xfeatures2d::PCTSignatures::getInitSeedCount()
- //
- //javadoc: PCTSignatures::getInitSeedCount()
- public int getInitSeedCount ()
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- int retVal = xfeatures2d_PCTSignatures_getInitSeedCount_10(nativeObj);
-
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: int cv::xfeatures2d::PCTSignatures::getIterationCount()
- //
- //javadoc: PCTSignatures::getIterationCount()
- public int getIterationCount ()
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- int retVal = xfeatures2d_PCTSignatures_getIterationCount_10(nativeObj);
-
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: int cv::xfeatures2d::PCTSignatures::getMaxClustersCount()
- //
- //javadoc: PCTSignatures::getMaxClustersCount()
- public int getMaxClustersCount ()
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- int retVal = xfeatures2d_PCTSignatures_getMaxClustersCount_10(nativeObj);
-
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: int cv::xfeatures2d::PCTSignatures::getSampleCount()
- //
- //javadoc: PCTSignatures::getSampleCount()
- public int getSampleCount ()
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- int retVal = xfeatures2d_PCTSignatures_getSampleCount_10(nativeObj);
-
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: int cv::xfeatures2d::PCTSignatures::getWindowRadius()
- //
- //javadoc: PCTSignatures::getWindowRadius()
- public int getWindowRadius ()
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- int retVal = xfeatures2d_PCTSignatures_getWindowRadius_10(nativeObj);
-
- return retVal;
- #else
- return -1;
- #endif
- }
- //
- // C++: vector_Point2f cv::xfeatures2d::PCTSignatures::getSamplingPoints()
- //
- //javadoc: PCTSignatures::getSamplingPoints()
- public MatOfPoint2f getSamplingPoints ()
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- MatOfPoint2f retVal = MatOfPoint2f.fromNativeAddr(xfeatures2d_PCTSignatures_getSamplingPoints_10(nativeObj));
-
- return retVal;
- #else
- return null;
- #endif
- }
- //
- // C++: vector_int cv::xfeatures2d::PCTSignatures::getInitSeedIndexes()
- //
- //javadoc: PCTSignatures::getInitSeedIndexes()
- public MatOfInt getInitSeedIndexes ()
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- MatOfInt retVal = MatOfInt.fromNativeAddr(xfeatures2d_PCTSignatures_getInitSeedIndexes_10(nativeObj));
-
- return retVal;
- #else
- return null;
- #endif
- }
- //
- // C++: void cv::xfeatures2d::PCTSignatures::computeSignature(Mat image, Mat& signature)
- //
- //javadoc: PCTSignatures::computeSignature(image, signature)
- public void computeSignature (Mat image, Mat signature)
- {
- ThrowIfDisposed ();
- if (image != null) image.ThrowIfDisposed ();
- if (signature != null) signature.ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- xfeatures2d_PCTSignatures_computeSignature_10(nativeObj, image.nativeObj, signature.nativeObj);
-
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::xfeatures2d::PCTSignatures::computeSignatures(vector_Mat images, vector_Mat signatures)
- //
- //javadoc: PCTSignatures::computeSignatures(images, signatures)
- public void computeSignatures (List<Mat> images, List<Mat> signatures)
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- Mat images_mat = Converters.vector_Mat_to_Mat(images);
- Mat signatures_mat = Converters.vector_Mat_to_Mat(signatures);
- xfeatures2d_PCTSignatures_computeSignatures_10(nativeObj, images_mat.nativeObj, signatures_mat.nativeObj);
-
- return;
- #else
- return;
- #endif
- }
- //
- // C++: static void cv::xfeatures2d::PCTSignatures::drawSignature(Mat source, Mat signature, Mat& result, float radiusToShorterSideRatio = 1.0 / 8, int borderThickness = 1)
- //
- //javadoc: PCTSignatures::drawSignature(source, signature, result, radiusToShorterSideRatio, borderThickness)
- public static void drawSignature (Mat source, Mat signature, Mat result, float radiusToShorterSideRatio, int borderThickness)
- {
- if (source != null) source.ThrowIfDisposed ();
- if (signature != null) signature.ThrowIfDisposed ();
- if (result != null) result.ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- xfeatures2d_PCTSignatures_drawSignature_10(source.nativeObj, signature.nativeObj, result.nativeObj, radiusToShorterSideRatio, borderThickness);
-
- return;
- #else
- return;
- #endif
- }
- //javadoc: PCTSignatures::drawSignature(source, signature, result, radiusToShorterSideRatio)
- public static void drawSignature (Mat source, Mat signature, Mat result, float radiusToShorterSideRatio)
- {
- if (source != null) source.ThrowIfDisposed ();
- if (signature != null) signature.ThrowIfDisposed ();
- if (result != null) result.ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- xfeatures2d_PCTSignatures_drawSignature_11(source.nativeObj, signature.nativeObj, result.nativeObj, radiusToShorterSideRatio);
-
- return;
- #else
- return;
- #endif
- }
- //javadoc: PCTSignatures::drawSignature(source, signature, result)
- public static void drawSignature (Mat source, Mat signature, Mat result)
- {
- if (source != null) source.ThrowIfDisposed ();
- if (signature != null) signature.ThrowIfDisposed ();
- if (result != null) result.ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- xfeatures2d_PCTSignatures_drawSignature_12(source.nativeObj, signature.nativeObj, result.nativeObj);
-
- return;
- #else
- return;
- #endif
- }
- //
- // C++: static void cv::xfeatures2d::PCTSignatures::generateInitPoints(vector_Point2f initPoints, int count, int pointDistribution)
- //
- //javadoc: PCTSignatures::generateInitPoints(initPoints, count, pointDistribution)
- public static void generateInitPoints (MatOfPoint2f initPoints, int count, int pointDistribution)
- {
- if (initPoints != null) initPoints.ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- Mat initPoints_mat = initPoints;
- xfeatures2d_PCTSignatures_generateInitPoints_10(initPoints_mat.nativeObj, count, pointDistribution);
-
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::xfeatures2d::PCTSignatures::setClusterMinSize(int clusterMinSize)
- //
- //javadoc: PCTSignatures::setClusterMinSize(clusterMinSize)
- public void setClusterMinSize (int clusterMinSize)
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- xfeatures2d_PCTSignatures_setClusterMinSize_10(nativeObj, clusterMinSize);
-
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::xfeatures2d::PCTSignatures::setDistanceFunction(int distanceFunction)
- //
- //javadoc: PCTSignatures::setDistanceFunction(distanceFunction)
- public void setDistanceFunction (int distanceFunction)
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- xfeatures2d_PCTSignatures_setDistanceFunction_10(nativeObj, distanceFunction);
-
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::xfeatures2d::PCTSignatures::setDropThreshold(float dropThreshold)
- //
- //javadoc: PCTSignatures::setDropThreshold(dropThreshold)
- public void setDropThreshold (float dropThreshold)
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- xfeatures2d_PCTSignatures_setDropThreshold_10(nativeObj, dropThreshold);
-
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::xfeatures2d::PCTSignatures::setGrayscaleBits(int grayscaleBits)
- //
- //javadoc: PCTSignatures::setGrayscaleBits(grayscaleBits)
- public void setGrayscaleBits (int grayscaleBits)
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- xfeatures2d_PCTSignatures_setGrayscaleBits_10(nativeObj, grayscaleBits);
-
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::xfeatures2d::PCTSignatures::setInitSeedIndexes(vector_int initSeedIndexes)
- //
- //javadoc: PCTSignatures::setInitSeedIndexes(initSeedIndexes)
- public void setInitSeedIndexes (MatOfInt initSeedIndexes)
- {
- ThrowIfDisposed ();
- if (initSeedIndexes != null) initSeedIndexes.ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- Mat initSeedIndexes_mat = initSeedIndexes;
- xfeatures2d_PCTSignatures_setInitSeedIndexes_10(nativeObj, initSeedIndexes_mat.nativeObj);
-
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::xfeatures2d::PCTSignatures::setIterationCount(int iterationCount)
- //
- //javadoc: PCTSignatures::setIterationCount(iterationCount)
- public void setIterationCount (int iterationCount)
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- xfeatures2d_PCTSignatures_setIterationCount_10(nativeObj, iterationCount);
-
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::xfeatures2d::PCTSignatures::setJoiningDistance(float joiningDistance)
- //
- //javadoc: PCTSignatures::setJoiningDistance(joiningDistance)
- public void setJoiningDistance (float joiningDistance)
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- xfeatures2d_PCTSignatures_setJoiningDistance_10(nativeObj, joiningDistance);
-
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::xfeatures2d::PCTSignatures::setMaxClustersCount(int maxClustersCount)
- //
- //javadoc: PCTSignatures::setMaxClustersCount(maxClustersCount)
- public void setMaxClustersCount (int maxClustersCount)
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- xfeatures2d_PCTSignatures_setMaxClustersCount_10(nativeObj, maxClustersCount);
-
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::xfeatures2d::PCTSignatures::setSamplingPoints(vector_Point2f samplingPoints)
- //
- //javadoc: PCTSignatures::setSamplingPoints(samplingPoints)
- public void setSamplingPoints (MatOfPoint2f samplingPoints)
- {
- ThrowIfDisposed ();
- if (samplingPoints != null) samplingPoints.ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- Mat samplingPoints_mat = samplingPoints;
- xfeatures2d_PCTSignatures_setSamplingPoints_10(nativeObj, samplingPoints_mat.nativeObj);
-
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::xfeatures2d::PCTSignatures::setTranslation(int idx, float value)
- //
- //javadoc: PCTSignatures::setTranslation(idx, value)
- public void setTranslation (int idx, float value)
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- xfeatures2d_PCTSignatures_setTranslation_10(nativeObj, idx, value);
-
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::xfeatures2d::PCTSignatures::setTranslations(vector_float translations)
- //
- //javadoc: PCTSignatures::setTranslations(translations)
- public void setTranslations (MatOfFloat translations)
- {
- ThrowIfDisposed ();
- if (translations != null) translations.ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- Mat translations_mat = translations;
- xfeatures2d_PCTSignatures_setTranslations_10(nativeObj, translations_mat.nativeObj);
-
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::xfeatures2d::PCTSignatures::setWeight(int idx, float value)
- //
- //javadoc: PCTSignatures::setWeight(idx, value)
- public void setWeight (int idx, float value)
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- xfeatures2d_PCTSignatures_setWeight_10(nativeObj, idx, value);
-
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::xfeatures2d::PCTSignatures::setWeightA(float weight)
- //
- //javadoc: PCTSignatures::setWeightA(weight)
- public void setWeightA (float weight)
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- xfeatures2d_PCTSignatures_setWeightA_10(nativeObj, weight);
-
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::xfeatures2d::PCTSignatures::setWeightB(float weight)
- //
- //javadoc: PCTSignatures::setWeightB(weight)
- public void setWeightB (float weight)
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- xfeatures2d_PCTSignatures_setWeightB_10(nativeObj, weight);
-
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::xfeatures2d::PCTSignatures::setWeightContrast(float weight)
- //
- //javadoc: PCTSignatures::setWeightContrast(weight)
- public void setWeightContrast (float weight)
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- xfeatures2d_PCTSignatures_setWeightContrast_10(nativeObj, weight);
-
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::xfeatures2d::PCTSignatures::setWeightEntropy(float weight)
- //
- //javadoc: PCTSignatures::setWeightEntropy(weight)
- public void setWeightEntropy (float weight)
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- xfeatures2d_PCTSignatures_setWeightEntropy_10(nativeObj, weight);
-
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::xfeatures2d::PCTSignatures::setWeightL(float weight)
- //
- //javadoc: PCTSignatures::setWeightL(weight)
- public void setWeightL (float weight)
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- xfeatures2d_PCTSignatures_setWeightL_10(nativeObj, weight);
-
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::xfeatures2d::PCTSignatures::setWeightX(float weight)
- //
- //javadoc: PCTSignatures::setWeightX(weight)
- public void setWeightX (float weight)
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- xfeatures2d_PCTSignatures_setWeightX_10(nativeObj, weight);
-
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::xfeatures2d::PCTSignatures::setWeightY(float weight)
- //
- //javadoc: PCTSignatures::setWeightY(weight)
- public void setWeightY (float weight)
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- xfeatures2d_PCTSignatures_setWeightY_10(nativeObj, weight);
-
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::xfeatures2d::PCTSignatures::setWeights(vector_float weights)
- //
- //javadoc: PCTSignatures::setWeights(weights)
- public void setWeights (MatOfFloat weights)
- {
- ThrowIfDisposed ();
- if (weights != null) weights.ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
- Mat weights_mat = weights;
- xfeatures2d_PCTSignatures_setWeights_10(nativeObj, weights_mat.nativeObj);
-
- return;
- #else
- return;
- #endif
- }
- //
- // C++: void cv::xfeatures2d::PCTSignatures::setWindowRadius(int radius)
- //
- //javadoc: PCTSignatures::setWindowRadius(radius)
- public void setWindowRadius (int radius)
- {
- ThrowIfDisposed ();
- #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
-
- xfeatures2d_PCTSignatures_setWindowRadius_10(nativeObj, radius);
-
- return;
- #else
- return;
- #endif
- }
- #if (UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR
- const string LIBNAME = "__Internal";
- #else
- const string LIBNAME = "opencvforunity";
- #endif
- // C++: static Ptr_PCTSignatures cv::xfeatures2d::PCTSignatures::create(int initSampleCount = 2000, int initSeedCount = 400, int pointDistribution = 0)
- [DllImport (LIBNAME)]
- private static extern IntPtr xfeatures2d_PCTSignatures_create_10 (int initSampleCount, int initSeedCount, int pointDistribution);
- [DllImport (LIBNAME)]
- private static extern IntPtr xfeatures2d_PCTSignatures_create_11 (int initSampleCount, int initSeedCount);
- [DllImport (LIBNAME)]
- private static extern IntPtr xfeatures2d_PCTSignatures_create_12 (int initSampleCount);
- [DllImport (LIBNAME)]
- private static extern IntPtr xfeatures2d_PCTSignatures_create_13 ();
- // C++: static Ptr_PCTSignatures cv::xfeatures2d::PCTSignatures::create(vector_Point2f initSamplingPoints, int initSeedCount)
- [DllImport (LIBNAME)]
- private static extern IntPtr xfeatures2d_PCTSignatures_create_14 (IntPtr initSamplingPoints_mat_nativeObj, int initSeedCount);
- // C++: static Ptr_PCTSignatures cv::xfeatures2d::PCTSignatures::create(vector_Point2f initSamplingPoints, vector_int initClusterSeedIndexes)
- [DllImport (LIBNAME)]
- private static extern IntPtr xfeatures2d_PCTSignatures_create_15 (IntPtr initSamplingPoints_mat_nativeObj, IntPtr initClusterSeedIndexes_mat_nativeObj);
- // C++: float cv::xfeatures2d::PCTSignatures::getDropThreshold()
- [DllImport (LIBNAME)]
- private static extern float xfeatures2d_PCTSignatures_getDropThreshold_10 (IntPtr nativeObj);
- // C++: float cv::xfeatures2d::PCTSignatures::getJoiningDistance()
- [DllImport (LIBNAME)]
- private static extern float xfeatures2d_PCTSignatures_getJoiningDistance_10 (IntPtr nativeObj);
- // C++: float cv::xfeatures2d::PCTSignatures::getWeightA()
- [DllImport (LIBNAME)]
- private static extern float xfeatures2d_PCTSignatures_getWeightA_10 (IntPtr nativeObj);
- // C++: float cv::xfeatures2d::PCTSignatures::getWeightB()
- [DllImport (LIBNAME)]
- private static extern float xfeatures2d_PCTSignatures_getWeightB_10 (IntPtr nativeObj);
- // C++: float cv::xfeatures2d::PCTSignatures::getWeightContrast()
- [DllImport (LIBNAME)]
- private static extern float xfeatures2d_PCTSignatures_getWeightContrast_10 (IntPtr nativeObj);
- // C++: float cv::xfeatures2d::PCTSignatures::getWeightEntropy()
- [DllImport (LIBNAME)]
- private static extern float xfeatures2d_PCTSignatures_getWeightEntropy_10 (IntPtr nativeObj);
- // C++: float cv::xfeatures2d::PCTSignatures::getWeightL()
- [DllImport (LIBNAME)]
- private static extern float xfeatures2d_PCTSignatures_getWeightL_10 (IntPtr nativeObj);
- // C++: float cv::xfeatures2d::PCTSignatures::getWeightX()
- [DllImport (LIBNAME)]
- private static extern float xfeatures2d_PCTSignatures_getWeightX_10 (IntPtr nativeObj);
- // C++: float cv::xfeatures2d::PCTSignatures::getWeightY()
- [DllImport (LIBNAME)]
- private static extern float xfeatures2d_PCTSignatures_getWeightY_10 (IntPtr nativeObj);
- // C++: int cv::xfeatures2d::PCTSignatures::getClusterMinSize()
- [DllImport (LIBNAME)]
- private static extern int xfeatures2d_PCTSignatures_getClusterMinSize_10 (IntPtr nativeObj);
- // C++: int cv::xfeatures2d::PCTSignatures::getDistanceFunction()
- [DllImport (LIBNAME)]
- private static extern int xfeatures2d_PCTSignatures_getDistanceFunction_10 (IntPtr nativeObj);
- // C++: int cv::xfeatures2d::PCTSignatures::getGrayscaleBits()
- [DllImport (LIBNAME)]
- private static extern int xfeatures2d_PCTSignatures_getGrayscaleBits_10 (IntPtr nativeObj);
- // C++: int cv::xfeatures2d::PCTSignatures::getInitSeedCount()
- [DllImport (LIBNAME)]
- private static extern int xfeatures2d_PCTSignatures_getInitSeedCount_10 (IntPtr nativeObj);
- // C++: int cv::xfeatures2d::PCTSignatures::getIterationCount()
- [DllImport (LIBNAME)]
- private static extern int xfeatures2d_PCTSignatures_getIterationCount_10 (IntPtr nativeObj);
- // C++: int cv::xfeatures2d::PCTSignatures::getMaxClustersCount()
- [DllImport (LIBNAME)]
- private static extern int xfeatures2d_PCTSignatures_getMaxClustersCount_10 (IntPtr nativeObj);
- // C++: int cv::xfeatures2d::PCTSignatures::getSampleCount()
- [DllImport (LIBNAME)]
- private static extern int xfeatures2d_PCTSignatures_getSampleCount_10 (IntPtr nativeObj);
- // C++: int cv::xfeatures2d::PCTSignatures::getWindowRadius()
- [DllImport (LIBNAME)]
- private static extern int xfeatures2d_PCTSignatures_getWindowRadius_10 (IntPtr nativeObj);
- // C++: vector_Point2f cv::xfeatures2d::PCTSignatures::getSamplingPoints()
- [DllImport (LIBNAME)]
- private static extern IntPtr xfeatures2d_PCTSignatures_getSamplingPoints_10 (IntPtr nativeObj);
- // C++: vector_int cv::xfeatures2d::PCTSignatures::getInitSeedIndexes()
- [DllImport (LIBNAME)]
- private static extern IntPtr xfeatures2d_PCTSignatures_getInitSeedIndexes_10 (IntPtr nativeObj);
- // C++: void cv::xfeatures2d::PCTSignatures::computeSignature(Mat image, Mat& signature)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_computeSignature_10 (IntPtr nativeObj, IntPtr image_nativeObj, IntPtr signature_nativeObj);
- // C++: void cv::xfeatures2d::PCTSignatures::computeSignatures(vector_Mat images, vector_Mat signatures)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_computeSignatures_10 (IntPtr nativeObj, IntPtr images_mat_nativeObj, IntPtr signatures_mat_nativeObj);
- // C++: static void cv::xfeatures2d::PCTSignatures::drawSignature(Mat source, Mat signature, Mat& result, float radiusToShorterSideRatio = 1.0 / 8, int borderThickness = 1)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_drawSignature_10 (IntPtr source_nativeObj, IntPtr signature_nativeObj, IntPtr result_nativeObj, float radiusToShorterSideRatio, int borderThickness);
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_drawSignature_11 (IntPtr source_nativeObj, IntPtr signature_nativeObj, IntPtr result_nativeObj, float radiusToShorterSideRatio);
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_drawSignature_12 (IntPtr source_nativeObj, IntPtr signature_nativeObj, IntPtr result_nativeObj);
- // C++: static void cv::xfeatures2d::PCTSignatures::generateInitPoints(vector_Point2f initPoints, int count, int pointDistribution)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_generateInitPoints_10 (IntPtr initPoints_mat_nativeObj, int count, int pointDistribution);
- // C++: void cv::xfeatures2d::PCTSignatures::setClusterMinSize(int clusterMinSize)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_setClusterMinSize_10 (IntPtr nativeObj, int clusterMinSize);
- // C++: void cv::xfeatures2d::PCTSignatures::setDistanceFunction(int distanceFunction)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_setDistanceFunction_10 (IntPtr nativeObj, int distanceFunction);
- // C++: void cv::xfeatures2d::PCTSignatures::setDropThreshold(float dropThreshold)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_setDropThreshold_10 (IntPtr nativeObj, float dropThreshold);
- // C++: void cv::xfeatures2d::PCTSignatures::setGrayscaleBits(int grayscaleBits)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_setGrayscaleBits_10 (IntPtr nativeObj, int grayscaleBits);
- // C++: void cv::xfeatures2d::PCTSignatures::setInitSeedIndexes(vector_int initSeedIndexes)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_setInitSeedIndexes_10 (IntPtr nativeObj, IntPtr initSeedIndexes_mat_nativeObj);
- // C++: void cv::xfeatures2d::PCTSignatures::setIterationCount(int iterationCount)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_setIterationCount_10 (IntPtr nativeObj, int iterationCount);
- // C++: void cv::xfeatures2d::PCTSignatures::setJoiningDistance(float joiningDistance)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_setJoiningDistance_10 (IntPtr nativeObj, float joiningDistance);
- // C++: void cv::xfeatures2d::PCTSignatures::setMaxClustersCount(int maxClustersCount)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_setMaxClustersCount_10 (IntPtr nativeObj, int maxClustersCount);
- // C++: void cv::xfeatures2d::PCTSignatures::setSamplingPoints(vector_Point2f samplingPoints)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_setSamplingPoints_10 (IntPtr nativeObj, IntPtr samplingPoints_mat_nativeObj);
- // C++: void cv::xfeatures2d::PCTSignatures::setTranslation(int idx, float value)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_setTranslation_10 (IntPtr nativeObj, int idx, float value);
- // C++: void cv::xfeatures2d::PCTSignatures::setTranslations(vector_float translations)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_setTranslations_10 (IntPtr nativeObj, IntPtr translations_mat_nativeObj);
- // C++: void cv::xfeatures2d::PCTSignatures::setWeight(int idx, float value)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_setWeight_10 (IntPtr nativeObj, int idx, float value);
- // C++: void cv::xfeatures2d::PCTSignatures::setWeightA(float weight)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_setWeightA_10 (IntPtr nativeObj, float weight);
- // C++: void cv::xfeatures2d::PCTSignatures::setWeightB(float weight)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_setWeightB_10 (IntPtr nativeObj, float weight);
- // C++: void cv::xfeatures2d::PCTSignatures::setWeightContrast(float weight)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_setWeightContrast_10 (IntPtr nativeObj, float weight);
- // C++: void cv::xfeatures2d::PCTSignatures::setWeightEntropy(float weight)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_setWeightEntropy_10 (IntPtr nativeObj, float weight);
- // C++: void cv::xfeatures2d::PCTSignatures::setWeightL(float weight)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_setWeightL_10 (IntPtr nativeObj, float weight);
- // C++: void cv::xfeatures2d::PCTSignatures::setWeightX(float weight)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_setWeightX_10 (IntPtr nativeObj, float weight);
- // C++: void cv::xfeatures2d::PCTSignatures::setWeightY(float weight)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_setWeightY_10 (IntPtr nativeObj, float weight);
- // C++: void cv::xfeatures2d::PCTSignatures::setWeights(vector_float weights)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_setWeights_10 (IntPtr nativeObj, IntPtr weights_mat_nativeObj);
- // C++: void cv::xfeatures2d::PCTSignatures::setWindowRadius(int radius)
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_setWindowRadius_10 (IntPtr nativeObj, int radius);
- // native support for java finalize()
- [DllImport (LIBNAME)]
- private static extern void xfeatures2d_PCTSignatures_delete (IntPtr nativeObj);
- }
- }
|