3.3.2.24. Template Class FrequencyResampler

3.3.2.24.1. Inheritance Relationships

3.3.2.24.1.1. Base Types

3.3.2.24.2. Class Documentation

template <template< class > class ImageDecompositionPolicy, class ZoomStrategy>
class FrequencyResampler : public sirius::IFrequencyResampler, ImageDecompositionPolicy<ZoomStrategy>

Implementation of IFrequencyResampler.

Public Functions

FrequencyResampler()
FrequencyResampler(const FrequencyResampler&)
FrequencyResampler &operator=(const FrequencyResampler&)
FrequencyResampler(FrequencyResampler&&)
FrequencyResampler &operator=(FrequencyResampler&&)
~FrequencyResampler()
Image Compute(const ZoomRatio &zoom_ratio, const Image &input, const Padding &image_padding, const Filter &filter = {}) const

Resample an image by a ratio in the frequency domain.

Remark
This method is thread safe
Return
Zoomed in/out image
Parameters
  • zoom_ratio: zoom ratio
  • input: image to zoom in/out
  • image_padding: expected padding to add to the image to comply with the filter
  • filter: optional filter to apply after the zoom transformation. The filter must be compatible with the requested ratio.
Exceptions