cv::Formatter Class Reference abstract 核心功能 » 基本结构


#include <opencv2/core.hpp>

公共类型

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 < Formatted format (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 < Formatter get ( Formatter::FormatType fmt= FMT_DEFAULT )
 

详细描述

Todo:
document

Member Enumeration Documentation

◆  FormatType

枚举器
FMT_DEFAULT 
FMT_MATLAB 
FMT_CSV 
FMT_PYTHON 
FMT_NUMPY 
FMT_C 

Constructor & Destructor Documentation

◆  ~Formatter()

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

成员函数文档编制

◆  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: