MythTV  master
Functions
edgeDetector Namespace Reference

Functions

unsigned int * sgm_init_exclude (unsigned int *sgm, const AVFrame *src, int srcheight, int excluderow, int excludecol, int excludewidth, int excludeheight)
 
static int sort_ascending (const void *aa, const void *bb)
 
static int edge_mark (AVFrame *dst, int dstheight, int extratop, int extraright, int extrabottom, int extraleft, const unsigned int *sgm, unsigned int *sgmsorted, int percentile, int excluderow, int excludecol, int excludewidth, int excludeheight)
 
int edge_mark_uniform_exclude (AVFrame *dst, int dstheight, int extramargin, const unsigned int *sgm, unsigned int *sgmsorted, int percentile, int excluderow, int excludecol, int excludewidth, int excludeheight)
 

Function Documentation

◆ sgm_init_exclude()

unsigned int * edgeDetector::sgm_init_exclude ( unsigned int *  sgm,
const AVFrame src,
int  srcheight,
int  excluderow,
int  excludecol,
int  excludewidth,
int  excludeheight 
)

Definition at line 28 of file EdgeDetector.cpp.

Referenced by CannyEdgeDetector::detectEdges().

◆ sort_ascending()

static int edgeDetector::sort_ascending ( const void *  aa,
const void *  bb 
)
static

Definition at line 69 of file EdgeDetector.cpp.

Referenced by edge_mark().

◆ edge_mark()

static int edgeDetector::edge_mark ( AVFrame dst,
int  dstheight,
int  extratop,
int  extraright,
int  extrabottom,
int  extraleft,
const unsigned int *  sgm,
unsigned int *  sgmsorted,
int  percentile,
int  excluderow,
int  excludecol,
int  excludewidth,
int  excludeheight 
)
static

Definition at line 75 of file EdgeDetector.cpp.

Referenced by edge_mark_uniform_exclude().

◆ edge_mark_uniform_exclude()

int edgeDetector::edge_mark_uniform_exclude ( AVFrame dst,
int  dstheight,
int  extramargin,
const unsigned int *  sgm,
unsigned int *  sgmsorted,
int  percentile,
int  excluderow,
int  excludecol,
int  excludewidth,
int  excludeheight 
)

Definition at line 189 of file EdgeDetector.cpp.

Referenced by CannyEdgeDetector::detectEdges().