Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Images - Lines - PixelMapC
 

  PUBLIC
PixelMapC::PixelMapC(void)
PixelMapC::PixelMapC(const Point2dC &)
PixelMapC::PixelMapC(RealT)
PixelMapC::operator =(const ImageC &)
PixelMapC::Insert(const Index2dC &)
PixelMapC::Bin(const Point2dC &)
PixelMapC::BinKey(const Point2dC &)
PixelMapC::BinSize(void) const
PixelMapC::BinCentre(const Point2dC &) const
PixelMapC::Dump(ostream &)
PixelMapC::Image(ByteT,ByteT)
PixelMapC::Empty(void)

   PixelMapC   
 
Binned hash table of pixels in an image.
 
include "Ravl/Image/PixelMap.hh"
Created:16/7/97 
Source file:Ravl/Image/Processing/Lines/PixelMap.hh
User Level:Normal
Library:RavlImageProc
In Scope:RavlImageN

Comments:
SMALL OBJECT

Variables:
BinListC local;

Methods:
PixelMapC()
Default constructor.

PixelMapC(const Point2dC & nBinSize)
Constructor.

PixelMapC(RealT corridor)
Constructor.

const PixelMapC & operator =(const ImageC<ByteT> & img)
Clean map and put all pixels with non-zero values. into map.

void Insert(const Index2dC & pix)
Put a new pixel into map.

DListC<Index2dC> & Bin(const Point2dC & pnt)
List pixels in bin around Pnt.

Index2dC BinKey(const Point2dC & pnt)
Pnt to bin conversion. FIXME :- Should be 'const'.

Point2dC BinSize() const
Get size of bins.

Point2dC BinCentre(const Point2dC & at) const
Get centre of bin.

void Dump(ostream & Out)
Dump pixels to stream.

ImageC<ByteT> Image(ByteT forground = 255,ByteT background = 0)
Create an image with pixels marked.

void Empty()
Empty the map of all data.


Maintainer:Charles Galambos, Created: 16/7/97, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002