The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
version.h
Go to the documentation of this file.
1 /**
2  * file name: version.h
3  * @author Betti Oesterholz
4  * @date 22.02.2010
5  * @mail webmaster@BioKom.info
6  *
7  * System: C++
8  *
9  * This file contains switches for the converter.
10  * Copyright (C) @c GPL3 2009 Betti Oesterholz
11  *
12  * This program is free software: you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License as published by
14  * the Free Software Foundation, either version 3 of the License, or
15  * any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with this program. If not, see <http://www.gnu.org/licenses/>.
24  *
25  *
26  * This file contains the versionsinformation for the converter of the Fib
27  * -Multimedialanguage implementation.
28  * This includes descriptions of declarations for versioned
29  * programming switches.
30  *
31  */
32 /*
33 History:
34 19.04.2009 Oesterholz created
35 12.09.2009 Oesterholz FEATURE_BALANCED_LOAD added
36 28.03.2011 Oesterholz FEATURE_CONVERT_TO_FIB_SMALL_AREAS_OVERLAP added
37 06.07.2011 Oesterholz FEATURE_CONVERT_TO_FIB_AREA_GENERATOR added
38 */
39 
40 //debugging information; define DEBUG to activate them
41 //#define DEBUG
42 #include "debugOut.inc"
43 
44 
45 /**************************************
46 * Version Information
47 **************************************/
48 
49 //Versionsinformation for the converter of the fib-multimedialanguage
50 #define FIB_CONVERTER_VERSION 0
51 #define FIB_CONVERTER_VERSION_NAME V0.0.0
52 
53 
54 
55 /**************************************
56 * versioned programming switches
57 **************************************/
58 
59 
60 /**
61  * With this feature the the loaded Fib object will be balanced
62  * The value of the definition, is the number of underobjects in the
63  * balanced listtree.
64  *
65  * created: 12.09.2010 Betti Oesterholz
66  * Status: implemened and tested
67  *//*
68 History:
69 */
70 #define FEATURE_BALANCED_LOAD 8
71 
72 
73 /**
74  * With this feature the loaded Fib object will be converted to
75  * an image with the given number of bits per color value (red, green and
76  * blue).
77  *
78  * created: 17.11.2010 Betti Oesterholz
79  * Status: implemened and tested
80  *//*
81 History:
82 */
83 #define FEATURE_FROM_FIB_BITS_PER_RGB_COLOR_VALUE 8
84 
85 /**
86  * With this feature the loaded Fib object will store an intermediate
87  * result picture.
88  * The number determines every which seconds to store the intermediate
89  * result picture.
90  *
91  * created: 23.10.2012 Betti Oesterholz
92  * Status: implemened and tested (23.10.2012)
93  *//*
94 History:
95 */
96 #define FEATURE_CONVERT_FROM_FIB_INTERVALL_TO_SAVE_CURRENT_PICTURE 30
97 
98 
99 /**
100  * With this feature the method with which a set of points is converted
101  * into an area can be choose.
102  *
103  * Used method:
104  * - not defined:
105  * use @see nD2::createSplineItrFastBorderAreasForPoints()
106  * - defined:
107  * use @see nD2::createNSplineBorderAreasForPoints()
108  *
109  * created: 06.07.2011 Betti Oesterholz
110  * Status: implemened and tested
111  *//*
112 History:
113 */
114 #define FEATURE_CONVERT_TO_FIB_AREA_GENERATOR
115 
116 
117 /**
118  * With this feature when converting pictures to fib with convertReduced()
119  * the small areas will be processed first and added to the end for
120  * evaluing the Fib object. They will overlap bigger areas, so
121  * processing time and storing memmory can be saved.
122  *
123  * The value of the define will determine the size of the classes for the
124  * areas. In each class ther will be areas from (e^value)^class to
125  * (e^value)^(class + 1) - 1 number of points. The class -1 contains all
126  * single points. The class i is overlapted by all classes lower i.
127  *
128  * @see nConvertToFib::convertReduced()
129  * created: 28.03.2011 Betti Oesterholz
130  * Status: implemened and tested
131  *//*
132 History:
133 */
134 /*( 0.4 is about log(1.5)) -> number of points of areas in class c is:
135  1.5^c till 1.5^(class+1)-1 */
136 #define FEATURE_CONVERT_TO_FIB_SMALL_AREAS_OVERLAP 0.4
137 
138 
139 
140 /**
141  * This feature uses an own wraper object for the FreeImage image
142  * functionality. (For systems wher the wraper dosn't work, like windows.)
143  * @see fipImage
144  * @see FreeImagePlus.h
145  *
146  * created: 18.05.2011 Betti Oesterholz
147  * Status: implemened and tested (18.05.2011)
148  *//*
149 History:
150 */
151 #define FEATURE_OWN_FREE_IMAGE_WARPER
152 
153 #ifndef FEATURE_OWN_FREE_IMAGE_WARPER
154 #ifdef WINDOWS
155  //use this feature under widows because ther is no wraper for it
156  #define FEATURE_OWN_FREE_IMAGE_WARPER
157 #endif //WINDOWS
158 #endif //FEATURE_OWN_FREE_IMAGE_WARPER
159 
160 
161 
162 
163 
164 
165