コード例 #1
0
        //javadoc: createStructuredEdgeDetection(model)
        public static StructuredEdgeDetection createStructuredEdgeDetection(string model)
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS) && !UNITY_EDITOR) || UNITY_5
            StructuredEdgeDetection retVal = new StructuredEdgeDetection(ximgproc_Ximgproc_createStructuredEdgeDetection_11(model));

            return(retVal);
#else
            return(null);
#endif
        }
コード例 #2
0
        //
        // C++:  Ptr_StereoMatcher createRightMatcher(Ptr_StereoMatcher matcher_left)
        //

        // Return type 'Ptr_StereoMatcher' is not supported, skipping the function


        //
        // C++:  Ptr_StructuredEdgeDetection createStructuredEdgeDetection(string model, Ptr_RFFeatureGetter howToGetFeatures = Ptr<RFFeatureGetter>())
        //

        //javadoc: createStructuredEdgeDetection(model, howToGetFeatures)
        public static StructuredEdgeDetection createStructuredEdgeDetection(string model, RFFeatureGetter howToGetFeatures)
        {
            if (howToGetFeatures != null)
            {
                howToGetFeatures.ThrowIfDisposed();
            }

#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS) && !UNITY_EDITOR) || UNITY_5
            StructuredEdgeDetection retVal = new StructuredEdgeDetection(ximgproc_Ximgproc_createStructuredEdgeDetection_10(model, howToGetFeatures.nativeObj));

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