KSquare Utilities
MorphOpMaskExclude.h
Go to the documentation of this file.
1 /* MorphOpMaskExclude.cpp -- Used to exclude specified region.
2  * Copyright (C) 1994-2014 Kurt Kramer
3  * For conditions of distribution and use, see copyright notice in KKB.h
4  */
5 
6 #ifndef _MORPHOPMASKEXCLUDE_
7 #define _MORPHOPMASKEXCLUDE_
8 /**
9  *@class KKB::MorphOp
10  *@brief Creates a image where the only pixels that are passed thru are the
11  * ones that would be removed by the specified mask when a Open-Dilatation operation
12  * are performed.
13  *
14  *@see KKB::Raster
15  */
16 
17 
18 #include "KKBaseTypes.h"
19 #include "MorphOp.h"
20 
21 
22 #if !defined(_RASTER_)
23 namespace KKB
24 {
25  class Raster;
26  typedef Raster* RasterPtr;
27  typedef Raster const* RasterConstPtr;
28 }
29 #endif
30 
31 
32 
33 namespace KKB
34 {
35  class MorphOpMaskExclude : public MorphOp
36  {
37  public:
39 
40  virtual ~MorphOpMaskExclude ();
41 
43 
44  virtual RasterPtr PerformOperation (RasterConstPtr _image);
45 
47 
48  private:
49  MaskTypes mask;
50  }; /* MorphOpMaskExclude */
51 
53 
54 } /* KKB */
55 
56 
57 
58 
59 #endif
virtual RasterPtr PerformOperation(RasterConstPtr _image)
__int32 kkint32
Definition: KKBaseTypes.h:88
MorphOpMaskExclude * MorphologicalOperatorMastPtr
virtual OperationType Operation() const
A class that is used by to represent a single image in memory.
Definition: Raster.h:108
KKTHread * KKTHreadPtr
MorphOpMaskExclude(MaskTypes _mask)
Base class for all Morphological operations.
Definition: MorphOp.h:44