WIL説明書(C++)  3.0.0
FvBlobParam.h
[詳解]
1 // $Revision: 1.1 $
2 /*
3  @file FvBlobParam.h
4  @brief CFvBlobParam class interface
5  @author FAST Corporation
6 */
7 
8 #ifndef _FVBLOBPARAM_H_INCLUDED_
9 #define _FVBLOBPARAM_H_INCLUDED_
10 
11 #include "Data/FvDataObject.h"
12 #include "Data/FvAngle.h"
13 #include "Data/FvRectangle.h"
14 
15 #pragma pack(push,_FVCL_PACKING)
16 
17 namespace FVCL
18 {
19 namespace Blob
20 {
21 
23 {
31 };
32 
34 {
35 private:
36  void _Constructor();
37 
38 public:
39  CFvBlobParam();
40  CFvBlobParam( const CFvBlobParam& src );
41  CFvBlobParam( const tagMEASURE_PARAMS& src );
42  CFvBlobParam( const F_MEASURE_PARAMS& src );
43  virtual ~CFvBlobParam();
44 
45  enum { DataID = 1102 };
46 
47  virtual INT GetDataID() const;
48  virtual bool GetPointer( INT id, void** val ) const;
49 
50  bool SetMaxRuns( UINT max_runs );
51  UINT GetMaxRuns() const;
52 
53  bool SetMaxBlobs( UINT max_blobs );
54  UINT GetMaxBlobs() const;
55 
56  bool SetMaxRows( INT max_rows );
57  INT GetMaxRows() const;
58 
59  bool SetColorMode( INT mode );
60  INT GetColorMode() const;
61 
62  bool SetNeighborhood( UINT neighborhood );
63  UINT GetNeighborhood() const;
64 
65  bool SetPrecalcFeatures( UINT64 features );
66  UINT64 GetPrecalcFeatures() const;
67 
68  bool SetKeepResultsAfterOverflow( bool keep );
69  bool GetKeepResultsAfterOverflow() const;
70 
71  virtual CFvBlobParam& operator = ( const CFvBlobParam& src );
72  virtual CFvBlobParam& operator = ( const tagMEASURE_PARAMS& src );
73  virtual CFvBlobParam& operator = ( const F_MEASURE_PARAMS& src );
74  virtual bool operator == ( const CFvBlobParam& src ) const;
75  virtual bool operator != ( const CFvBlobParam& src ) const;
76 
77  virtual operator tagMEASURE_PARAMS() const;
78  virtual operator F_MEASURE_PARAMS() const;
79 
80  void GetStructure( tagMEASURE_PARAMS* data ) const;
81  void GetStructure( F_MEASURE_PARAMS* data ) const;
82 
83 protected:
85 };
86 
87 } // Blob
88 
89 } // FVCL
90 
91 #pragma pack(pop)
92 
93 #endif // _FVBLOBPARAM_H_INCLUDED_
#define FVCL_API
DLLエクスポートマクロ
Definition: FvMacros.h:61
uint64_t UINT64
整数型(64ビット)[符号なし]
Definition: FvDefs.h:42
BOOL keep_results_after_overflow
オーバーフローエラー発生時の結果維持オプション
Definition: FvBlobParam.h:30
FVCLのネームスペース
Definition: EVCbasicDeclare.txt:9
UINT neighborhood
連結条件
Definition: FvBlobParam.h:28
int INT
整数型(32ビット)
Definition: FvDefs.h:36
2値ブローブ解析処理パラメータ構造クラス
Definition: FvBlobParam.h:33
INT color_mode
対象色モード
Definition: FvBlobParam.h:27
データオブジェクトの基本クラス
Definition: FvDataObject.h:20
UINT max_runs
最大ラン数
Definition: FvBlobParam.h:24
INT max_rows
最大行数
Definition: FvBlobParam.h:26
矩形構造クラスのインターフェース
int BOOL
ブーリアン型
Definition: FvDefs.h:31
unsigned int UINT
整数型(32ビット)[符号なし]
Definition: FvDefs.h:37
tagMEASURE_PARAMS m_Param
2値ブローブ解析処理パラメータ
Definition: FvBlobParam.h:84
角度構造クラスのインターフェース
UINT64 precalc_features
事前計算特徴量
Definition: FvBlobParam.h:29
データオブジェクトの基本クラスのインターフェース
2値ブローブ解析処理パラメータ構造体
Definition: FvBlobParam.h:22
UINT max_blobs
最大ブローブ数
Definition: FvBlobParam.h:25

Documentation copyright © 2007 FAST Corporation. [B-001864]
Generated on 2023年11月02日(木) 10時12分53秒 for WIL説明書(C++) by doxygen 1.8.11