Sirius  0.0.0
periodic_smooth_policy.h
Go to the documentation of this file.
1 
22 #ifndef SIRIUS_RESAMPLER_IMAGE_DECOMPOSITION_PERIODIC_SMOOTH_POLICY_H_
23 #define SIRIUS_RESAMPLER_IMAGE_DECOMPOSITION_PERIODIC_SMOOTH_POLICY_H_
24 
25 #include "sirius/filter.h"
26 #include "sirius/image.h"
27 
28 namespace sirius {
29 namespace resampler {
30 
36 template <class ZoomStrategy>
37 class ImageDecompositionPeriodicSmoothPolicy : private ZoomStrategy {
38  public:
39  Image DecomposeAndZoom(int zoom, const Image& even_image,
40  const Filter& filter) const;
41 
42  private:
43  Image Interpolate2D(int zoom, const Image& even_image) const;
44 };
45 
46 } // namespace resampler
47 } // namespace sirius
48 
49 #include "sirius/resampler/image_decomposition/periodic_smooth_policy.txx"
50 
51 #endif // SIRIUS_RESAMPLER_IMAGE_DECOMPOSITION_PERIODIC_SMOOTH_POLICY_H_
Definition: exception.h:27
Frequency filter.
Definition: filter.h:52
Image DecomposeAndZoom(int zoom, const Image &even_image, const Filter &filter) const
Data class that represents an image (Size + Buffer)
Definition: image.h:65
Implementation of Periodic plus Smooth image decomposition
Definition: periodic_smooth_policy.h:37