Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: move gcgraph to detail #12503

merged 2 commits into from Sep 17, 2018
Changes from all commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.


Just for now

@@ -39,9 +39,12 @@

#ifndef _CV_GCGRAPH_H_
#define _CV_GCGRAPH_H_

//! @cond IGNORED

namespace cv { namespace detail {
template <class TWeight> class GCGraph
@@ -382,4 +385,9 @@ bool GCGraph<TWeight>::inSourceSegment( int i )
return vtcs[i].t == 0;

}} // namespace detail, cv

//! @endcond

@@ -40,10 +40,11 @@

#include "precomp.hpp"
#include "gcgraph.hpp"
#include "opencv2/imgproc/detail/gcgraph.hpp"
#include <limits>

using namespace cv;
using namespace detail;

This is implementation of image segmentation algorithm GrabCut described in
@@ -91,8 +91,6 @@
# include "opencv2/xfeatures2d/cuda.hpp"

#include "../../imgproc/src/gcgraph.hpp"

#include "opencv2/core/private.hpp"

#include "util_log.hpp"
@@ -41,6 +41,7 @@

#include "precomp.hpp"
#include "opencv2/imgproc/detail/gcgraph.hpp"
#include <map>

namespace cv {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.