openModeller
Version 1.5.0
|
#include <ScaleNormalizer.hh>
Public Member Functions | |
ScaleNormalizer () | |
ScaleNormalizer (Scalar min, Scalar max, bool useLayerAsRef) | |
~ScaleNormalizer () | |
void | computeNormalization (const ReferenceCountedPointer< const SamplerImpl > &samplerPtr) |
void | normalize (Sample *samplePtr) |
Normalizer * | getCopy () |
ConfigurationPtr | getConfiguration () const |
void | setConfiguration (const ConstConfigurationPtr &) |
Public Member Functions inherited from Configurable | |
virtual | ~Configurable () |
Private Attributes | |
Scalar | _min |
Scalar | _max |
bool | _use_layer_as_ref |
Sample | _offsets |
Sample | _scales |
Friends | |
class | test_ScaleNormalizer |
Declaration of ScaleNormalizer class
LICENSE INFORMATION
Copyright(c) 2007 by CRIA - Centro de Referencia em Informacao Ambiental
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details:
http://www.gnu.org/copyleft/gpl.html
Definition at line 32 of file ScaleNormalizer.hh.
ScaleNormalizer::ScaleNormalizer | ( | ) |
Definition at line 46 of file ScaleNormalizer.cpp.
Referenced by getCopy().
Definition at line 35 of file ScaleNormalizer.cpp.
ScaleNormalizer::~ScaleNormalizer | ( | ) |
Definition at line 57 of file ScaleNormalizer.cpp.
|
virtual |
Implements Normalizer.
Definition at line 68 of file ScaleNormalizer.cpp.
References _max, _min, _offsets, _scales, _use_layer_as_ref, Log::debug(), Log::instance(), Sample::resize(), and Log::warn().
|
virtual |
Implements Configurable.
Definition at line 136 of file ScaleNormalizer.cpp.
References _max, _min, _offsets, _scales, and _use_layer_as_ref.
|
virtual |
Implements Normalizer.
Definition at line 61 of file ScaleNormalizer.cpp.
References ScaleNormalizer().
|
virtual |
Implements Normalizer.
Definition at line 125 of file ScaleNormalizer.cpp.
References _offsets, _scales, and Sample::size().
|
virtual |
Implements Configurable.
Definition at line 157 of file ScaleNormalizer.cpp.
References _max, _min, _offsets, _scales, and _use_layer_as_ref.
|
friend |
Definition at line 36 of file ScaleNormalizer.hh.
|
private |
Definition at line 58 of file ScaleNormalizer.hh.
Referenced by computeNormalization(), getConfiguration(), and setConfiguration().
|
private |
Definition at line 57 of file ScaleNormalizer.hh.
Referenced by computeNormalization(), getConfiguration(), and setConfiguration().
|
private |
Definition at line 60 of file ScaleNormalizer.hh.
Referenced by computeNormalization(), getConfiguration(), normalize(), and setConfiguration().
|
private |
Definition at line 61 of file ScaleNormalizer.hh.
Referenced by computeNormalization(), getConfiguration(), normalize(), and setConfiguration().
|
private |
Definition at line 59 of file ScaleNormalizer.hh.
Referenced by computeNormalization(), getConfiguration(), and setConfiguration().