mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches
imagePads.hpp File Reference

Image padding. More...

Image padding.

Author
Jared R. Males (jared.nosp@m.male.nosp@m.s@gma.nosp@m.il.c.nosp@m.om)

Definition in file imagePads.hpp.

#include <vector>
#include "../mxlib.hpp"

Go to the source code of this file.

Namespaces

namespace  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.
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.
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.
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.
template<typename imOutT, typename imInT>
int mx::improc::cutPaddedImage (imOutT &imOut, const imInT &imIn, unsigned int padSz)
 Cut down a padded image.