casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ImageHanningSmoother.h
Go to the documentation of this file.
1 #ifndef IMAGEANALYSIS_IMAGEHANNINGSMOOTHER_H
2 #define IMAGEANALYSIS_IMAGEHANNINGSMOOTHER_H
3 
5 
6 #include <casa/namespace.h>
7 
8 namespace casa {
9 
10 template <class T> class ImageHanningSmoother : public Image1DSmoother<T> {
11  // <summary>
12  // Top level interface for 1-D hanning smoothing of images.
13  // </summary>
14 
15  // <reviewed reviewer="" date="" tests="" demos="">
16  // </reviewed>
17 
18  // <prerequisite>
19  // </prerequisite>
20 
21  // <etymology>
22  // Hanning smooths an image in one dimension.
23  // </etymology>
24 
25  // <synopsis>
26  // Top level interface for removing image planes.
27  // </synopsis>
28 
29 public:
30 
32  const SPCIIT image,
33  const casacore::Record *const region,
34  const casacore::String& maskInp,
35  const casacore::String& outname, casacore::Bool overwrite
36  );
37 
38  // destructor
40 
41  casacore::String getClass() const { const static casacore::String s = "HanningSmoother"; return s; }
42 
43 protected:
44 
45  SPIIT _smooth(
46  const casacore::ImageInterface<T>& image
47  ) const;
48 
49 private:
50 
51  // disallow default constructor
53 
55 };
56 }
57 
58 #ifndef AIPS_NO_TEMPLATE_SRC
59 #include <imageanalysis/ImageAnalysis/ImageHanningSmoother.tcc>
60 #endif
61 
62 #endif
casacore::Array< T > _hanningSmooth(const casacore::Array< T > &in) const
A base class for astronomical images.
#define SPIIT
Definition: ImageTypedefs.h:34
A hierarchical collection of named fields of various types.
Definition: Record.h:180
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
#define SPCIIT
Definition: ImageTypedefs.h:35
template &lt;class T, class U&gt; class vector;
Definition: MSFlagger.h:37
SPIIT _smooth(const casacore::ImageInterface< T > &image) const
casacore::String getClass() const
String: the storage and methods of handling collections of characters.
Definition: String.h:223
ImageHanningSmoother()
disallow default constructor