Turi Create  4.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
sampler.hpp File Reference

Nearest-neighbor and bilinear image samplers. NOTE: The code is for example use only. It is not optimized for performance. More...

#include <boost/gil/extension/dynamic_image/dynamic_image_all.hpp>
#include "pixel_numeric_operations.hpp"

Go to the source code of this file.

Classes

struct  boost::gil::nearest_neighbor_sampler
 A sampler that sets the destination pixel to the closest one in the source. If outside the bounds, it doesn't change the destination. More...
 
struct  boost::gil::bilinear_sampler
 A sampler that sets the destination pixel as the bilinear interpolation of the four closest pixels from the source. If outside the bounds, it doesn't change the destination. More...
 

Detailed Description

Nearest-neighbor and bilinear image samplers. NOTE: The code is for example use only. It is not optimized for performance.

Author
Lubomir Bourdev and Hailin Jin
Adobe Systems Incorporated
Date
2005-2007
October 30, 2006

Definition in file sampler.hpp.