Now you can download a copy of these docs so you can use them offline! Download now
MonoImage Class Reference
Inheritance diagram for MonoImage:
Collaboration diagram for MonoImage:

Public Member Functions

vector< EllipseMatch > * DetectEllipses (EllipseDescriptor *ellipseDescriptor, CurveOptions *curveOptions, ShapeDetectionOptions *shapeDetectionOptions, ROI *roi)
vector< EllipseMatch > * DetectEllipses (EllipseDescriptor *ellipseDescriptor)
- 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 lineNumber) const
 Set error information associated with a C library call that set an error to the "errno" global variable.
virtual void SetImaqError (int success, const char *contextMessage, const char *filename, const char *function, UINT32 lineNumber) const
 Set the current error information associated from the nivision Imaq API.
virtual void SetError (Error::Code code, const char *contextMessage, const char *filename, const char *function, UINT32 lineNumber) const
 Set the current error information associated with this sensor.
virtual void SetWPIError (const char *errorMessage, const char *contextMessage, const char *filename, const char *function, UINT32 lineNumber) const
 Set the current error information associated with this sensor.
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.

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 lineNumber)
static void SetGlobalWPIError (const char *errorMessage, const char *contextMessage, const char *filename, const char *function, UINT32 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
- 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

Definition at line 16 of file MonoImage.h.

Member Function Documentation

vector< EllipseMatch > * MonoImage::DetectEllipses ( EllipseDescriptor ellipseDescriptor,
CurveOptions curveOptions,
ShapeDetectionOptions shapeDetectionOptions,
ROI *  roi 
)

Look for ellipses in an image. Given some input parameters, look for any number of ellipses in an image.

Parameters
ellipseDescriptorEllipse descriptor
curveOptionsCurve options
shapeDetectionOptionsShape detection options
roiRegion of Interest
Returns
a vector of EllipseMatch structures (0 length vector on no match)

Definition at line 27 of file MonoImage.cpp.


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

Generated on Tue Feb 5 2013 00:55:10 for WPILibC++ by doxygen 1.8.1.2