Fawkes API Fawkes Development Version
sobel.h
1
2/***************************************************************************
3 * sobel.h - Header of Sobel filter
4 *
5 * Created: Thu May 12 13:25:22 2005
6 * Copyright 2005-2012 Tim Niemueller [www.niemueller.de]
7 ****************************************************************************/
8
9/* This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version. A runtime exception applies to
13 * this software (see LICENSE.GPL_WRE file mentioned below for details).
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Library General Public License for more details.
19 *
20 * Read the full text in the LICENSE.GPL_WRE file in the doc directory.
21 */
22
23#ifndef _FIREVISION_FILTER_SOBEL_H_
24#define _FIREVISION_FILTER_SOBEL_H_
25
26#if !(defined(HAVE_IPP) || defined(HAVE_OPENCV))
27# error "Neither IPP nor OpenCV installed"
28#endif
29
30#include <fvfilters/filter.h>
31
32namespace firevision {
33
34class FilterSobel : public Filter
35{
36public:
37 FilterSobel(orientation_t ori = ORI_HORIZONTAL);
38
39 virtual void apply();
40};
41
42} // end namespace firevision
43
44#endif
Sobel filter.
Definition: sobel.h:35
virtual void apply()
Apply the filter.
Definition: sobel.cpp:158
FilterSobel(orientation_t ori=ORI_HORIZONTAL)
Constructor.
Definition: sobel.cpp:44
Filter interface.
Definition: filter.h:33
orientation_t * ori
Orientations, one for each source image.
Definition: filter.h:71