|
TuttleOFX
1
|
Data Structures | |
| struct | add_dst_mul_src_channel |
| struct | add_dst_mul_src |
| struct | process1Dresampling |
Functions | |
| template<typename xy_locator , typename SrcP > | |
| void | getPixelsPointers (const xy_locator &loc, const point2< std::ptrdiff_t > &p0, const int &windowWidth, const int &imageWidth, const EParamFilterOutOfImage &outOfImageProcess, std::vector< SrcP > &src) |
| Get pixels around a particular position. | |
| void terry::sampler::details::getPixelsPointers | ( | const xy_locator & | loc, |
| const point2< std::ptrdiff_t > & | p0, | ||
| const int & | windowWidth, | ||
| const int & | imageWidth, | ||
| const EParamFilterOutOfImage & | outOfImageProcess, | ||
| std::vector< SrcP > & | src | ||
| ) |
Get pixels around a particular position.
| [in] | loc | locator which points to a pixel |
| [in] | pt0 | x,y position of loc |
| [in] | windowWidth | the region inside which we search our pixels |
| [out] | ptN | pixel value to retrieve |
it's to use with (B,C) filter number of points need to be even
----------------- | A | B | C | D | ----------------- ^..... loc is pointing to D point
Definition at line 64 of file details.hpp.
References terry::sampler::eParamFilterOutBlack, terry::sampler::eParamFilterOutCopy, terry::sampler::eParamFilterOutMirror, and terry::sampler::eParamFilterOutTransparency.
Referenced by terry::sampler::sample().