|
mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
A kernel that is pre-calculated for the entire image, useful for repeated applications.
Use this for spatially variable kernels. It is not needed for, e.g., the symmetric Gaussian.
| kernelT | is the kernel type. See above for the requirements on kernelT. |
Definition at line 315 of file imageFilters.hpp.
#include <improc/imageFilters.hpp>
Public Member Functions | |
| precalcKernel (const kernelT &kernel, uint32_t rows, uint32_t cols, arithT xcen, arithT ycen) | |
| error_t | setKernel (arithT x, arithT y, arrayT &kernel) const |
|
inline |
| [in] | kernel | A fully initialized kernel. Is copied. |
| [in] | rows | The rows in the images to be filtered |
| [in] | cols | The columns in the images to be filtered |
| [in] | xcen | The pixel x-coordinate of the center of the image |
| [in] | ycen | The pixel y-coordinate of the center of the image |
Definition at line 334 of file imageFilters.hpp.
|
inline |
| [in] | x | x-coordinate relative to image center |
| [in] | y | x-coordinate relative to image center |
| [in] | kernel | the array to populate with the kernel, resized |
Definition at line 361 of file imageFilters.hpp.
References mx::invalidarg, mx::invalidconfig, and mx::noerror.