OpenANN
1.1.0
An open source library for artificial neural networks.
Main Page
Classes
Files
List
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
OpenANN
Preprocessing.h
Go to the documentation of this file.
1
#ifndef OPENANN_PREPROCESSING_H_
2
#define OPENANN_PREPROCESSING_H_
3
10
#include <Eigen/Core>
11
12
namespace
OpenANN
13
{
14
21
void
scaleData
(Eigen::MatrixXd& data,
double
min = -1.0,
double
max = 1.0);
22
30
void
filter
(
const
Eigen::MatrixXd& x, Eigen::MatrixXd&
y
,
31
const
Eigen::MatrixXd& b,
const
Eigen::MatrixXd& a);
32
39
void
downsample
(
const
Eigen::MatrixXd&
y
, Eigen::MatrixXd& d,
int
downSamplingFactor);
40
52
Eigen::MatrixXd
sampleRandomPatches
(
const
Eigen::MatrixXd& images,
53
int
channels,
int
rows,
int
cols,
54
int
samples,
int
patchRows,
int
patchCols);
55
56
}
// namespace OpenANN
57
58
#endif // OPENANN_PREPROCESSING_H_
Generated on Wed Jul 9 2014 08:57:52 for OpenANN by
1.8.4