WIL説明書(C++)  3.0.0
FvZeroCrossThreshold.h
[詳解]
1 // $Revision: 1.2 $
2 /*
3  @file FvZeroCrossThreshold.h
4  @brief CFvZeroCrossThreshold class interface
5  @author FAST Corporation
6 */
7 
8 #pragma once
9 
10 #include "Filter/FvFilter.h"
11 
12 #pragma pack(push,_FVCL_PACKING)
13 
14 namespace FVCL
15 {
16 namespace Filter
17 {
18 
20 {
21 private:
22  void _Constructor();
23 
24 public:
27  CFvZeroCrossThreshold( const FVCL::Data::CFvImage* src, FVCL::Data::CFvImage* dst, INT neib, DOUBLE color, DOUBLE threshold );
28  virtual ~CFvZeroCrossThreshold();
29 
30  enum
31  {
32  SrcImageCount = 1,
33  DstImageCount = 1
34  };
35 
36  virtual bool Execute();
37  virtual bool IsValid() const;
38  virtual bool Validate( INT option = 0 ) const;
39  virtual FVCL::ImageSize GetValidSize( INT index, INT option = 0 ) const;
40  static INT CheckValidity( const FVCL::Data::CFvImage& src );
41  static INT CheckValidityDst( const FVCL::Data::CFvImage& dst );
42 
43  virtual CFvZeroCrossThreshold& operator = ( const CFvZeroCrossThreshold& src );
44  virtual bool operator == ( const CFvZeroCrossThreshold& src ) const;
45  virtual bool operator != ( const CFvZeroCrossThreshold& src ) const;
46 
47  virtual bool SetNeib( INT value );
48  virtual INT GetNeib() const;
49 
50  virtual bool SetColor( DOUBLE value );
51  virtual DOUBLE GetColor() const;
52 
53  virtual bool SetThreshold( DOUBLE value );
54  virtual DOUBLE GetThreshold() const;
55 
56 protected:
60 };
61 
62 } // Filter
63 } // FVCL
64 
65 #pragma pack(pop)
#define FVCL_API
DLLエクスポートマクロ
Definition: FvMacros.h:61
DOUBLE m_Color
エッジ箇所に入れる値
Definition: FvZeroCrossThreshold.h:58
フィルタ基本クラスのインターフェース
INT m_Neib
近傍(4/8)
Definition: FvZeroCrossThreshold.h:57
画像サイズ情報クラス
Definition: ImageSize.h:21
FVCLのネームスペース
Definition: EVCbasicDeclare.txt:9
int INT
整数型(32ビット)
Definition: FvDefs.h:36
DOUBLE m_Threshold
変化量のための閾値
Definition: FvZeroCrossThreshold.h:59
double DOUBLE
倍精度浮動小数点型(64ビット)
Definition: FvDefs.h:62
ゼロクロスフィルタ (閾値指定)
Definition: FvZeroCrossThreshold.h:19
フィルタ基本クラス
Definition: FvFilter.h:21
画像オブジェクト
Definition: FvImage.h:64

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