Beispiel #1
0
        //
        // C++:  void cv::ximgproc::segmentation::SelectiveSearchSegmentation::addGraphSegmentation(Ptr_GraphSegmentation g)
        //

        /**
         * Add a new graph segmentation in the list of graph segementations to process.
         *                                 param g The graph segmentation
         */
        public void addGraphSegmentation(GraphSegmentation g)
        {
            ThrowIfDisposed();
            if (g != null)
            {
                g.ThrowIfDisposed();
            }

            ximgproc_SelectiveSearchSegmentation_addGraphSegmentation_10(nativeObj, g.getNativeObjAddr());
        }
        //
        // C++:  void cv::ximgproc::segmentation::SelectiveSearchSegmentation::addGraphSegmentation(Ptr_GraphSegmentation g)
        //

        //javadoc: SelectiveSearchSegmentation::addGraphSegmentation(g)
        public void addGraphSegmentation(GraphSegmentation g)
        {
            ThrowIfDisposed();
            if (g != null)
            {
                g.ThrowIfDisposed();
            }
#if ((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
        }