17 #ifndef STROMX_CVSUPPORT_CONVERTPIXELTYPE_H 18 #define STROMX_CVSUPPORT_CONVERTPIXELTYPE_H 20 #include "stromx/cvsupport/Config.h" 21 #include <stromx/runtime/Enum.h> 22 #include <stromx/runtime/EnumParameter.h> 23 #include <stromx/runtime/Image.h> 24 #include <stromx/runtime/OperatorKernel.h> 25 #include <stromx/runtime/RecycleAccess.h> 53 virtual void setParameter(
const unsigned int id,
const runtime::Data& value);
59 const std::vector<const runtime::Input*> setupInputs();
60 const std::vector<const runtime::Output*> setupOutputs();
61 const std::vector<const runtime::Parameter*> setupInitParameters();
62 const std::vector<const runtime::Parameter*> setupParameters();
64 static const std::string TYPE;
65 static const std::string PACKAGE;
68 static int getCvConversionCode(
const runtime::Image::PixelType inType,
const runtime::Image::PixelType outType);
69 static unsigned int getDestPixelSize(
const runtime::Image::PixelType pixelType);
80 #endif // STROMX_CVSUPPORT_CONVERTPIXELTYPE_H A version of an operator or data type.
Definition: Version.h:46
Abstract data object.
Definition: Data.h:53
Reference to a data object.
Definition: DataRef.h:48
virtual OperatorKernel * clone() const
Definition: ConvertPixelType.h:52
Converts the pixel type of image.
Definition: ConvertPixelType.h:32
Description of an enumeration parameter
Definition: EnumParameter.h:28
The stromx class library.
Definition: AdjustRgbChannels.cpp:29
Abstract image.
Definition: Image.h:28
Abstract operator kernel.
Definition: OperatorKernel.h:46
Provider of functions to receive and send data.
Definition: DataProvider.h:35
Value of an enumeration.
Definition: Enum.h:27