Isis 3 Programmer 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
History
2011-02-08 Sharmila Prasad - Extended Highpass API for hicubenorm

Definition at line 31 of file VecFilter.h.

Constructor & Destructor Documentation

◆ VecFilter()

Isis::VecFilter::VecFilter ( )

Constructs a VecFilter object.

Definition at line 19 of file VecFilter.cpp.

◆ ~VecFilter()

Isis::VecFilter::~VecFilter ( )

Destroys the VecFilter object.

Definition at line 22 of file VecFilter.cpp.

Member Function Documentation

◆ 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.

Definition at line 35 of file VecFilter.cpp.

References Isis::IException::Programmer.


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