3.3.2.23. Class ImageStreamer¶
- Defined in File image_streamer.h
3.3.2.23.1. Class Documentation¶
-
class
ImageStreamer
¶ Image streamer with monothread or multithread strategies.
Public 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.
- Parameters
input_path
: input image pathoutput_path
: output image pathblock_size
: stream block sizezoom_ratio
: zoom ratiofilter_metadata
: filter metadatapadding_type
: filter padding typemax_parallel_workers
: max parallel workers to compute the zoom on stream blocks
-
void
Stream
(const IFrequencyResampler &frequency_resampler, const Filter &filter)¶ Stream the input image, compute the resampling and stream output data.
- Parameters
frequency_resampler
: requested frequency resampler to apply on stream blockfilter
: filter to apply on the stream block
-