dmIMTF Class Reference

Compute the ESF, LSF and MTF from edge. More...

#include <CCI_MTF.h>

Inherits dmINotify.

List of all members.

Public Member Functions

bool Scan (cci_object *params, dm_real x1, dm_real y1, dm_real x2, dm_real y2)
 Scan image according to the current ROI.
dm_real Sample (dm_uint samples, dm_uint degree, dm_real span)
 Sample edge data and build a new ESF function.
bool SetScale (dm_real xscale, dm_real yscale)
 Set image pixel dimensions.
cci_object * GetData ()
 Return the computed data.
bool LSF ()
 Compute LSF.
bool MTF ()
 Compute MTF.


Detailed Description

Compute the ESF, LSF and MTF from edge.


Member Function Documentation

cci_object* dmIMTF::GetData  )  [inline]
 

Return the computed data.

Return a handle to a dmIStorageMap object that holds the computed data

Columns:

  • "EDGE_X" The linear abcisses of the scanned ESF
  • "EDGE_Y" The edge values the scanned ESF
  • "SAMPLE_X" The linear abcisses of the sampled ESF
  • "ESF" The edge values the sampled ESF
  • "LSF" The edge values the sampled LSF
  • "MTF" The values of the MTF
  • "FREQ" The values of the frequencies for the MTF

dm_real dmIMTF::Sample dm_uint  samples,
dm_uint  degree,
dm_real  span
[inline]
 

Sample edge data and build a new ESF function.

This method use a loess algorithm to resample ESF data

Parameters:
samples number of sample bins
degree degree of the polynome used for the local fit
span smoothing parameter
The resampled data are suitable for computing the LSF (Line Spread Function) and the correponding MTF.

bool dmIMTF::Scan cci_object *  params,
dm_real  x1,
dm_real  y1,
dm_real  x2,
dm_real  y2
[inline]
 

Scan image according to the current ROI.

Intensity values are projected along the direction specified by the line defined by (x1,y1) (x2,y2)


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