EdgeHandling.hpp
1 #ifndef OPALS_EDGE_HANDLING_HPP_INCLUDED
2 #define OPALS_EDGE_HANDLING_HPP_INCLUDED
3 
4 #include <opals/config.hpp>
5 
6 namespace opals
7 {
8  /// Enumerator defining different strategies for handling the image border pixels
9  namespace EdgeHandling
10  {
11  enum Type
12  {
13  trend , ///< Pixels beyond the image edge are linearly extrapolated based on the nearest and second nearest pixel value
14  mirror , ///< Pixels beyond the image edge are mirrored, so the order of pixels is inverse.
15  propagate , ///< Pixels from the image border are propagated beyond the image edge.
16  nodata , ///< Pixels beyond the image edge considered as nodata values. See noDataHandling parameter
17  Count ///< number of elements
18  };
19  }
20 }
21 
22 #endif