The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
cOp2DFibFindEvenPartAreaNSplineMax4Border.h
Go to the documentation of this file.
1
/**
2
* @file cOp2DFibFindEvenPartAreaNSplineMax4Border
3
* file name: cOp2DFibFindEvenPartAreaNSplineMax4Border.h
4
* @author Betti Oesterholz
5
* @date 25.02.2011
6
* @mail webmaster@BioKom.info
7
*
8
* System: C++
9
*
10
* This Operator evalues the areas with the same properties and combines
11
* n to an complex fib -underobject.
12
* Copyright (C) @c GPL3 2010 Betti Oesterholz
13
*
14
* This program is free software: you can redistribute it and/or modify
15
* it under the terms of the GNU General Public License (GPL) as
16
* published by the Free Software Foundation, either version 3 of the
17
* License, or any later version.
18
*
19
* This program is distributed in the hope that it will be useful,
20
* but WITHOUT ANY WARRANTY; without even the implied warranty of
21
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
* GNU Lesser General Public License for more details.
23
*
24
* You should have received a copy of the GNU General Public License
25
* along with this program. If not, see <http://www.gnu.org/licenses/>.
26
*
27
*
28
* Evalues the areas with the same properties and combines n random to
29
* an complex fib -underobject.
30
* This is done with the help of area- and functionelements.
31
* The area borders are approximated with the help of splines with maximal
32
* 4 parameters.
33
* From the founded area some of the smales subareas will be removed.
34
* In an last step it removes from the created fib -object all underobjects
35
* which point properties are overwritten and so not necessary.
36
* The number n is random choosen betwean 1 and log( Datapoints ) .
37
* Smaler numbers will be prevered.
38
*
39
* @see cOperationFib
40
* @see cOperation
41
* @see cEnviroment
42
*/
43
/*
44
History:
45
25.02.2011 Oesterholz created
46
*/
47
48
49
#ifndef ___C_OP_2D_FIB_FIND_EVEN_PART_AREA_N_SPLINE_MAX_4_BORDER_H__
50
#define ___C_OP_2D_FIB_FIND_EVEN_PART_AREA_N_SPLINE_MAX_4_BORDER_H__
51
52
#include "version.h"
53
54
#include "
cOperationFib.h
"
55
56
#include <string>
57
58
59
namespace
enviroment{
60
namespace
fib{
61
62
63
class
cOp2DFibFindEvenPartAreaNSplineMax4Border
:
public
cOperationFib
{
64
public
:
65
66
/**
67
* The standardconstructor for the operation.
68
* It will create the operation, but won't start it.
69
*
70
* @param operationId the identifer for the operation
71
*/
72
cOp2DFibFindEvenPartAreaNSplineMax4Border
(
const
cOperationIdentifier
& operationId );
73
74
/**
75
* Destructor of the class cOp2DFibFindEvenPartAreaNSplineMax4Border.
76
*/
77
virtual
~cOp2DFibFindEvenPartAreaNSplineMax4Border
();
78
79
/**
80
* This method creats a new instance of this operator.
81
* Beware: You have to delete the instance after usage.
82
*
83
* @param operationId the identifer for the operation
84
* @return a pointer to a new instance of this operation
85
*/
86
virtual
cOp2DFibFindEvenPartAreaNSplineMax4Border
*
createInstance
(
const
cOperationIdentifier
& operationId )
const
;
87
88
/**
89
* This method runs the operation.
90
* It will wait till the operation is ended befor returning.
91
* Beware: If overwriten call setIsRunning( false ), when the operation
92
* is done.
93
*
94
* @see start()
95
* @see stop()
96
* @see setIsRunning()
97
* @return true if the operation was started
98
*/
99
virtual
bool
run
();
100
101
/**
102
* @return the (class-)name of the operation
103
*/
104
virtual
std::string
getName
()
const
;
105
106
/**
107
* This function compares two property elemente pairs.
108
* It is used for ordering property elemente pairs.
109
*
110
* @param paPropertyElement1 the first property elemente pair to compare
111
* @param paPropertyElement2 the second property elemente pair to compare
112
* @return true if the propertietype of the first pair is lower or,
113
* if the propertietyps are equal, if the second element number of the
114
* first pair is lower
115
*/
116
static
bool
lowerPropertyElement
(
117
const
pair< cTypeProperty, unsignedIntFib > & paPropertyElement1,
118
const
pair< cTypeProperty, unsignedIntFib > & paPropertyElement2 );
119
120
protected
:
121
122
/**
123
* @param dValue the value for which to check, if it is 0
124
* @return true if the given value is 0, else false
125
*/
126
static
bool
isNull
(
const
double
& dValue );
127
128
};
//end class cOp2DFibFindEvenPartAreaNSplineMax4Border
129
130
131
};
//end namespace fib
132
};
//end namespace enviroment
133
134
#endif //___C_OP_2D_FIB_FIND_EVEN_PART_AREA_N_SPLINE_MAX_4_BORDER_H__
135
136
137
138
139
140
141
enviroment.fib
operators
findArea
even
splineMax4ParamBorder
incl
cOp2DFibFindEvenPartAreaNSplineMax4Border.h
Generated on Thu Feb 14 2013 14:06:55 for The Fib multimedia system by
1.8.1