24 #ifndef _LIBALVISION_ALVISION_ALVISIONDEFINITIONS_H_
25 #define _LIBALVISION_ALVISION_ALVISIONDEFINITIONS_H_
29 #define TORAD 3.14f/180.0f
136 const float& imageRadMin,
137 const float& imageRadMax)
138 {
return ( radValue / (imageRadMax-imageRadMin)); }
141 const float& imageRadMin,
142 const float& imageRadMax)
143 {
return ((radPosition-imageRadMin) / (imageRadMax-imageRadMin)); }
147 #endif // _LIBALVISION_ALVISION_ALVISIONDEFINITIONS_H_
const int kARGBColorSpace
Definition: alvisiondefinitions.h:77
int getNumLayersInColorSpace(const int colorSpace)
const int kyUvColorSpace
Definition: alvisiondefinitions.h:59
const int kCameraLensYID
Definition: alvisiondefinitions.h:92
const int kBottomCamera
Definition: alvisiondefinitions.h:37
const int kCameraGainID
Definition: alvisiondefinitions.h:88
void setSizeFromResolution(const int resIndex, int &outWidth, int &outHeight)
const int kBGRColorSpace
Definition: alvisiondefinitions.h:72
const int kRGBColorSpace
Definition: alvisiondefinitions.h:70
const int kCameraHueID
Definition: alvisiondefinitions.h:85
const int kCameraAblcTargetID
Definition: alvisiondefinitions.h:110
const int kCameraAutoWhiteBalanceID
Definition: alvisiondefinitions.h:94
const int kCameraContrastID
Definition: alvisiondefinitions.h:83
const int kCameraFastSwitchID
Definition: alvisiondefinitions.h:106
const int kCameraExposureCorrectionID
Definition: alvisiondefinitions.h:103
const int kCameraAblcStableRangeID
Definition: alvisiondefinitions.h:111
const int khsYColorSpace
Definition: alvisiondefinitions.h:66
int getResolutionFromSize(const int width, const int height)
const int kCameraTemperatureID
Definition: alvisiondefinitions.h:121
const int kRgbColorSpace
Definition: alvisiondefinitions.h:61
const int kCameraDepthFastFilterID
Definition: alvisiondefinitions.h:120
const int k720p
Definition: alvisiondefinitions.h:53
const int kyuVColorSpace
Definition: alvisiondefinitions.h:60
const int kCameraAutoGainID
Definition: alvisiondefinitions.h:95
const int kDepthColorSpace
Definition: alvisiondefinitions.h:76
const int khSyColorSpace
Definition: alvisiondefinitions.h:65
const float kApertureH_OV7670
Definition: alvisiondefinitions.h:41
const int kCameraLensXID
Definition: alvisiondefinitions.h:91
const int kCameraBlcGrID
Definition: alvisiondefinitions.h:115
const int kCameraBlcBlueID
Definition: alvisiondefinitions.h:112
const int kQVGA
Definition: alvisiondefinitions.h:47
const int kCameraKeepAliveID
Definition: alvisiondefinitions.h:118
const int kDistanceColorSpace
Definition: alvisiondefinitions.h:80
float convertAngleValToNormalizedImgVal(const float &radValue, const float &imageRadMin, const float &imageRadMax)
Definition: alvisiondefinitions.h:135
Definition: alvisiondefinitions.h:27
const int kQQQQVGA
Definition: alvisiondefinitions.h:56
const int kHSMixedColorSpace
Definition: alvisiondefinitions.h:75
const int kYYCbCrColorSpace
Definition: alvisiondefinitions.h:73
const int kCameraFrameRateID
Definition: alvisiondefinitions.h:97
const int kVGA
Definition: alvisiondefinitions.h:48
const int kCameraAutoExpositionID
Definition: alvisiondefinitions.h:93
const int k4VGA
Definition: alvisiondefinitions.h:49
const int kCameraResolutionID
Definition: alvisiondefinitions.h:96
const int kDepthCamera
Definition: alvisiondefinitions.h:38
const float kApertureH_MT9M114
Definition: alvisiondefinitions.h:43
const int kH2RGBColorSpace
Definition: alvisiondefinitions.h:74
const int kYuvColorSpace
Definition: alvisiondefinitions.h:58
const int kCameraWhiteBalanceID
Definition: alvisiondefinitions.h:116
const int kCameraBlcRedID
Definition: alvisiondefinitions.h:113
const int kCameraAblcID
Definition: alvisiondefinitions.h:109
bool isColorSpaceValid(const int colorspace)
const int kYUV422ColorSpace
Definition: alvisiondefinitions.h:68
const int kCameraExposureAlgorithmID
Definition: alvisiondefinitions.h:104
const int kCameraDepthConfidenceThresholdID
Definition: alvisiondefinitions.h:119
const int kCameraRedChromaID
Definition: alvisiondefinitions.h:86
float convertAnglePosToNormalizedImgPos(const float &radPosition, const float &imageRadMin, const float &imageRadMax)
Definition: alvisiondefinitions.h:140
const int kYUV422InterlacedColorSpace
Definition: alvisiondefinitions.h:67
const int k1080p
Definition: alvisiondefinitions.h:54
const int kCameraBufferSizeID
Definition: alvisiondefinitions.h:98
const int kCameraVFlipID
Definition: alvisiondefinitions.h:90
const int kHSYColorSpace
Definition: alvisiondefinitions.h:71
const int krgBColorSpace
Definition: alvisiondefinitions.h:63
const int kCameraAecAlgorithmID
Definition: alvisiondefinitions.h:105
const int kInfraredCamera
Definition: alvisiondefinitions.h:39
const int kCameraBacklightCompensationID
Definition: alvisiondefinitions.h:117
const int kQQQVGA
Definition: alvisiondefinitions.h:55
const float kApertureV_MT9M114
Definition: alvisiondefinitions.h:44
const int kCameraAutoFocusID
Definition: alvisiondefinitions.h:123
const int kTopCamera
Definition: alvisiondefinitions.h:36
const int kCameraExposureID
Definition: alvisiondefinitions.h:99
const int kCameraBrightnessID
Definition: alvisiondefinitions.h:82
const int kCameraHFlipID
Definition: alvisiondefinitions.h:89
const int k960p
Definition: alvisiondefinitions.h:50
const int kOV5640
Definition: alvisiondefinitions.h:33
const int kMT9M114
Definition: alvisiondefinitions.h:32
const int k1920p
Definition: alvisiondefinitions.h:52
const int kOV7670
Definition: alvisiondefinitions.h:31
const int kCameraBlueChromaID
Definition: alvisiondefinitions.h:87
const int kCameraSelectID
Definition: alvisiondefinitions.h:100
const int k16VGA
Definition: alvisiondefinitions.h:51
const int kInfraredColorSpace
Definition: alvisiondefinitions.h:79
bool isResolutionValid(const int resIndex)
const int kCameraAwbGreenGainID
Definition: alvisiondefinitions.h:108
const int kCameraBlcGbID
Definition: alvisiondefinitions.h:114
const int kCameraSetDefaultParamsID
Definition: alvisiondefinitions.h:101
const int kXYZColorSpace
Definition: alvisiondefinitions.h:78
const int kCameraAverageLuminanceID
Definition: alvisiondefinitions.h:122
const float kApertureV_OV7670
Definition: alvisiondefinitions.h:42
const int kQQVGA
Definition: alvisiondefinitions.h:46
const int kXTION
Definition: alvisiondefinitions.h:34
const int krGbColorSpace
Definition: alvisiondefinitions.h:62
const int kYUVColorSpace
Definition: alvisiondefinitions.h:69
const int kCameraSaturationID
Definition: alvisiondefinitions.h:84
const int kHsyColorSpace
Definition: alvisiondefinitions.h:64
const int kCameraColorSpaceID
Definition: alvisiondefinitions.h:102
const int kCameraSharpnessID
Definition: alvisiondefinitions.h:107