File: sdet_detect_edge_tangent_process.h

package info (click to toggle)
vxl 1.14.0-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 124,144 kB
  • ctags: 94,084
  • sloc: cpp: 652,168; ansic: 178,141; fortran: 27,980; sh: 5,248; python: 1,941; lisp: 1,107; makefile: 292; perl: 255; xml: 184
file content (39 lines) | stat: -rw-r--r-- 1,240 bytes parent folder | download | duplicates (3)
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
// This is brl/bpro/core/sdet_pro/processes/sdet_detect_edge_tangent_process.h
#ifndef sdet_detect_edge_tangent_process_h_
#define sdet_detect_edge_tangent_process_h_
//:
// \file
// \brief A process that detects sub-pixel edges and edge tangent directions
//
// \author J.L. Mundy
// \date September 19, 2009
// \verbatim
//  Modifications
//    2/4/2010   Gamze Tunali
//         This process is moved from bvxm_pro to sdet_pro
// \endverbatim

#include <bprb/bprb_func_process.h>
#include <vcl_string.h>

//: global variables
namespace sdet_detect_edge_tangent_process_globals
{
  const unsigned n_inputs_ = 2;
  const unsigned n_outputs_=1;

  // parameter strings
  const vcl_string param_noise_multiplier_ =  "noise_multiplier";
  const vcl_string param_smooth_ =  "smooth";
  const vcl_string param_automatic_threshold_ =  "automatic_threshold";
  const vcl_string param_junctionp_ =  "junctionp";
  const vcl_string param_aggressive_junction_closure_ =  "aggressive_junction_closure";
}

//: initialize input and output types
bool sdet_detect_edge_tangent_process_cons(bprb_func_process& pro);

//: generates the edge map
bool sdet_detect_edge_tangent_process(bprb_func_process& pro);

#endif // sdet_detect_edge_tangent_process_h_