FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kBinCSum4Info.h
Go to the documentation of this file.
1 
8 #ifndef K_FIRESYNC_BINCSUM4_INFO_H
9 #define K_FIRESYNC_BINCSUM4_INFO_H
10 
12 
19 //typedef kAlgInfo kBinCSum4Info; --forward-declared in kFsDef.x.h
20 
32 kFsFx(kStatus) kBinCSum4Info_Construct(kBinCSum4Info* info, kCameraCapability capabilities, k32u plConfig, kVersion plVersion, kAlloc allocator);
33 
36 
46 kFsFx(kStatus) kBinCSum4Info_SetBinThreshold(kBinCSum4Info info, k32u threshold, kAdjust adjustment = kADJUST_NONE);
47 
56 
66 
68 
70 
80 kFsFx(kStatus) kBinCSum4Info_SetCSumThreshold(kBinCSum4Info info, k32u threshold, kAdjust adjustment = kADJUST_NONE);
81 
90 
100 
102 
104 
116 kFsFx(kStatus) kBinCSum4Info_SetBackgroundWidth(kBinCSum4Info info, kSize width, kAdjust adjustment = kADJUST_NONE);
117 
126 
135 kFsFx(kStatus) kBinCSum4Info_BackgroundWidthInfo(kAccgd2kInfo info, kInfoSize* backgroundWidthInfo);
136 
138 
139 #include <kFireSync/Client/Camera/Algorithms/kBinCSum4Info.x.h>
140 
141 #endif
kSize kBinCSum4Info_BackgroundWidth(kBinCSum4Info info)
Reports the number of left-most columns used to calculate background noise.
kStatus kBinCSum4Info_BinThresholdInfo(kAccgd2kInfo info, kInfo32u *info32u)
Reports constraint and validity information for the BinThreshold setting.
kStatus kBinCSum4Info_CSumThresholdInfo(kAccgd2kInfo info, kInfo32u *info32u)
Reports constraint and validity information for the CSumThreshold setting.
Represents configuration for the BIN_CSUM4 (Binarize + Column-Sum, version 4) algorithm.
Type of adjustment to perform to bring a setting into conformance with its constraints.
kStatus kBinCSum4Info_BackgroundWidthInfo(kAccgd2kInfo info, kInfoSize *backgroundWidthInfo)
Reports constraint and validity information for the BackgroundColumnCoun setting. ...
#define kADJUST_NONE
No adjustment.
Definition: kInfo.h:48
k32u kBinCSum4Info_BinThreshold(kBinCSum4Info info)
Reports the binarize threshold.
k32u kBinCSum4Info_CSumThreshold(kBinCSum4Info info)
Reports the column-sum threshold.
kStatus kBinCSum4Info_Construct(kBinCSum4Info *info, kCameraCapability capabilities, k32u plConfig, kVersion plVersion, kAlloc allocator)
Constructs a kBinCSum4Info object.
kStatus kBinCSum4Info_SetBackgroundWidth(kBinCSum4Info info, kSize width, kAdjust adjustment=kADJUST_NONE)
Sets the number of left-most columns used to calculate background noise.
Declares the kAlgInfo type.
Represents configuration for the ACCGD_2K algorithm, which provides column-wise, adaptive-threshold s...
Represents constraint and validity information for a 32-bit unsigned integer setting.
Definition: kInfo.h:98
Represents constraint and validity information for a kSize setting.
Definition: kInfo.h:370
kStatus kBinCSum4Info_SetCSumThreshold(kBinCSum4Info info, k32u threshold, kAdjust adjustment=kADJUST_NONE)
Sets the column-sum threshold.
kStatus kBinCSum4Info_SetBinThreshold(kBinCSum4Info info, k32u threshold, kAdjust adjustment=kADJUST_NONE)
Sets the binarize threshold.