![]() |
stromx
0.8.0
|
Image utility types and functions More...
Classes | |
| class | AdjustRgbChannels |
| Adjusts the relative values of the channels in an RGB image. More... | |
| class | Buffer |
| Manages an array or reusable image buffers. More... | |
| class | Clip |
| Clips an image to a rectangular region. More... | |
| class | ConstImage |
| Outputs a configurable constant image. More... | |
| class | ConvertPixelType |
| Converts the pixel type of image. More... | |
| class | DummyCamera |
| Simulates a camera input. More... | |
| class | Flicker |
| Applies a random coefficent to the brightness of the image. More... | |
| class | Image |
| Image with support for reading and writing. More... | |
| class | Matrix |
| Matrix implementation based on OpenCV matrices. More... | |
| class | ReadDirectory |
| Applies a random coefficent to the brightness of the image. More... | |
Functions | |
| cv::Mat | getOpenCvMat (const runtime::Image &image) |
| cv::Mat | getOpenCvMat (const runtime::Matrix &matrix, const unsigned int numChannels) |
| cv::RotatedRect | getOpenCvRotatedRect (const runtime::Matrix &matrix) |
| std::vector< cv::Mat > | getOpenCvMatVector (const runtime::List &list) |
| runtime::Image::PixelType | computeOutPixelType (const int outDdepth, const runtime::Image::PixelType inPixelType) |
| void | checkEnumValue (const stromx::runtime::Enum &value, const stromx::runtime::EnumParameter *param, const stromx::runtime::OperatorInfo &op) |
| void | checkMatrixValue (const stromx::runtime::Matrix &value, const stromx::runtime::Input *desc, const stromx::runtime::OperatorInfo &op) |
| void | checkMatrixValue (const stromx::runtime::Matrix &value, const stromx::runtime::MatrixParameter *param, const stromx::runtime::OperatorInfo &op) |
| template<class T > | |
| void | checkNumericValue (const T &value, const runtime::NumericParameter< T > *param, const stromx::runtime::OperatorInfo &op) |
Variables | |
| std::locale | locale |
Image utility types and functions
| STROMX_CVSUPPORT_API void stromx::cvsupport::checkEnumValue | ( | const stromx::runtime::Enum & | value, |
| const stromx::runtime::EnumParameter * | param, | ||
| const stromx::runtime::OperatorInfo & | op | ||
| ) |
Checks if value is one of the valid values defined by param. by param.
| WrongParameterValue | If this is not the case. |
| STROMX_CVSUPPORT_API void stromx::cvsupport::checkMatrixValue | ( | const stromx::runtime::Matrix & | value, |
| const stromx::runtime::Input * | desc, | ||
| const stromx::runtime::OperatorInfo & | op | ||
| ) |
Checks if the size of value conforms with the dimensions defined by desc.
| InputError | If this is not the case. |
| STROMX_CVSUPPORT_API void stromx::cvsupport::checkMatrixValue | ( | const stromx::runtime::Matrix & | value, |
| const stromx::runtime::MatrixParameter * | param, | ||
| const stromx::runtime::OperatorInfo & | op | ||
| ) |
Checks if the size of value conforms with the dimensions defined by param.
| WrongParameterValue | If this is not the case. |
| void stromx::cvsupport::checkNumericValue | ( | const T & | value, |
| const runtime::NumericParameter< T > * | param, | ||
| const stromx::runtime::OperatorInfo & | op | ||
| ) |
Checks if value is within the limits (minimum, maximum) defined by param.
| WrongParameterValue | If this is not the case. |
| STROMX_CVSUPPORT_API runtime::Image::PixelType stromx::cvsupport::computeOutPixelType | ( | const int | outDdepth, |
| const runtime::Image::PixelType | inPixelType | ||
| ) |
Computes the stromx pixel type of the input type inPixelType after conversion to the OpenCV depth outDdepth.
| STROMX_CVSUPPORT_API cv::Mat stromx::cvsupport::getOpenCvMat | ( | const runtime::Image & | image | ) |
Returns an OpenCV matrix header for image.
| STROMX_CVSUPPORT_API cv::Mat stromx::cvsupport::getOpenCvMat | ( | const runtime::Matrix & | matrix, |
| const unsigned int | numChannels = 1 |
||
| ) |
Returns an OpenCV matrix header for matrix.
| STROMX_CVSUPPORT_API std::vector< cv::Mat > stromx::cvsupport::getOpenCvMatVector | ( | const runtime::List & | list | ) |
Converts a stromx list of matrices to a vector of OpenCV matrices.
| BadCast | If one of the values in list can not be casted to a matrix. |
| STROMX_CVSUPPORT_API cv::RotatedRect stromx::cvsupport::getOpenCvRotatedRect | ( | const runtime::Matrix & | matrix | ) |
Creates an OpenCV rotated rectangle from matrix.
1.8.12