User Documentation
RAVL, Recognition And Vision Library
Ravl - Images - Edges - EdgeDetectorC

EdgeDetectorC::Apply(const ImageC &,EdgeLinkC &,ImageC &,ImageC &,ImageC &)
EdgeDetectorC::Apply(const ImageC &,SArray1dC &)
EdgeDetectorC::PApply(const ImageC &)
EdgeDetectorC::Apply(const ImageC &,DListC &)
RCHandleC::operator =(const RCHandleC &)
RCHandleC::DeepCopy(UIntT) const
RCHandleC::operator ==(const RCHandleC &) const
RCHandleC::operator !=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsValid(void) const
RCHandleC::IsHandleType(const DT &) const
RCHandleC::CheckHandleType(const DT &) const
RCHandleC::References(void) const
RCHandleC::operator <<(ostream &,const RCHandleC &)
RCHandleC::operator >>(istream &,RCHandleC &)

Edge detector.
include "Ravl/Image/EdgeDetector.hh"
User Level:Normal
In Scope:RavlImageN

This class wraps up all the components you need to go from grey scale image to a list of Edgels or pixel locations.

Parent Classes: Methods:
Default constructor.
Creates an invalid handle.

EdgeDetectorC(bool useDeriche,RealT minHyst = 15,RealT maxHyst = 20)
If useDeriche is set to false the system defaults to Sobel edge detection.

bool Apply(const ImageC<RealT> & img,EdgeLinkC & edgeMap,ImageC<RealT> & edgeDx,ImageC<RealT> & edgeDy,ImageC<RealT> & edgeMag)
Apply the edge detector to 'img', generate an edge link image.

bool Apply(const ImageC<RealT> & img,SArray1dC<EdgelC> & edges)
Apply the edge detector to 'img', generate an array of edgels.

SArray1dC<EdgelC> PApply(const ImageC<RealT> & img)
Apply the edge detector to 'img', generate an array of edgels.

bool Apply(const ImageC<RealT> & img,DListC<EdgelC> & edges)
Apply the edge detector to 'img', generate a list of edgels.

#include "Ravl/RefCounter.hh"
const RCHandleC<EdgeDetectorBodyC> & operator =(const RCHandleC<EdgeDetectorBodyC> & oth)
Assign handle.

RCHandleC<EdgeDetectorBodyC> DeepCopy(UIntT levels = ((UIntT))) const
Do a deep copy of the object.

bool operator ==(const RCHandleC<EdgeDetectorBodyC> & oth) const
Are handles to the same object ?

bool operator !=(const RCHandleC<EdgeDetectorBodyC> & oth) const
Are handles to different objects ?

UIntT Hash() const
Default hash function.
This hashes on the address of the body.

bool IsValid() const
Test if this is a valid handle.

void Invalidate()
Invalidate this handle.
Unattaches the body from the handle.

bool IsHandleType(const DT &) const
Is handle of given type ?

void CheckHandleType(const DT & dummy) const
Check handle type. Throw an expception if not.

UIntT References() const
Find the number of references to the body of this object.

ostream & operator <<(ostream & strm,const RCHandleC<EdgeDetectorBodyC> & obj)

istream & operator >>(istream & strm,RCHandleC<EdgeDetectorBodyC> & obj)

Maintainer:Charles Galambos, Documentation by CxxDoc: Tue Aug 13 09:59:02 2002