WIL説明書(C++)  3.0.0
FvAnyCrossThreshold.h
[詳解]
1 // $Revision: 1.2 $
2 /*
3  @file FvAnyCrossThreshold.h
4  @brief CFvAnyCrossThreshold 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  CFvAnyCrossThreshold( const FVCL::Data::CFvImage* src, FVCL::Data::CFvImage* dst, INT neib, DOUBLE bias, DOUBLE color, DOUBLE threshold );
28  virtual ~CFvAnyCrossThreshold();
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 CFvAnyCrossThreshold& operator = ( const CFvAnyCrossThreshold& src );
44  virtual bool operator == ( const CFvAnyCrossThreshold& src ) const;
45  virtual bool operator != ( const CFvAnyCrossThreshold& src ) const;
46 
47  virtual bool SetNeib( INT value );
48  virtual INT GetNeib() const;
49 
50  virtual bool SetBias( DOUBLE value );
51  virtual DOUBLE GetBias() const;
52 
53  virtual bool SetColor( DOUBLE value );
54  virtual DOUBLE GetColor() const;
55 
56  virtual bool SetThreshold( DOUBLE value );
57  virtual DOUBLE GetThreshold() const;
58 
59 protected:
64 };
65 
66 } // Filter
67 } // FVCL
68 
69 #pragma pack(pop)
#define FVCL_API
DLLエクスポートマクロ
Definition: FvMacros.h:61
フィルタ基本クラスのインターフェース
画像サイズ情報クラス
Definition: ImageSize.h:21
FVCLのネームスペース
Definition: EVCbasicDeclare.txt:9
INT m_Neib
近傍(4/8)
Definition: FvAnyCrossThreshold.h:60
DOUBLE m_Color
エッジ箇所に入れる値
Definition: FvAnyCrossThreshold.h:62
int INT
整数型(32ビット)
Definition: FvDefs.h:36
double DOUBLE
倍精度浮動小数点型(64ビット)
Definition: FvDefs.h:62
DOUBLE m_Threshold
変化量のための閾値
Definition: FvAnyCrossThreshold.h:63
DOUBLE m_Bias
0 とみなす値
Definition: FvAnyCrossThreshold.h:61
フィルタ基本クラス
Definition: FvFilter.h:21
画像オブジェクト
Definition: FvImage.h:64
任意値クロスフィルタ (閾値指定)
Definition: FvAnyCrossThreshold.h:19

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