Kinetic Visualization (Visualisierung 2 - S2012)
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
src
vis2
vis2
ProcessingUtils.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <vlCore/Image.hpp>
4
6
9
class
ProcessingUtils
10
{
11
public
:
13
ProcessingUtils
(vl::ref<vl::Image> volume,
float
sigma=1.0);
14
~ProcessingUtils
(
void
);
15
17
void
compute
();
18
20
vl::ref<vl::Image>
getGradient
() {
return
_gradient
; }
22
vl::ref<vl::Image>
getCurvature
() {
return
_curvature
; }
24
vl::ref<vl::Image>
getSmoothedVolume
() {
return
_smoothedVolume
; }
25
26
private
:
27
void
computeGradient
();
28
void
computeSecondDerivativeX
();
29
void
computeSecondDerivativeY
();
30
void
computeSecondDerivativeZ
();
31
void
computeCurvature
();
32
37
int
computeGaussianGPU
();
42
int
computeGradientGPU
();
47
int
computeCurvatureGPU
();
48
49
//vl::ref<vl::Image> genGradient(vl::ref<vl::Image> img);
50
52
vl::ref<vl::Image>
_volume
;
54
vl::ref<vl::Image>
_smoothedVolume
;
56
vl::ref<vl::Image>
_gradient
;
58
vl::ref<vl::Image>
_curvature
;
59
61
float
_sigma
;
62
};
63
Generated on Tue Jun 12 2012 15:05:37 for Kinetic Visualization (Visualisierung 2 - S2012) by
1.8.1