Filter Library Camera Interface Physics

CScanFilterBGS_LbL Class Reference
[Background Subtraction Filter (Line by Line).]

#include <ScanFilterBGS_LbL.h>

Inheritance diagram for CScanFilterBGS_LbL:

CScanFilter List of all members.

Detailed Description

Definition at line 67 of file ScanFilterBGS_LbL.h.

Public Member Functions

 CScanFilterBGS_LbL ()
virtual ~CScanFilterBGS_LbL ()
virtual BOOL Apply ()
 perform the filter operation without user interaction; also used to process series of buffers.
virtual BOOL CanDoPartialData () const
 default is to not support partial data; override if filter does support it.
virtual BOOL CanDoDialogEntry () const
 default is to support a dialog; override if filter does not support it.
virtual BOOL SetParameters (LPCTSTR lpParameters)
 set parameters for filter-script execution of filter; may throw _T("message").
virtual LPCTSTR GetParameters () const
 provode current filter parameter(s) for filter-scripting capture in the main application.

Static Public Attributes

static LPCTSTR m_lpcsFilterName
 the class filtername (orig.comment: saves memory (???mo) ).
static LPCTSTR m_lpcsShortFilterName
 the class short filtername.

Protected Member Functions

virtual void Serialize (CArchive &ar)
 set parameters for filter-script execution of filter; may throw _T("message").
void BackGroundSubtractLine (DWORD dwLine, const double &sum_i, const double &sum_ii)


Member Function Documentation

BOOL CScanFilterBGS_LbL::SetParameters ( LPCTSTR  lpParameters  )  [virtual]

This method initializes the filter parameters for filter-script execution of the filter to the given parameters.

Parameters:
lpParameters a C-string specifying the filter parameter values, e.g. "1.23,4.56".
Returns:
TRUE (Success), FALSE (Failure)
Exceptions:
C-string if the filter does not support this operation, this method may throw _T("message");

Reimplemented from CScanFilter.

Definition at line 72 of file ScanFilterBGS_LbL.cpp.

References Q_INVALID.

LPCTSTR CScanFilterBGS_LbL::GetParameters (  )  const [virtual]

Analogous to GetInitParameters(), this method returns filter parameters, in this case for the filter-scripting capture operation in the main application.

Returns:
C-string with parameter values, e.g. "1.23,4.56"
See also:
GetInitParameters().
Note:
caller is responsible for delete-ing returned string storage.

Reimplemented from CScanFilter.

Definition at line 87 of file ScanFilterBGS_LbL.cpp.

void CScanFilterBGS_LbL::Serialize ( CArchive &  ar  )  [protected, virtual]

This method initializes the filter parameters for filter-script execution of the filter toe the parameters specified.

Parameters:
lpParameters a C-string specifying the filter parameter values, e.g. "1.23,4.56".
Returns:
TRUE (Success), FALSE (Failure)
Exceptions:
C-string if the filter does not support this operation, this method may throw _T("message");

Reimplemented from CScanFilter.

Definition at line 65 of file ScanFilterBGS_LbL.cpp.

References CScanFilter::Serialize().


The documentation for this class was generated from the following files:
Camera Filter Library documentation © 2004-2007 by Leiden Probe Microscopy