Sirius
0.0.0
|
Interface that frequency resampler should implement. More...
#include <sirius/i_frequency_resampler.h>
Public Types | |
using | UPtr = std::unique_ptr< IFrequencyResampler > |
Public Member Functions | |
virtual | ~IFrequencyResampler ()=default |
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. More... | |
Interface that frequency resampler should implement.
using sirius::IFrequencyResampler::UPtr = std::unique_ptr<IFrequencyResampler> |
|
virtualdefault |
|
pure virtual |
Resample an image by a ratio in the frequency domain.
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. |
sirius::Exception | if a computing issue happens |
Implemented in sirius::resampler::FrequencyResampler< ImageDecompositionPolicy, ZoomStrategy >.