3.3.2.24. Template Class FrequencyResampler¶
- Defined in File frequency_resampler.h
3.3.2.24.1. Inheritance Relationships¶
3.3.2.24.1.1. Base Types¶
public sirius::IFrequencyResampler
(Class IFrequencyResampler)private ImageDecompositionPolicy< ZoomStrategy >
3.3.2.24.2. Class Documentation¶
-
template <template< class > class ImageDecompositionPolicy, class ZoomStrategy>
classFrequencyResampler
: 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 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
-