Filter Library Camera Interface Physics

ScanFilterDilation.h

00001 /*
00002  * ScanFilterDilation.h - dilation filter.
00003  *
00004  * This file is part of the Camera Filter Library.
00005  * Computer Aided Measurement Environment for Realtime Atomic imaging (Camera)
00006  *
00007  * Copyright (C) 2004-2005, Leiden Probe Microscopy.
00008  * Copyright (C) 2004-2005, Universiteit Leiden.
00009  *
00010  * Authors: M. Seynen (original), Martin J. Moene
00011  *
00012  * $Id: ScanFilterDilation.h 179 2005-05-02 14:20:02Z moene $
00013  */
00014 
00015 #ifndef CFL_SCANFILTERDILATION_H
00016 #define CFL_SCANFILTERDILATION_H
00017 
00018 #if _MSC_VER > 1000
00019 #pragma once
00020 #endif // _MSC_VER > 1000
00021 
00022 #include <cfl/ScanFilter.h>             // for base class
00023 #include <cfl/ScanBaseBuffer.h>         // for ValueType
00024 
00025 /**
00026  * \addtogroup cfl_filterdilation Dilation Filter
00027  * \brief dilation filter.
00028  *
00029 
00030 <h3>Purpose</h3>
00031 
00032 <h3>Description</h3>
00033 
00034 <h3>Algorithm</h3>
00035 
00036 
00037 \f[
00038    \textrm{B} = \textrm{A}
00039 \f]
00040 
00041 <h3>Examples</h3>
00042 Try to find some interesting pictures for most filters.
00043 
00044 <h3>Contact</h3>
00045 Dipl.phys. M.J. Rost<br>
00046 Huygens Laboratorium<br>
00047 Universiteit Leiden<br>
00048 Niels Bohrweg 2<br>
00049 2333 CA Leiden, The Netherlands<br>
00050 <br>
00051 Tel: +31 71 5275600<br>
00052 Fax: +31 71 5275404<br>
00053 <br>
00054 E-mail: rost@physics.LeidenUniv.nl<br>
00055 Web: http://www.geocities.com/marcel_rost/<br>
00056 
00057  *
00058  * @{
00059  */
00060 
00061 DECLARE_CLASS( CScanFilterDilation );   // create various types
00062 
00063 /**
00064  * \brief dilation filter.
00065  *
00066  */
00067 class CScanFilterDilation : public CScanFilter
00068 {
00069 public:
00070         CScanFilterDilation();
00071         virtual ~CScanFilterDilation();
00072 
00073         virtual BOOL    Apply();
00074 
00075         virtual BOOL    CanDoDialogEntry() const { return FALSE; };
00076 
00077         virtual BOOL    SetParameters(LPCTSTR lpParameters);
00078         virtual LPCTSTR GetParameters() const;
00079         static LPCTSTR m_lpcsFilterName;
00080 
00081    /**
00082     * the class short filtername.
00083     */
00084    static LPCTSTR m_lpcsShortFilterName;
00085 
00086 protected:
00087         
00088         virtual void Serialize(CArchive& ar);
00089 
00090         DECLARE_SERIAL(CScanFilterDilation)
00091         void Dilation(DWORD dwOffset);
00092 
00093 };
00094 
00095 /// @} cfl_filterdilation
00096 
00097 #endif // CFL_SCANFILTERDILATION_H
00098 
00099 /*
00100  * end of file
00101  */
00102 

Camera Filter Library documentation © 2004-2007 by Leiden Probe Microscopy