Fawkes API
Fawkes Development Version
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
stereo_processor.h
1
2
/***************************************************************************
3
* stereo_processor.h - Stereo processor interface
4
*
5
* Created: Fri May 18 15:58:30 2007
6
* Copyright 2007 Tim Niemueller [www.niemueller.de]
7
*
8
****************************************************************************/
9
10
/* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version. A runtime exception applies to
14
* this software (see LICENSE.GPL_WRE file mentioned below for details).
15
*
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU Library General Public License for more details.
20
*
21
* Read the full text in the LICENSE.GPL_WRE file in the doc directory.
22
*/
23
24
#ifndef __FIREVISION_FVUTILS_STEREO_STEREO_PROCESSOR_H_
25
#define __FIREVISION_FVUTILS_STEREO_STEREO_PROCESSOR_H_
26
27
#include <sys/types.h>
28
29
namespace
firevision {
30
#if 0
/* just to make Emacs auto-indent happy */
31
}
32
#endif
33
34
class
ROI;
35
36
class
StereoProcessor
37
{
38
public
:
39
virtual
~
StereoProcessor
();
40
41
virtual
bool
get_xyz(
unsigned
int
px,
unsigned
int
py,
42
float
*x,
float
*y,
float
*z) = 0;
43
44
virtual
bool
get_world_xyz(
unsigned
int
px,
unsigned
int
py,
45
float
*x,
float
*y,
float
*z) = 0;
46
47
virtual
void
preprocess_stereo() = 0;
48
virtual
void
calculate_disparity(
ROI
*roi = 0) = 0;
49
virtual
void
calculate_yuv(
bool
both =
false
) = 0;
50
51
virtual
unsigned
char
* disparity_buffer() = 0;
52
virtual
size_t
disparity_buffer_size()
const
= 0;
53
virtual
unsigned
char
* yuv_buffer() = 0;
54
virtual
unsigned
char
* auxiliary_yuv_buffer() = 0;
55
};
56
57
}
// end namespace firevision
58
59
#endif
src
libs
fvstereo
stereo_processor.h
Generated by
1.8.1.1