22 #ifndef SIRIUS_RESAMPLER_FREQUENCY_RESAMPLER_H_ 23 #define SIRIUS_RESAMPLER_FREQUENCY_RESAMPLER_H_ 36 template <
template <
class>
class ImageDecompositionPolicy,
class ZoomStrategy>
39 private ImageDecompositionPolicy<ZoomStrategy> {
55 const Filter& filter = {})
const override;
60 const Filter& filter)
const;
69 #include "sirius/resampler/frequency_resampler.txx" 71 #endif // SIRIUS_RESAMPLER_FREQUENCY_RESAMPLER_H_ Interface that frequency resampler should implement.
Definition: i_frequency_resampler.h:39
Definition: exception.h:27
Implementation of IFrequencyResampler.
Definition: frequency_resampler.h:37
FrequencyResampler()=default
Frequency filter.
Definition: filter.h:52
~FrequencyResampler() override=default
Data class that represents zoom ratio as input_resolution/output_resolution.
Definition: types.h:105
Image Compute(const ZoomRatio &ratio, const Image &input, const Padding &image_padding, const Filter &filter={}) const override
Resample an image by a ratio in the frequency domain.
Data class that represents the padding of an image.
Definition: image.h:39
FrequencyResampler & operator=(const FrequencyResampler &)=default
Data class that represents an image (Size + Buffer)
Definition: image.h:65