dmIProfile Class Reference

Compute intensity profile from given path. More...

#include <CCI_Profile.h>

Inherits dmINotify.

List of all members.

Public Member Functions

bool SetPath (dm_uint type, dm_ptr points, dm_uint count=1)
 Set the profile path.
bool Compute (cci_object *params)
 Compute the profil.
bool Clear ()
 Clear profile data.
bool GetValues (dm_real *&values, dm_uint &size)
 Return an arrays of the profile intensity values.
bool GetPath (dm_point *&points, dm_uint &size)
 Return an array of points corresponding to the computed profile.
bool GetData (cci_object *storage, const char_t *profile1, const char_t *profile2, const char_t *xpath, const char_t *ypath)
 Store specified data in dmIStorageMap object.
bool SetFilterParameters (dm_uint order, dm_uint deriv, dm_uint extend, const char_t *mode)
 Set the Savitzky Golay filter parameters applied on profil.


Detailed Description

Compute intensity profile from given path.


Member Function Documentation

bool dmIProfile::Compute cci_object *  params  )  [inline]
 

Compute the profil.

Parameters:
params the parameters object handle ( see dmIParameters )

bool dmIProfile::GetData cci_object *  storage,
const char_t *  profile1,
const char_t *  profile2,
const char_t *  xpath,
const char_t *  ypath
[inline]
 

Store specified data in dmIStorageMap object.

Parameters:
storage An instance of a dmIStorageMap object
profile1 The label used to store the profile values,
profile2 The label used to store the raw profiles values (not filtered)
xpath The label used to store x coordinates of the points corresponding to the computed profile
ypath The label used to store y coordinates of the points corresponding to the computed profile

bool dmIProfile::SetFilterParameters dm_uint  order,
dm_uint  deriv,
dm_uint  extend,
const char_t *  mode
[inline]
 

Set the Savitzky Golay filter parameters applied on profil.

By setting the parameters with order greater than 0, the values of the profil will be filtered by a 1D symetrical a Savitzky Golay smoothing filter of order order and half width extend.

The parameter deriv set the order of the dérivation applied to the signal

Setting to zero disable the filter

bool dmIProfile::SetPath dm_uint  type,
dm_ptr  points,
dm_uint  count = 1
[inline]
 

Set the profile path.

Parameters:
type : the type of path to be created
points : the object holding the coordinates of the path
The path is computed using internal bresenham algorithms.


Generated on Tue May 9 12:34:57 2006 for Daim Library Module Set by  doxygen 1.4.6-NO