Skip to content

Class inspection::ModelResult

ClassList > inspection > ModelResult

Public Attributes

Type Name
map< int, Mat > masks
Mat originImage
map< int, vector< vector< Point > > > skeletons

Public Functions

Type Name
void GetMask (vector< vector< Point > > contours, Mat & mask, Size size)
int GetNumOfClass ()
void GetSkeleton (vector< vector< Point > > contours, vector< vector< Point > > & skeleton)
ModelResult (DomainConfig dc, Mat mask, Mat originImage)

Public Attributes Documentation

variable masks

map<int, Mat> inspection::ModelResult::masks;

variable originImage

Mat inspection::ModelResult::originImage;

variable skeletons

map<int, vector<vector<Point> > > inspection::ModelResult::skeletons;

Public Functions Documentation

function GetMask

void inspection::ModelResult::GetMask (
    vector< vector< Point > > contours,
    Mat & mask,
    Size size
) 

function GetNumOfClass

int inspection::ModelResult::GetNumOfClass () 

function GetSkeleton

void inspection::ModelResult::GetSkeleton (
    vector< vector< Point > > contours,
    vector< vector< Point > > & skeleton
) 

function ModelResult

inspection::ModelResult::ModelResult (
    DomainConfig dc,
    Mat mask,
    Mat originImage
) 

The documentation for this class was generated from the following file model_result.h