OpendTect  6.6
histequalizer.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Satyaki Maitra
8  Date: June 2008
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "algomod.h"
15 #include "ranges.h"
16 template <class T> class LargeValVec;
17 
18 
24 {
25 public:
26  HistEqualizer(const int nrseg=256);
29  void setRawData(const TypeSet<float>&);
31  void update();
32  float position(float val) const;
33 
34 protected:
35 
37  const int nrseg_;
39 
41 };
42 
HistEqualizer::datapts_
LargeValVec< float > & datapts_
Definition: histequalizer.h:36
HistEqualizer::update
void update()
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
HistEqualizer::histeqdatarg_
TypeSet< Interval< float > > * histeqdatarg_
Definition: histequalizer.h:38
HistEqualizer
Class to do histogram equalization of datasets.
Definition: histequalizer.h:24
HistEqualizer::HistEqualizer
HistEqualizer(const int nrseg=256)
HistEqualizer::position
float position(float val) const
HistEqualizer::setRawData
void setRawData(const TypeSet< float > &)
use in case of unsorted data
HistEqualizer::nrseg_
const int nrseg_
Definition: histequalizer.h:37
HistEqualizer::setData
void setData(const LargeValVec< float > &)
use in case of sorted data
ranges.h
HistEqualizer::getSegmentSizes
void getSegmentSizes(TypeSet< int > &)
LargeValVec
Definition: typeset.h:186
TypeSet< float >

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2021