#ifndef IPMORPHSELEMFLAT_HH #define IPMORPHSELEMFLAT_HH //////////////////////////////////////////////////////////////////////////// //! author="Robert Crida" //! lib=IPMorph //! date="30/3/98" //! userlevel=Normal //! file="amma/Image/IPStream/IPMorph/IPMorphSElemFlat.hh" //! docentry="Image.Image Processing.Morphology" //! rcsid="$Id: IPMorphSElemFlat.hh,v 1.4 1999/03/29 11:16:58 ees1cg Exp $" #include "amma/Image/IPMorphSElem.hh" // -------------------------------------------------------------------------- // ********** IPMorphSElemFlatC ******************************************* // -------------------------------------------------------------------------- //: Flat rectangular morphological structuring element class. // // Class for flat rectangular grey level morphological operator structuring // elements. They are constructed by providing the number of rows and // columns. The structuring element will be centred on the pixel of interest. class IPMorphSElemFlatC: public IPMorphSElemC { public: IPMorphSElemFlatC (UIntT rows, UIntT cols); //: Constructor //!param: rows - must be odd //!param: cols - must be odd // Specifies the dimensions. The structuring element will be centred on the // pixel of interest. IPMorphSElemFlatC (const IPMorphSElemFlatC &oth); //: Copy constructor virtual IPMorphSElemC & Copy () const; //: Makes a deep copy and is virtual }; #endif