$search
Public Types | |
| enum | { NOT_SET = 0, IN_PROCESS = 1, SET = 2 } |
Public Member Functions | |
| int | getIterCount () const |
| void | mouseClick (int event, int x, int y, int flags, void *param) |
| int | nextIter () |
| void | reset () |
| void | setImageAndWinName (const Mat &_image, const Mat &_depth_image, const string &_winName) |
| void | setRect (const Rect &_rect) |
| void | showImage () const |
Static Public Attributes | |
| static const int | radius = 2 |
| static const int | thickness = -1 |
Private Member Functions | |
| void | setLblsInMask (int flags, Point p, bool isPr) |
| void | setRectInMask () |
Private Attributes | |
| Mat | bgdModel |
| vector< Point > | bgdPxls |
| const Mat * | depth_image |
| Mat | fgdModel |
| vector< Point > | fgdPxls |
| const Mat * | image |
| bool | isInitialized |
| int | iterCount |
| uchar | lblsState |
| Mat | mask |
| vector< Point > | prBgdPxls |
| vector< Point > | prFgdPxls |
| uchar | prLblsState |
| Rect | rect |
| uchar | rectState |
| const string * | winName |
Definition at line 34 of file grabcut_3d_app.cpp.
| anonymous enum |
Definition at line 37 of file grabcut_3d_app.cpp.
| int GCApplication::getIterCount | ( | ) | const [inline] |
Definition at line 46 of file grabcut_3d_app.cpp.
| void GCApplication::mouseClick | ( | int | event, | |
| int | x, | |||
| int | y, | |||
| int | flags, | |||
| void * | param | |||
| ) |
Definition at line 173 of file grabcut_3d_app.cpp.
| int GCApplication::nextIter | ( | ) |
Definition at line 245 of file grabcut_3d_app.cpp.
| void GCApplication::reset | ( | ) |
Definition at line 76 of file grabcut_3d_app.cpp.
| void GCApplication::setImageAndWinName | ( | const Mat & | _image, | |
| const Mat & | _depth_image, | |||
| const string & | _winName | |||
| ) |
Definition at line 90 of file grabcut_3d_app.cpp.
| void GCApplication::setLblsInMask | ( | int | flags, | |
| Point | p, | |||
| bool | isPr | |||
| ) | [private] |
Definition at line 143 of file grabcut_3d_app.cpp.
| void GCApplication::setRect | ( | const Rect & | _rect | ) |
Definition at line 67 of file grabcut_3d_app.cpp.
| void GCApplication::setRectInMask | ( | ) | [private] |
Definition at line 132 of file grabcut_3d_app.cpp.
| void GCApplication::showImage | ( | ) | const |
Definition at line 101 of file grabcut_3d_app.cpp.
Mat GCApplication::bgdModel [private] |
Definition at line 57 of file grabcut_3d_app.cpp.
vector<Point> GCApplication::bgdPxls [private] |
Definition at line 63 of file grabcut_3d_app.cpp.
const Mat* GCApplication::depth_image [private] |
Definition at line 55 of file grabcut_3d_app.cpp.
Mat GCApplication::fgdModel [private] |
Definition at line 57 of file grabcut_3d_app.cpp.
vector<Point> GCApplication::fgdPxls [private] |
Definition at line 63 of file grabcut_3d_app.cpp.
const Mat* GCApplication::image [private] |
Definition at line 54 of file grabcut_3d_app.cpp.
bool GCApplication::isInitialized [private] |
Definition at line 60 of file grabcut_3d_app.cpp.
int GCApplication::iterCount [private] |
Definition at line 64 of file grabcut_3d_app.cpp.
uchar GCApplication::lblsState [private] |
Definition at line 59 of file grabcut_3d_app.cpp.
Mat GCApplication::mask [private] |
Definition at line 56 of file grabcut_3d_app.cpp.
vector<Point> GCApplication::prBgdPxls [private] |
Definition at line 63 of file grabcut_3d_app.cpp.
vector<Point> GCApplication::prFgdPxls [private] |
Definition at line 63 of file grabcut_3d_app.cpp.
uchar GCApplication::prLblsState [private] |
Definition at line 59 of file grabcut_3d_app.cpp.
const int GCApplication::radius = 2 [static] |
Definition at line 38 of file grabcut_3d_app.cpp.
Rect GCApplication::rect [private] |
Definition at line 62 of file grabcut_3d_app.cpp.
uchar GCApplication::rectState [private] |
Definition at line 59 of file grabcut_3d_app.cpp.
const int GCApplication::thickness = -1 [static] |
Definition at line 39 of file grabcut_3d_app.cpp.
const string* GCApplication::winName [private] |
Definition at line 53 of file grabcut_3d_app.cpp.