3.3.2.21. Class IFrequencyResampler¶
- Defined in File i_frequency_resampler.h
3.3.2.21.1. Inheritance Relationships¶
3.3.2.21.1.1. Derived Type¶
public sirius::resampler::FrequencyResampler< ImageDecompositionPolicy, ZoomStrategy >
(Template Class FrequencyResampler)
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 ratioinput
: image to zoom in/outimage_padding
: expected padding to add to the image to comply with the filterfilter
: optional filter to apply after the zoom transformation. The filter must be compatible with the requested ratio.
- Exceptions
sirius::Exception
: if a computing issue happens
-
using