Now you can download a copy of these docs so you can use them offline! Download now
RGBImage Class Reference

#include <RGBImage.h>

Inheritance diagram for RGBImage:
Collaboration diagram for RGBImage:

Public Member Functions

 RGBImage ()
 
 RGBImage (const char *fileName)
 
- Public Member Functions inherited from ColorImage
 ColorImage (ImageType type)
 
BinaryImageThresholdRGB (int redLow, int redHigh, int greenLow, int greenHigh, int blueLow, int blueHigh)
 
BinaryImageThresholdHSL (int hueLow, int hueHigh, int saturationLow, int saturationHigh, int luminenceLow, int luminenceHigh)
 
BinaryImageThresholdHSV (int hueLow, int hueHigh, int saturationLow, int saturationHigh, int valueHigh, int valueLow)
 
BinaryImageThresholdHSI (int hueLow, int hueHigh, int saturationLow, int saturationHigh, int intensityLow, int intensityHigh)
 
BinaryImageThresholdRGB (Threshold &threshold)
 
BinaryImageThresholdHSL (Threshold &threshold)
 
BinaryImageThresholdHSV (Threshold &threshold)
 
BinaryImageThresholdHSI (Threshold &threshold)
 
MonoImageGetRedPlane ()
 
MonoImageGetGreenPlane ()
 
MonoImageGetBluePlane ()
 
MonoImageGetHSLHuePlane ()
 
MonoImageGetHSVHuePlane ()
 
MonoImageGetHSIHuePlane ()
 
MonoImageGetHSLSaturationPlane ()
 
MonoImageGetHSVSaturationPlane ()
 
MonoImageGetHSISaturationPlane ()
 
MonoImageGetLuminancePlane ()
 
MonoImageGetValuePlane ()
 
MonoImageGetIntensityPlane ()
 
void ReplaceRedPlane (MonoImage *plane)
 
void ReplaceGreenPlane (MonoImage *plane)
 
void ReplaceBluePlane (MonoImage *plane)
 
void ReplaceHSLHuePlane (MonoImage *plane)
 
void ReplaceHSVHuePlane (MonoImage *plane)
 
void ReplaceHSIHuePlane (MonoImage *plane)
 
void ReplaceHSLSaturationPlane (MonoImage *plane)
 
void ReplaceHSVSaturationPlane (MonoImage *plane)
 
void ReplaceHSISaturationPlane (MonoImage *plane)
 
void ReplaceLuminancePlane (MonoImage *plane)
 
void ReplaceValuePlane (MonoImage *plane)
 
void ReplaceIntensityPlane (MonoImage *plane)
 
void ColorEqualize ()
 
void LuminanceEqualize ()
 
- Public Member Functions inherited from ImageBase
 ImageBase (ImageType type)
 
virtual ~ImageBase ()
 
virtual void Write (const char *fileName)
 
int GetHeight ()
 
int GetWidth ()
 
Image * GetImaqImage ()
 
- Public Member Functions inherited from ErrorBase
virtual ErrorGetError ()
 Retrieve the current error. Get the current error information associated with this sensor.
 
virtual const ErrorGetError () const
 
virtual void SetErrnoError (const char *contextMessage, const char *filename, const char *function, uint32_t lineNumber) const
 Set error information associated with a C library call that set an error to the "errno" global variable. More...
 
virtual void SetImaqError (int success, const char *contextMessage, const char *filename, const char *function, uint32_t lineNumber) const
 Set the current error information associated from the nivision Imaq API. More...
 
virtual void SetError (Error::Code code, const char *contextMessage, const char *filename, const char *function, uint32_t lineNumber) const
 Set the current error information associated with this sensor. More...
 
virtual void SetWPIError (const char *errorMessage, const char *contextMessage, const char *filename, const char *function, uint32_t lineNumber) const
 Set the current error information associated with this sensor. More...
 
virtual void CloneError (ErrorBase *rhs) const
 
virtual void ClearError () const
 Clear the current error information associated with this sensor.
 
virtual bool StatusIsFatal () const
 Check if the current error code represents a fatal error. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ErrorBase
static void SetGlobalError (Error::Code code, const char *contextMessage, const char *filename, const char *function, uint32_t lineNumber)
 
static void SetGlobalWPIError (const char *errorMessage, const char *contextMessage, const char *filename, const char *function, uint32_t lineNumber)
 
static ErrorGetGlobalError ()
 
- Protected Member Functions inherited from ErrorBase
 ErrorBase ()
 Initialize the instance status to 0 for now.
 
- Protected Attributes inherited from ImageBase
Image * m_imaqImage
 
- Protected Attributes inherited from ErrorBase
Error m_error
 
- Static Protected Attributes inherited from ErrorBase
static SEM_ID _globalErrorMutex = semMCreate(SEM_Q_PRIORITY | SEM_DELETE_SAFE | SEM_INVERSION_SAFE)
 
static Error _globalError
 

Detailed Description

A color image represented in RGB color space at 3 bytes per pixel.

Definition at line 15 of file RGBImage.h.

Constructor & Destructor Documentation

RGBImage::RGBImage ( )

Create a new image that uses Red, Green, and Blue planes.

Definition at line 12 of file RGBImage.cpp.

RGBImage::RGBImage ( const char *  fileName)

Create a new image by loading a file.

Parameters
fileNameThe path of the file to load.

Definition at line 20 of file RGBImage.cpp.


The documentation for this class was generated from the following files:

Generated on Sat Apr 26 2014 12:26:46 for WPILibC++ by doxygen 1.8.6