Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
SegmentedColorFilterBankEvent Class Reference#include <SegmentedColorFilterBankEvent.h>
Inheritance diagram for SegmentedColorFilterBankEvent:
![]() Detailed DescriptionThis event provides some additional color information over its superclass for image banks made up of indexed colors.The color information is stored using the CMVision library's data structures Don't bother trying to access the region information which is also held in the color_class_state structures. The RegionGenerator, doesn't fill in the global color information because each layer and channel is going to need its own region processing, so a single global structure only makes sense for the colors. Definition at line 18 of file SegmentedColorFilterBankEvent.h.
Member Typedef Documentation
a shorthand for the hash structure that CMVision expects for the color lookups
Definition at line 21 of file SegmentedColorFilterBankEvent.h.
Constructor & Destructor Documentation
constructor, to be used when first segmented, later stages should use the other constructor
Definition at line 24 of file SegmentedColorFilterBankEvent.h.
constructor, allows you to pass along color information to later stages
Definition at line 29 of file SegmentedColorFilterBankEvent.h.
copy constructor (shallow copy -- the generator shouldn't be going anywhere)
Definition at line 34 of file SegmentedColorFilterBankEvent.h.
default constructor, only intended to be called from the FamilyFactory, followed by a loadXML...
Definition at line 88 of file SegmentedColorFilterBankEvent.h. Referenced by clone().
Member Function Documentation
assignment operator (shallow copy -- the generator shouldn't be going anywhere)
Definition at line 40 of file SegmentedColorFilterBankEvent.h.
allows a copy to be made of an event, supporting polymorphism Must be overridden by all subclasses to allow this to happen I would like to switch this over to the cloneable interface once the compiler gets updated out of the 3.3 branch... see Cloneable::clone() for a discussion of the issue and implementation notes. Reimplemented from FilterBankEvent. Definition at line 47 of file SegmentedColorFilterBankEvent.h.
Gives access to underlying generator.
Definition at line 53 of file SegmentedColorFilterBankEvent.h.
returns the number of different colors available
Definition at line 56 of file SegmentedColorFilterBankEvent.h. Referenced by RegionGenerator::processEvent(), and BallDetectionGenerator::processEvent().
gives direct access to the color information
Definition at line 59 of file SegmentedColorFilterBankEvent.h. Referenced by RegionGenerator::processEvent().
gives direct access to the color information
Definition at line 62 of file SegmentedColorFilterBankEvent.h.
returns index of color corresponding to a string (uses a fast hash lookup)
Definition at line 65 of file SegmentedColorFilterBankEvent.h. Referenced by getColorIndex().
returns index of color corresponding to a string (uses a fast hash lookup)
Definition at line 72 of file SegmentedColorFilterBankEvent.h.
All subclasses should override this and return a unique ID for their class. All IDs corresponding to all-capital letters are reserved for future framework expansion. (Thus, user subclasses should contain at least one lower-case letter.) This code can be used when serializing to allow quick identification of the class type by the receiver. Reimplemented from FilterBankEvent. Definition at line 74 of file SegmentedColorFilterBankEvent.h.
Friends And Related Function Documentation
Definition at line 89 of file SegmentedColorFilterBankEvent.h.
Member Data Documentation
pointer to generator which did the segmentation and therefore holds the color information
Definition at line 78 of file SegmentedColorFilterBankEvent.h. Referenced by getSegmentedColorSource(), and operator=().
number of available colors
Definition at line 79 of file SegmentedColorFilterBankEvent.h. Referenced by getNumColors(), and operator=().
array of available colors
Definition at line 80 of file SegmentedColorFilterBankEvent.h. Referenced by getColor(), getColors(), and operator=().
hash map to look up index from name
Definition at line 81 of file SegmentedColorFilterBankEvent.h. Referenced by getColorIndex(), and operator=().
causes class type id to automatically be regsitered with EventBase's FamilyFactory (getTypeRegistry()) This is instantiated in EventBase.cc to save on file bloat Definition at line 85 of file SegmentedColorFilterBankEvent.h. Referenced by getClassTypeID().
The documentation for this class was generated from the following files: |
Tekkotsu v4.0 |
Generated Thu Nov 22 00:58:40 2007 by Doxygen 1.5.4 |