source: branches/pixel-map-branch/src/ATrous/atrous.hh @ 1441

Last change on this file since 1441 was 232, checked in by Matthew Whiting, 17 years ago

Large raft of changes. Most are minor ones related to fixing up the use of std::string and std::vector (whether they are declared as using, or not...). Other changes include:

  • Moving the reconstruction filter class Filter into its own header/implementation files filter.{hh,cc}. As a result, the atrous.cc file is removed, but atrous.hh remains with just the function prototypes.
  • Incorporating a Filter object into the Param set, so that the reconstruction routines can see it without the messy "extern" call. The define() function is now called in both the Param() and Param::readParams() functions, and no longer in the main body.
  • Col functions in columns.cc moved into the Column namespace, while the template function printEntry is moved into the columns.hh file -- it would not compile on delphinus with it in the columns.cc, even though all the implementations were present.
  • Improved the introductory section of the Guide, with a bit more detail about each of the execution steps. This way the reader can read this section and have a reasonably good idea about what is happening.
  • Other minor changes to the Guide.
File size: 1.0 KB
Line 
1#ifndef ATROUS_H
2#define ATROUS_H
3
4#include <param.hh>
5
6const float reconTolerance = 0.005; ///< The tolerance in the reconstruction.
7
8
9/////////////////////////////////////////////////////////////////////////
10
11/** Perform a 1-dimensional a trous wavelet reconstruction. */
12void atrous1DReconstruct(long &size, float *&input, float *&output, Param &par);
13
14/** Perform a 2-dimensional a trous wavelet reconstruction. */
15void atrous2DReconstruct(long &xdim, long &ydim, float *&input,float *&output, Param &par);
16
17/** Perform a 3-dimensional a trous wavelet reconstruction. */
18void atrous3DReconstruct(long &xdim, long &ydim, long &zdim, float *&input,float *&output, Param &par);
19
20/** Subtract a baseline from a set of spectra in a cube. */
21void baselineSubtract(long numSpec, long specLength, float *originalCube, float *baseline, Param &par);
22
23/** Find the baseline of a 1-D spectrum. */
24void getBaseline(long size, float *input, float *baseline, Param &par);
25
26/** Find the baseline of a 1-D spectrum. */
27void getBaseline(long size, float *input, float *baseline);
28
29#endif
Note: See TracBrowser for help on using the repository browser.