Isis Developer Reference
|
This class is used to perform filter operations on vectors. More...
#include <VecFilter.h>
Public Member Functions | |
VecFilter () | |
Constructs a VecFilter object. | |
~VecFilter () | |
Destroys the VecFilter object. | |
std::vector< double > | LowPass (std::vector< double > invec, int boxsize) |
Perform a lowpass filter on an input vector. | |
std::vector< double > | HighPass (std::vector< double > invec1, std::vector< double > invec2) |
std::vector< double > | HighPass (std::vector< double > pdInVector1, std::vector< double > pdInVector2, std::vector< int > piValidPntsVector, int piMaxPoints, const QString &psMode="SUBTRACT") |
This class is used to perform filter operations on vectors.
This class performs boxcar filter operations on vectors. The boxcar will be a one dimensional Nx1 boxcar where N is a positive odd integer.
For an example of how the VecFilter object is used in Isis, see the hicubenorm.cpp application.
Isis::VecFilter::VecFilter | ( | ) |
Constructs a VecFilter object.
Isis::VecFilter::~VecFilter | ( | ) |
Destroys the VecFilter object.
std::vector< double > Isis::VecFilter::HighPass | ( | std::vector< double > | invec1, |
std::vector< double > | invec2 ) |
std::vector< double > Isis::VecFilter::HighPass | ( | std::vector< double > | pdInVector1, |
std::vector< double > | pdInVector2, | ||
std::vector< int > | piValidPntsVector, | ||
int | piMaxPoints, | ||
const QString & | psMode = "SUBTRACT" ) |
vector< double > Isis::VecFilter::LowPass | ( | std::vector< double > | invec, |
int | boxsize ) |
Perform a lowpass filter on an input vector.
invec | The input vector on which the lowpass filter will be performed. |
boxsize | The size of the one dimensional boxcar to use in doing the lowpass filter. The filter size must be odd and greater than 1. |
References _FILEINFO_, and Isis::IException::Programmer.