Sirius  0.0.0
zero_padding_strategy.h
Go to the documentation of this file.
1 
22 #ifndef SIRIUS_ZOOM_ZOOM_STRATEGY_ZERO_PADDING_STRATEGY_H_
23 #define SIRIUS_ZOOM_ZOOM_STRATEGY_ZERO_PADDING_STRATEGY_H_
24 
25 #include "sirius/filter.h"
26 #include "sirius/image.h"
27 
28 #include "sirius/fftw/types.h"
29 
30 namespace sirius {
31 namespace resampler {
32 
37  public:
38  Image Zoom(int zoom, const Image& padded_image, const Filter& filter) const;
39 
40  private:
41  fftw::ComplexUPtr ZeroPadFFT(int zoom, const Image& image,
42  fftw::ComplexUPtr image_fft) const;
43 };
44 
45 } // namespace resampler
46 } // namespace sirius
47 
48 #endif // SIRIUS_ZOOM_ZOOM_STRATEGY_ZERO_PADDING_STRATEGY_H_
Definition: exception.h:27
Frequency filter.
Definition: filter.h:52
std::unique_ptr<::fftw_complex[], detail::ComplexDeleter > ComplexUPtr
Definition: types.h:57
Implementation of zero padding frequency zoom.
Definition: zero_padding_strategy.h:36
Image Zoom(int zoom, const Image &padded_image, const Filter &filter) const
Data class that represents an image (Size + Buffer)
Definition: image.h:65