Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
FilterBankGenerator Class ReferenceAbstract base class for generators of FilterBankEvent's. More...
Inheritance diagram for FilterBankGenerator:
Detailed DescriptionAbstract base class for generators of FilterBankEvent's. This is needed to provide an interface for the FilterBankEvent to call back when the actual image data is requested from it. This facilitates lazy calculation of image data... no sense in processing layers or channels which aren't actually going to be used... Also this way we save on allocating/deallocating large memory blocks on each event... the buffers allocated here can be reused frame to frame. Larger layer indicies generally indicate higher resolution images in a scaling pyramid, but you are free to store your own data however you wish. Serialization FormatFirst, be sure to get a good overview of the LoadSave style. Most serialization is handled using this interface. When, for instance, RawCameraGenerator::saveBuffer() is called, it first calls it's super class, FilterBankGenerator::saveBuffer(), which will write out the general image information, common to all subclasses of FilterBankGenerator. (i'll cover the specifics in a second) Once that's done, the RawCameraGenerator adds it's own bit of header and then saves the image data itself. Note that only a single channel is being saved at this point. So for instance, all the Y information. No interleaving is going on. (unless you're saving from InterleavedYUVGenerator of course, which treats the 3 interleaved channels as a single image) Otherwise,only one image (selected with selectSaveImage()) of the bank will loaded or saved at a time. So, anyway. The first header will be the same for all FilterBankGenerator subclasses. In the specification below, I'm going to use one field per line (the new lines are not literal, it's a binary stream). Each field is of the form '< FilterBankGenerator Header: (from FilterBankGenerator::saveBuffer())
Generator Specific Header (selected examples follow, or similarly, any of the other generators)
However, while we're on the topic, I'll mention that although this is the same image format used for streaming to VisionGUI, there's a few more fields added by RawCam behavior or SegCam behavior at the beginning of each packet. See those classes for more information on the wireless protocol. That should tell you everything you need to know to interpret the vision stream as well. Adding New FilterBankGenerator SubclassesIf you're doing fancy memory stuff, you probably want to override the freeCaches() and destruct() functions so that the default implementation won't try to free something it shouldn't. Don't forget to call them from your own destructor though, otherwise your versions won't get called before the default implementation's does. If you want to be able to transmit or save your images, you will need to override the LoadSave functions (listed below) to provide your own code for interpreting the image data itself, and then create or modify a behavior to open a socket and transmit the information. (you could do that from within the generator itself if you like) You will probably also want to add a few extra functions to allow users to set compression/data format parameters.
Definition at line 112 of file FilterBankGenerator.h.
Constructor & Destructor Documentation
destructor Your own subclasses should also have destructors which call freeCaches() and destruct(). Otherwise, if you override these functions to delete any custom memory you allocate, those implementations won't be called by this destructor... a destructor ignores virtual functions, only calls at its own class level. Definition at line 128 of file FilterBankGenerator.h.
constructor, separate class and instance names, with a raw event specification, excluding type typically for stages which reference the previous stage's data Definition at line 271 of file FilterBankGenerator.h.
constructor, separate class and instance names, with a raw event specification, including type typically for stages which will store their own copy of the data Definition at line 279 of file FilterBankGenerator.h.
constructor, separate class and instance names, with a filter bank source, passes on all types typically for stages which reference the previous stage's data Definition at line 287 of file FilterBankGenerator.h.
constructor, separate class and instance names, with a filter bank source, accepts a particular type typically for stages which will store their own data Definition at line 298 of file FilterBankGenerator.h.
don't call Member Function Documentation
should calculate new image data, called by getImage() only when imageValids indicates the image being requested is dirty (and only after getImage() has already called createImageCache()) This is where you'll want to put your user-specific code for calculating the image data Implemented in BufferedImageGenerator, CDTGenerator, InterleavedYUVGenerator, JPEGGenerator, PNGGenerator, RawCameraGenerator, RegionGenerator, RLEGenerator, and SegmentedColorGenerator. Referenced by getImage().
create new image data storage area for the cache - this called by getImage() only when the corresponding entry in images is NULL You should return the pointer you want stored in images to be returned by any calls to getFirstRow. Interpretation of the data it points to is dependant on the the generator which creates it Implemented in BufferedImageGenerator, CDTGenerator, InterleavedYUVGenerator, JPEGGenerator, PNGGenerator, RawCameraGenerator, RegionGenerator, RLEGenerator, and SegmentedColorGenerator. Referenced by getImage().
deletes the arrays Reimplemented in BufferedImageGenerator, CDTGenerator, InterleavedYUVGenerator, JPEGGenerator, PNGGenerator, RawCameraGenerator, RegionGenerator, and RLEGenerator. Definition at line 139 of file FilterBankGenerator.cc. Referenced by setNumImages(), ~FilterBankGenerator(), and SegmentedColorGenerator::~SegmentedColorGenerator().
default implementation does a few common housekeeping chores for you - probably should just take a look at its code It doesn't throw any events for you - that's probably the main reason you'd still want to override it Reimplemented from BehaviorBase. Reimplemented in BufferedImageGenerator, CDTGenerator, InterleavedYUVGenerator, JPEGGenerator, PNGGenerator, RawCameraGenerator, RegionGenerator, RLEGenerator, and SegmentedColorGenerator. Definition at line 44 of file FilterBankGenerator.cc.
deletes storage of cached images and marks it invalid you should override this if the images cache pointer isn't actually an array of bytes... Don't forget to call it in your subclass's destructor or your version won't get called... Reimplemented in BufferedImageGenerator, CDTGenerator, InterleavedYUVGenerator, RawCameraGenerator, and RegionGenerator. Definition at line 27 of file FilterBankGenerator.cc. Referenced by setDimensions(), setNumImages(), ~FilterBankGenerator(), JPEGGenerator::~JPEGGenerator(), PNGGenerator::~PNGGenerator(), RLEGenerator::~RLEGenerator(), and SegmentedColorGenerator::~SegmentedColorGenerator().
The loadBuffer() functions of the included subclasses aren't tested, so don't assume they'll work without a little debugging... Implements LoadSave. Reimplemented in BufferedImageGenerator, CDTGenerator, InterleavedYUVGenerator, JPEGGenerator, PNGGenerator, RawCameraGenerator, RegionGenerator, RLEGenerator, and SegmentedColorGenerator. Definition at line 59 of file FilterBankGenerator.cc. Referenced by EventLogger::logImage().
returns the frame number of the current frame, see frameNumber Definition at line 171 of file FilterBankGenerator.h. Referenced by FilterBankEvent::getFrameNumber(), SegCam::openPacket(), RegionCam::openPacket(), RawCam::openPacket(), DepthCam::openPacket(), LogNode::postStart(), refresh(), and LogNode::writeImage().
returns the number of frames processed, see framesProcessed Definition at line 174 of file FilterBankGenerator.h. Referenced by FilterBankEvent::getFramesProcessed().
returns height (in samples) of the image in a given layer Definition at line 158 of file FilterBankGenerator.h. Referenced by RLEGenerator::calcExpMaxRuns(), SegmentedColorGenerator::calcImage(), RLEGenerator::calcImage(), RawCameraGenerator::calcImage(), PNGGenerator::calcImage(), JPEGGenerator::calcImage(), InterleavedYUVGenerator::calcImage(), RawCameraGenerator::doEvent(), CDTGenerator::doEvent(), BufferedImageGenerator::doEvent(), FilterBankEvent::getHeight(), getPixelCoordinates(), getRealCoordinates(), SegCam::openPacket(), RegionCam::openPacket(), RawCam::openPacket(), DepthCam::openPacket(), refresh(), setDimensions(), and Graphics::updateFBG().
returns pointer to the beginning of the image data for the specified layer and channel this will cause the data to be calculated and cached if it's not already available Definition at line 13 of file FilterBankGenerator.cc. Referenced by BufferedImageGenerator::calcDx(), BufferedImageGenerator::calcDxDy(), BufferedImageGenerator::calcDy(), SegmentedColorGenerator::calcImage(), RLEGenerator::calcImage(), RegionGenerator::calcImage(), PNGGenerator::calcImage(), JPEGGenerator::calcImage(), InterleavedYUVGenerator::calcImage(), InterleavedYUVGenerator::createImageCache(), CameraBehavior::doEvent(), BufferedImageGenerator::downsampleImage(), FilterBankEvent::getImage(), RLEGenerator::getNumRuns(), getPixel(), RLEGenerator::getRun(), RLEGenerator::getRuns(), PNGGenerator::loadBuffer(), JPEGGenerator::loadBuffer(), RawImage::loadFromRawY(), EventLogger::logImage(), DualCoding::Lookout::processSearchEvent(), DualCoding::Lookout::processTrackEvent(), RawCameraGenerator::reconstructImage(), selectSaveImage(), DualCoding::Lookout::storeVisionRegionDataTo(), Graphics::updateFBG(), LGmixin::uploadCameraImage(), RawCameraGenerator::upsampleImage(), BufferedImageGenerator::upsampleImage(), and LogNode::writeImage().
returns whether or not an image has already been calculated for the current frame If you call this immediately after getImage() and this still returns false, then an error must have occurred during processing Definition at line 152 of file FilterBankGenerator.h.
returns the number of bytes used for the data returned by getImage() - if the data varies in size (e.g. jpeg compression), will return 0 if the image hasn't been calculated yet (so call it after getImage()) Reimplemented in JPEGGenerator, PNGGenerator, RegionGenerator, and RLEGenerator. Definition at line 147 of file FilterBankGenerator.h. Referenced by FilterBankEvent::getImageSize(), and LogNode::writeImage().
returns the increment (in bytes) to use to go from one sample to the next Definition at line 168 of file FilterBankGenerator.h. Referenced by BufferedImageGenerator::calcDx(), BufferedImageGenerator::calcDy(), SegmentedColorGenerator::calcImage(), PNGGenerator::calcImage(), JPEGGenerator::calcImage(), InterleavedYUVGenerator::calcImage(), InterleavedYUVGenerator::createImageCache(), BufferedImageGenerator::downsampleImage(), FilterBankEvent::getIncrement(), getPixel(), RawImage::loadFromRawY(), RawCameraGenerator::saveBuffer(), CDTGenerator::saveBuffer(), BufferedImageGenerator::saveBuffer(), RawCameraGenerator::saveFileStream(), BufferedImageGenerator::saveFileStream(), Graphics::updateFBG(), and BufferedImageGenerator::upsampleImage().
returns the number of channels per image (e.g. Y, U, or V components) Definition at line 140 of file FilterBankGenerator.h. Referenced by FilterBankGenerator(), FilterBankEvent::getNumChannels(), InterleavedYUVGenerator::InterleavedYUVGenerator(), JPEGGenerator::JPEGGenerator(), PNGGenerator::PNGGenerator(), refresh(), RegionGenerator::RegionGenerator(), RLEGenerator::RLEGenerator(), and SegmentedColorGenerator::SegmentedColorGenerator().
returns the number of image layers (e.g. different resolutions available) Definition at line 137 of file FilterBankGenerator.h. Referenced by FilterBankGenerator(), FilterBankEvent::getNumLayers(), InterleavedYUVGenerator::InterleavedYUVGenerator(), JPEGGenerator::JPEGGenerator(), PNGGenerator::PNGGenerator(), refresh(), RegionGenerator::RegionGenerator(), RLEGenerator::RLEGenerator(), SegmentedColorGenerator::SegmentedColorGenerator(), RawCam::writeColor(), DepthCam::writeDepth(), RegionCam::writeRegions(), SegCam::writeRLE(), SegCam::writeSeg(), and RawCam::writeSingleChannel().
returns a pointer to a particular sample; if you are using this in an inner loop, consider using the getSkip() and getIncrement() values to iterate with better performance
To keep the coordinate system square, the x is defined to range -1,1, but y's range depends on the aspect ratio of the image, height/width. Thus typically y will approx. -.75,.75 Definition at line 191 of file FilterBankGenerator.h.
returns a pointer to a particular sample; if you are using this in an inner loop, consider using the getSkip() and getIncrement() values to iterate with better performance
Definition at line 181 of file FilterBankGenerator.h. Referenced by getPixel().
sets the pixel-coordinate px and py parameters to the corresponding value of x and y
To keep the coordinate system square, the x is defined to range -1,1, but y's range depends on the aspect ratio of the image, height/width. Thus typically y will approx. -.75,.75 Definition at line 206 of file FilterBankGenerator.h. Referenced by getPixel(), and Graphics::getPixelCoordinates().
sets the x and y parameters from the pixel-coordinates px and py
To keep the coordinate system square, the x is defined to range -1,1, but y's range depends on the aspect ratio of the image, height/width. Thus typically y will approx. -.75,.75 Definition at line 222 of file FilterBankGenerator.h. Referenced by Graphics::getRealCoordinates().
returns channel to be saved, or channel of last image loaded Definition at line 264 of file FilterBankGenerator.h.
returns layer to be saved, or layer of last image loaded Definition at line 263 of file FilterBankGenerator.h.
returns the bytes to skip from the one-past-end of a row to get the beginning of the next Definition at line 161 of file FilterBankGenerator.h. Referenced by BufferedImageGenerator::calcDx(), InterleavedYUVGenerator::calcImage(), FilterBankEvent::getSkip(), RawImage::loadFromRawY(), RawCameraGenerator::reconstructImage(), RawCameraGenerator::saveBuffer(), CDTGenerator::saveBuffer(), BufferedImageGenerator::saveBuffer(), RawCameraGenerator::saveFileStream(), BufferedImageGenerator::saveFileStream(), RawCameraGenerator::upsampleImage(), and BufferedImageGenerator::upsampleImage().
returns the generator this is receiving its events from (or the last one anyway) Definition at line 134 of file FilterBankGenerator.h. Referenced by RegionGenerator::RegionGenerator(), RegionCam::writeRegions(), and SegCam::writeRLE().
returns the bytes to skip from the beginning of one row to get the beginning of the next This is just for convenience; the stride is just the skip plus the width, but it's precomputed for you for speed and clarity Definition at line 165 of file FilterBankGenerator.h. Referenced by BufferedImageGenerator::calcDx(), BufferedImageGenerator::calcDy(), SegmentedColorGenerator::calcImage(), RawCameraGenerator::calcImage(), InterleavedYUVGenerator::createImageCache(), getPixel(), FilterBankEvent::getStride(), RawCameraGenerator::saveBuffer(), BufferedImageGenerator::saveBuffer(), RawCameraGenerator::saveFileStream(), BufferedImageGenerator::saveFileStream(), and Graphics::updateFBG().
returns width (in samples) of the image in a given layer Definition at line 155 of file FilterBankGenerator.h. Referenced by RLEGenerator::calcExpMaxRuns(), SegmentedColorGenerator::calcImage(), RLEGenerator::calcImage(), PNGGenerator::calcImage(), JPEGGenerator::calcImage(), InterleavedYUVGenerator::calcImage(), RawCameraGenerator::doEvent(), CDTGenerator::doEvent(), BufferedImageGenerator::doEvent(), getPixelCoordinates(), getRealCoordinates(), FilterBankEvent::getWidth(), RLEGenerator::loadBuffer(), SegCam::openPacket(), RegionCam::openPacket(), RawCam::openPacket(), DepthCam::openPacket(), RawCameraGenerator::reconstructImage(), refresh(), setDimensions(), and Graphics::updateFBG().
marks all of the cached images as invalid (but doesn't free their memory) You probably want to call this right before you send the FilterBankEvent Reimplemented in BufferedImageGenerator, and InterleavedYUVGenerator. Definition at line 37 of file FilterBankGenerator.cc. Referenced by RawCameraGenerator::doEvent(), CDTGenerator::doEvent(), freeCaches(), refresh(), and JPEGGenerator::setQuality().
The loadBuffer() functions of the included subclasses aren't tested, so don't assume they'll work without a little debugging... Implements LoadSave. Reimplemented in BufferedImageGenerator, CDTGenerator, InterleavedYUVGenerator, JPEGGenerator, PNGGenerator, RawCameraGenerator, RegionGenerator, RLEGenerator, and SegmentedColorGenerator. Definition at line 70 of file FilterBankGenerator.cc. Referenced by SegmentedColorGenerator::loadBuffer(), RLEGenerator::loadBuffer(), RegionGenerator::loadBuffer(), RawCameraGenerator::loadBuffer(), PNGGenerator::loadBuffer(), JPEGGenerator::loadBuffer(), InterleavedYUVGenerator::loadBuffer(), and BufferedImageGenerator::loadBuffer().
don't call
updates the image data to make sure its up to date with what's available from the source If someone calls getImage on a stage which hadn't been listening for events (an optimization to save time when it doesn't have any listeners of its own -- see EventGeneratorBase), then this will retroactively pull image data from the source even though the event for it was missed
Definition at line 161 of file FilterBankGenerator.cc. Referenced by doEvent(), getImage(), and refresh().
The loadBuffer() functions of the included subclasses aren't tested, so don't assume they'll work without a little debugging... Implements LoadSave. Reimplemented in BufferedImageGenerator, CDTGenerator, InterleavedYUVGenerator, JPEGGenerator, PNGGenerator, RawCameraGenerator, RegionGenerator, RLEGenerator, and SegmentedColorGenerator. Definition at line 80 of file FilterBankGenerator.cc. Referenced by EventLogger::logImage(), SegmentedColorGenerator::saveBuffer(), RLEGenerator::saveBuffer(), RegionGenerator::saveBuffer(), RawCameraGenerator::saveBuffer(), PNGGenerator::saveBuffer(), JPEGGenerator::saveBuffer(), InterleavedYUVGenerator::saveBuffer(), CDTGenerator::saveBuffer(), BufferedImageGenerator::saveBuffer(), RawCam::writeColor(), DepthCam::writeDepth(), SegCam::writeSeg(), and RawCam::writeSingleChannel().
Not actually part of the LoadSave interface, but allows you to select which image of the bank will be saved. Calling this will also cause the image data for that image to be calculated, otherwise saveBuffer won't have up-to-date data to save. When loading, the saved image's layer and channel will reset this Definition at line 261 of file FilterBankGenerator.h. Referenced by CameraBehavior::doEvent(), EventLogger::logImage(), RawCam::writeColor(), DepthCam::writeDepth(), RegionCam::writeRegions(), SegCam::writeRLE(), SegCam::writeSeg(), and RawCam::writeSingleChannel().
resets width and height parameters to that of the src You'll probably want to override this to also set skips and strides Reimplemented in BufferedImageGenerator, CDTGenerator, InterleavedYUVGenerator, RawCameraGenerator, RLEGenerator, and SegmentedColorGenerator. Definition at line 128 of file FilterBankGenerator.cc. Referenced by refresh().
resizes the filter bank information storage area, you should override this to do your setup and call it from your constructor In general, it isn't expected that FilterBankGenerator's should necessarily be dynamically resizeable (although it would be nice), which is why this isn't public. If yours is, just add some pubic accessor functions which call this. In general, the included subclasses should be able to handle being resized, but there's no reason to do so since the system won't be changing its available resolutions at run time. The default implementation is a no-op if(numLayers==nLayers && numChannels==nChannels) Reimplemented in BufferedImageGenerator, CDTGenerator, InterleavedYUVGenerator, JPEGGenerator, PNGGenerator, RawCameraGenerator, RegionGenerator, RLEGenerator, and SegmentedColorGenerator. Definition at line 91 of file FilterBankGenerator.cc. Referenced by FilterBankGenerator(), and refresh(). Member Data Documentation
the frame number of last frame received by doEvent - subclasses will need to set to the source's frameNumber if they don't call FilterBankGenerator::doEvent() The idea is to use this as a unique serial number for each frame. That way you can know if the current image in different generators is actually the same camera image before you try to compare or combine them. You could also figure out the number of dropped frames by subtracting framesProcessed from this value. Give some leeway however, because it takes the first 40-70 frames just to boot up (when running on the aibo), so there's no way they can be processed. Definition at line 378 of file FilterBankGenerator.h. Referenced by RawCameraGenerator::doEvent(), CDTGenerator::doEvent(), BufferedImageGenerator::doEvent(), getFrameNumber(), and refresh().
subclasses should increment this any time they make a new filter bank available this is automatically incremented if you use the FilterBankGenerator::doEvent() Definition at line 385 of file FilterBankGenerator.h. Referenced by RawCameraGenerator::doEvent(), CDTGenerator::doEvent(), BufferedImageGenerator::doEvent(), getFramesProcessed(), and refresh().
an array of size numLayers, height (in samples) in pixels of each layer Definition at line 355 of file FilterBankGenerator.h. Referenced by BufferedImageGenerator::calcDx(), BufferedImageGenerator::calcDy(), PNGGenerator::calcImage(), JPEGGenerator::calcImage(), BufferedImageGenerator::calcImage(), SegmentedColorGenerator::createImageCache(), RawCameraGenerator::createImageCache(), PNGGenerator::createImageCache(), JPEGGenerator::createImageCache(), InterleavedYUVGenerator::createImageCache(), BufferedImageGenerator::createImageCache(), destruct(), RawCameraGenerator::doEvent(), CDTGenerator::doEvent(), BufferedImageGenerator::doEvent(), BufferedImageGenerator::downsampleImage(), SegmentedColorGenerator::getBinSize(), RawCameraGenerator::getBinSize(), PNGGenerator::getBinSize(), JPEGGenerator::getBinSize(), InterleavedYUVGenerator::getBinSize(), getBinSize(), CDTGenerator::getBinSize(), BufferedImageGenerator::getBinSize(), getHeight(), getImageSize(), SegmentedColorGenerator::loadBuffer(), RawCameraGenerator::loadBuffer(), InterleavedYUVGenerator::loadBuffer(), loadBuffer(), BufferedImageGenerator::loadBuffer(), refresh(), SegmentedColorGenerator::saveBuffer(), RawCameraGenerator::saveBuffer(), InterleavedYUVGenerator::saveBuffer(), saveBuffer(), CDTGenerator::saveBuffer(), BufferedImageGenerator::saveBuffer(), RawCameraGenerator::saveFileStream(), BufferedImageGenerator::saveFileStream(), RawCameraGenerator::setDimensions(), setDimensions(), CDTGenerator::setDimensions(), BufferedImageGenerator::setDimensions(), setNumImages(), RawCameraGenerator::upsampleImage(), and BufferedImageGenerator::upsampleImage().
an array [numLayers][numChannels], stores pointer to cached image data Definition at line 360 of file FilterBankGenerator.h. Referenced by BufferedImageGenerator::calcDx(), BufferedImageGenerator::calcDy(), SegmentedColorGenerator::calcImage(), RLEGenerator::calcImage(), RegionGenerator::calcImage(), RawCameraGenerator::calcImage(), PNGGenerator::calcImage(), JPEGGenerator::calcImage(), InterleavedYUVGenerator::calcImage(), CDTGenerator::calcImage(), BufferedImageGenerator::calcImage(), BufferedImageGenerator::createImageCache(), destruct(), BufferedImageGenerator::doEvent(), BufferedImageGenerator::downsampleImage(), RawCameraGenerator::freeCaches(), freeCaches(), CDTGenerator::freeCaches(), RegionGenerator::getBinSize(), getImage(), InterleavedYUVGenerator::invalidateCaches(), BufferedImageGenerator::invalidateCaches(), SegmentedColorGenerator::loadBuffer(), RLEGenerator::loadBuffer(), RegionGenerator::loadBuffer(), RawCameraGenerator::loadBuffer(), PNGGenerator::loadBuffer(), JPEGGenerator::loadBuffer(), InterleavedYUVGenerator::loadBuffer(), BufferedImageGenerator::loadBuffer(), RawCameraGenerator::reconstructImage(), SegmentedColorGenerator::saveBuffer(), RLEGenerator::saveBuffer(), RegionGenerator::saveBuffer(), RawCameraGenerator::saveBuffer(), PNGGenerator::saveBuffer(), JPEGGenerator::saveBuffer(), InterleavedYUVGenerator::saveBuffer(), CDTGenerator::saveBuffer(), BufferedImageGenerator::saveBuffer(), RawCameraGenerator::saveFileStream(), BufferedImageGenerator::saveFileStream(), setNumImages(), RawCameraGenerator::upsampleImage(), and BufferedImageGenerator::upsampleImage().
an array [numLayers][numChannels], entry is true if cached data is still valid Definition at line 361 of file FilterBankGenerator.h. Referenced by BufferedImageGenerator::calcDx(), BufferedImageGenerator::calcDxDy(), BufferedImageGenerator::calcDy(), SegmentedColorGenerator::calcImage(), RLEGenerator::calcImage(), RegionGenerator::calcImage(), RawCameraGenerator::calcImage(), PNGGenerator::calcImage(), JPEGGenerator::calcImage(), InterleavedYUVGenerator::calcImage(), CDTGenerator::calcImage(), InterleavedYUVGenerator::createImageCache(), destruct(), BufferedImageGenerator::doEvent(), BufferedImageGenerator::downsampleImage(), RawCameraGenerator::freeCaches(), CDTGenerator::freeCaches(), RLEGenerator::getBinSize(), RegionGenerator::getBinSize(), getImage(), getImageCached(), RLEGenerator::getNumRuns(), InterleavedYUVGenerator::invalidateCaches(), invalidateCaches(), BufferedImageGenerator::invalidateCaches(), SegmentedColorGenerator::loadBuffer(), RLEGenerator::loadBuffer(), RegionGenerator::loadBuffer(), RawCameraGenerator::loadBuffer(), PNGGenerator::loadBuffer(), JPEGGenerator::loadBuffer(), InterleavedYUVGenerator::loadBuffer(), BufferedImageGenerator::loadBuffer(), SegmentedColorGenerator::saveBuffer(), RLEGenerator::saveBuffer(), RegionGenerator::saveBuffer(), RawCameraGenerator::saveBuffer(), PNGGenerator::saveBuffer(), JPEGGenerator::saveBuffer(), InterleavedYUVGenerator::saveBuffer(), CDTGenerator::saveBuffer(), BufferedImageGenerator::saveBuffer(), RawCameraGenerator::saveFileStream(), BufferedImageGenerator::saveFileStream(), setNumImages(), and BufferedImageGenerator::upsampleImage().
an array of size numLayers, increment (in bytes) to use to get from one sample to the next Definition at line 358 of file FilterBankGenerator.h. Referenced by destruct(), BufferedImageGenerator::doEvent(), getIncrement(), RawCameraGenerator::setDimensions(), CDTGenerator::setDimensions(), BufferedImageGenerator::setDimensions(), RawCameraGenerator::setNumImages(), PNGGenerator::setNumImages(), JPEGGenerator::setNumImages(), InterleavedYUVGenerator::setNumImages(), setNumImages(), and CDTGenerator::setNumImages().
current number of channels available Definition at line 352 of file FilterBankGenerator.h. Referenced by destruct(), RegionGenerator::freeCaches(), RawCameraGenerator::freeCaches(), InterleavedYUVGenerator::freeCaches(), freeCaches(), CDTGenerator::freeCaches(), BufferedImageGenerator::freeCaches(), getNumChannels(), InterleavedYUVGenerator::InterleavedYUVGenerator(), InterleavedYUVGenerator::invalidateCaches(), invalidateCaches(), BufferedImageGenerator::invalidateCaches(), JPEGGenerator::JPEGGenerator(), PNGGenerator::PNGGenerator(), refresh(), RegionGenerator::RegionGenerator(), RLEGenerator::RLEGenerator(), SegmentedColorGenerator::SegmentedColorGenerator(), RLEGenerator::setNumImages(), RegionGenerator::setNumImages(), RawCameraGenerator::setNumImages(), PNGGenerator::setNumImages(), JPEGGenerator::setNumImages(), InterleavedYUVGenerator::setNumImages(), setNumImages(), CDTGenerator::setNumImages(), and BufferedImageGenerator::setNumImages().
current number of layers available Definition at line 351 of file FilterBankGenerator.h. Referenced by RawCameraGenerator::calcImage(), CDTGenerator::calcImage(), RawCameraGenerator::createImageCache(), RLEGenerator::destruct(), RegionGenerator::destruct(), PNGGenerator::destruct(), JPEGGenerator::destruct(), InterleavedYUVGenerator::destruct(), destruct(), BufferedImageGenerator::destruct(), RawCameraGenerator::doEvent(), CDTGenerator::doEvent(), BufferedImageGenerator::doEvent(), BufferedImageGenerator::downsampleImage(), RegionGenerator::freeCaches(), RawCameraGenerator::freeCaches(), InterleavedYUVGenerator::freeCaches(), freeCaches(), CDTGenerator::freeCaches(), BufferedImageGenerator::freeCaches(), getNumLayers(), InterleavedYUVGenerator::InterleavedYUVGenerator(), InterleavedYUVGenerator::invalidateCaches(), invalidateCaches(), BufferedImageGenerator::invalidateCaches(), JPEGGenerator::JPEGGenerator(), RawCameraGenerator::loadBuffer(), BufferedImageGenerator::loadBuffer(), SegmentedColorGenerator::loadThresholdMap(), PNGGenerator::PNGGenerator(), RawCameraGenerator::reconstructImage(), refresh(), RegionGenerator::RegionGenerator(), RLEGenerator::RLEGenerator(), SegmentedColorGenerator::SegmentedColorGenerator(), SegmentedColorGenerator::setDimensions(), RLEGenerator::setDimensions(), RawCameraGenerator::setDimensions(), InterleavedYUVGenerator::setDimensions(), setDimensions(), CDTGenerator::setDimensions(), BufferedImageGenerator::setDimensions(), RLEGenerator::setNumImages(), RegionGenerator::setNumImages(), RawCameraGenerator::setNumImages(), PNGGenerator::setNumImages(), JPEGGenerator::setNumImages(), InterleavedYUVGenerator::setNumImages(), setNumImages(), CDTGenerator::setNumImages(), BufferedImageGenerator::setNumImages(), and RawCameraGenerator::upsampleImage().
channel to be manipulated with the LoadSave functions Definition at line 364 of file FilterBankGenerator.h. Referenced by RLEGenerator::getBinSize(), RegionGenerator::getBinSize(), PNGGenerator::getBinSize(), JPEGGenerator::getBinSize(), getBinSize(), getSelectedSaveChannel(), SegmentedColorGenerator::loadBuffer(), RLEGenerator::loadBuffer(), RegionGenerator::loadBuffer(), RawCameraGenerator::loadBuffer(), PNGGenerator::loadBuffer(), JPEGGenerator::loadBuffer(), InterleavedYUVGenerator::loadBuffer(), loadBuffer(), BufferedImageGenerator::loadBuffer(), SegmentedColorGenerator::saveBuffer(), RLEGenerator::saveBuffer(), RegionGenerator::saveBuffer(), RawCameraGenerator::saveBuffer(), PNGGenerator::saveBuffer(), JPEGGenerator::saveBuffer(), InterleavedYUVGenerator::saveBuffer(), saveBuffer(), CDTGenerator::saveBuffer(), BufferedImageGenerator::saveBuffer(), RawCameraGenerator::saveFileStream(), BufferedImageGenerator::saveFileStream(), and selectSaveImage().
layer to be manipulated with the LoadSave functions Definition at line 363 of file FilterBankGenerator.h. Referenced by SegmentedColorGenerator::getBinSize(), RLEGenerator::getBinSize(), RegionGenerator::getBinSize(), RawCameraGenerator::getBinSize(), PNGGenerator::getBinSize(), JPEGGenerator::getBinSize(), InterleavedYUVGenerator::getBinSize(), getBinSize(), CDTGenerator::getBinSize(), BufferedImageGenerator::getBinSize(), getSelectedSaveLayer(), SegmentedColorGenerator::loadBuffer(), RLEGenerator::loadBuffer(), RegionGenerator::loadBuffer(), RawCameraGenerator::loadBuffer(), PNGGenerator::loadBuffer(), JPEGGenerator::loadBuffer(), InterleavedYUVGenerator::loadBuffer(), loadBuffer(), BufferedImageGenerator::loadBuffer(), SegmentedColorGenerator::saveBuffer(), RLEGenerator::saveBuffer(), RegionGenerator::saveBuffer(), RawCameraGenerator::saveBuffer(), PNGGenerator::saveBuffer(), JPEGGenerator::saveBuffer(), InterleavedYUVGenerator::saveBuffer(), saveBuffer(), CDTGenerator::saveBuffer(), BufferedImageGenerator::saveBuffer(), RawCameraGenerator::saveFileStream(), BufferedImageGenerator::saveFileStream(), and selectSaveImage().
an array of size numLayers, skip (in bytes) from row end to next row begin Definition at line 356 of file FilterBankGenerator.h. Referenced by destruct(), RawCameraGenerator::doEvent(), CDTGenerator::doEvent(), BufferedImageGenerator::doEvent(), getSkip(), RawCameraGenerator::setDimensions(), CDTGenerator::setDimensions(), BufferedImageGenerator::setDimensions(), PNGGenerator::setNumImages(), JPEGGenerator::setNumImages(), and setNumImages().
the generator of the last FilterBankEvent received Definition at line 349 of file FilterBankGenerator.h. Referenced by SegmentedColorGenerator::calcImage(), RLEGenerator::calcImage(), PNGGenerator::calcImage(), JPEGGenerator::calcImage(), InterleavedYUVGenerator::calcImage(), InterleavedYUVGenerator::createImageCache(), RegionGenerator::doEvent(), PNGGenerator::doEvent(), JPEGGenerator::doEvent(), doEvent(), FilterBankGenerator(), getSourceGenerator(), JPEGGenerator::JPEGGenerator(), PNGGenerator::PNGGenerator(), refresh(), and setDimensions().
an array of size numLayers, stride (in bytes) from a given column in one row to the same column in the next row Definition at line 357 of file FilterBankGenerator.h. Referenced by destruct(), RawCameraGenerator::doEvent(), CDTGenerator::doEvent(), BufferedImageGenerator::doEvent(), BufferedImageGenerator::downsampleImage(), getStride(), SegmentedColorGenerator::setDimensions(), RawCameraGenerator::setDimensions(), InterleavedYUVGenerator::setDimensions(), CDTGenerator::setDimensions(), BufferedImageGenerator::setDimensions(), PNGGenerator::setNumImages(), JPEGGenerator::setNumImages(), and setNumImages().
the current frame number available from the system - subclasses which receive data directly from the system should set this (and should not use EventGeneratorBase's auto-listen to ensure this is accurate) Definition at line 381 of file FilterBankGenerator.h. Referenced by RawCameraGenerator::doEvent(), CDTGenerator::doEvent(), BufferedImageGenerator::doEvent(), and refresh().
an array of size numLayers, width (in samples) in pixels of each layer Definition at line 354 of file FilterBankGenerator.h. Referenced by BufferedImageGenerator::calcDx(), BufferedImageGenerator::calcDy(), PNGGenerator::calcImage(), JPEGGenerator::calcImage(), BufferedImageGenerator::calcImage(), SegmentedColorGenerator::createImageCache(), RawCameraGenerator::createImageCache(), PNGGenerator::createImageCache(), JPEGGenerator::createImageCache(), InterleavedYUVGenerator::createImageCache(), BufferedImageGenerator::createImageCache(), destruct(), RawCameraGenerator::doEvent(), CDTGenerator::doEvent(), BufferedImageGenerator::doEvent(), BufferedImageGenerator::downsampleImage(), SegmentedColorGenerator::getBinSize(), RawCameraGenerator::getBinSize(), PNGGenerator::getBinSize(), JPEGGenerator::getBinSize(), InterleavedYUVGenerator::getBinSize(), getBinSize(), CDTGenerator::getBinSize(), BufferedImageGenerator::getBinSize(), getImageSize(), getWidth(), SegmentedColorGenerator::loadBuffer(), RawCameraGenerator::loadBuffer(), InterleavedYUVGenerator::loadBuffer(), loadBuffer(), BufferedImageGenerator::loadBuffer(), refresh(), SegmentedColorGenerator::saveBuffer(), RawCameraGenerator::saveBuffer(), InterleavedYUVGenerator::saveBuffer(), saveBuffer(), CDTGenerator::saveBuffer(), BufferedImageGenerator::saveBuffer(), RawCameraGenerator::saveFileStream(), BufferedImageGenerator::saveFileStream(), SegmentedColorGenerator::setDimensions(), RawCameraGenerator::setDimensions(), InterleavedYUVGenerator::setDimensions(), setDimensions(), CDTGenerator::setDimensions(), BufferedImageGenerator::setDimensions(), setNumImages(), RawCameraGenerator::upsampleImage(), and BufferedImageGenerator::upsampleImage(). The documentation for this class was generated from the following files: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:08 2016 by Doxygen 1.6.3 |