OpenCV  5.0.0alpha
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::Formatter Class Referenceabstract

#include <opencv2/core.hpp>

Collaboration diagram for cv::Formatter:

Public Types

enum  FormatType {
  FMT_DEFAULT = 0 ,
  FMT_MATLAB = 1 ,
  FMT_CSV = 2 ,
  FMT_PYTHON = 3 ,
  FMT_NUMPY = 4 ,
  FMT_C = 5
}
 

Public Member Functions

virtual ~Formatter ()
 
virtual Ptr< Formattedformat (const Mat &mtx) const =0
 
virtual void set16fPrecision (int p=4)=0
 
virtual void set32fPrecision (int p=8)=0
 
virtual void set64fPrecision (int p=16)=0
 
virtual void setMultiline (bool ml=true)=0
 

Static Public Member Functions

static Ptr< Formatterget (Formatter::FormatType fmt=FMT_DEFAULT)
 

Detailed Description

Todo
document

Member Enumeration Documentation

◆ FormatType

Enumerator
FMT_DEFAULT 
FMT_MATLAB 
FMT_CSV 
FMT_PYTHON 
FMT_NUMPY 
FMT_C 

Constructor & Destructor Documentation

◆ ~Formatter()

virtual cv::Formatter::~Formatter ( )
virtual

Member Function Documentation

◆ format()

virtual Ptr< Formatted > cv::Formatter::format ( const Mat & mtx) const
pure virtual

◆ get()

static Ptr< Formatter > cv::Formatter::get ( Formatter::FormatType fmt = FMT_DEFAULT)
static

◆ set16fPrecision()

virtual void cv::Formatter::set16fPrecision ( int p = 4)
pure virtual

◆ set32fPrecision()

virtual void cv::Formatter::set32fPrecision ( int p = 8)
pure virtual

◆ set64fPrecision()

virtual void cv::Formatter::set64fPrecision ( int p = 16)
pure virtual

◆ setMultiline()

virtual void cv::Formatter::setMultiline ( bool ml = true)
pure virtual

The documentation for this class was generated from the following file: