User Documentation
Centre for Vision, Speech & Signal Processing
DEVELOP IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
LImageIter2C::LImageIter2C(const ImageC &,const ImageC &)
LImageIter2C::LImageIter2C(const ImageC &,const ImageC &,const ImageRectangleC &)
LImageIter2C::First(void)
LImageIter2C::Next(void)
LImageIter2C::operator++(void)
LImageIter2C::operator++(int)
LImageIter2C::RNext(void)
LImageIter2C::Col(void) const
LImageIter2C::Pixel(void) const
LImageIter2C::Data1(void)
LImageIter2C::Data1(void) const
LImageIter2C::DataU1(void)
LImageIter2C::DataU1(void) const
LImageIter2C::DataB1(void)
LImageIter2C::DataB1(void) const
LImageIter2C::Data2(void)
LImageIter2C::Data2(void) const
LImageIter2C::DataU2(void)
LImageIter2C::DataU2(void) const
LImageIter2C::DataB2(void)
LImageIter2C::DataB2(void) const
LImageIter2C::Row(void) const
LImageIter2C::IsElm(void) const
LImageIter2C::operator bool(void) const
LImageIter2C::IsEndOfRow(void) const
LImageIter2C<class Data1C,class Data2C>
 
Pointer based image iterator.
 
include "amma/Image/LImageIter2.hh"
User Level:Default
Library:Image
Example:exIter.cc
Section:Image.Indexing.Iterators
In Scope:std

Comments:
NB. This does NOT create a refrence to the image.

A small object.

Variables:
Methods:
LImageIter2C(const ImageC<Data1C> & Img1,const ImageC<Data2C> & Img2)
Construct from an image.
This initalises the iterator to the first pixel in the image, as if First() had been called.

NB. Be VERY carefull because this can break the constant mechanism.


LImageIter2C(const ImageC<Data1C> & Img1,const ImageC<Data2C> & Img2,const ImageRectangleC & rect)
Construct from an image, and a rectangle.
The iterator will iterate though rectangle 'rect' of image. This initalises the iterator to the first pixel in the image, as if First() had been called.

NB. Be VERY carefull because this can break the constant mechanism.


BooleanT First()
Goto first pixel in image.
Returns false if image is empty.

void Next()
Goto next pixel in the image.

void operator++()
Goto next pixel in the image.

void operator++(int)
Goto next pixel in the image.

BooleanT RNext()
Goto next pixel in the image.
Returns TRUE, if next pixels is in same row. FALSE otherwise.

IndexT Col() const
Get current column.
(SLOW) Use ImagPIterC<> if you use this alot.

PixelC Pixel() const
Get current pixel location.
(SLOW) Use ImagPIterC<> if you use this alot.

Data1C & Data1()
Get value of current pixel.

const Data1C & Data1() const
Get value of current pixel.

Data1C & DataU1()
Get value of pixel above current pixel

const Data1C & DataU1() const
Get value of pixel above current pixel

Data1C & DataB1()
Get value of pixel left of current pixel

const Data1C & DataB1() const
Get value of pixel left of current pixel

Data2C & Data2()
Get value of current pixel.

const Data2C & Data2() const
Get value of current pixel.

Data2C & DataU2()
Get value of pixel above current pixel

const Data2C & DataU2() const
Get value of pixel above current pixel

Data2C & DataB2()
Get value of pixel left of current pixel

const Data2C & DataB2() const
Get value of pixel left of current pixel

IndexT Row() const
Get current row.

BooleanT IsElm() const
At valid pixel in image ?

operator bool() const
At valid pixel in image ?

BooleanT IsEndOfRow() const
Test if last pixel in row.


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001