BoxFilter.h
Go to the documentation of this file.00001 /**<!--------------------------------------------------------------------> 00002 @class BoxFilter 00003 @author Travis Fischer (fisch0920@gmail.com) 00004 @author Matthew Jacobs (jacobs.mh@gmail.com) 00005 @date Fall 2008 00006 00007 @brief 00008 2D symmetric box filter (unweighted area filtering) 00009 <!-------------------------------------------------------------------->**/ 00010 00011 #ifndef BOX_FILTER_H_ 00012 #define BOX_FILTER_H_ 00013 00014 #include <filters/KernelFilter.h> 00015 00016 class BoxFilter : public KernelFilter { 00017 public: 00018 ///@name Constructors 00019 //@{----------------------------------------------------------------- 00020 00021 inline BoxFilter(real_t support = 2) 00022 : KernelFilter(support) 00023 { } 00024 00025 virtual ~BoxFilter() 00026 { } 00027 00028 00029 //@}----------------------------------------------------------------- 00030 ///@name Main usage interface 00031 //@{----------------------------------------------------------------- 00032 00033 /** 00034 * @returns the value of this filter function evaluated at the given 00035 * point 00036 */ 00037 virtual real_t evaluate(const Vector2 &pt); 00038 00039 00040 //@}----------------------------------------------------------------- 00041 }; 00042 00043 #endif // BOX_FILTER_H_ 00044
Generated on 28 Feb 2009 for Milton by
1.5.6