boost::gil::scale_lanczos
Complete Lanczos algorithm
Synopsis
template<typename ImageView>
void
scale_lanczos(
ImageView input_view,
ImageView output_view,
std::ptrdiff_t a);
Description
This algorithm does full pass over resulting image and convolves pixels from original image. Do note that it might be a good idea to have a look at test output as there might be ringing artifacts. Based on wikipedia article: https://en.wikipedia.org/wiki/Lanczos_resampling with standardinzed cardinal sin (sinc)
Created with MrDocs