//javadoc: createGraphSegmentation() public static GraphSegmentation createGraphSegmentation() { #if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS) && !UNITY_EDITOR) || UNITY_5 GraphSegmentation retVal = new GraphSegmentation(ximgproc_Ximgproc_createGraphSegmentation_11()); return(retVal); #else return(null); #endif }
// // C++: Ptr_GraphSegmentation createGraphSegmentation(double sigma = 0.5, float k = 300, int min_size = 100) // //javadoc: createGraphSegmentation(sigma, k, min_size) public static GraphSegmentation createGraphSegmentation(double sigma, float k, int min_size) { #if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS) && !UNITY_EDITOR) || UNITY_5 GraphSegmentation retVal = new GraphSegmentation(ximgproc_Ximgproc_createGraphSegmentation_10(sigma, k, min_size)); return(retVal); #else return(null); #endif }
// // C++: void addGraphSegmentation(Ptr_GraphSegmentation g) // //javadoc: SelectiveSearchSegmentation::addGraphSegmentation(g) public void addGraphSegmentation(GraphSegmentation g) { ThrowIfDisposed(); if (g != null) { g.ThrowIfDisposed(); } #if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER ximgproc_SelectiveSearchSegmentation_addGraphSegmentation_10(nativeObj, g.getNativeObjAddr()); return; #else return; #endif }