Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Images - Video - Formats - DPImageRGBBaseBodyC
 

  PUBLIC
DPImageRGBBaseBodyC::DPImageRGBBaseBodyC(const Index2dC &)
DPImageRGBBaseBodyC::SetupForVariant(const StringC &)
DPImageRGBBaseBodyC::SetupForVariant(const Index2dC &)
DPImageRGBBaseBodyC::CalcOffset(UIntT) const
DPImageRGBBaseBodyC::CalcOffset(IntT) const
DPImageRGBBaseBodyC::WriteHdr(StringC)
DPImageRGBBaseBodyC::ReadHdr(StringC &)
DPImageRGBBaseBodyC::SetSequenceSize(UIntT)
DPImageRGBBaseBodyC::SeqSize(void) const
DPImageRGBBaseBodyC::is_odd(IndexC)

   DPImageRGBBaseBodyC   
 
Basic information about a raw rgb file
 
include "Ravl/Image/ImgIOrgb.hh"
Created:13/05/1999 
Source file:Ravl/Image/VideoIO/ImgIOrgb.hh
User Level:Develop
Library:RavlVideoIO
Example:exImgSeq.cc
In Scope:RavlImageN

Derived Classes: Variables:
ImageRectangleC rect;
Size of RGB variant. Origin 0,0

UIntT frameSize;
Size of one frame in bytes.

UIntT frameNo;
Current frameno.

UIntT seqSize;
Number of frames in sequence, ((UIntT) -1) if unknown

UIntT blockSize;
Size of blocks.

UIntT padSize;
Pad size..

bool rawMode;
Raw IO mode ?

bool doneHdr;
Written header yet ?

int fd;
File descriptor.

Methods:
DPImageRGBBaseBodyC(const Index2dC & size = Index2dC (576))
Constructor.
This constructs with the basic yuv format.

bool SetupForVariant(const StringC & suffix)
Setup for cif variant.
str should be one of : ??

bool SetupForVariant(const Index2dC & size)
Setup for cif variant.
Where size in the size of the Y image.

UIntT CalcOffset(UIntT frameNo) const
Calculate the offset of a frame.

IntT CalcOffset(IntT frameNo) const
Calculate the offset of a frame.

bool WriteHdr(StringC type)
Write header block.

bool ReadHdr(StringC & type)
Read header block.

void SetSequenceSize(UIntT val)
Set the sequence size.

UIntT SeqSize() const
Get the sequence size.

static bool is_odd(IndexC x)
Is an index odd ?


Maintainer:Charles Galambos, Created: 13/05/1999, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002