HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GU_Trace.h
Go to the documentation of this file.
1 
2 #ifndef __GU_Trace_h__
3 #define __GU_Trace_h__
4 
5 #include "GU_API.h"
6 class IMG_Raster;
7 
9 {
10 public:
11 
12  IMG_Raster *raster; // image to be traced
13  int thresh; // image cut-off value
14 
15  bool doResample; // resample points
16  float stepsize; // used in resampling
17 
18  bool doSmooth; // smooth object
19  float cornerDelta; // used in finding corners
20 
21  bool removeBorder; // del image boundaries edges
22  int borderWidth; // how far border extends
23 
24  /// Use pixel (0,0) as a boundary value
25  /// NOTE: The true default is just for HDK backward compatibility.
26  /// You probably want to set this to false and set boundaryValue to 0 or 255.
27  bool firstPixelValueBoundary = true;
28  int boundaryValue; // If !firstPixelValueBoundary, use this as a boundary value.
29 private:
30 
31 };
32 
33 #endif
34 
IMG_Raster * raster
Definition: GU_Trace.h:12
float cornerDelta
Definition: GU_Trace.h:19
bool removeBorder
Definition: GU_Trace.h:21
int borderWidth
Definition: GU_Trace.h:22
bool doSmooth
Definition: GU_Trace.h:18
bool doResample
Definition: GU_Trace.h:15
#define GU_API
Definition: GU_API.h:11
float stepsize
Definition: GU_Trace.h:16
int boundaryValue
Definition: GU_Trace.h:28