7 #ifndef _LIBALVISION_ALVISION_ALVISIONDEFINITIONS_H_
8 #define _LIBALVISION_ALVISION_ALVISIONDEFINITIONS_H_
16 #define TORAD 3.14f/180.0f
172 const float& imageRadMin,
173 const float& imageRadMax)
174 {
return ( radValue / (imageRadMax-imageRadMin)); }
177 const float& imageRadMin,
178 const float& imageRadMax)
179 {
return ((radPosition-imageRadMin) / (imageRadMax-imageRadMin)); }
183 #endif // _LIBALVISION_ALVISION_ALVISIONDEFINITIONS_H_
int getNumChannelsInColorSpace(const int colorSpace)
Utility function that returns the number of channels for a given color space.
const int kARGBColorSpace
int getNumLayersInColorSpace(const int colorSpace)
Utility function that returns the number of layers for a given color space.
const int kLChuvColorSpace
void setSizeFromResolution(const int resIndex, int &outWidth, int &outHeight)
Utility function that takes a resolution index as an input and returns the corresponding width and he...
const int kRawDepthColorSpace
const int kCameraAblcTargetID
const int kCameraAutoWhiteBalanceID
const int kCameraContrastID
const int kCameraFastSwitchID
const int kCameraExposureCorrectionID
const int kCameraAblcStableRangeID
int getResolutionFromSize(const int width, const int height)
Utility function that takes width and height as inputs and returns the corresponding resolution index...
const int kCameraTemperatureID
const int kCameraDepthFastFilterID
const int kCameraAutoGainID
const int kDepthColorSpace
const float kApertureH_OV7670
const int kCameraBlcBlueID
const int kCameraKeepAliveID
const int kDistanceColorSpace
float convertAngleValToNormalizedImgVal(const float &radValue, const float &imageRadMin, const float &imageRadMax)
const int kCameraSynchronisationID
const int kHSMixedColorSpace
const int kYYCbCrColorSpace
const int kCameraFrameRateID
const int kCameraAutoExpositionID
const int kCameraResolutionID
const float kApertureH_MT9M114
const int kH2RGBColorSpace
const int kCameraWhiteBalanceID
const int kLChabColorSpace
const int kCameraBlcRedID
bool isColorSpaceValid(const int colorspace)
Utility function that checks that a color space index is valid. (ie, present in the definitions just ...
const int kYUV422ColorSpace
const int kCameraExposureAlgorithmID
const int kCameraDepthConfidenceThresholdID
const int kCameraRedChromaID
float convertAnglePosToNormalizedImgPos(const float &radPosition, const float &imageRadMin, const float &imageRadMax)
const int kYUV422InterlacedColorSpace
const int kCameraBufferSizeID
const int kCameraAecAlgorithmID
const int kCameraBacklightCompensationID
const float kApertureV_MT9M114
const int kCameraAutoFocusID
const int kCameraExposureID
const int kCameraBrightnessID
const int kCameraBlueChromaID
const int kCameraSelectID
const int kInfraredColorSpace
bool isResolutionValid(const int resIndex)
Utility function that checks that a resolution index is valid. (ie, present in the definitions just a...
const int kCameraAwbGreenGainID
const int kCameraSetDefaultParamsID
const int kCameraAverageLuminanceID
const float kApertureV_OV7670
const int kCameraSaturationID
const int kCameraColorSpaceID
const int kCameraSharpnessID