VAT
3.0
Video Analysis Tool
|
Public Member Functions | |
void | PerformSLICO_ForGivenStepSize (const unsigned char *ubuff, const int width, const int height, int *klabels, int &numlabels, const int &STEP, const double &m) |
void | PerformSLICO_ForGivenK (const unsigned char *ubuff, const int width, const int height, int *klabels, int &numlabels, const int &K) |
void | DrawContoursAroundSegments (unsigned char *segmentedImage, const int *labels, const int &width, const int &height) |
void | DrawContoursAroundSegmentsTwoColors (unsigned char *ubuff, const int *labels, const int &width, const int &height) |
void SLICO::DrawContoursAroundSegments | ( | unsigned char * | ubuff, |
const int * | labels, | ||
const int & | width, | ||
const int & | height | ||
) |
DrawContoursAroundSegments
Internal contour drawing option exists. One only needs to comment the if statement inside the loop that looks at neighbourhood.
void SLICO::DrawContoursAroundSegmentsTwoColors | ( | unsigned char * | img, |
const int * | labels, | ||
const int & | width, | ||
const int & | height | ||
) |
DrawContoursAroundSegmentsTwoColors
Internal contour drawing option exists. One only needs to comment the if statement inside the loop that looks at neighbourhood.
void SLICO::PerformSLICO_ForGivenK | ( | const unsigned char * | ubuff, |
const int | width, | ||
const int | height, | ||
int * | klabels, | ||
int & | numlabels, | ||
const int & | K | ||
) |
PerformSLICO_ForGivenK
Zero parameter SLICO algorithm for a given number K of superpixels.
void SLICO::PerformSLICO_ForGivenStepSize | ( | const unsigned char * | ubuff, |
const int | width, | ||
const int | height, | ||
int * | klabels, | ||
int & | numlabels, | ||
const int & | STEP, | ||
const double & | m | ||
) |
PerformSLICOO_ForGivenStepSize
There is option to save the labels if needed.