Turi Create
4.0
|
support for generic image resampling NOTE: The code is for example use only. It is not optimized for performance More...
#include <boost/lambda/lambda.hpp>
#include <boost/lambda/bind.hpp>
#include <boost/gil/extension/dynamic_image/dynamic_image_all.hpp>
#include "affine.hpp"
Go to the source code of this file.
Classes | |
struct | boost::gil::mapping_traits< MapFn > |
Define affine mapping that transforms the source coordinates by the affine transformation. More... | |
Functions | |
template<typename Sampler , typename SrcView , typename DstView , typename MapFn > | |
void | boost::gil::resample_pixels (const SrcView &src_view, const DstView &dst_view, const MapFn &dst_to_src, Sampler sampler=Sampler()) |
Set each pixel in the destination view as the result of a sampling function over the transformed coordinates of the source viewThe provided implementation works for 2D image views only. | |
template<typename Sampler , typename Types1 , typename V2 , typename MapFn > | |
void | boost::gil::resample_pixels (const any_image_view< Types1 > &src, const V2 &dst, const MapFn &dst_to_src, Sampler sampler=Sampler()) |
resample_pixels when the source is run-time specified If invoked on incompatible views, throws std::bad_cast() | |
template<typename Sampler , typename V1 , typename Types2 , typename MapFn > | |
void | boost::gil::resample_pixels (const V1 &src, const any_image_view< Types2 > &dst, const MapFn &dst_to_src, Sampler sampler=Sampler()) |
resample_pixels when the destination is run-time specified If invoked on incompatible views, throws std::bad_cast() | |
template<typename Sampler , typename SrcTypes , typename DstTypes , typename MapFn > | |
void | boost::gil::resample_pixels (const any_image_view< SrcTypes > &src, const any_image_view< DstTypes > &dst, const MapFn &dst_to_src, Sampler sampler=Sampler()) |
resample_pixels when both the source and the destination are run-time specified If invoked on incompatible views, throws std::bad_cast() | |
support for generic image resampling NOTE: The code is for example use only. It is not optimized for performance
Definition in file resample.hpp.