IGS_ImageFloat1 Class Reference

#include <basic/geometry/IGS/IGS_ImageFloat1.h>

Inherits IGS_ImageChannel1.

Inheritance diagram for IGS_ImageFloat1:

Inheritance graph
[legend]
Collaboration diagram for IGS_ImageFloat1:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 IGS_ImageFloat1 ()
 ~IGS_ImageFloat1 ()
void AddBorder (const int width, const float value)
void FileSave (const char *filename) const
void FileLoad (const char *filename)
void FindMax (int &xMax, int &yMax, float absoluteMax=1000) const
virtual const void *const GetBuffer () const
virtual void *& GetBuffer ()
void GetGradient (const int x, const int y, float &xg, float &yg)
float GetPixel (const int x, const int y) const
virtual float GetPixelFloat1 (const int x, const int y) const
virtual void Initialize ()
IGS_ImageFloat1operator= (const IGS_ImageChannel1 &right)
IGS_ImageFloat1operator= (const IGS_ImageFloat1 &right)
IGS_ImageFloat1operator= (const float right)
IGS_ImageFloat1operator+= (const IGS_ImageFloat1 &right)
IGS_ImageFloat1operator *= (const IGS_ImageFloat1 &right)
IGS_ImageFloat1operator *= (const float f)
void OperationAbs ()
void OperationBlur ()
void OperationDilate (const float maxRadius)
void OperationIncrease (const float f)
void OperationInvert ()
void OperationFilter (const IGS_FilterMatrixFloat f, IGS_ImageFloat1 &output)
void OperationRangeStretch (const float low, const float hi)
void OperationScale (const float f)
void OperationThreshold (const float f)
void PutPixel (const int x, const int y, float newValue)
virtual void PutPixelFloat1 (const int x, const int y, const float value)

Protected Attributes

float * pixels

Detailed Description

Definition at line 7 of file IGS_ImageFloat1.h.


Constructor & Destructor Documentation

IGS_ImageFloat1::IGS_ImageFloat1  ) 
 

Definition at line 12 of file IGS_ImageFloat1.cpp.

References IGS_Image::SetType().

Here is the call graph for this function:

IGS_ImageFloat1::~IGS_ImageFloat1  ) 
 

Definition at line 23 of file IGS_ImageFloat1.cpp.

References IGS_Image::Invalidate().

Here is the call graph for this function:


Member Function Documentation

void IGS_ImageFloat1::AddBorder const int  width,
const float  value
 

Definition at line 33 of file IGS_ImageFloat1.cpp.

References IGS_Image::GetSizeX(), PutPixel(), and w.

Here is the call graph for this function:

void IGS_ImageFloat1::FileLoad const char *  filename  ) 
 

Definition at line 80 of file IGS_ImageFloat1.cpp.

References IGS_Image::ComputeMaxIndex(), Initialize(), pixels, IGS_Image::sizeX, and IGS_Image::sizeY.

Here is the call graph for this function:

void IGS_ImageFloat1::FileSave const char *  filename  )  const
 

Definition at line 63 of file IGS_ImageFloat1.cpp.

References IGS_Image::ComputeMaxIndex(), pixels, IGS_Image::sizeX, and IGS_Image::sizeY.

Here is the call graph for this function:

void IGS_ImageFloat1::FindMax int &  xMax,
int &  yMax,
float  absoluteMax = 1000
const
 

Definition at line 101 of file IGS_ImageFloat1.cpp.

References GetPixel(), IGS_Image::sizeX, and IGS_Image::sizeY.

Here is the call graph for this function:

void *& IGS_ImageFloat1::GetBuffer  )  [virtual]
 

Implements IGS_Image.

Definition at line 142 of file IGS_ImageFloat1.cpp.

References pixels.

const void *const IGS_ImageFloat1::GetBuffer  )  const [virtual]
 

Implements IGS_Image.

Definition at line 131 of file IGS_ImageFloat1.cpp.

References pixels.

void IGS_ImageFloat1::GetGradient const int  x,
const int  y,
float &  xg,
float &  yg
 

Definition at line 152 of file IGS_ImageFloat1.cpp.

References GetPixel().

Here is the call graph for this function:

float IGS_ImageFloat1::GetPixel const int  x,
const int  y
const
 

Definition at line 225 of file IGS_ImageFloat1.cpp.

References IGS_Image::ComputeIndex(), and pixels.

Referenced by FindMax(), GetGradient(), OperationFilter(), and IGS_ImageFloat3::operator *=().

Here is the call graph for this function:

float IGS_ImageFloat1::GetPixelFloat1 const int  x,
const int  y
const [virtual]
 

Implements IGS_ImageChannel1.

Definition at line 238 of file IGS_ImageFloat1.cpp.

void IGS_ImageFloat1::Initialize  )  [virtual]
 

Implements IGS_Image.

Definition at line 249 of file IGS_ImageFloat1.cpp.

References Semaphore::Lock(), pixels, IGS_Image::semaphore, IGS_Image::SizeOfType(), IGS_Image::sizeX, IGS_Image::sizeY, and Semaphore::Unlock().

Referenced by FileLoad(), OperationFilter(), and operator=().

Here is the call graph for this function:

void IGS_ImageFloat1::OperationAbs  ) 
 

Definition at line 266 of file IGS_ImageFloat1.cpp.

References IGS_Image::ComputeMaxIndex(), and pixels.

Here is the call graph for this function:

void IGS_ImageFloat1::OperationBlur  ) 
 

Definition at line 281 of file IGS_ImageFloat1.cpp.

References IGS_FilterMatrixFloat::Normalize(), and OperationFilter().

Here is the call graph for this function:

void IGS_ImageFloat1::OperationDilate const float  maxRadius  ) 
 

Definition at line 308 of file IGS_ImageFloat1.cpp.

References XYpair::x, and XYpair::y.

void IGS_ImageFloat1::OperationFilter const IGS_FilterMatrixFloat  f,
IGS_ImageFloat1 output
 

Definition at line 493 of file IGS_ImageFloat1.cpp.

References GetPixel(), IGS_FilterMatrixFloat::GetValue(), Initialize(), IGS_FilterMatrixFloat::mSizeX, IGS_FilterMatrixFloat::mSizeY, IGS_Image::SetResolution(), IGS_Image::sizeX, and IGS_Image::sizeY.

Referenced by OperationBlur().

Here is the call graph for this function:

void IGS_ImageFloat1::OperationIncrease const float  f  ) 
 

Definition at line 463 of file IGS_ImageFloat1.cpp.

References IGS_Image::ComputeMaxIndex(), and pixels.

Here is the call graph for this function:

void IGS_ImageFloat1::OperationInvert  ) 
 

Definition at line 478 of file IGS_ImageFloat1.cpp.

References IGS_Image::ComputeMaxIndex(), and pixels.

Here is the call graph for this function:

void IGS_ImageFloat1::OperationRangeStretch const float  low,
const float  hi
 

Definition at line 527 of file IGS_ImageFloat1.cpp.

References IGS_Image::ComputeMaxIndex(), and pixels.

Here is the call graph for this function:

void IGS_ImageFloat1::OperationScale const float  f  ) 
 

Definition at line 557 of file IGS_ImageFloat1.cpp.

References IGS_Image::ComputeMaxIndex(), and pixels.

Referenced by operator *=().

Here is the call graph for this function:

void IGS_ImageFloat1::OperationThreshold const float  f  ) 
 

Definition at line 572 of file IGS_ImageFloat1.cpp.

References IGS_Image::ComputeMaxIndex(), and pixels.

Here is the call graph for this function:

IGS_ImageFloat1 & IGS_ImageFloat1::operator *= const float  f  ) 
 

Definition at line 612 of file IGS_ImageFloat1.cpp.

References OperationScale().

Here is the call graph for this function:

IGS_ImageFloat1 & IGS_ImageFloat1::operator *= const IGS_ImageFloat1 right  ) 
 

Definition at line 594 of file IGS_ImageFloat1.cpp.

References IGS_Image::ComputeMaxIndex(), IGS_Image::GetSizeX(), IGS_Image::GetSizeY(), and pixels.

Here is the call graph for this function:

IGS_ImageFloat1 & IGS_ImageFloat1::operator+= const IGS_ImageFloat1 right  ) 
 

Definition at line 623 of file IGS_ImageFloat1.cpp.

References IGS_Image::ComputeMaxIndex(), IGS_Image::GetSizeX(), IGS_Image::GetSizeY(), and pixels.

Here is the call graph for this function:

IGS_ImageFloat1 & IGS_ImageFloat1::operator= const float  right  ) 
 

Definition at line 687 of file IGS_ImageFloat1.cpp.

References IGS_Image::ComputeMaxIndex().

Here is the call graph for this function:

IGS_ImageFloat1 & IGS_ImageFloat1::operator= const IGS_ImageFloat1 right  ) 
 

Definition at line 668 of file IGS_ImageFloat1.cpp.

References IGS_Image::ComputeMaxIndex(), IGS_Image::GetSizeX(), IGS_Image::GetSizeY(), Initialize(), pixels, and IGS_Image::SetResolution().

Here is the call graph for this function:

IGS_ImageFloat1 & IGS_ImageFloat1::operator= const IGS_ImageChannel1 right  ) 
 

Definition at line 641 of file IGS_ImageFloat1.cpp.

References IGS_ImageChannel1::GetPixelFloat1(), IGS_Image::GetSizeX(), IGS_Image::GetSizeY(), Initialize(), PutPixel(), and IGS_Image::SetResolution().

Here is the call graph for this function:

void IGS_ImageFloat1::PutPixel const int  x,
const int  y,
float  newValue
 

Definition at line 704 of file IGS_ImageFloat1.cpp.

References IGS_Image::ComputeIndex(), and pixels.

Referenced by AddBorder(), and operator=().

Here is the call graph for this function:

void IGS_ImageFloat1::PutPixelFloat1 const int  x,
const int  y,
const float  value
[virtual]
 

Implements IGS_ImageChannel1.

Definition at line 717 of file IGS_ImageFloat1.cpp.


Member Data Documentation

float* IGS_ImageFloat1::pixels [protected]
 

Definition at line 41 of file IGS_ImageFloat1.h.

Referenced by FileLoad(), FileSave(), GetBuffer(), GetPixel(), Initialize(), OperationAbs(), OperationIncrease(), OperationInvert(), OperationRangeStretch(), OperationScale(), OperationThreshold(), operator *=(), operator+=(), operator=(), and PutPixel().


The documentation for this class was generated from the following files:
Generated on Sat Apr 1 21:48:52 2006 for Motion Planning Kernel by  doxygen 1.4.6-NO