Sirius
0.0.0
|
Image streamer with monothread or multithread strategies. More...
#include <sirius/image_streamer.h>
Public Member Functions | |
ImageStreamer (const std::string &input_path, const std::string &output_path, const Size &block_size, const ZoomRatio &zoom_ratio, const FilterMetadata &filter_metadata, unsigned int max_parallel_workers) | |
Instanciate an image streamer which will stream input image, apply a resampling transformation and write the result into the output image. More... | |
void | Stream (const IFrequencyResampler &frequency_resampler, const Filter &filter) |
Stream the input image, compute the resampling and stream output data. More... | |
Image streamer with monothread or multithread strategies.
sirius::ImageStreamer::ImageStreamer | ( | const std::string & | input_path, |
const std::string & | output_path, | ||
const Size & | block_size, | ||
const ZoomRatio & | zoom_ratio, | ||
const FilterMetadata & | filter_metadata, | ||
unsigned int | max_parallel_workers | ||
) |
Instanciate an image streamer which will stream input image, apply a resampling transformation and write the result into the output image.
input_path | input image path |
output_path | output image path |
block_size | stream block size |
zoom_ratio | zoom ratio |
filter_metadata | filter metadata |
padding_type | filter padding type |
max_parallel_workers | max parallel workers to compute the zoom on stream blocks |
void sirius::ImageStreamer::Stream | ( | const IFrequencyResampler & | frequency_resampler, |
const Filter & | filter | ||
) |
Stream the input image, compute the resampling and stream output data.
frequency_resampler | requested frequency resampler to apply on stream block |
filter | filter to apply on the stream block |