Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Images - IO - Formats - DPIImageJPegBodyC<class PixelT>
 

  PUBLIC
DPIImageJPegBodyC::DPIImageJPegBodyC(const StringC &)
DPIImageJPegBodyC::DPIImageJPegBodyC(const IStreamC &)
DPIImageJPegBodyC::IsGetEOS(void) const
DPIImageJPegBodyC::Get(void)
DPIImageJPegBodyC::Get(ImageC &)
DPIImageJPegBodyC::Read(ImageC &)
DPIPortBodyC::Get(void)
DPIPortBodyC::Get(DataT &)
DPIPortBodyC::GetArray(SArray1dC &)
DPIPortBodyC::InputType(void) const
DPIPortBodyC::Save(ostream &) const
DPIPortBodyC::Discard(void)
DPImageIOJPegIBaseC::InitI(IStreamC &)
DPImageIOJPegIBaseC::FIn(void)
DPImageIOJPegIBaseC::BaseIsGetEOS(void) const
DPImageIOJPegIBaseC::SetupFormat(const type_info &)
DPIPortBaseBodyC::IsGetReady(void) const
DPIPortBaseBodyC::IsGetEOS(void) const
DPIPortBaseBodyC::InputType(void) const
DPIPortBaseBodyC::Save(ostream &) const
DPIPortBaseBodyC::Discard(void)
DPImageIOJPegBaseC::BufferSize(void) const
DPPortBodyC::IsAsync(void) const
DPPortBodyC::Save(ostream &) const
DPPortBodyC::ConnectedTo(void) const
DPPortBodyC::GetAttr(const StringC &,StringC &)
DPPortBodyC::SetAttr(const StringC &,const StringC &)
DPEntityBodyC::Save(ostream &) const
DPEntityBodyC::Save(BinOStreamC &) const
DPEntityBodyC::Copy(void) const
RCBodyVC::Save(ostream &) const
RCBodyVC::Save(BinOStreamC &) const
RCBodyVC::Copy(void) const
RCBodyVC::DeepCopy(UIntT) const
RCBodyC::References(void) const
RCBodyC::Copy(void) const
RCBodyC::DeepCopy(UIntT) const
RCBodyC::IncRefCounter(void)
RCBodyC::DecRefCounter(void)

   DPIImageJPegBodyC<class PixelT>   
 
Load a JPEG image.
 
include "Ravl/Image/ImgIOJPegB.hh"
Created:29/10/1998 
Source file:Ravl/Image/ExternalImageIO/ImgIOJPegB.hh
User Level:Develop
Library:RavlExtImgIO
In Scope:RavlImageN

Parent Classes: Methods:
DPIImageJPegBodyC(const StringC & fn)
Constructor from filename.

DPIImageJPegBodyC(const IStreamC & in)
Constructor from stream.
Not supported at the moment...

bool IsGetEOS() const
Is valid data ?

ImageC<PixelT> Get()
Get next piece of data.

bool Get(ImageC<PixelT> & buff)
Get next piece of data.

bool Read(ImageC<PixelT> & buf)
Read image data.

#include "Ravl/DP/Port.hh"
ImageC<PixelT> Get()
Get next piece of data.
May block if not ready, or it could throw an DataNotReadyC exception. NB. This function MUST be provided by client class.

bool Get(ImageC<PixelT> & buff)
Try and get next piece of data.
This may not NOT block, if no data is ready it will return false, and not set buff. NB. The default version of this function uses the Get() method defined above and so need not be provided by derived classes.

IntT GetArray(SArray1dC<ImageC<PixelT>> & data)
Get an array of data from stream.
returns the number of elements succesfully processed. NB. This need NOT be overridden in client classes unless fast handling of arrays of data elements is required.

const type_info & InputType() const
Input type.

bool Save(ostream & out) const
Save to ostream.

bool Discard()
Discard the next input datum.

#include "Ravl/Image/ImgIOJPegB.hh"
void InitI(IStreamC & is)
Initalise Input.

IStreamC & FIn()
Access output stream.

bool BaseIsGetEOS() const
Test if we're at the end of the stream.

bool SetupFormat(const type_info & ti)
Setup input format.
Must be called after header has been read.

#include "Ravl/DP/Port.hh"
bool IsGetReady() const
Is some data ready ?
true = yes. Defaults to !IsGetEOS().

bool IsGetEOS() const
Has the End Of Stream been reached ?
true = yes.

const type_info & InputType() const
Input type.

bool Save(ostream & out) const
Save to ostream.

bool Discard()
Discard the next input datum.

#include "Ravl/Image/ImgIOJPegB.hh"
unsigned int BufferSize() const
Access buffer size.

#include "Ravl/DP/Port.hh"
bool IsAsync() const
Does port work asynchronously ?

bool Save(ostream & out) const
Save to ostream.

DPPortC ConnectedTo() const
Is this port connected to another ?
If not returns invalid handle.

bool GetAttr(const StringC & attrName,StringC & attrValue)
Get a stream attribute.
Returns false if the attribute name is unknown. This is for handling stream attributes such as frame rate, and compression ratios.

bool SetAttr(const StringC & attrName,const StringC & attrValue)
Set a stream attribute.
Returns false if the attribute name is unknown. This is for handling stream attributes such as frame rate, and compression ratios.

#include "Ravl/DP/Entity.hh"
bool Save(ostream & out) const
Save to ostream.

bool Save(BinOStreamC & out) const
Save to binary stream.

RCBodyVC & Copy() const
Creat a copy of this object.

#include "Ravl/RCHandleV.hh"
bool Save(ostream & out) const
Save to stream 'out'.

bool Save(BinOStreamC & out) const
Save to binary stream 'out'.

RCBodyVC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

#include "Ravl/RefCounter.hh"
UIntT References() const
Access count of handles open to this object.

RCBodyC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

void IncRefCounter()
Increment reference counter.

bool DecRefCounter()
Decrement reference counter.


Maintainer:Charles Galambos, Created: 29/10/1998, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002