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
segenerator.h
1
2
/***************************************************************************
3
* segenerator.h - Class that helps to create some standard structuring
4
* elements
5
*
6
* Created: Wed Jun 07 10:36:55 2006
7
* Copyright 2005-2007 Tim Niemueller [www.niemueller.de]
8
*
9
****************************************************************************/
10
11
/* This program is free software; you can redistribute it and/or modify
12
* it under the terms of the GNU General Public License as published by
13
* the Free Software Foundation; either version 2 of the License, or
14
* (at your option) any later version. A runtime exception applies to
15
* this software (see LICENSE.GPL_WRE file mentioned below for details).
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 Library General Public License for more details.
21
*
22
* Read the full text in the LICENSE.GPL_WRE file in the doc directory.
23
*/
24
25
#ifndef __FIREVISION_FILTERS_MORPHOLOGY_SEGENERATOR_H_
26
#define __FIREVISION_FILTERS_MORPHOLOGY_SEGENERATOR_H_
27
28
namespace
firevision {
29
#if 0
/* just to make Emacs auto-indent happy */
30
}
31
#endif
32
33
class
SEGenerator
{
34
private
:
35
SEGenerator
();
36
37
38
public
:
39
40
static
unsigned
char
* linear(
unsigned
int
width,
unsigned
int
height,
41
unsigned
int
*proposed_center_x,
42
unsigned
int
*proposed_center_y,
43
float
slope_angle_rad);
44
45
static
unsigned
char
* square(
unsigned
int
width,
unsigned
int
height);
46
47
48
static
void
drawSE(
unsigned
char
*yuv422planar_buffer,
unsigned
char
*mask,
49
unsigned
int
width,
unsigned
int
height);
50
static
void
drawSEbw(
unsigned
char
*yuv422planar_buffer,
unsigned
char
*mask,
51
unsigned
int
width,
unsigned
int
height);
52
53
};
54
55
}
// end namespace firevision
56
57
#endif
src
libs
fvfilters
morphology
segenerator.h
Generated by
1.8.3.1