Direct Graphical Models  v.1.7.0
DirectGraphicalModels::vis Namespace Reference

Namespaces

 colorspaces
 Color space transformations.
 

Classes

class  CCameraControl
 Trackball camera control class. More...
 
class  CMarker
 Marker class. More...
 
class  CMarkerHistogram
 Histogram Marker class. More...
 
class  CTrackballCamera
 Trackball camera class. More...
 

Typedefs

using vec_vec3_t = std::vector< glm::vec3 >
 

Enumerations

enum  default_pallete {
  DEF_PALETTE_3, DEF_PALETTE_3_INV, DEF_PALETTE_6, DEF_PALETTE_6_INV,
  DEF_PALETTE_12, DEF_PALETTE_12_INV, DEF_PALETTE_24, DEF_PALETTE_24_INV,
  DEF_PALETTE_24_M, DEF_PALETTE_36, DEF_PALETTE_36_INV, DEF_PALETTE_72,
  DEF_PALETTE_72_INV
}
 Default palettes. More...
 
enum  mark_flags {
  MARK_GRID = 1, MARK_OVER = 2, MARK_NO_ZERO = 4, MARK_BW = 8,
  MARK_PERCLASS = 16, MARK_PERCENT = 128
}
 Visualization flags. More...
 

Functions

Mat drawDictionary (const Mat &dictionary, double m=1)
 Visualizes a sparse coding dictionary. More...
 
Mat drawGraph (int size, IGraphPairwise &graph, std::function< Point2f(size_t)> posFunc, std::function< cv::Scalar(size_t)> colorFunc=nullptr, const vec_scalar_t &groupsColor=vec_scalar_t())
 Visualizes the graph structure. More...
 
void showGraph3D (int size, IGraphPairwise &graph, std::function< Point3f(size_t)> posFunc, std::function< cv::Scalar(size_t)> colorFunc=nullptr, const vec_scalar_t &groupsColor=vec_scalar_t())
 Visualizes the graph structure in 3D. More...
 

Variables

const byte bkgIntencity = 50
 

Typedef Documentation

◆ vec_vec3_t

using DirectGraphicalModels::vis::vec_vec3_t = typedef std::vector<glm::vec3>

Definition at line 131 of file MarkerGraph.cpp.

Enumeration Type Documentation

◆ default_pallete

Default palettes.

Enumerator
DEF_PALETTE_3 

Default Pallete with 3 colors.

DEF_PALETTE_3_INV 

Default Pallete with 3 colors.

DEF_PALETTE_6 

Default Pallete with 6 colors.

DEF_PALETTE_6_INV 

Default Pallete with 6 colors.

DEF_PALETTE_12 

Default Pallete with 12 colors.

DEF_PALETTE_12_INV 

Default Pallete with 12 colors.

DEF_PALETTE_24 

Default Pallete with 24 colors.

DEF_PALETTE_24_INV 

Default Pallete with 24 colors.

DEF_PALETTE_24_M 

Default Pallete with 24 colors.

DEF_PALETTE_36 

Default Pallete with 36 colors.

DEF_PALETTE_36_INV 

Default Pallete with 36 colors.

DEF_PALETTE_72 

Default Pallete with 72 colors.

DEF_PALETTE_72_INV 

Default Pallete with 72 colors.

Definition at line 42 of file Marker.h.

◆ mark_flags

Visualization flags.

Used in CMarker::markClasses() and CMarker::markPotentials() functions.

Enumerator
MARK_GRID 

Visualizes only the odd pixels.

MARK_OVER 

Blends the base image.

MARK_NO_ZERO 

The class with index 0 will not be visualized.

MARK_BW 

Mark in "black and white" palette.

MARK_PERCLASS 

Mark per-class accuracies in the confusion matrix.

MARK_PERCENT 

Adds percent symbol to the output text values.

Definition at line 61 of file Marker.h.

Variable Documentation

◆ bkgIntencity

const byte DirectGraphicalModels::vis::bkgIntencity = 50

Definition at line 18 of file MarkerGraph.cpp.