Isis 3.0 Object Programmers' Reference |
Home |
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.
Definition at line 44 of file VecFilter.h.
Isis::VecFilter::VecFilter | ( | ) |
Constructs a VecFilter object.
Definition at line 32 of file VecFilter.cpp.
Isis::VecFilter::~VecFilter | ( | ) |
Destroys the VecFilter object.
Definition at line 35 of file VecFilter.cpp.
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. |
Definition at line 48 of file VecFilter.cpp.
References _FILEINFO_.