Sirius  0.0.0
Public Member Functions | List of all members
sirius::ImageStreamer Class Reference

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...
 

Detailed Description

Image streamer with monothread or multithread strategies.

Constructor & Destructor Documentation

◆ ImageStreamer()

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.

Parameters
input_pathinput image path
output_pathoutput image path
block_sizestream block size
zoom_ratiozoom ratio
filter_metadatafilter metadata
padding_typefilter padding type
max_parallel_workersmax parallel workers to compute the zoom on stream blocks

Member Function Documentation

◆ Stream()

void sirius::ImageStreamer::Stream ( const IFrequencyResampler frequency_resampler,
const Filter filter 
)

Stream the input image, compute the resampling and stream output data.

Parameters
frequency_resamplerrequested frequency resampler to apply on stream block
filterfilter to apply on the stream block

The documentation for this class was generated from the following file: