Misc       

This palette contains some subvis and error vis.

Note: A vi icon with yellow background means they work on color images. With gray background means they only work on single channel image. With half yellow and half gray background means they work on both color and single channel image. Others vi icon background are for either examples or high level vis. For controls descriptions, you need to go to the vi in LabVIEW, use help (ctrl+H) and move mouse over the controls to see them.


IVision_RGB2Color.vi

Constructs a packed color value.

Connector Pane

IVision_RGB2Color.vi


IVision_ToLVError.vi

These are the error code definition in OpenCV.

#define CV_StsOk 0 /* everithing is ok */

#define CV_StsBackTrace -1 /* pseudo error for back trace */

#define CV_StsError -2 /* unknown /unspecified error */

#define CV_StsInternal -3 /* internal error (bad state) */

#define CV_StsNoMem -4 /* Insufficient memory */

#define CV_StsBadArg -5 /* function arg/param is bad */

#define CV_StsBadFunc -6 /* unsupported function */

#define CV_StsNoConv -7 /* iter. didn't converge */

#define CV_StsAutoTrace -8 /* Tracing */

#define CV_HeaderIsNull -9 /* image header is NULL */

#define CV_BadImageSize -10 /* Image size is invalid */

#define CV_BadOffset -11 /* Offset is invalid */

#define CV_BadDataPtr -12 /**/

#define CV_BadStep -13 /**/

#define CV_BadModelOrChSeq -14 /**/

#define CV_BadNumChannels -15 /**/

#define CV_BadNumChannel1U -16 /**/

#define CV_BadDepth -17 /**/

#define CV_BadAlphaChannel -18 /**/

#define CV_BadOrder -19 /**/

#define CV_BadOrigin -20 /**/

#define CV_BadAlign -21 /**/

#define CV_BadCallBack -22 /**/

#define CV_BadTileSize -23 /**/

#define CV_BadCOI -24 /**/

#define CV_BadROISize -25 /**/

#define CV_MaskIsTiled -26 /**/

#define CV_StsNullPtr -27 /* Null pointer */

#define CV_StsVecLengthErr -28 /* Incorrect vector length */

#define CV_StsFilterStructContentErr -29 /* Incorr. filter structure content */

#define CV_StsKernelStructContentErr -30 /* Incorr. transform kernel content */

#define CV_StsFilterOffsetErr -31 /* Incorrect filter ofset value */

/*extra for CV */

#define CV_StsBadSize -201 /* bad CvSize */

#define CV_StsDivByZero -202 /* division by zero */

#define CV_StsInplaceNotSupported -203 /* inplace operation is not supported */

#define CV_StsObjectNotFound -204 /* request can't be completed */

#define CV_StsUnmatchedFormats -205 /* formats of input/output arrays differ */

#define CV_StsBadFlag -206 /* flag is wrong or not supported */

#define CV_StsBadPoint -207 /* bad CvPoint */

#define CV_StsBadMask -208 /* bad format of mask (neither 8uC1 nor 8sC1)*/

#define CV_StsUnmatchedSizes -209 /* ROI sizes of arrays differ */

#define CV_StsUnsupportedFormat -210 /* the format is not supported by the function*/

#define CV_StsOutOfRange -211 /* Some of parameters is out of range */

Connector Pane

IVision_ToLVError.vi


IVision_ErrorCode.vi

Get error code.

Connector Pane

IVision_ErrorCode.vi


IVision_SetErrorCode.vi

Set error code.

Connector Pane

IVision_SetErrorCode.vi


IVision_CoercePointRange.vi

This vi will make sure the point selected is within the ROI range.

Connector Pane

IVision_CoercePointRange.vi


IVision_NotChildWinSetup.vi

Connector Pane

IVision_NotChildWinSetup.vi