Isis Developer Reference
Isis::VecFilter Class Reference

This class is used to perform filter operations on vectors. More...

#include <VecFilter.h>

Collaboration diagram for Isis::VecFilter:
Collaboration graph

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")
 

Detailed Description

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.

Author
2009-03-13 Janet Barrett

Constructor & Destructor Documentation

◆ VecFilter()

Isis::VecFilter::VecFilter ( )

Constructs a VecFilter object.

◆ ~VecFilter()

Isis::VecFilter::~VecFilter ( )

Destroys the VecFilter object.

Member Function Documentation

◆ HighPass() [1/2]

std::vector< double > Isis::VecFilter::HighPass ( std::vector< double > invec1,
std::vector< double > invec2 )

◆ HighPass() [2/2]

std::vector< double > Isis::VecFilter::HighPass ( std::vector< double > pdInVector1,
std::vector< double > pdInVector2,
std::vector< int > piValidPntsVector,
int piMaxPoints,
const QString & psMode = "SUBTRACT" )

◆ LowPass()

vector< double > Isis::VecFilter::LowPass ( std::vector< double > invec,
int boxsize )

Perform a lowpass filter on an input vector.

Parameters
invecThe input vector on which the lowpass filter will be performed.
boxsizeThe 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.


The documentation for this class was generated from the following files: