forked from Slicer/teem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
180 lines (129 loc) · 6.71 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
===============
Teem: Tools to process and visualize scientific data and images
Copyright (C) 2013, 2012, 2011, 2010, 2009 University of Chicago
Copyright (C) 2008, 2007, 2006, 2005 Gordon Kindlmann
Copyright (C) 2004, 2003, 2002, 2001, 2000, 1999, 1998 University of Utah
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License
(LGPL) as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
The terms of redistributing and/or modifying this software also
include exceptions to the LGPL that facilitate static linking.
This library 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
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this library; if not, write to Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
=============== License information
See above. This preamble should appear on all released files. Full
text of the Simple Library Usage License (SLUL) should be in the file
"LICENSE.txt" in the "src" directory. The SLUL is the GNU Lesser
General Public License, plus an exception: statically-linked binaries
that link with Teem can be destributed under the terms of your choice,
with very modest provisions.
=============== How to compile
Use CMake to compile Teem. CMake is available from:
http://www.cmake.org/
There are some instructions for building Teem with CMake at:
http://teem.sourceforge.net/build.html
=============== Directory Structure
* src/
With one subdirectory for each of the teem libraries, all the
source for the libraries is in here. See library listing below.
The src/CODING.txt file documents Teem coding conventions.
* src/make
Files related to compiling Teem with src/GNUmakefile, the old way
of making Teem prior to CMake. This is still unofficially in use.
* src/bin
Source files for Teem command-line tools, including "unu" and "tend"
* include/
Some short header files that are used to check the setting of compiler
variables
* include/teem/
When using the old GNU make system, the include (.h) files for all the
libraries (such as nrrd.h) get put here (but don't originate here).
* CMake/
Files related to compiling Teem with CMake
* Testing/
Tests run by CTest. More are being added.
* data/
Small reference datasets; more will be added for testing
* arch/
When using the old GNU make system, objects and binaries are put
in the cygin, darwin.32, linux.32, etc, architecture-dependent
subdirectories, with a name which exactly matches valid settings
for the environment variable TEEM_ARCH. Within these directories are:
* lib/
all libraries put both their static/archive (.a) and
shared/dynamic (.so) library files here (such as libnrrd.a)
* bin/
all libraries put their binaries here, hopefully in a way which
doesn't cause name clashes
* obj/
make puts all the .o files in here, for all libraries. When
compiling "dev", it also puts libraries here, so that "tests"
can link against them there
* python/
For python wrappings
* python/ctypes
Bindings for python via ctypes
* Examples/
Place for examples of Teem-using programs, but unfortunately
not populated by much right now. A work in progress.
=============== Teem libraries
Teem is a coordinated collection of libraries, with a stable
dependency graph. Below is a listing of the libraries (with
indication of the libraries upon which it depends). (TEEM_LIB_LIST)
* air: Basic utility functions, used throughout Teem
* hest: Command-line parsing (air)
* biff: Accumulation of error messages (air)
* nrrd: Nearly Raw Raster Data- library for raster data manipulation,
and support for NRRD file format (biff, hest, air)
* ell: Linear algebra: operations on vectors, matrices and quaternions,
and solving cubic polynomials. (nrrd, biff, air)
* unrrdu: internals of "unu" command-line tool, and some machinery used
in other multi-command tools (like "tend") (nrrd, biff, hest, air)
* alan: Reaction-diffusion textures (nrrd, ell, biff, air)
* moss: Processing of 2D multi-channel images (ell, nrrd, biff, hest, air)
* tijk: Spherical harmonics and higher-order tensors (ell, nrrd, air)
* gage: Convolution-based measurement of 3D fields, or 4D scale-spacem
(ell, nrrd, biff, air)
* dye: Color spaces and conversion (ell, biff, air)
* bane: Implementation of Semi-Automatic Generation of Transfer Functions
(gage, unrrdu, nrrd, biff, air)
* limn: Basics of computer graphics, including polygonal data representation
and manipulation (gage, ell, unrrdu, nrrd, biff, hest, air)
* echo: Simple ray-tracer, written for class (limn, ell, nrrd, biff, air)
* hoover: Framework for multi-thread ray-casting volume renderer
(limn, ell, nrrd, biff, air)
* seek: Extraction of polygonal features from volume data, including
Marching Cubes and ridge surfaces (limn, gage, ell, nrrd, biff, hest, air)
* ten: Visualization and analysis of diffusion imaging and diffusion tensor
fields (echo, limn, dye, gage, unrrdu, ell, nrrd, biff, air)
* elf: Visualization/processing of high-angular resolution diffusion imaging
(ten, tijk, limn, ell, nrrd, air)
* pull: Particle systems for image feature sampling in 3D or 4D scale-space
(ten, limn, gage, ell, nrrd, biff, hest, air)
* coil: Non-linear image filtering (ten, ell, nrrd, biff, air)
* push: Original implmentation of glyph packing for DTI
(ten, gage, ell, nrrd, biff, air)
* mite: Hoover-based volume rendering with gage-based transfer functions
(ten, hoover, limn, gage, ell, nrrd, biff, air)
* meet: Uniform API to things common to all Teem libraries
(mite, push, coil, pull, elf, ten, seek, hoover, echo, limn, bane, dye,
gage, tijk, moss, alan, unrrdu, ell, nrrd, biff, hest, air)
=============== Teem comand-line tools
The easiest way to access the functionality in Teem is with its
command-line tools. Originally intended only as demos for the Teem
libraries and using their APIs, the command-line tools have become a
significant way of getting real work done. Source for the tools is in
teem/src/bin. The most commonly used tools are:
* unu: uses the "nrrd" library; a fast way to do raster data processing
and visualization
* tend: uses the "ten" library; for DW-MRI and DTI processing
* gprobe (and vprobe, pprobe): uses the "gage" library, allows measuring
gage items in scalar, vector, tensor, and DW-MRI volumes.
* miter: uses the "mite" library; a flexible volume renderer
* overrgb: for compositing an RGBA image over some background