Read@CVL
|
Functions | |
DllCoreExport double | euclidean (const Pixel *px1, const Pixel *px2) |
Euclidean distance between the pixel's centers. More... | |
DllCoreExport double | mahalanobis (const Pixel *px1, const Pixel *px2) |
DllCoreExport double | bhattacharyya (const Pixel *px1, const Pixel *px2) |
DllCoreExport double | angleWeighted (const Pixel *px1, const Pixel *px2) |
Angle weighted pixel distance. If the pixel's local orientations are not computed, this method defaults to the euclidean distance. More... | |
DllCoreExport double | spacingWeighted (const PixelEdge *edge) |
Returns the edge weight normalized by the line spacing. This function returns an edge weight that is similar to the one proposed by Il Koo. Hence, it can be used for graphcuts. More... | |
DllCoreExport double | orientationWeighted (const PixelEdge *edge) |
DllCoreExport double | euclidean (const PixelEdge *edge) |
Variables | |
DllCoreExport typedef double(* | PixelDistanceFunction )(const Pixel *px1, const Pixel *px2) |
DllCoreExport typedef double(* | EdgeWeightFunction )(const PixelEdge *edge) |
Angle weighted pixel distance. If the pixel's local orientations are not computed, this method defaults to the euclidean distance.
px1 | The first SuperPixel. |
px2 | The second SuperPixel. |
Euclidean distance between the pixel's centers.
px1 | The first SuperPixel. |
px2 | The second SuperPixel. |
double rdf::PixelDistance::euclidean | ( | const PixelEdge * | edge | ) |
double rdf::PixelDistance::orientationWeighted | ( | const PixelEdge * | edge | ) |
double rdf::PixelDistance::spacingWeighted | ( | const PixelEdge * | edge | ) |
Returns the edge weight normalized by the line spacing. This function returns an edge weight that is similar to the one proposed by Il Koo. Hence, it can be used for graphcuts.
edge | The pixel edge. |
DllCoreExport typedef double(* rdf::PixelDistance::EdgeWeightFunction) (const PixelEdge *edge) |
DllCoreExport typedef double(* rdf::PixelDistance::PixelDistanceFunction) (const Pixel *px1, const Pixel *px2) |