mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Image padding. More...
Image padding.
Definition in file imagePads.hpp.
Go to the source code of this file.
Namespaces | |
mx | |
The mxlib c++ namespace. | |
Functions | |
template<typename imOutT , typename imInT > | |
int | mx::improc::padImage (imOutT &imOut, imInT &imIn, unsigned int padSz, typename imOutT::Scalar value) |
Pad an image with a constant value. More... | |
template<typename imOutT , typename imInT > | |
int | mx::improc::padImageRef (imOutT imOut, imInT imIn, unsigned int padSz, typename imOutT::Scalar value) |
Pad an image with a constant value for reference types. More... | |
template<typename imOutT , typename imInT > | |
int | mx::improc::padImage (imOutT &imOut, imInT &imIn, unsigned int padSz) |
Pad an image by repeating the values in the edge rows and columns. More... | |
template<typename imOutT , typename imInT > | |
int | mx::improc::padImage (imOutT &imOut, imInT &imIn, imInT &imMask, unsigned int padSz) |
Pad an image by repeating the values at the edge of a 1/0 mask. More... | |
template<typename imOutT , typename imInT > | |
int | mx::improc::cutPaddedImage (imOutT &imOut, const imInT &imIn, unsigned int padSz) |
Cut down a padded image. More... | |