|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
|
PUBLIC |
ImageS4IterC::ImageS4IterC(void)
ImageS4IterC::ImageS4IterC(const ImageC &,const ImageC &,const ImageC &,const ImageC &)
ImageS4IterC::ImageS4IterC(const ImageC &,const ImageRectangleC &,const ImageC &,const ImageRectangleC &,const ImageC &,const ImageRectangleC &,const ImageC &,const ImageRectangleC &)
ImageS4IterC::ImageS4IterC(const ImageS4IterC &)
ImageS4IterC::First(void)
ImageS4IterC::Next(void)
ImageS4IterC::RNext(void)
ImageS4IterC::Data1(void)
ImageS4IterC::Data2(void)
ImageS4IterC::Data3(void)
ImageS4IterC::Data4(void)
ImageS4IterC::Col(void) const
ImageS4IterC::Pixel(void) const
ImageS4IterC::Row(void) const
ImageS4IterC::IsElm(void) const
ImageS4IterC::IsEndOfRow(void) const
ImageS4IterC::RowPtr4(const IndexT &)
ImageS3IterC::First(void)
ImageS3IterC::Next(void)
ImageS3IterC::RNext(void)
ImageS3IterC::Data1(void)
ImageS3IterC::Data2(void)
ImageS3IterC::Data3(void)
ImageS3IterC::Col(void) const
ImageS3IterC::Pixel(void) const
ImageS3IterC::Row(void) const
ImageS3IterC::IsElm(void) const
ImageS3IterC::IsEndOfRow(void) const
ImageS3IterC::RowPtr3(const IndexT &)
ImageS2IterC::First(void)
ImageS2IterC::Next(void)
ImageS2IterC::RNext(void)
ImageS2IterC::Data1(void)
ImageS2IterC::Data2(void)
ImageS2IterC::Col(void) const
ImageS2IterC::Pixel(void) const
ImageS2IterC::Row(void) const
ImageS2IterC::IsElm(void) const
ImageS2IterC::IsEndOfRow(void) const
ImageS2IterC::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 &)
|
Comments:
NB. This does NOT hold a refrence to any of the images!
Allows FAST iteration over a pair of images. It is intended for
implementing image processing operations which require access to
a pixel in two images.
Note that the two images do not need to be of the same type.
Parent Classes:
protected ImageS3IterC<class Data1C,class Data2C,class Data3C>
Derived Classes:
Variables:
- Data2C ** img4;
-
table of pointers to image rows
- Data2C * place4;
-
Ptr to current pixel in output image
- IndexT lcol4;
-
Offset of left coloumb in image2;
- IndexT row4;
-
row in image2;
- IndexT trow4;
-
top row in image2.
Methods:
- ImageS4IterC()
-
Default constructor
- ImageS4IterC(const ImageC<Data1C> & img1,const ImageC<Data2C> & img2,const ImageC<Data3C> & img3,const ImageC<Data4C> & img4)
-
Construct from input and output images.
- ImageS4IterC(const ImageC<Data1C> & img1,const ImageRectangleC & rect1,const ImageC<Data2C> & img2,const ImageRectangleC & rect2,const ImageC<Data3C> & img3,const ImageRectangleC & rect3,const ImageC<Data4C> & img4,const ImageRectangleC & rect4)
-
Construct from input and output images.
rect1 and rect2 should must be the same size.
- ImageS4IterC(const ImageS4IterC & Oth)
-
Copy constructor.
- 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.
- Data1C & Data1()
-
Access pixel from image 1
- Data2C & Data2()
-
Access pixel from image 1
- Data3C & Data3()
-
Access pixel from image 1
- Data4C & Data4()
-
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 ?
- BooleanT IsEndOfRow() const
-
Test if last pixel in row.
- Data2C * RowPtr4(const IndexT & x)
-
Get start of row for image 2
- 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.
- Data1C & Data1()
-
Access pixel from image 1
- Data2C & Data2()
-
Access pixel from image 1
- Data3C & Data3()
-
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 ?
- BooleanT IsEndOfRow() const
-
Test if last pixel in row.
- Data2C * RowPtr3(const IndexT & x)
-
Get start of row for image 2
- 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.
- 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 ?
- BooleanT IsEndOfRow() const
-
Test if last pixel in row.
- Data2C * RowPtr2(const IndexT & x)
-
Get start of row for image 2
- 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
|