Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

GenericFrame.H File Reference


Detailed Description

Discriminated union of rgb, grayscale, floating-point, and video-yuv images

Definition in file GenericFrame.H.

#include "Image/Image.H"
#include "Image/Layout.H"
#include "Image/Pixels.H"
#include "Video/VideoFrame.H"
#include "rutz/shared_ptr.h"
#include <string>
#include <map>

Include dependency graph for GenericFrame.H:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GenericFrame
 Discriminated union of rgb, grayscale, floating-point, and video-yuv images. More...
class  GenericFrame::MetaData
 MetaData for storing frame spacific information. More...
struct  GenericFrameSpec
 Gives specification of a GenericFrame. More...

Functions

bool operator== (const GenericFrame &f1, const GenericFrame &f2)
 Check equality of two GenericFrame objects, return true if they are identical.


Function Documentation

bool operator== const GenericFrame f1,
const GenericFrame f2
 

Check equality of two GenericFrame objects, return true if they are identical.

If the objects are of the same native type (and same video mode, if the native type is video), then we check equality of the native images; otherwise, we convert both images to RGB_F32 and compare the resulting images.

Definition at line 698 of file GenericFrame.C.

References GenericFrame::asGrayF32(), GenericFrame::asGrayU16(), GenericFrame::asGrayU8(), GenericFrame::asRgbF32(), GenericFrame::asRgbU16(), GenericFrame::asRgbU8(), GenericFrame::asVideo(), VideoFrame::getBuffer(), VideoFrame::getBufSize(), VideoFrame::getMode(), GenericFrame::GRAY_F32, GenericFrame::GRAY_U16, GenericFrame::GRAY_U8, GenericFrame::nativeType(), GenericFrame::NONE, GenericFrame::RGB_F32, GenericFrame::RGB_U16, GenericFrame::RGB_U8, and VideoFrame::toRgb().


Generated on Mon Nov 23 15:49:01 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4