WIL説明書(C++)  3.0.0
FvBoxEdge.h
[詳解]
1 // $Revision: 1.3 $
2 /*
3  @file FvBoxEdge.h
4  @brief CFvBoxEdge class interface
5  @author FAST Corporation
6 */
7 
8 #ifndef _FVBOXEDGE_H_INCLUDED_
9 #define _FVBOXEDGE_H_INCLUDED_
10 
11 #include "FvEdge.h"
12 
13 #pragma pack(push,_FVCL_PACKING)
14 
15 namespace FVCL
16 {
17 namespace Edge
18 {
19 
20 class FVCL_API CFvBoxEdge : public CFvEdge
21 {
22 private:
23  void _Constructor();
24 
25 public:
26  static void Revision( int value );
27  static int Revision();
28 
29 public:
30  CFvBoxEdge();
31  CFvBoxEdge( const FVCL::Data::CFvImage* src, CFvEdgeResult* result );
32  virtual ~CFvBoxEdge();
33 
34  enum
35  {
36  SrcImageCount = 1,
37  DstImageCount = 0
38  };
39 
40  virtual bool Execute();
41  virtual bool IsValid() const;
42  virtual bool Validate( INT option = 0 ) const;
43  virtual FVCL::ImageSize GetValidSize( INT index, INT option = 0 ) const;
44  static INT CheckValidity( const FVCL::Data::CFvImage& src );
45 
46  bool SetBox( const FVCL::Data::CFvRectangle& box );
47  const FVCL::Data::CFvRectangle& GetBox() const;
48 
49  bool SetNumber( INT number );
50  INT GetNumber() const;
51 
52  bool SetScanDirection( INT direction );
53  INT GetScanDirection() const;
54 
55  bool SetThreshold( INT threshold );
56  INT GetThreshold() const;
57 
58  bool SetLineWidth( INT width );
59  INT GetLineWidth() const;
60 
61  bool SetEdgeDirection( INT direction );
62  INT GetEdgeDirection() const;
63 
64  bool SetLen( INT len );
65  INT GetLen() const;
66 
67  bool SetFoot( INT foot );
68  INT GetFoot() const;
69 
70  bool SetAround( INT around );
71  INT GetAround() const;
72 
73  bool SetMaxThreshold( INT threshold );
74  INT GetMaxThreshold() const;
75 
76  virtual CFvBoxEdge& operator = ( const CFvBoxEdge& src );
77  virtual bool operator == ( const CFvBoxEdge& src ) const;
78  virtual bool operator != ( const CFvBoxEdge& src ) const;
79 
80 protected:
91 };
92 
93 } // Edge
94 } // FVCL
95 
96 #pragma pack(pop)
97 
98 #endif // _FVBOXEDGE_H_INCLUDED_
#define FVCL_API
DLLエクスポートマクロ
Definition: FvMacros.h:61
1次元エッジ検出クラス(箱指定)
Definition: FvBoxEdge.h:20
INT m_EdgeDirection
エッジ極性
Definition: FvBoxEdge.h:86
INT m_Around
サブピクセル計算影響範囲
Definition: FvBoxEdge.h:89
INT m_MaxThreshold
ピーク閾値
Definition: FvBoxEdge.h:90
INT m_ScanDirection
検出線方向
Definition: FvBoxEdge.h:83
INT m_LineWidth
検出線プロジェクション片幅
Definition: FvBoxEdge.h:85
INT m_Threshold
エッジ検出閾値
Definition: FvBoxEdge.h:84
画像サイズ情報クラス
Definition: ImageSize.h:21
FVCLのネームスペース
Definition: EVCbasicDeclare.txt:9
エッジ検出結果クラス
Definition: FvEdgeResult.h:22
FVCL::Data::CFvRectangle m_Box
検出箱
Definition: FvBoxEdge.h:81
INT m_Number
検出線数
Definition: FvBoxEdge.h:82
int INT
整数型(32ビット)
Definition: FvDefs.h:36
エッジ検出基本クラス
Definition: FvEdge.h:22
エッジ検出基本クラスのインターフェース
矩形構造クラス
Definition: FvRectangle.h:37
INT m_Len
微分フィルタ
Definition: FvBoxEdge.h:87
画像オブジェクト
Definition: FvImage.h:64
INT m_Foot
微分フィルタ
Definition: FvBoxEdge.h:88

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