예제 #1
0
        //javadoc: createChiHistogramCostExtractor()
        public static HistogramCostExtractor createChiHistogramCostExtractor()
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            HistogramCostExtractor retVal = HistogramCostExtractor.__fromPtr__(shape_Shape_createChiHistogramCostExtractor_12());

            return(retVal);
#else
            return(null);
#endif
        }
예제 #2
0
        //javadoc: createNormHistogramCostExtractor(flag, nDummies)
        public static HistogramCostExtractor createNormHistogramCostExtractor(int flag, int nDummies)
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            HistogramCostExtractor retVal = HistogramCostExtractor.__fromPtr__(shape_Shape_createNormHistogramCostExtractor_11(flag, nDummies));

            return(retVal);
#else
            return(null);
#endif
        }
예제 #3
0
        //
        // C++:  Ptr_HistogramCostExtractor cv::createEMDL1HistogramCostExtractor(int nDummies = 25, float defaultCost = 0.2f)
        //

        //javadoc: createEMDL1HistogramCostExtractor(nDummies, defaultCost)
        public static HistogramCostExtractor createEMDL1HistogramCostExtractor(int nDummies, float defaultCost)
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            HistogramCostExtractor retVal = HistogramCostExtractor.__fromPtr__(shape_Shape_createEMDL1HistogramCostExtractor_10(nDummies, defaultCost));

            return(retVal);
#else
            return(null);
#endif
        }
예제 #4
0
        //
        // C++:  Ptr_HistogramCostExtractor cv::ShapeContextDistanceExtractor::getCostExtractor()
        //

        //javadoc: ShapeContextDistanceExtractor::getCostExtractor()
        public HistogramCostExtractor getCostExtractor()
        {
            ThrowIfDisposed();
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            HistogramCostExtractor retVal = HistogramCostExtractor.__fromPtr__(shape_ShapeContextDistanceExtractor_getCostExtractor_10(nativeObj));

            return(retVal);
#else
            return(null);
#endif
        }
예제 #5
0
        //
        // C++:  void cv::ShapeContextDistanceExtractor::setCostExtractor(Ptr_HistogramCostExtractor comparer)
        //

        //javadoc: ShapeContextDistanceExtractor::setCostExtractor(comparer)
        public void setCostExtractor(HistogramCostExtractor comparer)
        {
            ThrowIfDisposed();
            if (comparer != null)
            {
                comparer.ThrowIfDisposed();
            }
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            shape_ShapeContextDistanceExtractor_setCostExtractor_10(nativeObj, comparer.getNativeObjAddr());

            return;
#else
            return;
#endif
        }
예제 #6
0
        //javadoc: createShapeContextDistanceExtractor(nAngularBins, nRadialBins, innerRadius, outerRadius, iterations, comparer)
        public static ShapeContextDistanceExtractor createShapeContextDistanceExtractor(int nAngularBins, int nRadialBins, float innerRadius, float outerRadius, int iterations, HistogramCostExtractor comparer)
        {
            if (comparer != null)
            {
                comparer.ThrowIfDisposed();
            }
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            ShapeContextDistanceExtractor retVal = ShapeContextDistanceExtractor.__fromPtr__(shape_Shape_createShapeContextDistanceExtractor_11(nAngularBins, nRadialBins, innerRadius, outerRadius, iterations, comparer.getNativeObjAddr()));

            return(retVal);
#else
            return(null);
#endif
        }