3.3.2.21. Class IFrequencyResampler

3.3.2.21.1. Inheritance Relationships

3.3.2.21.1.1. Derived Type

3.3.2.21.2. Class Documentation

class IFrequencyResampler

Interface that frequency resampler should implement.

Subclassed by sirius::resampler::FrequencyResampler< ImageDecompositionPolicy, ZoomStrategy >

Public Types

using UPtr = std::unique_ptr<IFrequencyResampler>

Public Functions

virtual ~IFrequencyResampler()
virtual Image Compute(const ZoomRatio &zoom_ratio, const Image &input, const Padding &image_padding, const Filter &filter = {}) const = 0

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