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

  PUBLIC
Image4IterC::Image4IterC(void)
Image4IterC::Image4IterC(const ImageC &,const ImageC &,const ImageC &,const ImageC &)
Image4IterC::Image4IterC(const Image4IterC &)
Image4IterC::First(void)
Image4IterC::IsElm(void) const
Image4IterC::Next(void)
Image4IterC::operator++(void)
Image4IterC::operator++(int)
Image4IterC::RNext(void)
Image4IterC::Row(void) const
Image4IterC::Col(void) const
Image4IterC::Pixel(void) const
Image4IterC::Data1(void)
Image4IterC::Data2(void)
Image4IterC::Data3(void)
Image4IterC::Data4(void)
Image4IterC::RowPtr4(const IndexT &)
Image3IterC::First(void)
Image3IterC::IsElm(void) const
Image3IterC::operator bool(void) const
Image3IterC::Next(void)
Image3IterC::operator++(void)
Image3IterC::operator++(int)
Image3IterC::RNext(void)
Image3IterC::Row(void) const
Image3IterC::Col(void) const
Image3IterC::Pixel(void) const
Image3IterC::Data1(void)
Image3IterC::Data2(void)
Image3IterC::Data3(void)
Image3IterC::RowPtr3(const IndexT &)
Image2IterC::First(void)
Image2IterC::Next(void)
Image2IterC::RNext(void)
Image2IterC::operator++(void)
Image2IterC::operator++(int)
Image2IterC::Data1(void)
Image2IterC::Data2(void)
Image2IterC::Col(void) const
Image2IterC::Pixel(void) const
Image2IterC::Row(void) const
Image2IterC::IsElm(void) const
Image2IterC::operator bool(void) const
Image2IterC::IsEndOfRow(void) const
Image2IterC::RowPtr2(const IndexT &)
ImageIterC::operator=(const ImageC &)
ImageIterC::First(void)
ImageIterC::Next(void)
ImageIterC::operator++(void)
ImageIterC::operator++(int)
ImageIterC::RNext(void)
ImageIterC::Col(void) const
ImageIterC::Pixel(void) const
ImageIterC::Data(void)
ImageIterC::Data(void) const
ImageIterC::operator*(void)
ImageIterC::operator*(void) const
ImageIterC::operator->(void)
ImageIterC::operator->(void) const
ImageIterC::Row(void) const
ImageIterC::IsElm(void) const
ImageIterC::operator bool(void) const
ImageIterC::IsEndOfRow(void) const
ImageIterC::RowPtr(const IndexT &)
Image4IterC<class Data1C,class Data2C,class Data3C,class Data4C>
 
Pointer based image iterator for image triples.
 
include "amma/Image4Iter.hh"
User Level:Default
Library:Image
Example:exIter.cc
Section:Image.Indexing.Iterators
In Scope:std

Comments:
NB. This does NOT hold a refrence to any of the images!

Allows FAST iteration over three images. It is intended for implementing image processing operations which require to access the same pixel in 3 different, but equally sized images.

Parent Classes: Variables:
Data3C ** img4;
table of pointers to image rows

Data3C * place4;
Ptr to current pixel in output image

IndexT lcol4;
Offset of left coloumb in image2;

Methods:
Image4IterC()
Default constructor

Image4IterC(const ImageC<Data1C> & img1,const ImageC<Data2C> & img2,const ImageC<Data3C> & img3,const ImageC<Data3C> & img4)
Construct from input and output images.

Image4IterC(const Image4IterC<Data1C,Data2C,Data3C,Data4C> & Oth)
Copy constructor.

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

BooleanT IsElm() const
At valid pixels in the images?

void Next()
Goto next pixel in image.

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

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

BooleanT RNext()
Goto next pixel in image.

IndexT Row() const
Get current row

IndexT Col() const
Get current col
Warning: this is slow!

PixelC Pixel() const
Get current pixel location.
Warning: this is slow!

Data1C & Data1()
Access pixel value from image 1

Data2C & Data2()
Access pixel value from image 2

Data3C & Data3()
Access pixel value from image 2

Data4C & Data4()
Access pixel value from image 3

Data3C * RowPtr4(const IndexT & x)
Get start of row for image 2

#include "amma/Image3Iter.hh"
BooleanT First()
Goto first pixel in image.
Returns false if image is empty.

BooleanT IsElm() const
At valid pixels in the images?

operator bool() const
At valid pixel in image ?

void Next()
Goto next pixel in image.

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

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

BooleanT RNext()
Goto next pixel in image.

IndexT Row() const
Get current row

IndexT Col() const
Get current col
Warning: this is slow!

PixelC Pixel() const
Get current pixel location.
Warning: this is slow!

Data1C & Data1()
Access pixel value from image 1

Data2C & Data2()
Access pixel value from image 2

Data3C & Data3()
Access pixel value from image 3

Data3C * RowPtr3(const IndexT & x)
Get start of row for image 2

#include "amma/Image2Iter.hh"
BooleanT First()
Goto first pixel in image.
Returns false if image is empty.

void Next()
Goto next pixel in image.

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

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

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

Data1C & Data1()
Access pixel from image 1

Data2C & Data2()
Access pixel from image 2

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.

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.

Data2C * RowPtr2(const IndexT & x)
Get start of row for image 2

#include "amma/ImagIter.hh"
const ImageIterC<Data1C> & operator=(const ImageC<Data1C> & Oth)
Assign a new image to iterator.
NB. This will reset iterator to begining of image.

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 & Data()
Get value of current pixel.

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

Data1C & operator*()
Get value of current pixel.

const Data1C & operator*() const
Get value of current pixel.

Data1C * operator->()
Get value of current pixel.

const Data1C * operator->() const
Get value 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.

Data1C * RowPtr(const IndexT & x)
Get start of row.


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001