12 const static Scalar colors24[] =
112 DllExport
void markClasses(Mat &base,
const Mat &classes, byte flag = 0)
const;
122 DllExport Mat
drawPotentials(
const Mat &potential, byte flag = 0)
const;
140 Mat
drawVector(
const Mat &potential, byte flag)
const;
141 Mat
drawMatrix(
const Mat &potential, byte flag)
const;
142 Mat
drawVoxel (
const Mat &potential, byte flag)
const;
145 void drawSquare(Mat &img, byte x, byte y,
const Scalar &color, T val,
double fontScale = 1.0, byte
textProp = 0)
const;
147 void drawRectangle(Mat &img, Point pt1, Point pt2,
const Scalar &color,
const std::string &str = std::string(),
double fontScale = 1.0, byte
textProp =
TP_CENTER)
const;
172 DllExport Mat
drawDictionary(
const Mat &dictionary,
double m = 1);
Mat drawVoxel(const Mat &potential, byte flag) const
void drawSquare(Mat &img, byte x, byte y, const Scalar &color, T val, double fontScale=1.0, byte textProp=0) const
Default Pallete with 3 colors.
void drawRectangle(Mat &img, Point pt1, Point pt2, const Scalar &color, float val, double fontScale=1.0, byte textProp=TP_CENTER) const
Default Pallete with 12 colors.
Mark per-class accuracies in the confusion matrix.
The class with index 0 will not be visualized.
Default Pallete with 24 colors.
Default Pallete with 72 colors.
static const byte bkgIntencity
std::vector< std::pair< Scalar, std::string > > vec_nColor_t
Default Pallete with 72 colors.
Mat drawConfusionMatrix(const Mat &confusionMat, byte flag=0) const
Visualizes a confusion matrix.
Default Pallete with 36 colors.
Default Pallete with 24 colors.
Default Pallete with 36 colors.
Default Pallete with 12 colors.
Visualizes only the odd pixels.
CMarker(default_pallete palette=DEF_PALETTE_12)
Constructor with a default palette.
Mat drawDictionary(const Mat &dictionary, double m)
Visualizes a sparse coding dictionary.
static const byte frgIntensity
Default Pallete with 3 colors.
void markClasses(Mat &base, const Mat &classes, byte flag=0) const
Visualizes the classes.
default_pallete
Default palettes.
Mat drawVector(const Mat &potential, byte flag) const
Default Pallete with 24 colors.
Mark in "black and white" palette.
Mat drawMatrix(const Mat &potential, byte flag) const
mark_flags
Visualization flags.
Default Pallete with 6 colors.
Adds percent symbol to the output text values.
Default Pallete with 6 colors.
vec_nColor_t m_vPalette
Pointer to the container with the palette.
const CMarker & operator=(const CMarker &)=delete
Mat drawPotentials(const Mat &potential, byte flag=0) const
Visualizes the potentials.