Triclops SDK
4.0.3.0
triclopsvalidation.h
Go to the documentation of this file.
1 //=============================================================================
2 // Copyright © 2016 FLIR Integrated Imaging Solutions, Inc. All Rights Reserved.
3 //
4 // This software is the confidential and proprietary information of FLIR
5 // Integrated Imaging Solutions, Inc. ("Confidential Information"). You
6 // shall not disclose such Confidential Information and shall use it only in
7 // accordance with the terms of the license agreement you entered into
8 // with FLIR Integrated Imaging Solutions, Inc. (FLIR).
9 //
10 // FLIR MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
11 // SOFTWARE, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
12 // IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
13 // PURPOSE, OR NON-INFRINGEMENT. FLIR SHALL NOT BE LIABLE FOR ANY DAMAGES
14 // SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
15 // THIS SOFTWARE OR ITS DERIVATIVES.
16 //=============================================================================
17 
18 //=============================================================================
19 // $Id: triclopsvalidation.h 309688 2016-12-21 18:28:11Z silvanoa $
20 //=============================================================================
21 //=============================================================================
24 //=============================================================================
25 #ifndef TRICLOPSVALIDATION_H
26 #define TRICLOPSVALIDATION_H
27 
28 //=============================================================================
29 // Project Includes
30 //=============================================================================
31 #include <triclops.h>
32 
33 #ifdef __cplusplus
34 extern "C"
35 {
36 #endif
37 
38 //=============================================================================
39 // Validation Support
40 //=============================================================================
41 //
42 // Group = Validation Support
43 
66 enum TriclopsError
68  TriclopsBool on);
69 
81 enum TriclopsError
83  TriclopsBool *on);
84 
102 enum TriclopsError
104  float value);
105 
117 enum TriclopsError
119  float *value);
120 
134 enum TriclopsError
136  unsigned char value);
137 
150 enum TriclopsError
152  unsigned char *value);
153 
168 enum TriclopsError
170  TriclopsBool on);
184 enum TriclopsError
186  TriclopsBool *on);
187 
205 enum TriclopsError
207  unsigned char value);
208 
221 enum TriclopsError
223  unsigned char *value);
224 
239 enum TriclopsError
241  TriclopsBool on);
242 
243 
257 enum TriclopsError
259  TriclopsBool *on);
260 
261 
282 enum TriclopsError
284  int size);
285 
300 enum TriclopsError
302  int *size);
303 
321 enum TriclopsError
323  float diff);
324 
339 enum TriclopsError
341  float *diff);
342 
359 enum TriclopsError
361  unsigned char value);
362 
377 enum TriclopsError
379  unsigned char *value);
380 
399 enum TriclopsError
401  unsigned char value);
402 
415 enum TriclopsError
417  unsigned char *value);
418  // End of group Validation
420 
421 #ifdef __cplusplus
422 }
423 #endif
424 
425 #endif // #ifndef TRICLOPSVALIDATION_H
enum TriclopsError triclopsGetSurfaceValidationMapping(const TriclopsContext context, unsigned char *value)
Retrieves the current surface validation mapping.
Definition: triclopsvalidation.cpp:321
enum TriclopsError triclopsSetSubpixelValidationMapping(TriclopsContext context, unsigned char value)
Sets the value that appears in the disparity image for pixels that fail subpixel validation.
Definition: triclopsvalidation.cpp:190
enum TriclopsError triclopsGetTextureValidationThreshold(const TriclopsContext context, float *value)
Retrieves the texture validation threshold.
Definition: triclopsvalidation.cpp:80
enum TriclopsError triclopsGetBackForthValidation(const TriclopsContext context, TriclopsBool *on)
Gets the current back-forth validation setting.
Definition: triclopsvalidation.cpp:142
enum TriclopsError triclopsSetSurfaceValidation(TriclopsContext context, TriclopsBool on)
Enables or disables surface validation.
Definition: triclopsvalidation.cpp:222
TriclopsError
Error enumerator.
Definition: triclopserror.h:46
enum TriclopsError triclopsGetTextureValidationMapping(const TriclopsContext context, unsigned char *value)
Gets the value that appears in the disparity image for pixels that fail texture validation.
Definition: triclopsvalidation.cpp:112
void * TriclopsContext
Wrapper for the internal C++ Triclops context.
Definition: triclopstype.h:54
enum TriclopsError triclopsGetBackForthValidationMapping(const TriclopsContext context, unsigned char *value)
Gets the value that appears in the disparity image for pixels that fail back-forth validation...
Definition: triclopsvalidation.cpp:175
enum TriclopsError triclopsSetSurfaceValidationSize(TriclopsContext context, int size)
Sets the minimum number of pixels a surface can cover and still be considered valid.
Definition: triclopsvalidation.cpp:252
enum TriclopsError triclopsGetSubpixelValidationMapping(const TriclopsContext context, unsigned char *value)
Retrieves the value that appears in the disparity image for pixels that fail subpixel validation...
Definition: triclopsvalidation.cpp:207
enum TriclopsError triclopsGetTextureValidation(const TriclopsContext context, TriclopsBool *on)
Retrieves the state of the texture validation flag.
Definition: triclopsvalidation.cpp:47
enum TriclopsError triclopsSetSurfaceValidationDifference(TriclopsContext context, float diff)
Set the maximum disparity difference.
Definition: triclopsvalidation.cpp:280
enum TriclopsError triclopsGetSurfaceValidationSize(const TriclopsContext context, int *size)
Retrieves the current validation size.
Definition: triclopsvalidation.cpp:265
enum TriclopsError triclopsSetTextureValidationMapping(TriclopsContext context, unsigned char value)
Sets the value that appears in the disparity image for pixels that fail texture validation.
Definition: triclopsvalidation.cpp:95
enum TriclopsError triclopsSetTextureValidationThreshold(TriclopsContext context, float value)
Sets the texture validation threshold.
Definition: triclopsvalidation.cpp:62
Triclops operations API.
enum TriclopsError triclopsSetBackForthValidation(TriclopsContext context, TriclopsBool on)
Enables or disables back-forth validation.
Definition: triclopsvalidation.cpp:127
enum TriclopsError triclopsSetSurfaceValidationMapping(TriclopsContext context, unsigned char value)
Sets the current surface validation mapping.
Definition: triclopsvalidation.cpp:308
enum TriclopsError triclopsGetSurfaceValidation(const TriclopsContext context, TriclopsBool *on)
Gets the current surface validation setting.
Definition: triclopsvalidation.cpp:237
enum TriclopsError triclopsSetBackForthValidationMapping(TriclopsContext context, unsigned char value)
Sets the value that appears in the disparity image for pixels that fail back-forth validation...
Definition: triclopsvalidation.cpp:158
int TriclopsBool
Boolean type definition kept for legacy purposes.
Definition: triclopstype.h:47
enum TriclopsError triclopsGetSurfaceValidationDifference(const TriclopsContext context, float *diff)
Returns maximum disparity difference.
Definition: triclopsvalidation.cpp:293
enum TriclopsError triclopsSetTextureValidation(const TriclopsContext context, TriclopsBool on)
Turns texture validation on or off.
Definition: triclopsvalidation.cpp:32
Contact Support Triclops SDK Programmer's Guide and API Reference