#define ERR_THREAD_INITIALIZING -1074396134 // Could not execute the function in the separate thread because the thread has not completed initialization.
#define ERR_THREAD_COULD_NOT_INITIALIZE -1074396133 // Could not execute the function in the separate thread because the thread could not initialize.
#define ERR_MASK_NOT_TEMPLATE_SIZE -1074396132 // The mask must be the same size as the template.
#define ERR_NOT_RECT_OR_ROTATED_RECT -1074396130 // The ROI must only have either a single Rectangle contour or a single Rotated Rectangle contour.
#define ERR_ROLLBACK_UNBOUNDED_INTERFACE -1074396129 // During timed execution, you must use the preallocated version of this operation.
#define ERR_ROLLBACK_RESOURCE_CONFLICT_3 -1074396128 // An image being modified by one process cannot be requested by another process while a time limit is active.
#define ERR_ROLLBACK_RESOURCE_CONFLICT_2 -1074396127 // An image with pattern matching, calibration, or overlay information cannot be manipulated while a time limit is active.
#define ERR_ROLLBACK_RESOURCE_CONFLICT_1 -1074396126 // An image created before a time limit is started cannot be resized while a time limit is active.
#define ERR_INVALID_CONTRAST_THRESHOLD -1074396125 // Invalid contrast threshold. The threshold value must be greater than 0.
#define ERR_INVALID_CALIBRATION_ROI_MODE -1074396124 // NI Vision does not support the calibration ROI mode you supplied.
#define ERR_INVALID_CALIBRATION_MODE -1074396123 // NI Vision does not support the calibration mode you supplied.
#define ERR_DRAWTEXT_COLOR_MUST_BE_GRAYSCALE -1074396122 // Set the foreground and background text colors to grayscale to draw on a U8 image.
#define ERR_SATURATION_THRESHOLD_OUT_OF_RANGE -1074396121 // The value of the saturation threshold must be from 0 to 255.
#define ERR_NOT_IMAGE -1074396120 // Not an image.
#define ERR_CUSTOMDATA_INVALID_KEY -1074396119 // They custom data key you supplied is invalid. The only valid character values are decimal 32-126 and 161-255. There must also be no repeated, leading, or trailing spaces.
#define ERR_INVALID_STEP_SIZE -1074396118 // Step size must be greater than zero and less than Image size
#define ERR_MATRIX_SIZE -1074396117 // Invalid matrix size in the structuring element.
#define ERR_CALIBRATION_INSF_POINTS -1074396116 // Insufficient number of calibration feature points.
#define ERR_CALIBRATION_IMAGE_CORRECTED -1074396115 // The operation is invalid in a corrected image.
#define ERR_CALIBRATION_INVALID_ROI -1074396114 // The ROI contains an invalid contour type or is not contained in the ROI learned for calibration.
#define ERR_CALIBRATION_IMAGE_UNCALIBRATED -1074396113 // The source/input image has not been calibrated.
#define ERR_INCOMP_MATRIX_SIZE -1074396112 // The number of pixel and real-world coordinates must be equal.
#define ERR_CALIBRATION_FAILED_TO_FIND_GRID -1074396111 // Unable to automatically detect grid because the image is too distorted.
#define ERR_CALIBRATION_INFO_VERSION -1074396110 // Invalid calibration information version.
#define ERR_RESERVED_MUST_BE_NULL -1074396098 // You must pass NULL for the reserved parameter.
#define ERR_INVALID_PARTICLE_PARAMETER_VALUE -1074396097 // You entered an invalid selection in the particle parameter.
#define ERR_NOT_AN_OBJECT -1074396096 // Not an object.
#define ERR_CALIBRATION_DUPLICATE_REFERENCE_POINT -1074396095 // The reference points passed are inconsistent. At least two similar pixel coordinates correspond to different real-world coordinates.
#define ERR_ROLLBACK_RESOURCE_CANNOT_UNLOCK -1074396094 // A resource conflict occurred in the timed environment. Two processes cannot manage the same resource and be time bounded.
#define ERR_ROLLBACK_RESOURCE_LOCKED -1074396093 // A resource conflict occurred in the timed environment. Two processes cannot access the same resource and be time bounded.
#define ERR_ROLLBACK_RESOURCE_NON_EMPTY_INITIALIZE -1074396092 // Multiple timed environments are not supported.
#define ERR_ROLLBACK_RESOURCE_UNINITIALIZED_ENABLE -1074396091 // A time limit cannot be started until the timed environment is initialized.
#define ERR_ROLLBACK_RESOURCE_ENABLED -1074396090 // Multiple timed environments are not supported.
#define ERR_ROLLBACK_RESOURCE_REINITIALIZE -1074396089 // The timed environment is already initialized.
#define ERR_ROLLBACK_RESIZE -1074396088 // The results of the operation exceeded the size limits on the output data arrays.
#define ERR_ROLLBACK_STOP_TIMER -1074396087 // No time limit is available to stop.
#define ERR_ROLLBACK_START_TIMER -1074396086 // A time limit could not be set.
#define ERR_ROLLBACK_INIT_TIMER -1074396085 // The timed environment could not be initialized.
#define ERR_ROLLBACK_DELETE_TIMER -1074396084 // No initialized timed environment is available to close.
#define ERR_ROLLBACK_TIMEOUT -1074396083 // The time limit has expired.
#define ERR_PALETTE_NOT_SUPPORTED -1074396082 // Only 8-bit images support the use of palettes. Either do not use a palette, or convert your image to an 8-bit image before using a palette.
#define ERR_INVALID_COLOR_MODE -1074396069 // NI Vision does not support the color mode you specified.
#define ERR_INVALID_ACTION -1074396068 // The function does not support the requested action.
#define ERR_IMAGES_NOT_DIFF -1074396067 // The source image and destination image must be different.
#define ERR_INVALID_POINTSYMBOL -1074396066 // Invalid point symbol.
#define ERR_CANT_RESIZE_EXTERNAL -1074396065 // Cannot resize an image in an acquisition buffer.
#define ERR_EXTERNAL_NOT_SUPPORTED -1074396064 // This operation is not supported for images in an acquisition buffer.
#define ERR_EXTERNAL_ALIGNMENT -1074396063 // The external buffer must be aligned on a 4-byte boundary. The line width and border pixels must be 4-byte aligned, as well.
#define ERR_INVALID_TOLERANCE -1074396062 // The tolerance parameter must be greater than or equal to 0.
#define ERR_INVALID_WINDOW_SIZE -1074396061 // The size of each dimension of the window must be greater than 2 and less than or equal to the size of the image in the corresponding dimension.
#define ERR_JPEG2000_LOSSLESS_WITH_FLOATING_POINT -1074396060 // Lossless compression cannot be used with the floating point wavelet transform mode. Either set the wavelet transform mode to integer, or use lossy compression.
#define ERR_INVALID_MAX_ITERATIONS -1074396059 // Invalid maximum number of iterations. Maximum number of iterations must be greater than zero.
#define ERR_INVALID_LINEAR_AVERAGE_MODE -1074396047 // Invalid linear average mode.
#define ERR_INVALID_2D_BARCODE_CONTRAST_FOR_ROI -1074396046 // When using a region of interest that is not a rectangle, you must specify the contrast mode of the barcode as either black on white or white on black.
#define ERR_INVALID_2D_BARCODE_SUBTYPE -1074396045 // Invalid 2-D barcode Data Matrix subtype.
#define ERR_TEMPLATEDESCRIPTOR_ROTATION_SEARCHSTRATEGY -1074396032 // The template descriptor does not contain data required for the requested search strategy in rotation-invariant matching.
#define ERR_INVALID_TETRAGON -1074396031 // The input tetragon must have four points. The points are specified clockwise starting with the top left point.
#define ERR_TOO_MANY_CLASSIFICATION_SESSIONS -1074396030 // There are too many classification sessions open. You must close a session before you can open another one.
#define ERR_TIME_BOUNDED_EXECUTION_NOT_SUPPORTED -1074396028 // NI Vision no longer supports time-bounded execution.
#define ERR_INVALID_COLOR_RESOLUTION -1074396027 // Invalid Color Resolution for the Color Classifier
#define ERR_INVALID_PROCESS_TYPE_FOR_EDGE_DETECTION -1074396026 // Invalid process type for edge detection.
#define ERR_INVALID_ANGLE_RANGE_FOR_STRAIGHT_EDGE -1074396025 // Angle range value should be equal to or greater than zero.
#define ERR_INVALID_MIN_COVERAGE_FOR_STRAIGHT_EDGE -1074396024 // Minimum coverage value should be greater than zero.
#define ERR_INVALID_ANGLE_TOL_FOR_STRAIGHT_EDGE -1074396023 // The angle tolerance should be equal to or greater than 0.001.
#define ERR_INVALID_KERNEL_SIZE_FOR_EDGE_DETECTION -1074396021 // Invalid kernel size for edge detection. The minimum kernel size is 3, the maximum kernel size is 1073741823 and the kernel size must be odd.
#define ERR_OPENING_NEWER_AIM_GRADING_DATA -1074396017 // The AIM grading data attached to the image you tried to open was created with a newer version of NI Vision. Upgrade to the latest version of NI Vision to read this file.
#define ERR_NO_VIDEO_DRIVER -1074396016 // No video driver is installed.
#define ERR_RPC_EXECUTE_IVB -1074396015 // Unable to establish network connection with remote system.
#define ERR_INVALID_VIDEO_BLIT -1074396014 // RT Video Out does not support displaying the supplied image type at the selected color depth.
#define ERR_INVALID_VIDEO_MODE -1074396013 // Invalid video mode.
#define ERR_RPC_EXECUTE -1074396012 // Unable to display remote image on network connection.
#define ERR_RPC_BIND -1074396011 // Unable to establish network connection.
#define ERR_DIRECTX -1074396009 // An internal DirectX error has occurred. Try upgrading to the latest version of DirectX.
#define ERR_DIRECTX_NO_FILTER -1074396008 // An appropriate DirectX filter to process this file could not be found. Install the filter that was used to create this AVI. Upgrading to the latest version of DirectX may correct this error. NI Vision requires DirectX 8.1 or higher.
#define ERR_INVALID_PARTICLE_INFO -1074395979 // The image has invalid particle information. Call imaqCountParticles on the image to create particle information.
#define ERR_AVI_VERSION -1074395977 // The AVI file was created in a newer version of NI Vision. Upgrade to the latest version of NI Vision to read this AVI file.
#define ERR_NUMBER_OF_PALETTE_COLORS -1074395976 // The color palette must have exactly 0 or 256 entries.
#define ERR_AVI_TIMEOUT -1074395975 // DirectX has timed out reading or writing the AVI file. When closing an AVI file, try adding an additional delay. When reading an AVI file, try reducing CPU and disk load.
#define ERR_UNSUPPORTED_JPEG2000_COLORSPACE_METHOD -1074395974 // NI Vision does not support reading JPEG2000 files with this colorspace method.
#define ERR_JPEG2000_UNSUPPORTED_MULTIPLE_LAYERS -1074395973 // NI Vision does not support reading JPEG2000 files with more than one layer.
#define ERR_DIRECTX_ENUMERATE_FILTERS -1074395972 // DirectX is unable to enumerate the compression filters. This is caused by a third-party compression filter that is either improperly installed or is preventing itself from being enumerated. Remove any recently installed compression filters and try again.
#define ERR_INVALID_OFFSET -1074395971 // The offset you specified must be size 2.
#define ERR_INVALID_IDENTIFICATION_SCORE -1074395935 // Invalid Identification score. Must be between 0-1000.
#define ERR_INVALID_TEXTURE_FEATURE -1074395934 // Requested for invalid texture feature
#define ERR_INVALID_COOCCURRENCE_LEVEL -1074395933 // The coOccurrence Level must lie between 1 and the maximum pixel value of an image (255 for U8 image)
#define ERR_INVALID_WAVELET_SUBBAND -1074395932 // Request for invalid wavelet subBand
#define ERR_INVALID_FINAL_STEP_SIZE -1074395931 // The final step size must be lesser than the initial step size
#define ERR_INVALID_ENERGY -1074395930 // Minimum Energy should lie between 0 and 100
#define ERR_INVALID_TEXTURE_LABEL -1074395929 // The classification label must be texture or defect for texture defect classifier
#define ERR_INVALID_WAVELET_TYPE -1074395928 // The wavelet type is invalid
#define ERR_SAME_WAVELET_BANDS_SELECTED -1074395927 // Same Wavelet band is selected multiple times
#define ERR_IMAGE_SIZE_MISMATCH -1074395926 // The two input image sizes are different
#define ERR_NUMBER_CLASS -1074395920 // Invalid number of classes.
#define ERR_INVALID_LUCAS_KANADE_WINDOW_SIZE -1074395888 // Both dimensions of the window size should be odd, greater than 2 and less than 16.
#define ERR_INVALID_MATRIX_TYPE -1074395887 // The type of matrix supplied to the function is not supported.
#define ERR_INVALID_OPTICAL_FLOW_TERMINATION_CRITERIA_TYPE -1074395886 // An invalid termination criteria was specified for the optical flow computation.
#define ERR_LKP_NULL_PYRAMID -1074395885 // The pyramid levels where not properly allocated.
#define ERR_INVALID_PYRAMID_LEVEL -1074395884 // The pyramid level specified cannot be negative
#define ERR_INVALID_LKP_KERNEL -1074395883 // The kernel must be symmetric with non-zero coefficients and of odd size
#define ERR_INVALID_CUSTOM_SAMPLE -1074395798 // The size of the feature vector in the custom sample must match the size of those you have already added.
#define ERR_INVALID_CLASSIFIER_SESSION -1074395797 // Not a valid classifier session.
#define ERR_INVALID_KNN_METHOD -1074395796 // You requested an invalid Nearest Neighbor classifier method.
#define ERR_K_TOO_LOW -1074395795 // The k parameter must be greater than two.
#define ERR_K_TOO_HIGH -1074395794 // The k parameter must be <= the number of samples in each class.
#define ERR_INVALID_OPERATION_ON_COMPACT_SESSION_ATTEMPTED -1074395793 // This classifier session is compact. Only the Classify and Dispose functions may be called on a compact classifier session.
#define ERR_CLASSIFIER_SESSION_NOT_TRAINED -1074395792 // This classifier session is not trained. You may only call this function on a trained classifier session.
#define ERR_CLASSIFIER_INVALID_SESSION_TYPE -1074395791 // This classifier function cannot be called on this type of classifier session.
#define ERR_INVALID_DISTANCE_METRIC -1074395790 // You requested an invalid distance metric.
#define ERR_OPENING_NEWER_CLASSIFIER_SESSION -1074395789 // The classifier session you tried to open was created with a newer version of NI Vision. Upgrade to the latest version of NI Vision to read this file.
#define ERR_NO_SAMPLES -1074395788 // This operation cannot be performed because you have not added any samples.
#define ERR_INVALID_CLASSIFIER_TYPE -1074395787 // You requested an invalid classifier type.
#define ERR_INVALID_PARTICLE_OPTIONS -1074395786 // The sum of Scale Dependence and Symmetry Dependence must be less than 1000.
#define ERR_NO_PARTICLE -1074395785 // The image yielded no particles.
#define ERR_INVALID_LIMITS -1074395784 // The limits you supplied are not valid.
#define ERR_BAD_SAMPLE_INDEX -1074395783 // The Sample Index fell outside the range of Samples.
#define ERR_DESCRIPTION_TOO_LONG -1074395782 // The description must be <= 255 characters.
#define ERR_CLASSIFIER_INVALID_ENGINE_TYPE -1074395781 // The engine for this classifier session does not support this operation.
#define ERR_INVALID_PARTICLE_TYPE -1074395780 // You requested an invalid particle type.
#define ERR_CANNOT_COMPACT_UNTRAINED -1074395779 // You may only save a session in compact form if it is trained.
#define ERR_INVALID_KERNEL_SIZE -1074395778 // The Kernel size must be smaller than the image size.
#define ERR_INCOMPATIBLE_CLASSIFIER_TYPES -1074395777 // The session you read from file must be the same type as the session you passed in.
#define ERR_INVALID_USE_OF_COMPACT_SESSION_FILE -1074395776 // You can not use a compact classification file with read options other than Read All.
#define ERR_ROI_HAS_OPEN_CONTOURS -1074395775 // The ROI you passed in may only contain closed contours.
#define ERR_NO_LABEL -1074395774 // You must pass in a label.
#define ERR_NO_DEST_IMAGE -1074395773 // You must provide a destination image.
#define ERR_INVALID_REGISTRATION_METHOD -1074395772 // You provided an invalid registration method.
#define ERR_OPENING_NEWER_INSPECTION_TEMPLATE -1074395771 // The golden template you tried to open was created with a newer version of NI Vision. Upgrade to the latest version of NI Vision to read this file.
#define ERR_INVALID_INSPECTION_TEMPLATE -1074395770 // Invalid golden template.
#define ERR_INVALID_EDGE_THICKNESS -1074395769 // Edge Thickness to Ignore must be greater than zero.
#define ERR_INVALID_SCALE -1074395768 // Scale must be greater than zero.
#define ERR_INVALID_ALIGNMENT -1074395767 // The supplied scale is invalid for your template.
#define ERR_DEPRECATED_FUNCTION -1074395766 // This backwards-compatibility function can not be used with this session. Use newer, supported functions instead.
#define ERR_INVALID_NORMALIZATION_METHOD -1074395763 // You must provide a valid normalization method.
#define ERR_INVALID_NIBLACK_DEVIATION_FACTOR -1074395762 // The deviation factor for Niblack local threshold must be between 0 and 1.
#define ERR_BOARD_NOT_FOUND -1074395760 // Board not found.
#define ERR_BOARD_NOT_OPEN -1074395758 // Board not opened.
#define ERR_DLL_NOT_FOUND -1074395757 // DLL not found.
#define ERR_DLL_FUNCTION_NOT_FOUND -1074395756 // DLL function not found.
#define ERR_CONTOUR_INVALID_REFINEMENTS -1074395746 // Invalid number specified for maximum contour refinements.
#define ERR_TOO_MANY_CURVES -1074395745 // Too many curves extracted from image. Raise the edge threshold or reduce the ROI.
#define ERR_CONTOUR_INVALID_KERNEL_FOR_SMOOTHING -1074395744 // Invalid kernel for contour smoothing. Zero indicates no smoothing, otherwise value must be odd.
#define ERR_CONTOUR_LINE_INVALID -1074395743 // The contour line fit is invalid. Line segment start and stop must differ.
#define ERR_CONTOUR_TEMPLATE_IMAGE_INVALID -1074395742 // The template image must be trained with IMAQ Learn Contour Pattern or be the same size as the target image.
#define ERR_CONTOUR_GPM_FAIL -1074395741 // Matching failed to align the template and target contours.
#define ERR_CONTOUR_OPENING_NEWER_VERSION -1074395740 // The contour you tried to open was created with a newer version of NI Vision. Upgrade to the latest version of NI Vision to read this file.
#define ERR_CONTOUR_CONNECT_DUPLICATE -1074395739 // Only one range is allowed per curve connection constraint type.
#define ERR_CONTOUR_MATCH_STR_NOT_APPLICABLE -1074395737 // In order to use contour matching, you must provide a template image that has been trained with IMAQ Learn Contour Pattern
#define ERR_CONTOUR_CURVATURE_KERNEL -1074395736 // Invalid kernel width for curvature calculation. Must be an odd value greater than 1.
#define ERR_CONTOUR_EXTRACT_DIRECTION -1074395734 // Invalid Search Direction for contour extraction.
#define ERR_CONTOUR_EXTRACT_ROI -1074395733 // Invalid ROI for contour extraction. The ROI must contain an annulus, rectangle or rotated rectangle.
#define ERR_CONTOUR_NO_CURVES -1074395732 // No curves were found in the image.
#define ERR_CONTOUR_COMPARE_KERNEL -1074395731 // Invalid Smoothing Kernel width for contour comparison. Must be zero or an odd positive integer.
#define ERR_CONTOUR_COMPARE_SINGLE_IMAGE -1074395730 // If no template image is provided, the target image must contain both a contour with extracted points and a fitted equation.
#define ERR_INVALID_2D_BARCODE_SEARCH_MODE -1074395728 // NI Vision does not support the search mode you provided.
#define ERR_UNSUPPORTED_2D_BARCODE_SEARCH_MODE -1074395727 // NI Vision does not support the search mode you provided for the type of 2D barcode for which you are searching.
#define ERR_MATCHFACTOR_OBSOLETE -1074395726 // matchFactor has been obsoleted. Instead, set the initialMatchListLength and matchListReductionFactor in the MatchPatternAdvancedOptions structure.
#define ERR_DATA_VERSION -1074395725 // The data was stored with a newer version of NI Vision. Upgrade to the latest version of NI Vision to read this data.
#define ERR_CUSTOMDATA_INVALID_SIZE -1074395724 // The size you specified is out of the valid range.
#define ERR_CUSTOMDATA_KEY_NOT_FOUND -1074395723 // The key you specified cannot be found in the image.
#define ERR_CLASSIFIER_CLASSIFY_IMAGE_WITH_CUSTOM_SESSION -1074395722 // Custom classifier sessions only classify feature vectors. They do not support classifying images.
#define ERR_INVALID_BIT_DEPTH -1074395721 // NI Vision does not support the bit depth you supplied for the image you supplied.
#define ERR_BAD_ROI -1074395720 // Invalid ROI.
#define ERR_BAD_ROI_BOX -1074395719 // Invalid ROI global rectangle.
#define ERR_LAB_VERSION -1074395718 // The version of LabVIEW or BridgeVIEW you are running does not support this operation.
#define ERR_INVALID_RANGE -1074395717 // The range you supplied is invalid.
#define ERR_INVALID_SCALING_METHOD -1074395716 // NI Vision does not support the scaling method you provided.
#define ERR_INVALID_CALIBRATION_UNIT -1074395715 // NI Vision does not support the calibration unit you supplied.
#define ERR_INVALID_AXIS_ORIENTATION -1074395714 // NI Vision does not support the axis orientation you supplied.
#define ERR_VALUE_NOT_IN_ENUM -1074395713 // Value not in enumeration.
#define ERR_WRONG_REGION_TYPE -1074395712 // You selected a region that is not of the right type.
#define ERR_NOT_ENOUGH_REGIONS -1074395711 // You specified a viewer that does not contain enough regions.
#define ERR_TOO_MANY_PARTICLES -1074395710 // The image has too many particles for this process.
#define ERR_AVI_UNOPENED_SESSION -1074395709 // The AVI session has not been opened.
#define ERR_AVI_READ_SESSION_REQUIRED -1074395708 // The AVI session is a write session, but this operation requires a read session.
#define ERR_AVI_WRITE_SESSION_REQUIRED -1074395707 // The AVI session is a read session, but this operation requires a write session.
#define ERR_AVI_SESSION_ALREADY_OPEN -1074395706 // This AVI session is already open. You must close it before calling the Create or Open functions.
#define ERR_DATA_CORRUPTED -1074395705 // The data is corrupted and cannot be read.
#define ERR_INVALID_TYPE_OF_FLATTEN -1074395703 // Invalid type of flatten.
#define ERR_INVALID_LENGTH -1074395702 // The length of the edge detection line must be greater than zero.
#define ERR_INVALID_MATRIX_SIZE_RANGE -1074395701 // The maximum Data Matrix barcode size must be equal to or greater than the minimum Data Matrix barcode size.
#define ERR_REQUIRES_WIN2000_OR_NEWER -1074395700 // The function requires the operating system to be Microsoft Windows 2000 or newer.
#define ERR_INVALID_OPERATION_ON_COMPACT_CALIBRATION_ATTEMPTED -1074395661 // This calibration is compact. Re-Learning calibration and retrieving thumbnails are not possible with this calibration
#define ERR_INVALID_POLYNOMIAL_MODEL_K_COUNT -1074395660 // Invalid number of K values
#define ERR_INVALID_DISTORTION_MODEL -1074395659 // Invalid distortion model type
#define ERR_CAMERA_MODEL_NOT_AVAILABLE -1074395658 // Camera Model is not learned
#define ERR_INVALID_THUMBNAIL_INDEX -1074395657 // Supplied thumbnail index is invalid
#define ERR_SMOOTH_CONTOURS_MUST_BE_SAME -1074395656 // You must specify the same value for the smooth contours advanced match option for all templates you want to match.
#define ERR_ENABLE_CALIBRATION_SUPPORT_MUST_BE_SAME -1074395655 // You must specify the same value for the enable calibration support advanced match option for all templates you want to match.
#define ERR_GRADING_INFORMATION_NOT_FOUND -1074395654 // The source image does not contain grading information. You must prepare the source image for grading when reading the Data Matrix, and you cannot change the contents of the source image between reading and grading the Data Matrix.
#define ERR_OPENING_NEWER_MULTIPLE_GEOMETRIC_TEMPLATE -1074395653 // The multiple geometric matching template you tried to open was created with a newer version of NI Vision. Upgrade to the latest version of NI Vision to read this file.
#define ERR_OPENING_NEWER_GEOMETRIC_MATCHING_TEMPLATE -1074395652 // The geometric matching template you tried to open was created with a newer version of NI Vision. Upgrade to the latest version of NI Vision to read this file.
#define ERR_EDGE_FILTER_SIZE_MUST_BE_SAME -1074395651 // You must specify the same edge filter size for all the templates you want to match.
#define ERR_CURVE_EXTRACTION_MODE_MUST_BE_SAME -1074395650 // You must specify the same curve extraction mode for all the templates you want to match.
#define ERR_INVALID_GEOMETRIC_FEATURE_TYPE -1074395649 // The geometric feature type specified is invalid.
#define ERR_TEMPLATE_NOT_LEARNED -1074395648 // You supplied a template that was not learned.
#define ERR_NO_TEMPLATE_TO_LEARN -1074395646 // Need at least one template to learn.
#define ERR_INVALID_NUMBER_OF_LABELS -1074395645 // You supplied an invalid number of labels.
#define ERR_LABEL_TOO_LONG -1074395644 // Labels must be <= 255 characters.
#define ERR_INVALID_NUMBER_OF_MATCH_OPTIONS -1074395643 // You supplied an invalid number of match options.
#define ERR_LABEL_NOT_FOUND -1074395642 // Cannot find a label that matches the one you specified.
#define ERR_DUPLICATE_LABEL -1074395641 // Duplicate labels are not allowed.
#define ERR_TOO_MANY_ZONES -1074395640 // The number of zones found exceeded the capacity of the algorithm.
#define ERR_INVALID_HATCH_STYLE -1074395639 // The hatch style for the window background is invalid.
#define ERR_INVALID_FILL_STYLE -1074395638 // The fill style for the window background is invalid.
#define ERR_HARDWARE_DOESNT_SUPPORT_NONTEARING -1074395637 // Your hardware is not supported by DirectX and cannot be put into NonTearing mode.
#define ERR_DIRECTX_NOT_FOUND -1074395636 // DirectX is required for this feature. Please install the latest version..
#define ERR_INVALID_SHAPE_DESCRIPTOR -1074395635 // The passed shape descriptor is invalid.
#define ERR_INVALID_MAX_MATCH_OVERLAP -1074395634 // Invalid max match overlap. Values must be between -1 and 100.
#define ERR_INVALID_MIN_MATCH_SEPARATION_SCALE -1074395633 // Invalid minimum match separation scale. Values must be greater than or equal to -1.
#define ERR_INVALID_MIN_MATCH_SEPARATION_ANGLE -1074395632 // Invalid minimum match separation angle. Values must be between -1 and 360.
#define ERR_INVALID_MIN_MATCH_SEPARATION_DISTANCE -1074395631 // Invalid minimum match separation distance. Values must be greater than or equal to -1.
#define ERR_INVALID_MAXIMUM_FEATURES_LEARNED -1074395630 // Invalid maximum number of features learn. Values must be integers greater than zero.
#define ERR_INVALID_MAXIMUM_PIXEL_DISTANCE_FROM_LINE -1074395629 // Invalid maximum pixel distance from line. Values must be positive real numbers.
#define ERR_NOT_ENOUGH_TEMPLATE_FEATURES_1 -1074395627 // The template does not contain enough features for geometric matching.
#define ERR_NOT_ENOUGH_TEMPLATE_FEATURES -1074395626 // The template does not contain enough features for geometric matching.
#define ERR_INVALID_MATCH_CONSTRAINT_TYPE -1074395625 // You specified an invalid value for the match constraint value of the range settings.
#define ERR_INVALID_OCCLUSION_RANGE -1074395624 // Invalid occlusion range. Valid values for the bounds range from 0 to 100 and the upper bound must be greater than or equal to the lower bound.
#define ERR_INVALID_SCALE_RANGE -1074395623 // Invalid scale range. Values for the lower bound must be a positive real numbers and the upper bound must be greater than or equal to the lower bound.
#define ERR_INVALID_MATCH_GEOMETRIC_PATTERN_SETUP_DATA -1074395622 // Invalid match geometric pattern setup data.
#define ERR_TOO_MANY_OCCLUSION_RANGES -1074395619 // You can specify only one occlusion range.
#define ERR_TOO_MANY_SCALE_RANGES -1074395618 // You can specify only one scale range.
#define ERR_INVALID_NUMBER_OF_FEATURES_RANGE -1074395617 // The minimum number of features must be less than or equal to the maximum number of features.
#define ERR_INVALID_MINIMUM_FEATURE_STRENGTH -1074395615 // Invalid minimum strength for features. Values must be positive real numbers.
#define ERR_INVALID_MINIMUM_FEATURE_ASPECT_RATIO -1074395614 // Invalid aspect ratio for rectangular features. Values must be positive real numbers in the range 0.01 to 1.0.
#define ERR_INVALID_MINIMUM_FEATURE_LENGTH -1074395613 // Invalid minimum length for linear features. Values must be integers greater than 0.
#define ERR_INVALID_MINIMUM_FEATURE_RADIUS -1074395612 // Invalid minimum radius for circular features. Values must be integers greater than 0.
#define ERR_INVALID_MINIMUM_RECTANGLE_DIMENSION -1074395611 // Invalid minimum rectangle dimension. Values must be integers greater than 0.
#define ERR_INVALID_INITIAL_MATCH_LIST_LENGTH -1074395610 // Invalid initial match list length. Values must be integers greater than 5.
#define ERR_INVALID_SUBPIXEL_TOLERANCE -1074395609 // Invalid subpixel tolerance. Values must be positive real numbers.
#define ERR_INVALID_SUBPIXEL_ITERATIONS -1074395608 // Invalid number of subpixel iterations. Values must be integers greater 10.
#define ERR_INVALID_MAXIMUM_FEATURES_PER_MATCH -1074395607 // Invalid maximum number of features used per match. Values must be integers greater than or equal to zero.
#define ERR_INVALID_MINIMUM_FEATURES_TO_MATCH -1074395606 // Invalid minimum number of features used for matching. Values must be integers greater than zero.
#define ERR_INVALID_MAXIMUM_END_POINT_GAP -1074395605 // Invalid maximum end point gap. Valid values range from 0 to 32767.
#define ERR_INVALID_COLUMN_STEP -1074395604 // Invalid column step. Valid range is 1 to 255.
#define ERR_INVALID_ROW_STEP -1074395603 // Invalid row step. Valid range is 1 to 255.
#define ERR_INVALID_MINIMUM_CURVE_LENGTH -1074395602 // Invalid minimum length. Valid values must be greater than or equal to zero.
#define ERR_INVALID_EDGE_THRESHOLD -1074395601 // Invalid edge threshold. Valid values range from 1 to 360.
#define ERR_INFO_NOT_FOUND -1074395600 // You must provide information about the subimage within the browser.
#define ERR_NIOCR_INVALID_ACCEPTANCE_LEVEL -1074395598 // The acceptance level is outside the valid range of 0 to 1000.
#define ERR_NIOCR_NOT_A_VALID_SESSION -1074395597 // Not a valid OCR session.
#define ERR_NIOCR_INVALID_CHARACTER_SIZE -1074395596 // Invalid character size. Character size must be >= 1.
#define ERR_NIOCR_INVALID_SUBSTITUTION_CHARACTER -1074395594 // Invalid substitution character. Valid substitution characters are ASCII values that range from 1 to 254.
#define ERR_NIOCR_INVALID_NUMBER_OF_BLOCKS -1074395593 // Invalid number of blocks. Number of blocks must be >= 4 and <= 50.
#define ERR_NIOCR_INVALID_CHARACTER_INDEX -1074395591 // Invalid character index.
#define ERR_NIOCR_INVALID_NUMBER_OF_VALID_CHARACTER_POSITIONS -1074395590 // Invalid number of character positions. Valid values range from 0 to 255.
#define ERR_NIOCR_INVALID_LOW_THRESHOLD_VALUE -1074395589 // Invalid low threshold value. Valid threshold values range from 0 to 255.
#define ERR_NIOCR_INVALID_HIGH_THRESHOLD_VALUE -1074395588 // Invalid high threshold value. Valid threshold values range from 0 to 255.
#define ERR_NIOCR_INVALID_THRESHOLD_RANGE -1074395587 // The low threshold must be less than the high threshold.
#define ERR_NIOCR_INVALID_LOWER_THRESHOLD_LIMIT -1074395586 // Invalid lower threshold limit. Valid lower threshold limits range from 0 to 255.
#define ERR_NIOCR_INVALID_UPPER_THRESHOLD_LIMIT -1074395585 // Invalid upper threshold limit. Valid upper threshold limits range from 0 to 255.
#define ERR_NIOCR_INVALID_THRESHOLD_LIMITS -1074395584 // The lower threshold limit must be less than the upper threshold limit.
#define ERR_NIOCR_INVALID_MIN_CHAR_SPACING -1074395583 // Invalid minimum character spacing value. Character spacing must be >= 1 pixel.
#define ERR_NIOCR_INVALID_MAX_HORIZ_ELEMENT_SPACING -1074395582 // Invalid maximum horizontal element spacing value. Maximum horizontal element spacing must be >= 0.
#define ERR_NIOCR_INVALID_MAX_VERT_ELEMENT_SPACING -1074395581 // Invalid maximum vertical element spacing value. Maximum vertical element spacing must be >= 0.
#define ERR_NIOCR_INVALID_MIN_BOUNDING_RECT_WIDTH -1074395580 // Invalid minimum bounding rectangle width. Minimum bounding rectangle width must be >= 1.
#define ERR_NIOCR_INVALID_ASPECT_RATIO -1074395579 // Invalid aspect ratio value. The aspect ratio must be zero or >= 100.
#define ERR_NIOCR_INVALID_CHARACTER_SET_FILE -1074395578 // Invalid or corrupt character set file.
#define ERR_NIOCR_CHARACTER_VALUE_CANNOT_BE_EMPTYSTRING -1074395577 // The character value must not be an empty string.
#define ERR_NIOCR_CHARACTER_VALUE_TOO_LONG -1074395576 // Character values must be <=255 characters.
#define ERR_NIOCR_INVALID_NUMBER_OF_EROSIONS -1074395575 // Invalid number of erosions. The number of erosions must be >= 0.
#define ERR_NIOCR_CHARACTER_SET_DESCRIPTION_TOO_LONG -1074395574 // The character set description must be <=255 characters.
#define ERR_NIOCR_INVALID_CHARACTER_SET_FILE_VERSION -1074395573 // The character set file was created by a newer version of NI Vision. Upgrade to the latest version of NI Vision to read the character set file.
#define ERR_NIOCR_INTEGER_VALUE_FOR_STRING_ATTRIBUTE -1074395572 // You must specify characters for a string. A string cannot contain integers.
#define ERR_NIOCR_GET_ONLY_ATTRIBUTE -1074395571 // This attribute is read-only.
#define ERR_NIOCR_INTEGER_VALUE_FOR_BOOLEAN_ATTRIBUTE -1074395570 // This attribute requires a Boolean value.
#define ERR_NIOCR_STRING_VALUE_FOR_INTEGER_ATTRIBUTE -1074395568 // This attribute requires integer values.
#define ERR_NIOCR_STRING_VALUE_FOR_BOOLEAN_ATTRIBUTE -1074395567 // String values are invalid for this attribute. Enter a boolean value.
#define ERR_NIOCR_BOOLEAN_VALUE_FOR_INTEGER_ATTRIBUTE -1074395566 // Boolean values are not valid for this attribute. Enter an integer value.
#define ERR_NIOCR_MUST_BE_SINGLE_CHARACTER -1074395565 // Requires a single-character string.
#define ERR_NIOCR_INVALID_PREDEFINED_CHARACTER -1074395564 // Invalid predefined character value.
#define ERR_NIOCR_UNLICENSED -1074395563 // This copy of NI OCR is unlicensed.
#define ERR_NIOCR_BOOLEAN_VALUE_FOR_STRING_ATTRIBUTE -1074395562 // String values are not valid for this attribute. Enter a Boolean value.
#define ERR_NIOCR_INVALID_NUMBER_OF_CHARACTERS -1074395561 // The number of characters in the character value must match the number of objects in the image.
#define ERR_NIOCR_INVALID_CHARACTER_SIZE_RANGE -1074395558 // The minimum character size must be less than the maximum character size.
#define ERR_NIOCR_INVALID_BOUNDING_RECT_WIDTH_RANGE -1074395557 // The minimum character bounding rectangle width must be less than the maximum character bounding rectangle width.
#define ERR_NIOCR_INVALID_BOUNDING_RECT_HEIGHT_RANGE -1074395556 // The minimum character bounding rectangle height must be less than the maximum character bounding rectangle height.
#define ERR_NIOCR_INVALID_SPACING_RANGE -1074395555 // The maximum horizontal element spacing value must not exceed the minimum character spacing value.
#define ERR_NIOCR_INVALID_MIN_BOUNDING_RECT_HEIGHT -1074395553 // Invalid minimum bounding rectangle height. The minimum bounding rectangle height must be >= 1.
#define ERR_NIOCR_NOT_A_VALID_CHARACTER_SET -1074395552 // Not a valid character set.
#define ERR_NIOCR_RENAME_REFCHAR -1074395551 // A trained OCR character cannot be renamed while it is a reference character.
#define ERR_NIOCR_INVALID_CHARACTER_VALUE -1074395550 // A character cannot have an ASCII value of 255.
#define ERR_NIOCR_INVALID_NUMBER_OF_OBJECTS_TO_VERIFY -1074395549 // The number of objects found does not match the number of expected characters or patterns to verify.
#define ERR_INVALID_STEREO_BLOCKMATCHING_PREFILTER_CAP -1074395421 // The specified value for the filter cap for block matching is invalid.
#define ERR_INVALID_STEREO_BLOCKMATCHING_PREFILTER_SIZE -1074395420 // The specified prefilter size for block matching is invalid.
#define ERR_INVALID_STEREO_BLOCKMATCHING_PREFILTER_TYPE -1074395419 // The specified prefilter type for block matching is invalid.
#define ERR_INVALID_STEREO_BLOCKMATCHING_NUMDISPARITIES -1074395418 // The specifed value for number of disparities is invalid.
#define ERR_INVALID_STEREO_BLOCKMATCHING_WINDOW_SIZE -1074395417 // The specified window size for block matching is invalid.
#define ERR_3DVISION_INVALID_SESSION_TYPE -1074395416 // This 3D vision function cannot be called on this type of 3d vision session.
#define ERR_TOO_MANY_3DVISION_SESSIONS -1074395415 // There are too many 3D vision sessions open. You must close a session before you can open another one.
#define ERR_OPENING_NEWER_3DVISION_SESSION -1074395414 // The 3D vision session you tried to open was created with a newer version of NI Vision. Upgrade to the latest version of NI Vision to read this file.
#define ERR_INVALID_STEREO_BLOCKMATCHING_FILTERTYPE -1074395413 // You have specified an invalid filter type for block matching.
#define ERR_INVALID_STEREO_CAMERA_POSITION -1074395412 // You have requested results at an invalid camera position in the stereo setup.
#define ERR_INVALID_3DVISION_SESSION -1074395411 // Not a valid 3D Vision session.
#define ERR_INVALID_ICONS_PER_LINE -1074395410 // NI Vision does not support less than one icon per line.
#define ERR_INVALID_CONTRAST -1074395407 // Invalid contrast value. Valid contrast values range from 0 to 255.
#define ERR_COORDSYS_NOT_FOUND -1074395406 // The coordinate system could not be found on this image.
#define ERR_INVALID_TEXTORIENTATION -1074395405 // NI Vision does not support the text orientation value you supplied.
#define ERR_INVALID_INTERPOLATIONMETHOD_FOR_UNWRAP -1074395404 // UnwrapImage does not support the interpolation method value you supplied. Valid interpolation methods are zero order and bilinear.
#define ERR_EXTRAINFO_VERSION -1074395403 // The image was created in a newer version of NI Vision. Upgrade to the latest version of NI Vision to use this image.
#define ERR_INVALID_MAXPOINTS -1074395402 // The function does not support the maximum number of points that you specified.
#define ERR_INVALID_MATCHFACTOR -1074395401 // The function does not support the matchFactor that you specified.
#define ERR_MULTICORE_OPERATION -1074395400 // The operation you have given Multicore Options is invalid. Please see the available enumeration values for Multicore Operation.
#define ERR_MULTICORE_INVALID_ARGUMENT -1074395399 // You have given Multicore Options an invalid argument.
#define ERR_COMPLEX_IMAGE_REQUIRED -1074395397 // A complex image is required.
#define ERR_COLOR_IMAGE_REQUIRED -1074395395 // The input image must be a color image.
#define ERR_COLOR_SPECTRUM_MASK -1074395394 // The color mask removes too much color information.
#define ERR_COLOR_TEMPLATE_IMAGE_TOO_SMALL -1074395393 // The color template image is too small.
#define ERR_COLOR_TEMPLATE_IMAGE_TOO_LARGE -1074395392 // The color template image is too large.
#define ERR_COLOR_TEMPLATE_IMAGE_HUE_CONTRAST_TOO_LOW -1074395391 // The contrast in the hue plane of the image is too low for learning shape features.
#define ERR_COLOR_TEMPLATE_IMAGE_LUMINANCE_CONTRAST_TOO_LOW -1074395390 // The contrast in the luminance plane of the image is too low to learn shape features.
#define ERR_COLOR_LEARN_SETUP_DATA -1074395389 // Invalid color learn setup data.
#define ERR_COLOR_LEARN_SETUP_DATA_SHAPE -1074395388 // Invalid color learn setup data.
#define ERR_COLOR_MATCH_SETUP_DATA -1074395387 // Invalid color match setup data.
#define ERR_COLOR_MATCH_SETUP_DATA_SHAPE -1074395386 // Invalid color match setup data.
#define ERR_COLOR_ROTATION_REQUIRES_SHAPE_FEATURE -1074395385 // Rotation-invariant color pattern matching requires a feature mode including shape.
#define ERR_COLOR_TEMPLATE_DESCRIPTOR -1074395384 // Invalid color template image.
#define ERR_COLOR_TEMPLATE_DESCRIPTOR_1 -1074395383 // Invalid color template image.
#define ERR_COLOR_TEMPLATE_DESCRIPTOR_2 -1074395382 // Invalid color template image.
#define ERR_COLOR_TEMPLATE_DESCRIPTOR_3 -1074395381 // Invalid color template image.
#define ERR_COLOR_TEMPLATE_DESCRIPTOR_4 -1074395380 // Invalid color template image.
#define ERR_COLOR_TEMPLATE_DESCRIPTOR_5 -1074395379 // Invalid color template image.
#define ERR_COLOR_TEMPLATE_DESCRIPTOR_6 -1074395378 // Invalid color template image.
#define ERR_COLOR_TEMPLATE_DESCRIPTOR_SHIFT -1074395377 // Invalid color template image.
#define ERR_COLOR_TEMPLATE_DESCRIPTOR_NOSHIFT -1074395376 // The color template image does not contain data required for shift-invariant color matching.
#define ERR_COLOR_TEMPLATE_DESCRIPTOR_SHIFT_1 -1074395375 // Invalid color template image.
#define ERR_COLOR_TEMPLATE_DESCRIPTOR_SHIFT_2 -1074395374 // Invalid color template image.
#define ERR_COLOR_TEMPLATE_DESCRIPTOR_ROTATION -1074395373 // Invalid color template image.
#define ERR_COLOR_TEMPLATE_DESCRIPTOR_NOROTATION -1074395372 // The color template image does not contain data required for rotation-invariant color matching.
#define ERR_COLOR_TEMPLATE_DESCRIPTOR_ROTATION_1 -1074395371 // Invalid color template image.
#define ERR_COLOR_TEMPLATE_DESCRIPTOR_ROTATION_2 -1074395370 // Invalid color template image.
#define ERR_COLOR_TEMPLATE_DESCRIPTOR_ROTATION_3 -1074395369 // Invalid color template image.
#define ERR_COLOR_TEMPLATE_DESCRIPTOR_ROTATION_4 -1074395368 // Invalid color template image.
#define ERR_COLOR_TEMPLATE_DESCRIPTOR_ROTATION_5 -1074395367 // Invalid color template image.
#define ERR_COLOR_TEMPLATE_DESCRIPTOR_NOSHAPE -1074395366 // The color template image does not contain data required for color matching in shape feature mode.
#define ERR_COLOR_TEMPLATE_DESCRIPTOR_NOSPECTRUM -1074395365 // The color template image does not contain data required for color matching in color feature mode.
#define ERR_IGNORE_COLOR_SPECTRUM_SET -1074395364 // The ignore color spectra array is invalid.
#define ERR_INVALID_RECT -1074395351 // NI Vision does not support rectangles with negative widths or negative heights.
#define ERR_INVALID_VISION_INFO -1074395350 // NI Vision does not support the vision information type you supplied.
#define ERR_INVALID_SKELETONMETHOD -1074395349 // NI Vision does not support the SkeletonMethod value you supplied.
#define ERR_INVALID_3DPLANE -1074395348 // NI Vision does not support the 3DPlane value you supplied.
#define ERR_INVALID_3DDIRECTION -1074395347 // NI Vision does not support the 3DDirection value you supplied.
#define ERR_INVALID_INTERPOLATIONMETHOD_FOR_ROTATE -1074395346 // imaqRotate does not support the InterpolationMethod value you supplied.
#define ERR_INVALID_FLIPAXIS -1074395345 // NI Vision does not support the axis of symmetry you supplied.
#define ERR_FILE_FILENAME_NULL -1074395343 // You must pass a valid file name. Do not pass in NULL.
#define ERR_INVALID_SIZETYPE -1074395340 // NI Vision does not support the SizeType value you supplied.
#define ERR_UNKNOWN_ALGORITHM -1074395336 // You specified the dispatch status of an unknown algorithm.
#define ERR_DISPATCH_STATUS_CONFLICT -1074395335 // You are attempting to set the same algorithm to dispatch and to not dispatch. Remove one of the conflicting settings.
#define ERR_INVALID_CONVERSIONSTYLE -1074395334 // NI Vision does not support the Conversion Method value you supplied.
#define ERR_INVALID_VERTICAL_TEXT_ALIGNMENT -1074395333 // NI Vision does not support the VerticalTextAlignment value you supplied.
#define ERR_INVALID_COMPAREFUNCTION -1074395332 // NI Vision does not support the CompareFunction value you supplied.
#define ERR_INVALID_BORDERMETHOD -1074395331 // NI Vision does not support the BorderMethod value you supplied.
#define ERR_INVALID_BORDER_SIZE -1074395330 // Invalid border size. Acceptable values range from 0 to 50.
#define ERR_INVALID_OUTLINEMETHOD -1074395329 // NI Vision does not support the OutlineMethod value you supplied.
#define ERR_INVALID_INTERPOLATIONMETHOD -1074395328 // NI Vision does not support the InterpolationMethod value you supplied.
#define ERR_INVALID_SCALINGMODE -1074395327 // NI Vision does not support the ScalingMode value you supplied.
#define ERR_INVALID_DRAWMODE_FOR_LINE -1074395326 // imaqDrawLineOnImage does not support the DrawMode value you supplied.
#define ERR_INVALID_DRAWMODE -1074395325 // NI Vision does not support the DrawMode value you supplied.
#define ERR_INVALID_SHAPEMODE -1074395324 // NI Vision does not support the ShapeMode value you supplied.
#define ERR_INVALID_FONTCOLOR -1074395323 // NI Vision does not support the FontColor value you supplied.
#define ERR_INVALID_TEXTALIGNMENT -1074395322 // NI Vision does not support the TextAlignment value you supplied.
#define ERR_INVALID_MORPHOLOGYMETHOD -1074395321 // NI Vision does not support the MorphologyMethod value you supplied.
#define ERR_TEMPLATE_EMPTY -1074395320 // The template image is empty.
#define ERR_INVALID_SUBPIX_TYPE -1074395319 // NI Vision does not support the interpolation type you supplied.
#define ERR_INSF_POINTS -1074395318 // You supplied an insufficient number of points to perform this operation.
#define ERR_UNDEF_POINT -1074395317 // You specified a point that lies outside the image.
#define ERR_INEFFICIENT_POINTS -1074395315 // You supplied an inefficient set of points to match the minimum score.
#define ERR_WRITE_FILE_NOT_SUPPORTED -1074395313 // Writing files is not supported on this device.
#define ERR_LCD_CALIBRATE -1074395312 // The input image does not seem to be a valid LCD or LED calibration image.
#define ERR_INVALID_COLOR_SPECTRUM -1074395311 // The color spectrum array you provided has an invalid number of elements or contains an element set to not-a-number (NaN).
#define ERR_INVALID_PALETTE_TYPE -1074395310 // NI Vision does not support the PaletteType value you supplied.
#define ERR_INVALID_WINDOW_THREAD_POLICY -1074395309 // NI Vision does not support the WindowThreadPolicy value you supplied.
#define ERR_INVALID_COLORSENSITIVITY -1074395308 // NI Vision does not support the ColorSensitivity value you supplied.
#define ERR_PRECISION_NOT_GTR_THAN_0 -1074395307 // The precision parameter must be greater than 0.
#define ERR_INVALID_TOOL -1074395306 // NI Vision does not support the Tool value you supplied.
#define ERR_INVALID_REFERENCEMODE -1074395305 // NI Vision does not support the ReferenceMode value you supplied.
#define ERR_INVALID_MATHTRANSFORMMETHOD -1074395304 // NI Vision does not support the MathTransformMethod value you supplied.
#define ERR_INVALID_NUM_OF_CLASSES -1074395303 // Invalid number of classes for auto threshold. Acceptable values range from 2 to 256.
#define ERR_INVALID_THRESHOLDMETHOD -1074395302 // NI Vision does not support the threshold method value you supplied.
#define ERR_ROI_NOT_2_LINES -1074395301 // The ROI you passed into imaqGetMeterArc must consist of two lines.
#define ERR_INVALID_METERARCMODE -1074395300 // NI Vision does not support the MeterArcMode value you supplied.
#define ERR_INVALID_COMPLEXPLANE -1074395299 // NI Vision does not support the ComplexPlane value you supplied.
#define ERR_COMPLEXPLANE_NOT_REAL_OR_IMAGINARY -1074395298 // You can perform this operation on a real or an imaginary ComplexPlane only.
#define ERR_INVALID_PARTICLEINFOMODE -1074395297 // NI Vision does not support the ParticleInfoMode value you supplied.
#define ERR_INVALID_BARCODETYPE -1074395296 // NI Vision does not support the BarcodeType value you supplied.
#define ERR_INVALID_INTERPOLATIONMETHOD_INTERPOLATEPOINTS -1074395295 // imaqInterpolatePoints does not support the InterpolationMethod value you supplied.
#define ERR_CONTOUR_INDEX_OUT_OF_RANGE -1074395294 // The contour index you supplied is larger than the number of contours in the ROI.
#define ERR_CONTOURID_NOT_FOUND -1074395293 // The supplied ContourID did not correlate to a contour inside the ROI.
#define ERR_POINTS_ARE_COLLINEAR -1074395292 // Do not supply collinear points for this operation.
#define ERR_SHAPEMATCH_BADIMAGEDATA -1074395291 // Shape Match requires the image to contain only pixel values of 0 or 1.
#define ERR_SHAPEMATCH_BADTEMPLATE -1074395290 // The template you supplied for ShapeMatch contains no shape information.
#define ERR_CONTAINER_CAPACITY_EXCEEDED_UINT_MAX -1074395289 // The operation would have exceeded the capacity of an internal container, which is limited to 4294967296 unique elements.
#define ERR_CONTAINER_CAPACITY_EXCEEDED_INT_MAX -1074395288 // The operation would have exceeded the capacity of an internal container, which is limited to 2147483648 unique elements.
#define ERR_INVALID_LINE -1074395287 // The line you provided contains two identical points, or one of the coordinate locations for the line is not a number (NaN).
#define ERR_TEMPLATE_DESCRIPTOR_4 -1074395243 // The template descriptor was created with a newer version of NI Vision. Upgrade to the latest version of NI Vision to use this template.
#define ERR_TEMPLATE_DESCRIPTOR_NOSCALE -1074395236 // The template descriptor does not contain data required for scale-invariant matching.
#define ERR_TEMPLATE_IMAGE_CONTRAST_TOO_LOW -1074395235 // The template image does not contain enough contrast.
#define ERR_TEMPLATE_IMAGE_TOO_SMALL -1074395234 // The template image is too small.
#define ERR_TEMPLATE_IMAGE_TOO_LARGE -1074395233 // The template image is too large.
#define ERR_TOO_MANY_OCR_SESSIONS -1074395214 // There are too many OCR sessions open. You must close a session before you can open another one.
#define ERR_OCR_TEMPLATE_WRONG_SIZE -1074395212 // The size of the template string must match the size of the string you are trying to correct.
#define ERR_OCR_BAD_TEXT_TEMPLATE -1074395211 // The supplied text template contains nonstandard characters that cannot be generated by OCR.
#define ERR_OCR_CANNOT_MATCH_TEXT_TEMPLATE -1074395210 // At least one character in the text template was of a lexical class that did not match the supplied character reports.
#define ERR_OCR_LIB_INIT -1074395203 // The OCR library cannot be initialized correctly.
#define ERR_OCR_LOAD_LIBRARY -1074395201 // There was a failure when loading one of the internal OCR engine or LabView libraries.
#define ERR_OCR_INVALID_PARAMETER -1074395200 // One of the parameters supplied to the OCR function that generated this error is invalid.
#define ERR_MARKER_INFORMATION_NOT_SUPPLIED -1074395199 // Marker image and points are not supplied
#define ERR_INCOMPATIBLE_MARKER_IMAGE_SIZE -1074395198 // Source Image and Marker Image should be of same size.
#define ERR_BOTH_MARKER_INPUTS_SUPPLIED -1074395197 // Both Marker Image and Points are supplied.
#define ERR_IMAGE_CONTAINS_NAN_VALUES -1074395195 // Float image contains NaN values
#define ERR_OVERLAY_EXTRAINFO_OPENING_NEW_VERSION -1074395194 // The overlay information you tried to open was created with a newer version of NI Vision. Upgrade to the latest version of NI Vision to read this file.
#define ERR_NO_CLAMP_FOUND -1074395193 // No valid clamp was found with the current configuration
#define ERR_NO_CLAMP_WITHIN_ANGLE_RANGE -1074395192 // Supplied angle range for clamp is insufficient
#define ERR_GHT_INVALID_USE_ALL_CURVES_VALUE -1074395188 // The use all curves advanced option specified during learn is not supported
#define ERR_INVALID_GAUSS_SIGMA_VALUE -1074395187 // The sigma value specified for the Gaussian filter is too small.
#define ERR_INVALID_GAUSS_FILTER_TYPE -1074395186 // The specified Gaussian filter type is not supported.
#define ERR_INVALID_CONTRAST_REVERSAL_MODE -1074395185 // The contrast reversal mode specified during matching is invalid.
#define ERR_INVALID_ROTATION_RANGE -1074395184 // Invalid roation angle range. The upper bound must be greater than or equal to the lower bound.
#define ERR_GHT_INVALID_MINIMUM_LEARN_ANGLE_VALUE -1074395183 // The minimum rotation angle value specifed during learning of the template is not supported.
#define ERR_GHT_INVALID_MAXIMUM_LEARN_ANGLE_VALUE -1074395182 // The maximum rotation angle value specifed during learning of the template is not supported.
#define ERR_GHT_INVALID_MAXIMUM_LEARN_SCALE_FACTOR -1074395181 // The maximum scale factor specifed during learning of the template is not supported.
#define ERR_GHT_INVALID_MINIMUM_LEARN_SCALE_FACTOR -1074395180 // The minimum scale factor specifed during learning of the template is not supported.
#define ERR_OCR_PREPROCESSING_FAILED -1074395179 // The OCR engine failed during the preprocessing stage.
#define ERR_OCR_RECOGNITION_FAILED -1074395178 // The OCR engine failed during the recognition stage.
#define ERR_OCR_BAD_USER_DICTIONARY -1074395175 // The provided filename is not valid user dictionary filename.
#define ERR_OCR_INVALID_AUTOORIENTMODE -1074395174 // NI Vision does not support the AutoOrientMode value you supplied.
#define ERR_OCR_INVALID_LANGUAGE -1074395173 // NI Vision does not support the Language value you supplied.
#define ERR_OCR_INVALID_CHARACTERSET -1074395172 // NI Vision does not support the CharacterSet value you supplied.
#define ERR_OCR_INI_FILE_NOT_FOUND -1074395171 // The system could not locate the initialization file required for OCR initialization.
#define ERR_OCR_INVALID_CHARACTERTYPE -1074395170 // NI Vision does not support the CharacterType value you supplied.
#define ERR_OCR_INVALID_RECOGNITIONMODE -1074395169 // NI Vision does not support the RecognitionMode value you supplied.
#define ERR_OCR_INVALID_AUTOCORRECTIONMODE -1074395168 // NI Vision does not support the AutoCorrectionMode value you supplied.
#define ERR_OCR_INVALID_OUTPUTDELIMITER -1074395167 // NI Vision does not support the OutputDelimiter value you supplied.
#define ERR_OCR_BIN_DIR_NOT_FOUND -1074395166 // The system could not locate the OCR binary directory required for OCR initialization.
#define ERR_OCR_WTS_DIR_NOT_FOUND -1074395165 // The system could not locate the OCR weights directory required for OCR initialization.
#define ERR_OCR_ADD_WORD_FAILED -1074395164 // The supplied word could not be added to the user dictionary.
#define ERR_OCR_INVALID_CHARACTERPREFERENCE -1074395163 // NI Vision does not support the CharacterPreference value you supplied.
#define ERR_OCR_INVALID_CORRECTIONMODE -1074395162 // NI Vision does not support the CorrectionMethod value you supplied.
#define ERR_OCR_INVALID_CORRECTIONLEVEL -1074395161 // NI Vision does not support the CorrectionLevel value you supplied.
#define ERR_OCR_INVALID_MAXPOINTSIZE -1074395160 // NI Vision does not support the maximum point size you supplied. Valid values range from 4 to 72.
#define ERR_OCR_INVALID_TOLERANCE -1074395159 // NI Vision does not support the tolerance value you supplied. Valid values are non-negative.
#define ERR_OCR_INVALID_CONTRASTMODE -1074395158 // NI Vision does not support the ContrastMode value you supplied.
#define ERR_OCR_SKEW_DETECT_FAILED -1074395156 // The OCR attempted to detected the text skew and failed.
#define ERR_OCR_ORIENT_DETECT_FAILED -1074395155 // The OCR attempted to detected the text orientation and failed.
#define ERR_FONT_FILE_FORMAT -1074395153 // Invalid font file format.
#define ERR_FONT_FILE_NOT_FOUND -1074395152 // Font file not found.
#define ERR_OCR_CORRECTION_FAILED -1074395151 // The OCR engine failed during the correction stage.
#define ERR_INVALID_ROUNDING_MODE -1074395150 // NI Vision does not support the RoundingMode value you supplied.
#define ERR_DUPLICATE_TRANSFORM_TYPE -1074395149 // Found a duplicate transform type in the properties array. Each properties array may only contain one behavior for each transform type.
#define ERR_OVERLAY_GROUP_NOT_FOUND -1074395148 // Overlay Group Not Found.
#define ERR_BARCODE_RSSLIMITED -1074395147 // The barcode is not a valid RSS Limited symbol
#define ERR_QR_DETECTION_VERSION -1074395146 // Couldn't determine the correct version of the QR code.
#define ERR_QR_INVALID_READ -1074395145 // Invalid read of the QR code.
#define ERR_QR_INVALID_BARCODE -1074395144 // The barcode that was read contains invalid parameters.
#define ERR_QR_DETECTION_MODE -1074395143 // The data stream that was demodulated could not be read because the mode was not detected.
#define ERR_QR_DETECTION_MODELTYPE -1074395142 // Couldn't determine the correct model of the QR code.
#define ERR_OCR_NO_TEXT_FOUND -1074395141 // The OCR engine could not find any text in the supplied region.
#define ERR_OCR_CHAR_REPORT_CORRUPTED -1074395140 // One of the character reports is no longer usable by the system.
IMAQ_POINT_AS_PIXEL=0,//A single pixel represents a point in the overlay.
IMAQ_POINT_AS_CROSS=1,//A cross represents a point in the overlay.
IMAQ_POINT_USER_DEFINED=2,//The pattern supplied by the user represents a point in the overlay.
IMAQ_POINT_SYMBOL_SIZE_GUARD=0xFFFFFFFF
}PointSymbol;
typedefenumMeasurementValue_enum{
IMAQ_AREA=0,//Surface area of the particle in pixels.
IMAQ_AREA_CALIBRATED=1,//Surface area of the particle in calibrated units.
IMAQ_NUM_HOLES=2,//Number of holes in the particle.
IMAQ_AREA_OF_HOLES=3,//Surface area of the holes in calibrated units.
IMAQ_TOTAL_AREA=4,//Total surface area (holes and particle) in calibrated units.
IMAQ_IMAGE_AREA=5,//Surface area of the entire image in calibrated units.
IMAQ_PARTICLE_TO_IMAGE=6,//Ratio, expressed as a percentage, of the surface area of a particle in relation to the total area of the particle.
IMAQ_PARTICLE_TO_TOTAL=7,//Ratio, expressed as a percentage, of the surface area of a particle in relation to the total area of the particle.
IMAQ_CENTER_MASS_X=8,//X-coordinate of the center of mass.
IMAQ_CENTER_MASS_Y=9,//Y-coordinate of the center of mass.
IMAQ_LEFT_COLUMN=10,//Left edge of the bounding rectangle.
IMAQ_TOP_ROW=11,//Top edge of the bounding rectangle.
IMAQ_RIGHT_COLUMN=12,//Right edge of the bounding rectangle.
IMAQ_BOTTOM_ROW=13,//Bottom edge of bounding rectangle.
IMAQ_WIDTH=14,//Width of bounding rectangle in calibrated units.
IMAQ_HEIGHT=15,//Height of bounding rectangle in calibrated units.
IMAQ_MAX_SEGMENT_LENGTH=16,//Length of longest horizontal line segment.
IMAQ_MAX_SEGMENT_LEFT_COLUMN=17,//Leftmost x-coordinate of longest horizontal line segment.
IMAQ_MAX_SEGMENT_TOP_ROW=18,//Y-coordinate of longest horizontal line segment.
IMAQ_PERIMETER=19,//Outer perimeter of the particle.
IMAQ_PERIMETER_OF_HOLES=20,//Perimeter of all holes within the particle.
IMAQ_SIGMA_X=21,//Sum of the particle pixels on the x-axis.
IMAQ_SIGMA_Y=22,//Sum of the particle pixels on the y-axis.
IMAQ_SIGMA_XX=23,//Sum of the particle pixels on the x-axis squared.
IMAQ_SIGMA_YY=24,//Sum of the particle pixels on the y-axis squared.
IMAQ_SIGMA_XY=25,//Sum of the particle pixels on the x-axis and y-axis.
IMAQ_PROJ_X=26,//Projection corrected in X.
IMAQ_PROJ_Y=27,//Projection corrected in Y.
IMAQ_INERTIA_XX=28,//Inertia matrix coefficient in XX.
IMAQ_INERTIA_YY=29,//Inertia matrix coefficient in YY.
IMAQ_INERTIA_XY=30,//Inertia matrix coefficient in XY.
IMAQ_MEAN_H=31,//Mean length of horizontal segments.
IMAQ_MEAN_V=32,//Mean length of vertical segments.
IMAQ_MAX_INTERCEPT=33,//Length of longest segment of the convex hull.
IMAQ_MEAN_INTERCEPT=34,//Mean length of the chords in an object perpendicular to its max intercept.
IMAQ_ORIENTATION=35,//The orientation based on the inertia of the pixels in the particle.
IMAQ_EQUIV_ELLIPSE_MINOR=36,//Total length of the axis of the ellipse having the same area as the particle and a major axis equal to half the max intercept.
IMAQ_ELLIPSE_MAJOR=37,//Total length of major axis having the same area and perimeter as the particle in calibrated units.
IMAQ_ELLIPSE_MINOR=38,//Total length of minor axis having the same area and perimeter as the particle in calibrated units.
IMAQ_ELLIPSE_RATIO=39,//Fraction of major axis to minor axis.
IMAQ_RECT_LONG_SIDE=40,//Length of the long side of a rectangle having the same area and perimeter as the particle in calibrated units.
IMAQ_RECT_SHORT_SIDE=41,//Length of the short side of a rectangle having the same area and perimeter as the particle in calibrated units.
IMAQ_RECT_RATIO=42,//Ratio of rectangle long side to rectangle short side.
IMAQ_WADDLE_DISK=48,//Diameter of the disk having the same area as the particle in user units.
IMAQ_DIAGONAL=49,//Diagonal of an equivalent rectangle in user units.
IMAQ_MEASUREMENT_VALUE_SIZE_GUARD=0xFFFFFFFF
}MeasurementValue;
typedefenumScalingMode_enum{
IMAQ_SCALE_LARGER=0,//The function duplicates pixels to make the image larger.
IMAQ_SCALE_SMALLER=1,//The function subsamples pixels to make the image smaller.
IMAQ_SCALING_MODE_SIZE_GUARD=0xFFFFFFFF
}ScalingMode;
typedefenumScalingMethod_enum{
IMAQ_SCALE_TO_PRESERVE_AREA=0,//Correction functions scale the image such that the features in the corrected image have the same area as the features in the input image.
IMAQ_SCALE_TO_FIT=1,//Correction functions scale the image such that the corrected image is the same size as the input image.
IMAQ_SCALING_METHOD_SIZE_GUARD=0xFFFFFFFF
}ScalingMethod;
typedefenumReferenceMode_enum{
IMAQ_COORD_X_Y=0,//This method requires three elements in the points array.
IMAQ_COORD_ORIGIN_X=1,//This method requires two elements in the points array.
IMAQ_REFERENCE_MODE_SIZE_GUARD=0xFFFFFFFF
}ReferenceMode;
typedefenumRectOrientation_enum{
IMAQ_BASE_INSIDE=0,//Specifies that the base of the rectangular image lies along the inside edge of the annulus.
IMAQ_BASE_OUTSIDE=1,//Specifies that the base of the rectangular image lies along the outside edge of the annulus.
IMAQ_TEXT_ORIENTATION_SIZE_GUARD=0xFFFFFFFF
}RectOrientation;
typedefenumShapeMode_enum{
IMAQ_SHAPE_RECT=1,//The function draws a rectangle.
IMAQ_SHAPE_OVAL=2,//The function draws an oval.
IMAQ_SHAPE_MODE_SIZE_GUARD=0xFFFFFFFF
}ShapeMode;
typedefenumPolarityType_enum{
IMAQ_EDGE_RISING=1,//The edge is a rising edge.
IMAQ_EDGE_FALLING=-1,//The edge is a falling edge.
IMAQ_POLARITY_TYPE_SIZE_GUARD=0xFFFFFFFF
}PolarityType;
typedefenumSizeType_enum{
IMAQ_KEEP_LARGE=0,//The function keeps large particles remaining after the erosion.
IMAQ_KEEP_SMALL=1,//The function keeps small particles eliminated by the erosion.
IMAQ_SIZE_TYPE_SIZE_GUARD=0xFFFFFFFF
}SizeType;
typedefenumPlane3D_enum{
IMAQ_3D_REAL=0,//The function shows the real part of complex images.
IMAQ_3D_IMAGINARY=1,//The function shows the imaginary part of complex images.
IMAQ_3D_MAGNITUDE=2,//The function shows the magnitude part of complex images.
IMAQ_3D_PHASE=3,//The function shows the phase part of complex images.
IMAQ_PLANE_3D_SIZE_GUARD=0xFFFFFFFF
}Plane3D;
typedefenumPhotometricMode_enum{
IMAQ_WHITE_IS_ZERO=0,//The function interprets zero-value pixels as white.
IMAQ_BLACK_IS_ZERO=1,//The function interprets zero-value pixels as black.
IMAQ_PHOTOMETRIC_MODE_SIZE_GUARD=0xFFFFFFFF
}PhotometricMode;
typedefenumParticleInfoMode_enum{
IMAQ_BASIC_INFO=0,//The function returns only the following elements of each report: area, calibratedArea, boundingRect.
IMAQ_ALL_INFO=1,//The function returns all the information about each particle.
IMAQ_PARTICLE_INFO_MODE_SIZE_GUARD=0xFFFFFFFF
}ParticleInfoMode;
typedefenumOutlineMethod_enum{
IMAQ_EDGE_DIFFERENCE=0,//The function uses a method that produces continuous contours by highlighting each pixel where an intensity variation occurs between itself and its three upper-left neighbors.
IMAQ_EDGE_GRADIENT=1,//The function uses a method that outlines contours where an intensity variation occurs along the vertical axis.
IMAQ_EDGE_PREWITT=2,//The function uses a method that extracts the outer contours of objects.
IMAQ_EDGE_ROBERTS=3,//The function uses a method that outlines the contours that highlight pixels where an intensity variation occurs along the diagonal axes.
IMAQ_EDGE_SIGMA=4,//The function uses a method that outlines contours and details by setting pixels to the mean value found in their neighborhood, if their deviation from this value is not significant.
IMAQ_EDGE_SOBEL=5,//The function uses a method that extracts the outer contours of objects.
IMAQ_OUTLINE_METHOD_SIZE_GUARD=0xFFFFFFFF
}OutlineMethod;
typedefenumMorphologyMethod_enum{
IMAQ_AUTOM=0,//The function uses a transformation that generates simpler particles that contain fewer details.
IMAQ_CLOSE=1,//The function uses a transformation that fills tiny holes and smooths boundaries.
IMAQ_DILATE=2,//The function uses a transformation that eliminates tiny holes isolated in particles and expands the contour of the particles according to the template defined by the structuring element.
IMAQ_ERODE=3,//The function uses a transformation that eliminates pixels isolated in the background and erodes the contour of particles according to the template defined by the structuring element.
IMAQ_GRADIENT=4,//The function uses a transformation that leaves only the pixels that would be added by the dilation process or eliminated by the erosion process.
IMAQ_GRADIENTOUT=5,//The function uses a transformation that leaves only the pixels that would be added by the dilation process.
IMAQ_GRADIENTIN=6,//The function uses a transformation that leaves only the pixels that would be eliminated by the erosion process.
IMAQ_HITMISS=7,//The function uses a transformation that extracts each pixel located in a neighborhood exactly matching the template defined by the structuring element.
IMAQ_OPEN=8,//The function uses a transformation that removes small particles and smooths boundaries.
IMAQ_PCLOSE=9,//The function uses a transformation that fills tiny holes and smooths the inner contour of particles according to the template defined by the structuring element.
IMAQ_POPEN=10,//The function uses a transformation that removes small particles and smooths the contour of particles according to the template defined by the structuring element.
IMAQ_THICK=11,//The function uses a transformation that adds to an image those pixels located in a neighborhood that matches a template specified by the structuring element.
IMAQ_THIN=12,//The function uses a transformation that eliminates pixels that are located in a neighborhood matching a template specified by the structuring element.
IMAQ_MORPHOLOGY_METHOD_SIZE_GUARD=0xFFFFFFFF
}MorphologyMethod;
typedefenumMeterArcMode_enum{
IMAQ_METER_ARC_ROI=0,//The function uses the roi parameter and ignores the base, start, and end parameters.
IMAQ_METER_ARC_POINTS=1,//The function uses the base,start, and end parameters and ignores the roi parameter.
IMAQ_METER_ARC_MODE_SIZE_GUARD=0xFFFFFFFF
}MeterArcMode;
typedefenumRakeDirection_enum{
IMAQ_LEFT_TO_RIGHT=0,//The function searches from the left side of the search area to the right side of the search area.
IMAQ_RIGHT_TO_LEFT=1,//The function searches from the right side of the search area to the left side of the search area.
IMAQ_TOP_TO_BOTTOM=2,//The function searches from the top side of the search area to the bottom side of the search area.
IMAQ_BOTTOM_TO_TOP=3,//The function searches from the bottom side of the search area to the top side of the search area.
IMAQ_RAKE_DIRECTION_SIZE_GUARD=0xFFFFFFFF
}RakeDirection;
typedefenumTruncateMode_enum{
IMAQ_TRUNCATE_LOW=0,//The function truncates low frequencies.
IMAQ_TRUNCATE_HIGH=1,//The function truncates high frequencies.
IMAQ_TRUNCATE_MODE_SIZE_GUARD=0xFFFFFFFF
}TruncateMode;
typedefenumAttenuateMode_enum{
IMAQ_ATTENUATE_LOW=0,//The function attenuates low frequencies.
IMAQ_ATTENUATE_HIGH=1,//The function attenuates high frequencies.
IMAQ_ATTENUATE_MODE_SIZE_GUARD=0xFFFFFFFF
}AttenuateMode;
typedefenumWindowThreadPolicy_enum{
IMAQ_CALLING_THREAD=0,//Using this policy, NI Vision creates windows in the thread that makes the first display function call for a given window number.
IMAQ_SEPARATE_THREAD=1,//Using this policy, NI Vision creates windows in a separate thread and processes messages for the windows automatically.
IMAQ_WINDOW_THREAD_POLICY_SIZE_GUARD=0xFFFFFFFF
}WindowThreadPolicy;
typedefenumWindowOptions_enum{
IMAQ_WIND_RESIZABLE=1,//When present, the user may resize the window interactively.
IMAQ_WIND_TITLEBAR=2,//When present, the title bar on the window is visible.
IMAQ_WIND_CLOSEABLE=4,//When present, the close box is available.
IMAQ_WIND_TOPMOST=8,//When present, the window is always on top.
IMAQ_WINDOW_OPTIONS_SIZE_GUARD=0xFFFFFFFF
}WindowOptions;
typedefenumWindowEventType_enum{
IMAQ_NO_EVENT=0,//No event occurred since the last call to imaqGetLastEvent().
IMAQ_CLICK_EVENT=1,//The user clicked on a window.
IMAQ_DRAW_EVENT=2,//The user drew an ROI in a window.
IMAQ_MOVE_EVENT=3,//The user moved a window.
IMAQ_SIZE_EVENT=4,//The user sized a window.
IMAQ_SCROLL_EVENT=5,//The user scrolled a window.
IMAQ_ACTIVATE_EVENT=6,//The user activated a window.
IMAQ_CLOSE_EVENT=7,//The user closed a window.
IMAQ_DOUBLE_CLICK_EVENT=8,//The user double-clicked in a window.
IMAQ_WINDOW_EVENT_TYPE_SIZE_GUARD=0xFFFFFFFF
}WindowEventType;
typedefenumVisionInfoType_enum{
IMAQ_ANY_VISION_INFO=0,//The function checks if any extra vision information is associated with the image.
IMAQ_PATTERN_MATCHING_INFO=1,//The function checks if any pattern matching template information is associated with the image.
IMAQ_CALIBRATION_INFO=2,//The function checks if any calibration information is associated with the image.
IMAQ_OVERLAY_INFO=3,//The function checks if any overlay information is associated with the image.
IMAQ_VISION_INFO_TYPE_SIZE_GUARD=0xFFFFFFFF
}VisionInfoType;
typedefenumSearchStrategy_enum{
IMAQ_CONSERVATIVE=1,//Instructs the pattern matching algorithm to use the largest possible amount of information from the image at the expense of slowing down the speed of the algorithm.
IMAQ_BALANCED=2,//Instructs the pattern matching algorithm to balance the amount of information from the image it uses with the speed of the algorithm.
IMAQ_AGGRESSIVE=3,//Instructs the pattern matching algorithm to use a lower amount of information from the image, which allows the algorithm to run quickly but at the expense of accuracy.
IMAQ_VERY_AGGRESSIVE=4,//Instructs the pattern matching algorithm to use the smallest possible amount of information from the image, which allows the algorithm to run at the highest speed possible but at the expense of accuracy.
IMAQ_SEARCH_STRATEGY_SIZE_GUARD=0xFFFFFFFF
}SearchStrategy;
typedefenumTwoEdgePolarityType_enum{
IMAQ_NONE=0,//The function ignores the polarity of the edges.
IMAQ_RISING_FALLING=1,//The polarity of the first edge is rising (dark to light) and the polarity of the second edge is falling (light to dark).
IMAQ_FALLING_RISING=2,//The polarity of the first edge is falling (light to dark) and the polarity of the second edge is rising (dark to light).
IMAQ_RISING_RISING=3,//The polarity of the first edge is rising (dark to light) and the polarity of the second edge is rising (dark to light).
IMAQ_FALLING_FALLING=4,//The polarity of the first edge is falling (light to dark) and the polarity of the second edge is falling (light to dark).
IMAQ_TWO_EDGE_POLARITY_TYPE_SIZE_GUARD=0xFFFFFFFF
}TwoEdgePolarityType;
typedefenumObjectType_enum{
IMAQ_BRIGHT_OBJECTS=0,//The function detects bright objects.
IMAQ_DARK_OBJECTS=1,//The function detects dark objects.
IMAQ_OBJECT_TYPE_SIZE_GUARD=0xFFFFFFFF
}ObjectType;
typedefenumTool_enum{
IMAQ_NO_TOOL=-1,//No tool is in the selected state.
IMAQ_SELECTION_TOOL=0,//The selection tool selects an existing ROI in an image.
IMAQ_POINT_TOOL=1,//The point tool draws a point on the image.
IMAQ_LINE_TOOL=2,//The line tool draws a line on the image.
IMAQ_RECTANGLE_TOOL=3,//The rectangle tool draws a rectangle on the image.
IMAQ_OVAL_TOOL=4,//The oval tool draws an oval on the image.
IMAQ_POLYGON_TOOL=5,//The polygon tool draws a polygon on the image.
IMAQ_CLOSED_FREEHAND_TOOL=6,//The closed freehand tool draws closed freehand shapes on the image.
IMAQ_ANNULUS_TOOL=7,//The annulus tool draws annuluses on the image.
IMAQ_ZOOM_TOOL=8,//The zoom tool controls the zoom of an image.
IMAQ_PAN_TOOL=9,//The pan tool shifts the view of the image.
IMAQ_POLYLINE_TOOL=10,//The polyline tool draws a series of connected straight lines on the image.
IMAQ_FREEHAND_TOOL=11,//The freehand tool draws freehand lines on the image.
IMAQ_ROTATED_RECT_TOOL=12,//The rotated rectangle tool draws rotated rectangles on the image.
IMAQ_ZOOM_OUT_TOOL=13,//The zoom out tool controls the zoom of an image.
IMAQ_TOOL_SIZE_GUARD=0xFFFFFFFF
}Tool;
typedefenumTIFFCompressionType_enum{
IMAQ_NO_COMPRESSION=0,//The function does not compress the TIFF file.
IMAQ_JPEG=1,//The function uses the JPEG compression algorithm to compress the TIFF file.
IMAQ_RUN_LENGTH=2,//The function uses a run length compression algorithm to compress the TIFF file.
IMAQ_ZIP=3,//The function uses the ZIP compression algorithm to compress the TIFF file.
IMAQ_TIFF_COMPRESSION_TYPE_SIZE_GUARD=0xFFFFFFFF
}TIFFCompressionType;
typedefenumThresholdMethod_enum{
IMAQ_THRESH_CLUSTERING=0,//The function uses a method that sorts the histogram of the image within a discrete number of classes corresponding to the number of phases perceived in an image.
IMAQ_THRESH_ENTROPY=1,//The function uses a method that is best for detecting particles that are present in minuscule proportions on the image.
IMAQ_THRESH_METRIC=2,//The function uses a method that is well-suited for images in which classes are not too disproportionate.
IMAQ_THRESH_MOMENTS=3,//The function uses a method that is suited for images that have poor contrast.
IMAQ_THRESH_INTERCLASS=4,//The function uses a method that is well-suited for images in which classes have well separated pixel value distributions.
IMAQ_THRESHOLD_METHOD_SIZE_GUARD=0xFFFFFFFF
}ThresholdMethod;
typedefenumTextAlignment_enum{
IMAQ_LEFT=0,//Left aligns the text at the reference point.
IMAQ_CENTER=1,//Centers the text around the reference point.
IMAQ_RIGHT=2,//Right aligns the text at the reference point.
IMAQ_TEXT_ALIGNMENT_SIZE_GUARD=0xFFFFFFFF
}TextAlignment;
typedefenumSpokeDirection_enum{
IMAQ_OUTSIDE_TO_INSIDE=0,//The function searches from the outside of the search area to the inside of the search area.
IMAQ_INSIDE_TO_OUTSIDE=1,//The function searches from the inside of the search area to the outside of the search area.
IMAQ_SPOKE_DIRECTION_SIZE_GUARD=0xFFFFFFFF
}SpokeDirection;
typedefenumSkeletonMethod_enum{
IMAQ_SKELETON_L=0,//Uses an L-shaped structuring element in the skeleton function.
IMAQ_SKELETON_M=1,//Uses an M-shaped structuring element in the skeleton function.
IMAQ_SKELETON_INVERSE=2,//Uses an L-shaped structuring element on an inverse of the image in the skeleton function.
IMAQ_SKELETON_METHOD_SIZE_GUARD=0xFFFFFFFF
}SkeletonMethod;
typedefenumVerticalTextAlignment_enum{
IMAQ_BOTTOM=0,//Aligns the bottom of the text at the reference point.
IMAQ_TOP=1,//Aligns the top of the text at the reference point.
IMAQ_BASELINE=2,//Aligns the baseline of the text at the reference point.
IMAQ_FULL_IMAGE=0,//The correction function corrects the whole image, regardless of the user-defined or calibration-defined ROIs.
IMAQ_CALIBRATION_ROI=1,//The correction function corrects the area defined by the calibration ROI.
IMAQ_USER_ROI=2,//The correction function corrects the area defined by the user-defined ROI.
IMAQ_CALIBRATION_AND_USER_ROI=3,//The correction function corrects the area defined by the intersection of the user-defined ROI and the calibration ROI.
IMAQ_CALIBRATION_OR_USER_ROI=4,//The correction function corrects the area defined by the union of the user-defined ROI and the calibration ROI.
IMAQ_CALIBRATION_ROI_SIZE_GUARD=0xFFFFFFFF
}CalibrationROI;
typedefenumContourType_enum{
IMAQ_EMPTY_CONTOUR=0,//The contour is empty.
IMAQ_POINT=1,//The contour represents a point.
IMAQ_LINE=2,//The contour represents a line.
IMAQ_RECT=3,//The contour represents a rectangle.
IMAQ_OVAL=4,//The contour represents an oval.
IMAQ_CLOSED_CONTOUR=5,//The contour represents a series of connected points where the last point connects to the first.
IMAQ_OPEN_CONTOUR=6,//The contour represents a series of connected points where the last point does not connect to the first.
IMAQ_ANNULUS=7,//The contour represents an annulus.
IMAQ_ROTATED_RECT=8,//The contour represents a rotated rectangle.
IMAQ_CONTOUR_TYPE_SIZE_GUARD=0xFFFFFFFF
}ContourType;
typedefenumMathTransformMethod_enum{
IMAQ_TRANSFORM_LINEAR=0,//The function uses linear remapping.
IMAQ_TRANSFORM_LOG=1,//The function uses logarithmic remapping.
IMAQ_TRANSFORM_EXP=2,//The function uses exponential remapping.
IMAQ_TRANSFORM_SQR=3,//The function uses square remapping.
IMAQ_TRANSFORM_SQRT=4,//The function uses square root remapping.
IMAQ_TRANSFORM_POWX=5,//The function uses power X remapping.
IMAQ_TRANSFORM_POW1X=6,//The function uses power 1/X remapping.
IMAQ_MATH_TRANSFORM_METHOD_SIZE_GUARD=0xFFFFFFFF
}MathTransformMethod;
typedefenumComplexPlane_enum{
IMAQ_REAL=0,//The function operates on the real plane of the complex image.
IMAQ_IMAGINARY=1,//The function operates on the imaginary plane of the complex image.
IMAQ_MAGNITUDE=2,//The function operates on the magnitude plane of the complex image.
IMAQ_PHASE=3,//The function operates on the phase plane of the complex image.
IMAQ_COMPLEX_PLANE_SIZE_GUARD=0xFFFFFFFF
}ComplexPlane;
typedefenumPaletteType_enum{
IMAQ_PALETTE_GRAY=0,//The function uses a palette that has a gradual gray-level variation from black to white.
IMAQ_PALETTE_BINARY=1,//The function uses a palette of 16 cycles of 16 different colors that is useful with binary images.
IMAQ_PALETTE_GRADIENT=2,//The function uses a palette that has a gradation from red to white with a prominent range of light blue in the upper value range.
IMAQ_PALETTE_RAINBOW=3,//The function uses a palette that has a gradation from blue to red with a prominent range of greens in the middle value range.
IMAQ_PALETTE_TEMPERATURE=4,//The function uses a palette that has a gradation from light brown to dark brown.
IMAQ_PALETTE_USER=5,//The function uses a palette defined by the user.
IMAQ_PALETTE_TYPE_SIZE_GUARD=0xFFFFFFFF
}PaletteType;
typedefenumColorSensitivity_enum{
IMAQ_SENSITIVITY_LOW=0,//Instructs the algorithm to divide the hue plane into a low number of sectors, allowing for simple color analysis.
IMAQ_SENSITIVITY_MED=1,//Instructs the algorithm to divide the hue plane into a medium number of sectors, allowing for color analysis that balances sensitivity and complexity.
IMAQ_SENSITIVITY_HIGH=2,//Instructs the algorithm to divide the hue plane into a high number of sectors, allowing for complex, sensitive color analysis.
IMAQ_COLOR_SENSITIVITY_SIZE_GUARD=0xFFFFFFFF
}ColorSensitivity;
typedefenumColorMode_enum{
IMAQ_RGB=0,//The function operates in the RGB (Red, Blue, Green) color space.
IMAQ_HSL=1,//The function operates in the HSL (Hue, Saturation, Luminance) color space.
IMAQ_HSV=2,//The function operates in the HSV (Hue, Saturation, Value) color space.
IMAQ_HSI=3,//The function operates in the HSI (Hue, Saturation, Intensity) color space.
IMAQ_CIE=4,//The function operates in the CIE L*a*b* color space.
IMAQ_CIEXYZ=5,//The function operates in the CIE XYZ color space.
IMAQ_COLOR_MODE_SIZE_GUARD=0xFFFFFFFF
}ColorMode;
typedefenumDetectionMode_enum{
IMAQ_DETECT_PEAKS=0,//The function detects peaks.
IMAQ_DETECT_VALLEYS=1,//The function detects valleys.
IMAQ_DETECTION_MODE_SIZE_GUARD=0xFFFFFFFF
}DetectionMode;
typedefenumCalibrationUnit_enum{
IMAQ_UNDEFINED=0,//The image does not have a defined unit of measurement.
IMAQ_ANGSTROM=1,//The unit of measure for the image is angstroms.
IMAQ_MICROMETER=2,//The unit of measure for the image is micrometers.
IMAQ_MILLIMETER=3,//The unit of measure for the image is millimeters.
IMAQ_CENTIMETER=4,//The unit of measure for the image is centimeters.
IMAQ_METER=5,//The unit of measure for the image is meters.
IMAQ_KILOMETER=6,//The unit of measure for the image is kilometers.
IMAQ_MICROINCH=7,//The unit of measure for the image is microinches.
IMAQ_INCH=8,//The unit of measure for the image is inches.
IMAQ_FOOT=9,//The unit of measure for the image is feet.
IMAQ_NAUTICMILE=10,//The unit of measure for the image is nautical miles.
IMAQ_GROUNDMILE=11,//The unit of measure for the image is ground miles.
IMAQ_STEP=12,//The unit of measure for the image is steps.
IMAQ_CALIBRATION_UNIT_SIZE_GUARD=0xFFFFFFFF
}CalibrationUnit;
typedefenumConcentricRakeDirection_enum{
IMAQ_COUNTER_CLOCKWISE=0,//The function searches the search area in a counter-clockwise direction.
IMAQ_CLOCKWISE=1,//The function searches the search area in a clockwise direction.
IMAQ_ABSOLUTE=0,//The function evaluates the threshold and hysteresis values as absolute values.
IMAQ_RELATIVE=1,//The function evaluates the threshold and hysteresis values relative to the dynamic range of the given path.
IMAQ_LEVEL_TYPE_SIZE_GUARD=0xFFFFFFFF
}LevelType;
typedefenumMatchingMode_enum{
IMAQ_MATCH_SHIFT_INVARIANT=1,//Searches for occurrences of the template image anywhere in the searchRect, assuming that the pattern is not rotated more than plus or minus 4 degrees.
IMAQ_MATCH_ROTATION_INVARIANT=2,//Searches for occurrences of the pattern in the image with no restriction on the rotation of the pattern.
IMAQ_MATCHING_MODE_SIZE_GUARD=0xFFFFFFFF
}MatchingMode;
typedefenumMappingMethod_enum{
IMAQ_FULL_DYNAMIC=0,//(Obsolete) When the image bit depth is 0, the function maps the full dynamic range of the 16-bit image to an 8-bit scale.
IMAQ_DOWNSHIFT=1,//(Obsolete) When the image bit depth is 0, the function shifts the 16-bit image pixels to the right the number of times specified by the shiftCount element of the DisplayMapping structure.
IMAQ_RANGE=2,//(Obsolete) When the image bit depth is 0, the function maps the pixel values in the range specified by the minimumValue and maximumValue elements of the DisplayMapping structure to an 8-bit scale.
IMAQ_90_PCT_DYNAMIC=3,//(Obsolete) When the image bit depth to 0, the function maps the dynamic range containing the middle 90 percent of the cumulated histogram of the image to an 8-bit (256 grayscale values) scale.
IMAQ_PERCENT_RANGE=4,//(Obsolete) When the image bit depth is 0, the function maps the pixel values in the relative percentage range (0 to 100) of the cumulated histogram specified by minimumValue and maximumValue to an 8-bit scale.
IMAQ_DEFAULT_MAPPING=10,//If the bit depth is 0, the function maps the 16-bit image to 8 bits by following the IMAQ_FULL_DYNAMIC_ALWAYS behavior; otherwise, the function shifts the image data to the right according to the IMAQ_MOST_SIGNIFICANT behavior.
IMAQ_MOST_SIGNIFICANT=11,//The function shifts the 16-bit image pixels to the right until the 8 most significant bits of the image data are remaining.
IMAQ_FULL_DYNAMIC_ALWAYS=12,//The function maps the full dynamic range of the 16-bit image to an 8-bit scale.
IMAQ_DOWNSHIFT_ALWAYS=13,//The function shifts the 16-bit image pixels to the right the number of times specified by the shiftCount element of the DisplayMapping structure.
IMAQ_RANGE_ALWAYS=14,//The function maps the pixel values in the range specified by the minimumValue and maximumValue elements of the DisplayMapping structure to an 8-bit scale.
IMAQ_90_PCT_DYNAMIC_ALWAYS=15,//The function maps the dynamic range containing the middle 90 percent of the cumulated histogram of the image to an 8-bit (256 grayscale values) scale.
IMAQ_PERCENT_RANGE_ALWAYS=16,//The function maps the pixel values in the relative percentage range (0 to 100) of the cumulated histogram specified by minimumValue and maximumValue to an 8-bit scale.
IMAQ_MAPPING_METHOD_SIZE_GUARD=0xFFFFFFFF
}MappingMethod;
typedefenumComparisonFunction_enum{
IMAQ_CLEAR_LESS=0,//The comparison is true if the source pixel value is less than the comparison image pixel value.
IMAQ_CLEAR_LESS_OR_EQUAL=1,//The comparison is true if the source pixel value is less than or equal to the comparison image pixel value.
IMAQ_CLEAR_EQUAL=2,//The comparison is true if the source pixel value is equal to the comparison image pixel value.
IMAQ_CLEAR_GREATER_OR_EQUAL=3,//The comparison is true if the source pixel value is greater than or equal to the comparison image pixel value.
IMAQ_CLEAR_GREATER=4,//The comparison is true if the source pixel value is greater than the comparison image pixel value.
IMAQ_COMPARE_FUNCTION_SIZE_GUARD=0xFFFFFFFF
}ComparisonFunction;
typedefenumLineGaugeMethod_enum{
IMAQ_EDGE_TO_EDGE=0,//Measures from the first edge on the line to the last edge on the line.
IMAQ_EDGE_TO_POINT=1,//Measures from the first edge on the line to the end point of the line.
IMAQ_POINT_TO_EDGE=2,//Measures from the start point of the line to the first edge on the line.
IMAQ_POINT_TO_POINT=3,//Measures from the start point of the line to the end point of the line.
IMAQ_LINE_GAUGE_METHOD_SIZE_GUARD=0xFFFFFFFF
}LineGaugeMethod;
typedefenumDirection3D_enum{
IMAQ_3D_NW=0,//The viewing angle for the 3D image is from the northwest.
IMAQ_3D_SW=1,//The viewing angle for the 3D image is from the southwest.
IMAQ_3D_SE=2,//The viewing angle for the 3D image is from the southeast.
IMAQ_3D_NE=3,//The viewing angle for the 3D image is from the northeast.
IMAQ_DIRECTION_3D_SIZE_GUARD=0xFFFFFFFF
}Direction3D;
typedefenumLearningMode_enum{
IMAQ_LEARN_ALL=0,//The function extracts information for shift- and rotation-invariant matching.
IMAQ_LEARN_SHIFT_INFORMATION=1,//The function extracts information for shift-invariant matching.
IMAQ_LEARN_ROTATION_INFORMATION=2,//The function extracts information for rotation-invariant matching.
IMAQ_LEARNING_MODE_SIZE_GUARD=0xFFFFFFFF
}LearningMode;
typedefenumKernelFamily_enum{
IMAQ_GRADIENT_FAMILY=0,//The kernel is in the gradient family.
IMAQ_LAPLACIAN_FAMILY=1,//The kernel is in the Laplacian family.
IMAQ_SMOOTHING_FAMILY=2,//The kernel is in the smoothing family.
IMAQ_GAUSSIAN_FAMILY=3,//The kernel is in the Gaussian family.
IMAQ_KERNEL_FAMILY_SIZE_GUARD=0xFFFFFFFF
}KernelFamily;
typedefenumInterpolationMethod_enum{
IMAQ_ZERO_ORDER=0,//The function uses an interpolation method that interpolates new pixel values using the nearest valid neighboring pixel.
IMAQ_BILINEAR=1,//The function uses an interpolation method that interpolates new pixel values using a bidirectional average of the neighboring pixels.
IMAQ_QUADRATIC=2,//The function uses an interpolation method that interpolates new pixel values using a quadratic approximating polynomial.
IMAQ_CUBIC_SPLINE=3,//The function uses an interpolation method that interpolates new pixel values by fitting them to a cubic spline curve, where the curve is based on known pixel values from the image.
IMAQ_BILINEAR_FIXED=4,//The function uses an interpolation method that interpolates new pixel values using a bidirectional average of the neighboring pixels.
IMAQ_INTERPOLATION_METHOD_SIZE_GUARD=0xFFFFFFFF
}InterpolationMethod;
typedefenumImageType_enum{
IMAQ_IMAGE_U8=0,//The image type is 8-bit unsigned integer grayscale.
IMAQ_IMAGE_U16=7,//The image type is 16-bit unsigned integer grayscale.
IMAQ_IMAGE_I16=1,//The image type is 16-bit signed integer grayscale.
IMAQ_IMAGE_SGL=2,//The image type is 32-bit floating-point grayscale.
IMAQ_IMAGE_COMPLEX=3,//The image type is complex.
IMAQ_IMAGE_RGB=4,//The image type is RGB color.
IMAQ_IMAGE_HSL=5,//The image type is HSL color.
IMAQ_IMAGE_RGB_U64=6,//The image type is 64-bit unsigned RGB color.
IMAQ_IMAGE_TYPE_SIZE_GUARD=0xFFFFFFFF
}ImageType;
typedefenumImageFeatureMode_enum{
IMAQ_COLOR_AND_SHAPE_FEATURES=0,//Instructs the function to use the color and the shape features of the color pattern.
IMAQ_COLOR_FEATURES=1,//Instructs the function to use the color features of the color pattern.
IMAQ_SHAPE_FEATURES=2,//Instructs the function to use the shape features of the color pattern.
IMAQ_FEATURE_MODE_SIZE_GUARD=0xFFFFFFFF
}ImageFeatureMode;
typedefenumFontColor_enum{
IMAQ_WHITE=0,//Draws text in white.
IMAQ_BLACK=1,//Draws text in black.
IMAQ_INVERT=2,//Inverts the text pixels.
IMAQ_BLACK_ON_WHITE=3,//Draws text in black with a white background.
IMAQ_WHITE_ON_BLACK=4,//Draws text in white with a black background.
IMAQ_FONT_COLOR_SIZE_GUARD=0xFFFFFFFF
}FontColor;
typedefenumFlipAxis_enum{
IMAQ_HORIZONTAL_AXIS=0,//Flips the image over the central horizontal axis.
IMAQ_VERTICAL_AXIS=1,//Flips the image over the central vertical axis.
IMAQ_CENTER_AXIS=2,//Flips the image over both the central vertical and horizontal axes.
IMAQ_DIAG_L_TO_R_AXIS=3,//Flips the image over an axis from the upper left corner to lower right corner.
IMAQ_DIAG_R_TO_L_AXIS=4,//Flips the image over an axis from the upper right corner to lower left corner.
IMAQ_FLIP_AXIS_SIZE_GUARD=0xFFFFFFFF
}FlipAxis;
typedefenumEdgeProcess_enum{
IMAQ_FIRST=0,//The function looks for the first edge.
IMAQ_FIRST_AND_LAST=1,//The function looks for the first and last edge.
IMAQ_ALL=2,//The function looks for all edges.
IMAQ_BEST=3,//The function looks for the best edge.
IMAQ_EDGE_PROCESS_SIZE_GUARD=0xFFFFFFFF
}EdgeProcess;
typedefenumDrawMode_enum{
IMAQ_DRAW_VALUE=0,//Draws the boundary of the object with the specified pixel value.
IMAQ_DRAW_INVERT=2,//Inverts the pixel values of the boundary of the object.
IMAQ_PAINT_VALUE=1,//Fills the object with the given pixel value.
IMAQ_PAINT_INVERT=3,//Inverts the pixel values of the object.
IMAQ_HIGHLIGHT_VALUE=4,//The function fills the object by highlighting the enclosed pixels with the color of the object.
IMAQ_LOW_RESOLUTION=0,//Configures NI Vision to use low resolution during the read process.
IMAQ_MEDIUM_RESOLUTION=1,//Configures NI Vision to use medium resolution during the read process.
IMAQ_HIGH_RESOLUTION=2,//Configures NI Vision to use high resolution during the read process.
IMAQ_READ_RESOLUTION_SIZE_GUARD=0xFFFFFFFF
}ReadResolution;
typedefenumThresholdMode_enum{
IMAQ_FIXED_RANGE=0,//Performs thresholding using the values you provide in the lowThreshold and highThreshold elements of OCRProcessingOptions.
IMAQ_COMPUTED_UNIFORM=1,//Calculates a single threshold value for the entire ROI.
IMAQ_COMPUTED_LINEAR=2,//Calculates a value on the left side of the ROI, calculates a value on the right side of the ROI, and linearly fills the middle values from left to right.
IMAQ_COMPUTED_NONLINEAR=3,//Divides the ROI into the number of blocks specified by the blockCount element of OCRProcessingOptions and calculates a threshold value for each block.
IMAQ_THRESHOLD_MODE_SIZE_GUARD=0xFFFFFFFF
}ThresholdMode;
typedefenumReadStrategy_enum{
IMAQ_READ_AGGRESSIVE=0,//Configures NI Vision to perform fewer checks when analyzing objects to determine if they match trained characters.
IMAQ_READ_CONSERVATIVE=1,//Configures NI Vision to perform more checks to determine if an object matches a trained character.
IMAQ_READ_STRATEGY_SIZE_GUARD=0xFFFFFFFF
}ReadStrategy;
typedefenumMeasurementType_enum{
IMAQ_MT_CENTER_OF_MASS_X=0,//X-coordinate of the point representing the average position of the total particle mass, assuming every point in the particle has a constant density.
IMAQ_MT_CENTER_OF_MASS_Y=1,//Y-coordinate of the point representing the average position of the total particle mass, assuming every point in the particle has a constant density.
IMAQ_MT_FIRST_PIXEL_X=2,//X-coordinate of the highest, leftmost particle pixel.
IMAQ_MT_FIRST_PIXEL_Y=3,//Y-coordinate of the highest, leftmost particle pixel.
IMAQ_MT_BOUNDING_RECT_LEFT=4,//X-coordinate of the leftmost particle point.
IMAQ_MT_BOUNDING_RECT_TOP=5,//Y-coordinate of highest particle point.
IMAQ_MT_BOUNDING_RECT_RIGHT=6,//X-coordinate of the rightmost particle point.
IMAQ_MT_BOUNDING_RECT_BOTTOM=7,//Y-coordinate of the lowest particle point.
IMAQ_MT_MAX_FERET_DIAMETER_START_X=8,//X-coordinate of the start of the line segment connecting the two perimeter points that are the furthest apart.
IMAQ_MT_MAX_FERET_DIAMETER_START_Y=9,//Y-coordinate of the start of the line segment connecting the two perimeter points that are the furthest apart.
IMAQ_MT_MAX_FERET_DIAMETER_END_X=10,//X-coordinate of the end of the line segment connecting the two perimeter points that are the furthest apart.
IMAQ_MT_MAX_FERET_DIAMETER_END_Y=11,//Y-coordinate of the end of the line segment connecting the two perimeter points that are the furthest apart.
IMAQ_MT_MAX_HORIZ_SEGMENT_LENGTH_LEFT=12,//X-coordinate of the leftmost pixel in the longest row of contiguous pixels in the particle.
IMAQ_MT_MAX_HORIZ_SEGMENT_LENGTH_RIGHT=13,//X-coordinate of the rightmost pixel in the longest row of contiguous pixels in the particle.
IMAQ_MT_MAX_HORIZ_SEGMENT_LENGTH_ROW=14,//Y-coordinate of all of the pixels in the longest row of contiguous pixels in the particle.
IMAQ_MT_BOUNDING_RECT_WIDTH=16,//Distance between the x-coordinate of the leftmost particle point and the x-coordinate of the rightmost particle point.
IMAQ_MT_BOUNDING_RECT_HEIGHT=17,//Distance between the y-coordinate of highest particle point and the y-coordinate of the lowest particle point.
IMAQ_MT_BOUNDING_RECT_DIAGONAL=18,//Distance between opposite corners of the bounding rectangle.
IMAQ_MT_PERIMETER=19,//Length of the outer boundary of the particle.
IMAQ_MT_CONVEX_HULL_PERIMETER=20,//Perimeter of the smallest convex polygon containing all points in the particle.
IMAQ_MT_HOLES_PERIMETER=21,//Sum of the perimeters of each hole in the particle.
IMAQ_MT_MAX_FERET_DIAMETER=22,//Distance between the start and end of the line segment connecting the two perimeter points that are the furthest apart.
IMAQ_MT_EQUIVALENT_ELLIPSE_MAJOR_AXIS=23,//Length of the major axis of the ellipse with the same perimeter and area as the particle.
IMAQ_MT_EQUIVALENT_ELLIPSE_MINOR_AXIS=24,//Length of the minor axis of the ellipse with the same perimeter and area as the particle.
IMAQ_MT_EQUIVALENT_ELLIPSE_MINOR_AXIS_FERET=25,//Length of the minor axis of the ellipse with the same area as the particle, and Major Axis equal in length to the Max Feret Diameter.
IMAQ_MT_EQUIVALENT_RECT_LONG_SIDE=26,//Longest side of the rectangle with the same perimeter and area as the particle.
IMAQ_MT_EQUIVALENT_RECT_SHORT_SIDE=27,//Shortest side of the rectangle with the same perimeter and area as the particle.
IMAQ_MT_EQUIVALENT_RECT_DIAGONAL=28,//Distance between opposite corners of the rectangle with the same perimeter and area as the particle.
IMAQ_MT_EQUIVALENT_RECT_SHORT_SIDE_FERET=29,//Shortest side of the rectangle with the same area as the particle, and longest side equal in length to the Max Feret Diameter.
IMAQ_MT_AVERAGE_HORIZ_SEGMENT_LENGTH=30,//Average length of a horizontal segment in the particle.
IMAQ_MT_AVERAGE_VERT_SEGMENT_LENGTH=31,//Average length of a vertical segment in the particle.
IMAQ_MT_HYDRAULIC_RADIUS=32,//The particle area divided by the particle perimeter.
IMAQ_MT_WADDEL_DISK_DIAMETER=33,//Diameter of a disk with the same area as the particle.
IMAQ_MT_AREA=35,//Area of the particle.
IMAQ_MT_HOLES_AREA=36,//Sum of the areas of each hole in the particle.
IMAQ_MT_PARTICLE_AND_HOLES_AREA=37,//Area of a particle that completely covers the image.
IMAQ_MT_CONVEX_HULL_AREA=38,//Area of the smallest convex polygon containing all points in the particle.
IMAQ_MT_IMAGE_AREA=39,//Area of the image.
IMAQ_MT_NUMBER_OF_HOLES=41,//Number of holes in the particle.
IMAQ_MT_NUMBER_OF_HORIZ_SEGMENTS=42,//Number of horizontal segments in the particle.
IMAQ_MT_NUMBER_OF_VERT_SEGMENTS=43,//Number of vertical segments in the particle.
IMAQ_MT_ORIENTATION=45,//The angle of the line that passes through the particle Center of Mass about which the particle has the lowest moment of inertia.
IMAQ_MT_MAX_FERET_DIAMETER_ORIENTATION=46,//The angle of the line segment connecting the two perimeter points that are the furthest apart.
IMAQ_MT_AREA_BY_IMAGE_AREA=48,//Percentage of the particle Area covering the Image Area.
IMAQ_MT_AREA_BY_PARTICLE_AND_HOLES_AREA=49,//Percentage of the particle Area in relation to its Particle and Holes Area.
IMAQ_MT_RATIO_OF_EQUIVALENT_ELLIPSE_AXES=50,//Equivalent Ellipse Major Axis divided by Equivalent Ellipse Minor Axis.
IMAQ_MT_RATIO_OF_EQUIVALENT_RECT_SIDES=51,//Equivalent Rect Long Side divided by Equivalent Rect Short Side.
IMAQ_MT_ELONGATION_FACTOR=53,//Max Feret Diameter divided by Equivalent Rect Short Side (Feret).
IMAQ_MT_COMPACTNESS_FACTOR=54,//Area divided by the product of Bounding Rect Width and Bounding Rect Height.
IMAQ_MT_HEYWOOD_CIRCULARITY_FACTOR=55,//Perimeter divided by the circumference of a circle with the same area.
IMAQ_MT_TYPE_FACTOR=56,//Factor relating area to moment of inertia.
IMAQ_MT_SUM_X=58,//The sum of all x-coordinates in the particle.
IMAQ_MT_SUM_Y=59,//The sum of all y-coordinates in the particle.
IMAQ_MT_SUM_XX=60,//The sum of all x-coordinates squared in the particle.
IMAQ_MT_SUM_XY=61,//The sum of all x-coordinates times y-coordinates in the particle.
IMAQ_MT_SUM_YY=62,//The sum of all y-coordinates squared in the particle.
IMAQ_MT_SUM_XXX=63,//The sum of all x-coordinates cubed in the particle.
IMAQ_MT_SUM_XXY=64,//The sum of all x-coordinates squared times y-coordinates in the particle.
IMAQ_MT_SUM_XYY=65,//The sum of all x-coordinates times y-coordinates squared in the particle.
IMAQ_MT_SUM_YYY=66,//The sum of all y-coordinates cubed in the particle.
IMAQ_MT_MOMENT_OF_INERTIA_XX=68,//The moment of inertia in the x-direction twice.
IMAQ_MT_MOMENT_OF_INERTIA_XY=69,//The moment of inertia in the x and y directions.
IMAQ_MT_MOMENT_OF_INERTIA_YY=70,//The moment of inertia in the y-direction twice.
IMAQ_MT_MOMENT_OF_INERTIA_XXX=71,//The moment of inertia in the x-direction three times.
IMAQ_MT_MOMENT_OF_INERTIA_XXY=72,//The moment of inertia in the x-direction twice and the y-direction once.
IMAQ_MT_MOMENT_OF_INERTIA_XYY=73,//The moment of inertia in the x-direction once and the y-direction twice.
IMAQ_MT_MOMENT_OF_INERTIA_YYY=74,//The moment of inertia in the y-direction three times.
IMAQ_MT_NORM_MOMENT_OF_INERTIA_XX=75,//The normalized moment of inertia in the x-direction twice.
IMAQ_MT_NORM_MOMENT_OF_INERTIA_XY=76,//The normalized moment of inertia in the x- and y-directions.
IMAQ_MT_NORM_MOMENT_OF_INERTIA_YY=77,//The normalized moment of inertia in the y-direction twice.
IMAQ_MT_NORM_MOMENT_OF_INERTIA_XXX=78,//The normalized moment of inertia in the x-direction three times.
IMAQ_MT_NORM_MOMENT_OF_INERTIA_XXY=79,//The normalized moment of inertia in the x-direction twice and the y-direction once.
IMAQ_MT_NORM_MOMENT_OF_INERTIA_XYY=80,//The normalized moment of inertia in the x-direction once and the y-direction twice.
IMAQ_MT_NORM_MOMENT_OF_INERTIA_YYY=81,//The normalized moment of inertia in the y-direction three times.
IMAQ_MT_HU_MOMENT_1=82,//The first Hu moment.
IMAQ_MT_HU_MOMENT_2=83,//The second Hu moment.
IMAQ_MT_HU_MOMENT_3=84,//The third Hu moment.
IMAQ_MT_HU_MOMENT_4=85,//The fourth Hu moment.
IMAQ_MT_HU_MOMENT_5=86,//The fifth Hu moment.
IMAQ_MT_HU_MOMENT_6=87,//The sixth Hu moment.
IMAQ_MT_HU_MOMENT_7=88,//The seventh Hu moment.
IMAQ_MEASUREMENT_TYPE_SIZE_GUARD=0xFFFFFFFF
}MeasurementType;
typedefenumGeometricMatchingMode_enum{
IMAQ_GEOMETRIC_MATCH_SHIFT_INVARIANT=0,//Searches for occurrences of the pattern in the image, assuming that the pattern is not rotated more than plus or minus 5 degrees.
IMAQ_GEOMETRIC_MATCH_ROTATION_INVARIANT=1,//Searches for occurrences of the pattern in the image with reduced restriction on the rotation of the pattern.
IMAQ_GEOMETRIC_MATCH_SCALE_INVARIANT=2,//Searches for occurrences of the pattern in the image with reduced restriction on the size of the pattern.
IMAQ_GEOMETRIC_MATCH_OCCLUSION_INVARIANT=4,//Searches for occurrences of the pattern in the image, allowing for a specified percentage of the pattern to be occluded.
IMAQ_QR_MIRROR_MODE_AUTO_DETECT=-2,//The function should determine if the QR code is mirrored.
IMAQ_QR_MIRROR_MODE_MIRRORED=1,//The function should expect the QR code to appear mirrored.
IMAQ_QR_MIRROR_MODE_NORMAL=0,//The function should expect the QR code to appear normal.
IMAQ_QR_MIRROR_MODE_SIZE_GUARD=0xFFFFFFFF
}QRMirrorMode;
typedefenumColumnProcessingMode_enum{
IMAQ_AVERAGE_COLUMNS=0,//Averages the data extracted for edge detection.
IMAQ_MEDIAN_COLUMNS=1,//Takes the median of the data extracted for edge detection.
IMAQ_COLUMN_PROCESSING_MODE_SIZE_GUARD=0xFFFFFFFF
}ColumnProcessingMode;
typedefenumFindReferenceDirection_enum{
IMAQ_LEFT_TO_RIGHT_DIRECT=0,//Searches from the left side of the search area to the right side of the search area for a direct axis.
IMAQ_LEFT_TO_RIGHT_INDIRECT=1,//Searches from the left side of the search area to the right side of the search area for an indirect axis.
IMAQ_TOP_TO_BOTTOM_DIRECT=2,//Searches from the top of the search area to the bottom of the search area for a direct axis.
IMAQ_TOP_TO_BOTTOM_INDIRECT=3,//Searches from the top of the search area to the bottom of the search area for an indirect axis.
IMAQ_RIGHT_TO_LEFT_DIRECT=4,//Searches from the right side of the search area to the left side of the search area for a direct axis.
IMAQ_RIGHT_TO_LEFT_INDIRECT=5,//Searches from the right side of the search area to the left side of the search area for an indirect axis.
IMAQ_BOTTOM_TO_TOP_DIRECT=6,//Searches from the bottom of the search area to the top of the search area for a direct axis.
IMAQ_BOTTOM_TO_TOP_INDIRECT=7,//Searches from the bottom of the search area to the top of the search area for an indirect axis.
IMAQ_FIND_COORD_SYS_DIR_SIZE_GUARD=0xFFFFFFFF
}FindReferenceDirection;
typedefenumMulticoreOperation_enum{
IMAQ_GET_CORES=0,//The number of processor cores NI Vision is currently using.
IMAQ_SET_CORES=1,//The number of processor cores for NI Vision to use.
IMAQ_USE_MAX_AVAILABLE=2,//Use the maximum number of available processor cores.
IMAQ_MULTICORE_OPERATION_SIZE_GUARD=0xFFFFFFFF
}MulticoreOperation;
typedefenumGroupBehavior_enum{
IMAQ_GROUP_CLEAR=0,//Sets the behavior of the overlay group to clear the current settings when an image is transformed.
IMAQ_GROUP_KEEP=1,//Sets the behavior of the overlay group to keep the current settings when an image is transformed.
IMAQ_GROUP_TRANSFORM=2,//Sets the behavior of the overlay group to transform with the image.
IMAQ_GROUP_BEHAVIOR_SIZE_GUARD=0xFFFFFFFF
}GroupBehavior;
typedefenumQRDimensions_enum{
IMAQ_QR_DIMENSIONS_AUTO_DETECT=0,//The function will automatically determine the dimensions of the QR code.
IMAQ_QR_DIMENSIONS_11x11=11,//Specifies the dimensions of the QR code as 11 x 11.
IMAQ_QR_DIMENSIONS_13x13=13,//Specifies the dimensions of the QR code as 13 x 13.
IMAQ_QR_DIMENSIONS_15x15=15,//Specifies the dimensions of the QR code as 15 x 15.
IMAQ_QR_DIMENSIONS_17x17=17,//Specifies the dimensions of the QR code as 17 x 17.
IMAQ_QR_DIMENSIONS_21x21=21,//Specifies the dimensions of the QR code as 21 x 21.
IMAQ_QR_DIMENSIONS_25x25=25,//Specifies the dimensions of the QR code as 25 x 25.
IMAQ_QR_DIMENSIONS_29x29=29,//Specifies the dimensions of the QR code as 29 x 29.
IMAQ_QR_DIMENSIONS_33x33=33,//Specifies the dimensions of the QR code as 33 x 33.
IMAQ_QR_DIMENSIONS_37x37=37,//Specifies the dimensions of the QR code as 37 x 37.
IMAQ_QR_DIMENSIONS_41x41=41,//Specifies the dimensions of the QR code as 41 x 41.
IMAQ_QR_DIMENSIONS_45x45=45,//Specifies the dimensions of the QR code as 45 x 45.
IMAQ_QR_DIMENSIONS_49x49=49,//Specifies the dimensions of the QR code as 49 x 49.
IMAQ_QR_DIMENSIONS_53x53=53,//Specifies the dimensions of the QR code as 53 x 53.
IMAQ_QR_DIMENSIONS_57x57=57,//Specifies the dimensions of the QR code as 57 x 57.
IMAQ_QR_DIMENSIONS_61x61=61,//Specifies the dimensions of the QR code as 61 x 61.
IMAQ_QR_DIMENSIONS_65x65=65,//Specifies the dimensions of the QR code as 65 x 65.
IMAQ_QR_DIMENSIONS_69x69=69,//Specifies the dimensions of the QR code as 69 x 69.
IMAQ_QR_DIMENSIONS_73x73=73,//Specifies the dimensions of the QR code as 73 x 73.
IMAQ_QR_DIMENSIONS_77x77=77,//Specifies the dimensions of the QR code as 77 x 77.
IMAQ_QR_DIMENSIONS_81x81=81,//Specifies the dimensions of the QR code as 81 x 81.
IMAQ_QR_DIMENSIONS_85x85=85,//Specifies the dimensions of the QR code as 85 x 85.
IMAQ_QR_DIMENSIONS_89x89=89,//Specifies the dimensions of the QR code as 89 x 89.
IMAQ_QR_DIMENSIONS_93x93=93,//Specifies the dimensions of the QR code as 93 x 93.
IMAQ_QR_DIMENSIONS_97x97=97,//Specifies the dimensions of the QR code as 97 x 97.
IMAQ_QR_DIMENSIONS_101x101=101,//Specifies the dimensions of the QR code as 101 x 101.
IMAQ_QR_DIMENSIONS_105x105=105,//Specifies the dimensions of the QR code as 105 x 105.
IMAQ_QR_DIMENSIONS_109x109=109,//Specifies the dimensions of the QR code as 109 x 109.
IMAQ_QR_DIMENSIONS_113x113=113,//Specifies the dimensions of the QR code as 113 x 113.
IMAQ_QR_DIMENSIONS_117x117=117,//Specifies the dimensions of the QR code as 117 x 117.
IMAQ_QR_DIMENSIONS_121x121=121,//Specifies the dimensions of the QR code as 121 x 121.
IMAQ_QR_DIMENSIONS_125x125=125,//Specifies the dimensions of the QR code as 125 x 125.
IMAQ_QR_DIMENSIONS_129x129=129,//Specifies the dimensions of the QR code as 129 x 129.
IMAQ_QR_DIMENSIONS_133x133=133,//Specifies the dimensions of the QR code as 133 x 133.
IMAQ_QR_DIMENSIONS_137x137=137,//Specifies the dimensions of the QR code as 137 x 137.
IMAQ_QR_DIMENSIONS_141x141=141,//Specifies the dimensions of the QR code as 141 x 141.
IMAQ_QR_DIMENSIONS_145x145=145,//Specifies the dimensions of the QR code as 145 x 145.
IMAQ_QR_DIMENSIONS_149x149=149,//Specifies the dimensions of the QR code as 149 x 149.
IMAQ_QR_DIMENSIONS_153x153=153,//Specifies the dimensions of the QR code as 153 x 153.
IMAQ_QR_DIMENSIONS_157x157=157,//Specifies the dimensions of the QR code as 157 x 1537.
IMAQ_QR_DIMENSIONS_161x161=161,//Specifies the dimensions of the QR code as 161 x 161.
IMAQ_QR_DIMENSIONS_165x165=165,//Specifies the dimensions of the QR code as 165 x 165.
IMAQ_QR_DIMENSIONS_169x169=169,//Specifies the dimensions of the QR code as 169 x 169.
IMAQ_QR_DIMENSIONS_173x173=173,//Specifies the dimensions of the QR code as 173 x 173.
IMAQ_QR_DIMENSIONS_177x177=177,//Specifies the dimensions of the QR code as 177 x 177.
IMAQ_QR_DIMENSIONS_SIZE_GUARD=0xFFFFFFFF
}QRDimensions;
typedefenumQRCellFilterMode_enum{
IMAQ_QR_CELL_FILTER_MODE_AUTO_DETECT=-2,//The function will try all filter modes and uses the one that decodes the QR code within the fewest iterations and utilizing the least amount of error correction.
IMAQ_QR_CELL_FILTER_MODE_AVERAGE=0,//The function sets the pixel value for the cell to the average of the sampled pixels.
IMAQ_QR_CELL_FILTER_MODE_MEDIAN=1,//The function sets the pixel value for the cell to the median of the sampled pixels.
IMAQ_QR_CELL_FILTER_MODE_CENTRAL_AVERAGE=2,//The function sets the pixel value for the cell to the average of the pixels in the center of the cell sample.
IMAQ_QR_CELL_FILTER_MODE_HIGH_AVERAGE=3,//The function sets the pixel value for the cell to the average value of the half of the sampled pixels with the highest pixel values.
IMAQ_QR_CELL_FILTER_MODE_LOW_AVERAGE=4,//The function sets the pixel value for the cell to the average value of the half of the sampled pixels with the lowest pixel values.
IMAQ_QR_CELL_FILTER_MODE_VERY_HIGH_AVERAGE=5,//The function sets the pixel value for the cell to the average value of the ninth of the sampled pixels with the highest pixel values.
IMAQ_QR_CELL_FILTER_MODE_VERY_LOW_AVERAGE=6,//The function sets the pixel value for the cell to the average value of the ninth of the sampled pixels with the lowest pixel values.
IMAQ_QR_CELL_FILTER_MODE_ALL=8,//The function tries each filter mode, starting with IMAQ_QR_CELL_FILTER_MODE_AVERAGE and ending with IMAQ_QR_CELL_FILTER_MODE_VERY_LOW_AVERAGE, stopping once a filter mode decodes correctly.
IMAQ_QR_CELL_FILTER_MODE_SIZE_GUARD=0xFFFFFFFF
}QRCellFilterMode;
typedefenumRoundingMode_enum{
IMAQ_ROUNDING_MODE_OPTIMIZE=0,//Rounds the result of a division using the best available method.
IMAQ_ROUNDING_MODE_TRUNCATE=1,//Truncates the result of a division.
IMAQ_ROUNDING_MODE_SIZE_GUARD=0xFFFFFFFF
}RoundingMode;
typedefenumQRDemodulationMode_enum{
IMAQ_QR_DEMODULATION_MODE_AUTO_DETECT=-2,//The function will try each demodulation mode and use the one which decodes the QR code within the fewest iterations and utilizing the least amount of error correction.
IMAQ_QR_DEMODULATION_MODE_HISTOGRAM=0,//The function uses a histogram of all of the QR cells to calculate a threshold.
IMAQ_QR_DEMODULATION_MODE_LOCAL_CONTRAST=1,//The function examines each of the cell's neighbors to determine if the cell is on or off.
IMAQ_QR_DEMODULATION_MODE_COMBINED=2,//The function uses the histogram of the QR code to calculate a threshold.
IMAQ_QR_DEMODULATION_MODE_ALL=3,//The function tries IMAQ_QR_DEMODULATION_MODE_HISTOGRAM, then IMAQ_QR_DEMODULATION_MODE_LOCAL_CONTRAST and then IMAQ_QR_DEMODULATION_MODE_COMBINED, stopping once one mode is successful.
IMAQ_QR_DEMODULATION_MODE_SIZE_GUARD=0xFFFFFFFF
}QRDemodulationMode;
typedefenumContrastMode_enum{
IMAQ_ORIGINAL_CONTRAST=0,//Instructs the geometric matching algorithm to find matches with the same contrast as the template.
IMAQ_REVERSED_CONTRAST=1,//Instructs the geometric matching algorithm to find matches with the inverted contrast of the template.
IMAQ_BOTH_CONTRASTS=2,//Instructs the geometric matching algorithm to find matches with the same and inverted contrast of the template.
}ContrastMode;
typedefenumQRPolarities_enum{
IMAQ_QR_POLARITY_AUTO_DETECT=-2,//The function should determine the polarity of the QR code.
IMAQ_QR_POLARITY_BLACK_ON_WHITE=0,//The function should search for a QR code with dark data on a bright background.
IMAQ_QR_POLARITY_WHITE_ON_BLACK=1,//The function should search for a QR code with bright data on a dark background.
IMAQ_QR_POLARITY_MODE_SIZE_GUARD=0xFFFFFFFF
}QRPolarities;
typedefenumQRRotationMode_enum{
IMAQ_QR_ROTATION_MODE_UNLIMITED=0,//The function allows for unlimited rotation.
IMAQ_QR_ROTATION_MODE_0_DEGREES=1,//The function allows for ??? 5 degrees of rotation.
IMAQ_QR_ROTATION_MODE_90_DEGREES=2,//The function allows for between 85 and 95 degrees of rotation.
IMAQ_QR_ROTATION_MODE_180_DEGREES=3,//The function allows for between 175 and 185 degrees of rotation.
IMAQ_QR_ROTATION_MODE_270_DEGREES=4,//The function allows for between 265 and 275 degrees of rotation.
IMAQ_QR_ROTATION_MODE_SIZE_GUARD=0xFFFFFFFF
}QRRotationMode;
typedefenumQRGradingMode_enum{
IMAQ_QR_NO_GRADING=0,//The function does not make any preparatory calculations.
IMAQ_QR_GRADING_MODE_SIZE_GUARD=0xFFFFFFFF
}QRGradingMode;
typedefenumStraightEdgeSearchMode_enum{
IMAQ_USE_FIRST_RAKE_EDGES=0,//Fits a straight edge on the first points detected using a rake.
IMAQ_USE_BEST_RAKE_EDGES=1,//Fits a straight edge on the best points detected using a rake.
IMAQ_USE_BEST_HOUGH_LINE=2,//Finds the strongest straight edge using all points detected on a rake.
IMAQ_USE_FIRST_PROJECTION_EDGE=3,//Uses the location of the first projected edge as the straight edge.
IMAQ_USE_BEST_PROJECTION_EDGE=4,//Finds the strongest projected edge location to determine the straight edge.
IMAQ_STRAIGHT_EDGE_SEARCH_SIZE_GUARD=0xFFFFFFFF
}StraightEdgeSearchMode;
typedefenumSearchDirection_enum{
IMAQ_SEARCH_DIRECTION_LEFT_TO_RIGHT=0,//Searches from the left side of the search area to the right side of the search area.
IMAQ_SEARCH_DIRECTION_RIGHT_TO_LEFT=1,//Searches from the right side of the search area to the left side of the search area.
IMAQ_SEARCH_DIRECTION_TOP_TO_BOTTOM=2,//Searches from the top side of the search area to the bottom side of the search area.
IMAQ_SEARCH_DIRECTION_BOTTOM_TO_TOP=3,//Searches from the bottom side of the search area to the top side of the search area.
IMAQ_SEARCH_DIRECTION_SIZE_GUARD=0xFFFFFFFF
}SearchDirection;
typedefenumQRStreamMode_enum{
IMAQ_QR_MODE_NUMERIC=0,//Specifies that the data was encoded using numeric mode.
IMAQ_QR_MODE_ALPHANUMERIC=1,//Specifies that the data was encoded using alpha-numeric mode.
IMAQ_QR_MODE_RAW_BYTE=2,//Specifies that the data was not encoded but is only raw binary bytes, or encoded in JIS-8.
IMAQ_QR_MODE_EAN128_TOKEN=3,//Specifies that the data has a special meaning represented by the application ID.
IMAQ_QR_MODE_EAN128_DATA=4,//Specifies that the data has a special meaning represented by the application ID.
IMAQ_QR_MODE_ECI=5,//Specifies that the data was meant to be read using the language represented in the language ID.
IMAQ_QR_MODE_KANJI=6,//Specifies that the data was encoded in Shift-JIS16 Japanese.
IMAQ_QR_MODE_SIZE_GUARD=0xFFFFFFFF
}QRStreamMode;
typedefenumParticleClassifierType_enum{
IMAQ_PARTICLE_LARGEST=0,//Use only the largest particle in the image.
IMAQ_PARTICLE_ALL=1,//Use all particles in the image.
IMAQ_QR_CELL_SAMPLE_SIZE_AUTO_DETECT=-2,//The function will try each sample size and use the one which decodes the QR code within the fewest iterations and utilizing the least amount of error correction.
IMAQ_QR_CELL_SAMPLE_SIZE1X1=1,//The function will use a 1x1 sized sample from each cell.
IMAQ_QR_CELL_SAMPLE_SIZE2X2=2,//The function will use a 2x2 sized sample from each cell.
IMAQ_QR_CELL_SAMPLE_SIZE3X3=3,//The function will use a 3x3 sized sample from each cell.
IMAQ_QR_CELL_SAMPLE_SIZE4X4=4,//The function will use a 4x4 sized sample from each cell.
IMAQ_QR_CELL_SAMPLE_SIZE5X5=5,//The function will use a 5x5 sized sample from each cell.
IMAQ_QR_CELL_SAMPLE_SIZE6X6=6,//The function will use a 6x6 sized sample from each cell.
IMAQ_QR_CELL_SAMPLE_SIZE7X7=7,//The function will use a 7x7 sized sample from each cell.
IMAQ_QR_CELL_SAMPLE_TYPE_SIZE_GUARD=0xFFFFFFFF
}QRCellSampleSize;
typedefenumRakeProcessType_enum{
IMAQ_GET_FIRST_EDGES=0,
IMAQ_GET_FIRST_AND_LAST_EDGES=1,
IMAQ_GET_ALL_EDGES=2,
IMAQ_GET_BEST_EDGES=3,
IMAQ_RAKE_PROCESS_TYPE_SIZE_GUARD=0xFFFFFFFF
}RakeProcessType;
typedefenumGeometricSetupDataItem_enum{
IMAQ_CURVE_EXTRACTION_MODE=0,//Specifies how the function identifies curves in the image.
IMAQ_CURVE_EDGE_THRSHOLD=1,//Specifies the minimum contrast an edge pixel must have for it to be considered part of a curve.
IMAQ_CURVE_EDGE_FILTER=2,//Specifies the width of the edge filter that the function uses to identify curves in the image.
IMAQ_MINIMUM_CURVE_LENGTH=3,//Specifies the length, in pixels, of the smallest curve that you want the function to identify.
IMAQ_CURVE_ROW_SEARCH_STEP_SIZE=4,//Specifies the distance, in the y direction, between the image rows that the algorithm inspects for curve seed points.
IMAQ_CURVE_COL_SEARCH_STEP_SIZE=5,//Specifies the distance, in the x direction, between the image columns that the algorithm inspects for curve seed points.
IMAQ_CURVE_MAX_END_POINT_GAP=6,//Specifies the maximum gap, in pixels, between the endpoints of a curve that the function identifies as a closed curve.
IMAQ_EXTRACT_CLOSED_CURVES=7,//Specifies whether to identify only closed curves in the image.
IMAQ_ENABLE_SUBPIXEL_CURVE_EXTRACTION=8,//The function ignores this option.
IMAQ_ENABLE_CORRELATION_SCORE=9,//Specifies that the function should calculate the Correlation Score and return it for each match result.
IMAQ_ENABLE_SUBPIXEL_ACCURACY=10,//Determines whether to return the match results with subpixel accuracy.
IMAQ_SUBPIXEL_ITERATIONS=11,//Specifies the maximum number of incremental improvements used to refine matches using subpixel information.
IMAQ_SUBPIXEL_TOLERANCE=12,//Specifies the maximum amount of change, in pixels, between consecutive incremental improvements in the match position before the function stops refining the match position.
IMAQ_INITIAL_MATCH_LIST_LENGTH=13,//Specifies the maximum size of the match list.
IMAQ_ENABLE_TARGET_TEMPLATE_CURVESCORE=14,//Specifies whether the function should calculate the match curve to template curve score and return it for each match result.
IMAQ_MINIMUM_MATCH_SEPARATION_DISTANCE=15,//Specifies the minimum separation distance, in pixels, between the origins of two matches that have unique positions.
IMAQ_MINIMUM_MATCH_SEPARATION_ANGLE=16,//Specifies the minimum angular difference, in degrees, between two matches that have unique angles.
IMAQ_MINIMUM_MATCH_SEPARATION_SCALE=17,//Specifies the minimum difference in scale, expressed as a percentage, between two matches that have unique scales.
IMAQ_MAXIMUM_MATCH_OVERLAP=18,//Specifies whether you want the algorithm to spend less time accurately estimating the location of a match.
IMAQ_ENABLE_COARSE_RESULT=19,//Specifies whether you want the algorithm to spend less time accurately estimating the location of a match.
IMAQ_ENABLE_CALIBRATION_SUPPORT=20,//Specifies whether or not the algorithm treat the inspection image as a calibrated image.
IMAQ_ENABLE_CONTRAST_REVERSAL=21,//Specifies the contrast of the matches to search for.
IMAQ_SEARCH_STRATEGY=22,//Specifies the aggressiveness of the strategy used to find matches in the image.
IMAQ_REFINEMENT_MATCH_FACTOR=23,//Specifies the factor applied to the number of matches requested to determine how many matches are refined in the pyramid stage.
IMAQ_SUBPIXEL_MATCH_FACTOR=24,//Specifies the factor applied to the number for matches requested to determine how many matches are used for the final (subpixel) stage.
IMAQ_MAX_REFINEMENT_ITERATIONS=25,//Specifies maximum refinement iteration.
}GeometricSetupDataItem;
typedefenumDistortionModel_enum{
IMAQ_POLYNOMIAL_MODEL=0,//Polynomial model.
IMAQ_DIVISION_MODEL=1,//Division Model.
IMAQ_NO_DISTORTION_MODEL=-1,//Not a distortion model.
}DistortionModel;
typedefenumCalibrationThumbnailType_enum{
IMAQ_CAMARA_MODEL_TYPE=0,//Camara model thumbnail type.
IMAQ_ROTATION_ANGLE_RANGE=0,//Set a range for this option to specify the angles at which you expect the Function to find template matches in the inspection image.
IMAQ_SCALE_RANGE=1,//Set a range for this option to specify the sizes at which you expect the Function to find template matches in the inspection image.
IMAQ_OCCLUSION_RANGE=2,//Set a range for this option to specify the amount of occlusion you expect for a match in the inspection image.
IMAQ_SETTING_TYPE_SIZE_GUARD=0xFFFFFFFF
}SettingType;
typedefenumSegmentationDistanceLevel_enum{
IMAQ_SEGMENTATION_LEVEL_CONSERVATIVE=0,//Uses extensive criteria to determine the Maximum Distance.
IMAQ_SEGMENTATION_LEVEL_AGGRESSIVE=1,//Uses few criteria to determine the Maximum Distance.
IMAQ_SEGMENTATION_LEVEL_SIZE_GUARD=0xFFFFFFFF
}SegmentationDistanceLevel;
typedefenumExtractContourSelection_enum{
IMAQ_CLOSEST=0,//Selects the curve closest to the ROI.
IMAQ_LONGEST=1,//Selects the longest curve.
IMAQ_STRONGEST=2,//Selects the curve with the highest edge strength averaged from each point on the curve.
IMAQ_GEOMETRIC_MATCHING_CONSERVATIVE=0,//Instructs the pattern matching algorithm to use the largest possible amount of information from the image at the expense of slowing down the speed of the algorithm.
IMAQ_GEOMETRIC_MATCHING_BALANCED=1,//Instructs the pattern matching algorithm to balance the amount of information from the image it uses with the speed of the algorithm.
IMAQ_GEOMETRIC_MATCHING_AGGRESSIVE=2,//Instructs the pattern matching algorithm to use a lower amount of information from the image, which allows the algorithm to run quickly but at the expense of accuracy.
IMAQ_CLASSIFIER_LOW_RESOLUTION=0,//Low resolution version of the color classifier.
IMAQ_CLASSIFIER_MEDIUM_RESOLUTION=1,//Medium resolution version of the color classifier.
IMAQ_CLASSIFIER_HIGH_RESOLUTION=2,//High resolution version of the color classifier.
IMAQ_CLASSIFIER_RESOLUTION_SIZE_GUARD=0xFFFFFFFF
}ColorClassificationResolution;
typedefenumConnectionConstraintType_enum{
IMAQ_DISTANCE_CONSTRAINT=0,//Specifies the distance, in pixels, within which the end points of two curves must lie in order to be considered part of a contour.
IMAQ_ANGLE_CONSTRAINT=1,//Specifies the range, in degrees, within which the difference between the angle of two curves, measured at the end points, must lie in order for the two curves to be considered part of a contour.
IMAQ_CONNECTIVITY_CONSTRAINT=2,//Specifies the distance, in pixels, within which a line extended from the end point of a curve must pass the end point of another curve in order for the two curves to be considered part of a contour.
IMAQ_GRADIENT_CONSTRAINT=3,//Specifies the range, in degrees, within which the gradient angles of two curves, measured at the end points, must lie in order for the two curves to be considered part of a contour.
IMAQ_NUM_CONNECTION_CONSTRAINT_TYPES=4,//.
IMAQ_CONNECTION_CONSTRAINT_SIZE_GUARD=0xFFFFFFFF
}ConnectionConstraintType;
typedefenumBarcode2DContrast_enum{
IMAQ_ALL_BARCODE_2D_CONTRASTS=0,//The function searches for barcodes of each contrast type.
IMAQ_BLACK_ON_WHITE_BARCODE_2D=1,//The function searches for 2D barcodes containing black data on a white background.
IMAQ_WHITE_ON_BLACK_BARCODE_2D=2,//The function searches for 2D barcodes containing white data on a black background.
IMAQ_BARCODE_2D_CONTRAST_SIZE_GUARD=0xFFFFFFFF
}Barcode2DContrast;
typedefenumQRModelType_enum{
IMAQ_QR_MODELTYPE_AUTO_DETECT=0,//Specifies that the function will auto-detect the type of QR code.
IMAQ_QR_MODELTYPE_MICRO=1,//Specifies the QR code is of a micro type.
IMAQ_QR_MODELTYPE_MODEL1=2,//Specifies the QR code is of a model1 type.
IMAQ_QR_MODELTYPE_MODEL2=3,//Specifies the QR code is of a model2 type.
IMAQ_QR_MODEL_TYPE_SIZE_GUARD=0xFFFFFFFF
}QRModelType;
typedefenumWindowBackgroundFillStyle_enum{
IMAQ_FILL_STYLE_SOLID=0,//Fill the display window with a solid color.
IMAQ_FILL_STYLE_HATCH=2,//Fill the display window with a pattern defined by WindowBackgroundHatchStyle.
IMAQ_FILL_STYLE_DEFAULT=3,//Fill the display window with the NI Vision default pattern.
IMAQ_FILL_STYLE_SIZE_GUARD=0xFFFFFFFF
}WindowBackgroundFillStyle;
typedefenumExtractionMode_enum{
IMAQ_NORMAL_IMAGE=0,//Specifies that the function makes no assumptions about the uniformity of objects in the image or the image background.
IMAQ_UNIFORM_REGIONS=1,//Specifies that the function assumes that either the objects in the image or the image background consists of uniform pixel values.
IMAQ_EXTRACTION_MODE_SIZE_GUARD=0xFFFFFFFF
}ExtractionMode;
typedefenumEdgeFilterSize_enum{
IMAQ_FINE=0,//Specifies that the function uses a fine (narrow) edge filter.
IMAQ_NORMAL=1,//Specifies that the function uses a normal edge filter.
IMAQ_CONTOUR_TRACING=2,//Sets the Edge Filter Size to contour tracing, which provides the best results for contour extraction but increases the time required to process the image.
IMAQ_EDGE_FILTER_SIZE_SIZE_GUARD=0xFFFFFFFF
}EdgeFilterSize;
typedefenumBarcode2DSearchMode_enum{
IMAQ_SEARCH_MULTIPLE=0,//The function searches for multiple 2D barcodes.
IMAQ_SEARCH_SINGLE_CONSERVATIVE=1,//The function searches for 2D barcodes using the same searching algorithm as IMAQ_SEARCH_MULTIPLE but stops searching after locating one valid barcode.
IMAQ_SEARCH_SINGLE_AGGRESSIVE=2,//The function searches for a single 2D barcode using a method that assumes the barcode occupies a majority of the search region.
IMAQ_BARCODE_2D_SEARCH_MODE_SIZE_GUARD=0xFFFFFFFF
}Barcode2DSearchMode;
typedefenumDataMatrixSubtype_enum{
IMAQ_ALL_DATA_MATRIX_SUBTYPES=0,//The function searches for Data Matrix barcodes of all subtypes.
IMAQ_DATA_MATRIX_SUBTYPES_ECC_000_ECC_140=1,//The function searches for Data Matrix barcodes of subtypes ECC 000, ECC 050, ECC 080, ECC 100 and ECC 140.
IMAQ_DATA_MATRIX_SUBTYPE_ECC_200=2,//The function searches for Data Matrix ECC 200 barcodes.
IMAQ_DATA_MATRIX_SUBTYPE_SIZE_GUARD=0xFFFFFFFF
}DataMatrixSubtype;
typedefenumFeatureType_enum{
IMAQ_NOT_FOUND_FEATURE=0,//Specifies the feature is not found.
IMAQ_CIRCLE_FEATURE=1,//Specifies the feature is a circle.
IMAQ_ELLIPSE_FEATURE=2,//Specifies the feature is an ellipse.
IMAQ_CONST_CURVE_FEATURE=3,//Specifies the features is a constant curve.
IMAQ_RECTANGLE_FEATURE=4,//Specifies the feature is a rectangle.
IMAQ_LEG_FEATURE=5,//Specifies the feature is a leg.
IMAQ_CORNER_FEATURE=6,//Specifies the feature is a corner.
IMAQ_PARALLEL_LINE_PAIR_FEATURE=7,//Specifies the feature is a parallel line pair.
IMAQ_PAIR_OF_PARALLEL_LINE_PAIRS_FEATURE=8,//Specifies the feature is a pair of parallel line pairs.
IMAQ_LINE_FEATURE=9,//Specifies the feature is a line.
IMAQ_CLOSED_CURVE_FEATURE=10,//Specifies the feature is a closed curve.
IMAQ_FEATURE_TYPE_SIZE_GUARD=0xFFFFFFFF
}FeatureType;
typedefenumBarcode2DCellShape_enum{
IMAQ_SQUARE_CELLS=0,//The function uses an algorithm for decoding the 2D barcode that works with square data cells.
IMAQ_ROUND_CELLS=1,//The function uses an algorithm for decoding the 2D barcode that works with round data cells.
IMAQ_BARCODE_2D_CELL_SHAPE_SIZE_GUARD=0xFFFFFFFF
}Barcode2DCellShape;
typedefenumLocalThresholdMethod_enum{
IMAQ_NIBLACK=0,//The function computes thresholds for each pixel based on its local statistics using the Niblack local thresholding algorithm.
IMAQ_BACKGROUND_CORRECTION=1,//The function performs background correction first to eliminate non-uniform lighting effects, then performs thresholding using the Otsu thresholding algorithm.
IMAQ_LOCAL_THRESHOLD_METHOD_SIZE_GUARD=0xFFFFFFFF
}LocalThresholdMethod;
typedefenumBarcode2DType_enum{
IMAQ_PDF417=0,//The 2D barcode is of type PDF417.
IMAQ_DATA_MATRIX_ECC_000=1,//The 2D barcode is of type Data Matrix ECC 000.
IMAQ_DATA_MATRIX_ECC_050=2,//The 2D barcode is of type Data Matrix ECC 050.
IMAQ_DATA_MATRIX_ECC_080=3,//The 2D barcode is of type Data Matrix ECC 080.
IMAQ_DATA_MATRIX_ECC_100=4,//The 2D barcode is of type Data Matrix ECC 100.
IMAQ_DATA_MATRIX_ECC_140=5,//The 2D barcode is of type Data Matrix ECC 140.
IMAQ_DATA_MATRIX_ECC_200=6,//The 2D barcode is of type Data Matrix ECC 200.
IMAQ_BARCODE_2D_TYPE_SIZE_GUARD=0xFFFFFFFF
}Barcode2DType;
typedefenumClassifierEngineType_enum{
IMAQ_ENGINE_NONE=0,//No engine has been set on this classifier session.
IMAQ_AUTO_DETECT_DEMODULATION_MODE=-2,//The function will try each demodulation mode and use the one which decodes the Data Matrix barcode within the fewest iterations and utilizing the least amount of error correction.
IMAQ_HISTOGRAM=0,//The function uses a histogram of all of the Data Matrix cells to calculate a threshold.
IMAQ_LOCAL_CONTRAST=1,//The function examines each of the cell's neighbors to determine if the cell is on or off.
IMAQ_COMBINED=2,//The function uses the histogram of the Data Matrix barcode to calculate a threshold.
IMAQ_ALL_DEMODULATION_MODES=3,//The function tries IMAQ_HISTOGRAM, then IMAQ_LOCAL_CONTRAST and then IMAQ_COMBINATION, stopping once one mode is successful.
IMAQ_AUTO_DETECT_ECC=-2,//Sets the function to determine the Data Matrix barcode ECC automatically.
IMAQ_ECC_000=0,//Sets the function to read Data Matrix barcodes of ECC 000 only.
IMAQ_ECC_050=50,//Sets the function to read Data Matrix barcodes of ECC 050 only.
IMAQ_ECC_080=80,//Sets the function to read Data Matrix barcodes of ECC 080 only.
IMAQ_ECC_100=100,//Sets the function to read Data Matrix barcodes of ECC 100 only.
IMAQ_ECC_140=140,//Sets the function to read Data Matrix barcodes of ECC 140 only.
IMAQ_ECC_000_140=190,//Sets the function to read Data Matrix barcodes of ECC 000, ECC 050, ECC 080, ECC 100, and ECC 140 only.
IMAQ_ECC_200=200,//Sets the function to read Data Matrix barcodes of ECC 200 only.
IMAQ_DATA_MATRIX_ECC_SIZE_GUARD=0xFFFFFFFF
}DataMatrixECC;
typedefenumDataMatrixPolarity_enum{
IMAQ_AUTO_DETECT_POLARITY=-2,//Sets the function to determine the Data Matrix barcode polarity automatically.
IMAQ_BLACK_DATA_ON_WHITE_BACKGROUND=0,//Sets the function to read Data Matrix barcodes with dark data on a bright background.
IMAQ_WHITE_DATA_ON_BLACK_BACKGROUND=1,//Sets the function to read Data Matrix barcodes with bright data on a dark background.
IMAQ_DATA_MATRIX_POLARITY_SIZE_GUARD=0xFFFFFFFF
}DataMatrixPolarity;
typedefenumDataMatrixCellFilterMode_enum{
IMAQ_AUTO_DETECT_CELL_FILTER_MODE=-2,//The function will try all filter modes and uses the one that decodes the Data Matrix barcode within the fewest iterations and utilizing the least amount of error correction.
IMAQ_AVERAGE_FILTER=0,//The function sets the pixel value for the cell to the average of the sampled pixels.
IMAQ_MEDIAN_FILTER=1,//The function sets the pixel value for the cell to the median of the sampled pixels.
IMAQ_CENTRAL_AVERAGE_FILTER=2,//The function sets the pixel value for the cell to the average of the pixels in the center of the cell sample.
IMAQ_HIGH_AVERAGE_FILTER=3,//The function sets the pixel value for the cell to the average value of the half of the sampled pixels with the highest pixel values.
IMAQ_LOW_AVERAGE_FILTER=4,//The function sets the pixel value for the cell to the average value of the half of the sampled pixels with the lowest pixel values.
IMAQ_VERY_HIGH_AVERAGE_FILTER=5,//The function sets the pixel value for the cell to the average value of the ninth of the sampled pixels with the highest pixel values.
IMAQ_VERY_LOW_AVERAGE_FILTER=6,//The function sets the pixel value for the cell to the average value of the ninth of the sampled pixels with the lowest pixel values.
IMAQ_ALL_CELL_FILTERS=8,//The function tries each filter mode, starting with IMAQ_AVERAGE_FILTER and ending with IMAQ_VERY_LOW_AVERAGE_FILTER, stopping once a filter mode decodes correctly.
IMAQ_WAVELET_TRANSFORM_INTEGER=0,//Uses a 5-3 reversible integer transform.
IMAQ_WAVELET_TRANSFORM_FLOATING_POINT=1,//Performs a 9-7 irreversible floating-point transform.
IMAQ_WAVELET_TRANSFORM_MODE_SIZE_GUARD=0xFFFFFFFF
}WaveletTransformMode;
typedefenumNormalizationMethod_enum{
IMAQ_NORMALIZATION_NONE=0,//No normalization.
IMAQ_NORMALIZATION_HISTOGRAM_MATCHING=1,//Adjust image so its histogram is similar to the golden template's histogram.
IMAQ_NORMALIZATION_AVERAGE_MATCHING=2,//Adjust image so its mean pixel value equals the golden template's mean pixel value.
IMAQ_NORMALIZATION_SIZE_GUARD=0xFFFFFFFF
}NormalizationMethod;
typedefenumRegistrationMethod_enum{
IMAQ_REGISTRATION_NONE=0,//No registration.
IMAQ_REGISTRATION_PERSPECTIVE=1,//Adjust image to correct for minor variations in alignment or perspective.
IMAQ_REGISTRATION_SIZE_GUARD=0xFFFFFFFF
}RegistrationMethod;
typedefenumLinearAveragesMode_enum{
IMAQ_COLUMN_AVERAGES=1,//Specifies that the function calculates the mean pixel value of each column.
IMAQ_ROW_AVERAGES=2,//Specifies that the function calculates the mean pixel value of each row.
IMAQ_RISING_DIAGONAL_AVERAGES=4,//Specifies that the function calculates the mean pixel value of each diagonal running from the lower left to the upper right of the inspected area of the image.
IMAQ_FALLING_DIAGONAL_AVERAGES=8,//Specifies that the function calculates the mean pixel value of each diagonal running from the upper left to the lower right of the inspected area of the image.
IMAQ_ALL_LINEAR_AVERAGES=15,//Specifies that the function calculates all four linear mean pixel values.
IMAQ_LINEAR_AVERAGES_MODE_SIZE_GUARD=0xFFFFFFFF
}LinearAveragesMode;
typedefenumCompressionType_enum{
IMAQ_COMPRESSION_NONE=0,//Specifies that the function should not compress the image.
IMAQ_COMPRESSION_JPEG=1,//Specifies that the function should use lossy JPEG compression on the image.
IMAQ_COMPRESSION_PACKED_BINARY=2,//Specifies that the function should use lossless binary packing on the image.
IMAQ_COMPRESSION_TYPE_SIZE_GUARD=0xFFFFFFFF
}CompressionType;
typedefenumFlattenType_enum{
IMAQ_FLATTEN_IMAGE=0,//Flattens just the image data.
IMAQ_FLATTEN_IMAGE_AND_VISION_INFO=1,//Flattens the image data and any Vision information associated with the image.
IMAQ_FLATTEN_TYPE_SIZE_GUARD=0xFFFFFFFF
}FlattenType;
typedefenumDataMatrixCellSampleSize_enum{
IMAQ_AUTO_DETECT_CELL_SAMPLE_SIZE=-2,//The function will try each sample size and use the one which decodes the Data Matrix barcode within the fewest iterations and utilizing the least amount of error correction.
IMAQ_1x1=1,//The function will use a 1x1 sized sample from each cell.
IMAQ_2x2=2,//The function will use a 2x2 sized sample from each cell.
IMAQ_3x3=3,//The function will use a 3x3 sized sample from each cell.
IMAQ_4x4=4,//The function will use a 4x4 sized sample from each cell.
IMAQ_5x5=5,//The function will use a 5x5 sized sample from each cell.
IMAQ_6x6=6,//The function will use a 6x6 sized sample from each cell.
IMAQ_7x7=7,//The function will use a 7x7 sized sample from each cell.
GridDescriptorgridDescriptor;//Specifies scaling constants used to calibrate the image.
float*errorMap;//The the error map of calibration template image.
unsignedinterrorMapRows;//Number of rows in error map.
unsignedinterrorMapCols;//Number of Columns in error map.
ErrorStatisticserrorStatistics;//Error statistics of the calibration.
}GetCalibrationInfoReport;
typedefstructEdgePolarity_struct{
EdgePolaritySearchModestart;
EdgePolaritySearchModeend;
}EdgePolarity;
typedefstructClampSettings_struct{
doubleangleRange;//Specifies the angle range.
EdgePolarityedgePolarity;//Specifies the edge polarity.
}ClampSettings;
typedefstructPointDouble_struct{
doublex;//The x-coordinate of the point.
doubley;//The y-coordinate of the point.
}PointDouble;
typedefstructPointDoublePair_struct{
PointDoublestart;//The Start co-ordinate of the pair.
PointDoubleend;//The End co-ordinate of the pair.
}PointDoublePair;
typedefstructClampResults_struct{
doubledistancePix;//Defines the Pixel world distance.
doubledistanceRealWorld;//Defines the real world distance.
doubleangleAbs;//Defines the absolute angle.
doubleangleRelative;//Defines the relative angle.
}ClampResults;
typedefstructClampPoints_struct{
PointDoublePairpixel;//Specifies the pixel world point pair for clamp.
PointDoublePairrealWorld;//Specifies the real world point pair for clamp.
}ClampPoints;
typedefstructRGBValue_struct{
unsignedcharB;//The blue value of the color.
unsignedcharG;//The green value of the color.
unsignedcharR;//The red value of the color.
unsignedcharalpha;//The alpha value of the color, which represents extra information about a color image, such as gamma correction.
}RGBValue;
typedefstructClampOverlaySettings_struct{
intshowSearchArea;//If TRUE, the function overlays the search area on the image.
intshowCurves;//If TRUE, the function overlays the curves on the image.
intshowClampLocation;//If TRUE, the function overlays the clamp location on the image.
intshowResult;//If TRUE, the function overlays the hit lines to the object and the edge used to generate the hit line on the result image.
RGBValuesearchAreaColor;//Specifies the RGB color value to use to overlay the search area.
RGBValuecurvesColor;//Specifies the RGB color value to use to overlay the curves.
RGBValueclampLocationsColor;//Specifies the RGB color value to use to overlay the clamp locations.
RGBValueresultColor;//Specifies the RGB color value to use to overlay the results.
char*overlayGroupName;//Specifies the group overlay name for the step overlays.
}ClampOverlaySettings;
typedefstructClampMax2Report_struct{
ClampResultsclampResults;//Specifies the Clamp results information returned by the function.
ClampPointsclampPoints;//Specifies the clamp points information returned by the function.
unsignedintcalibrationValid;//Specifies if the calibration information is valid or not.
}ClampMax2Report;
typedefstructContourFitSplineReport_struct{
PointDouble*points;//It returns the points of the best-fit B-spline curve.
intnumberOfPoints;//Number of Best fit points returned.
}ContourFitSplineReport;
typedefstructLineFloat_struct{
PointFloatstart;//The coordinate location of the start of the line.
PointFloatend;//The coordinate location of the end of the line.
}LineFloat;
typedefstructLineEquation_struct{
doublea;//The a coefficient of the line equation.
doubleb;//The b coefficient of the line equation.
doublec;//The c coefficient of the line equation.
}LineEquation;
typedefstructContourFitLineReport_struct{
LineFloatlineSegment;//Line Segment represents the intersection of the line equation and the contour.
LineEquationlineEquation;//Line Equation is a structure of three coefficients A, B, and C of the equation in the normal form (Ax + By + C=0) of the best fit line.
}ContourFitLineReport;
typedefstructContourFitPolynomialReport_struct{
PointDouble*bestFit;//It returns the points of the best-fit polynomial.
intnumberOfPoints;//Number of Best fit points returned.
double*polynomialCoefficients;//Polynomial Coefficients returns the coefficients of the polynomial equation.
intnumberOfCoefficients;//Number of Coefficients returned in the polynomial coefficients array.
}ContourFitPolynomialReport;
typedefstructPartialCircle_struct{
PointFloatcenter;//Center of the circle.
doubleradius;//Radius of the circle.
doublestartAngle;//Start angle of the fitted structure.
doubleendAngle;//End angle of the fitted structure.
}PartialCircle;
typedefstructPartialEllipse_struct{
PointFloatcenter;//Center of the Ellipse.
doubleangle;//Angle of the ellipse.
doublemajorRadius;//The length of the semi-major axis of the ellipse.
doubleminorRadius;//The length of the semi-minor axis of the ellipse.
doublestartAngle;//Start angle of the fitted structure.
doubleendAngle;//End angle of the fitted structure.
}PartialEllipse;
typedefstructSetupMatchPatternData_struct{
unsignedchar*matchSetupData;//String containing the match setup data.
intnumMatchSetupData;//Number of match setup data.
}SetupMatchPatternData;
typedefstructRangeSettingDouble_struct{
SettingTypesettingType;//Match Constraints specifies the match option whose values you want to constrain by the given range.
doublemin;//Min is the minimum value of the range for a given Match Constraint.
doublemax;//Max is the maximum value of the range for a given Match Constraint.
unsignedintisTooManyVectorsArraySize;//Number of elements in isTooManyVectorsArray.
}LabelToROIReport;
typedefstructColorSegmenationOptions_struct{
unsignedintwindowX;//X is the window size in x direction.
unsignedintwindowY;//Y is the window size in y direction.
unsignedintstepSize;//Step Size is the distance between two windows.
unsignedintminParticleArea;//Min Particle Area is the minimum number of allowed pixels.
unsignedintmaxParticleArea;//Max Particle Area is the maximum number of allowed pixels.
shortisFineSegment;//When enabled, the step processes the boundary pixels of each segmentation cluster using a step size of 1.
}ColorSegmenationOptions;
typedefstructClassifiedCurve_struct{
doublelength;//Specifies the length, in pixels, of the curves within the curvature range.
doublelengthReal;//specifies the length, in calibrated units, of the curves within the curvature range.
doublemaxCurvature;//specifies the maximum curvature, in pixels, for the selected curvature range.
doublemaxCurvatureReal;//specifies the maximum curvature, in calibrated units, for the selected curvature range.
unsignedintlabel;//specifies the class to which the the sample belongs.
PointDouble*curvePoints;//Curve Points is a point-coordinate cluster that defines the points of the curve.
unsignedintnumCurvePoints;//Number of curve points.
}ClassifiedCurve;
typedefstructRangeDouble_struct{
doubleminValue;//The minimum value of the range.
doublemaxValue;//The maximum value of the range.
}RangeDouble;
typedefstructRangeLabel_struct{
RangeDoublerange;//Specifies the range of curvature values.
unsignedintlabel;//Class Label specifies the class to which the the sample belongs.
}RangeLabel;
typedefstructCurvatureAnalysisReport_struct{
ClassifiedCurve*curves;
unsignedintnumCurves;
}CurvatureAnalysisReport;
typedefstructDisparity_struct{
PointDoublecurrent;//Current is a array of points that defines the target contour.
PointDoublereference;//reference is a array of points that defines the template contour.
doubledistance;//Specifies the distance, in pixels, between the template contour point and the target contour point.
}Disparity;
typedefstructComputeDistancesReport_struct{
Disparity*distances;//Distances is an array containing the computed distances.
unsignedintnumDistances;//Number elements in the distances array.
Disparity*distancesReal;//Distances Real is an array containing the computed distances in calibrated units.
unsignedintnumDistancesReal;//Number of elements in real distances array.
}ComputeDistancesReport;
typedefstructMatchMode_struct{
unsignedintrotation;//Rotation When enabled, the Function searches for occurrences of the template in the inspection image, allowing for template matches to be rotated.
unsignedintscale;//Rotation When enabled, the Function searches for occurrences of the template in the inspection image, allowing for template matches to be rotated.
unsignedintocclusion;//Occlusion specifies whether or not to search for occluded versions of the shape.
}MatchMode;
typedefstructClassifiedDisparity_struct{
doublelength;//Length (pixel) specifies the length, in pixels, of the curves within the curvature range.
doublelengthReal;//Length (real) specifies the length, in calibrated units, of the curves within the curvature range.
doublemaxDistance;//Maximum Distance (pixel) specifies the maximum distance, in pixels, between points along the selected contour and the template contour.
doublemaxDistanceReal;//Maximum Distance (real) specifies the maximum distance, in calibrated units, between points along the selected contour and the template contour.
unsignedintlabel;//Class Label specifies the class to which the the sample belongs.
PointDouble*templateSubsection;//Template subsection points is an array of points that defines the boundary of the template.
unsignedintnumTemplateSubsection;//Number of reference points.
PointDouble*targetSubsection;//Current Points(Target subsection points) is an array of points that defines the boundary of the target.
unsignedintnumTargetSubsection;//Number of current points.
}ClassifiedDisparity;
typedefstructClassifyDistancesReport_struct{
ClassifiedDisparity*classifiedDistances;//Disparity array containing the classified distances.
unsignedintnumClassifiedDistances;//Number of elements in the disparity array.
double*curvaturePixel;//Curvature Pixel displays the curvature profile for the selected contour, in pixels.
unsignedintnumCurvaturePixel;//Number of curvature pixels.
double*curvatureReal;//Curvature Real displays the curvature profile for the selected contour, in calibrated units.
unsignedintnumCurvatureReal;//Number of curvature Real elements.
}ContourComputeCurvatureReport;
typedefstructContourOverlaySettings_struct{
unsignedintoverlay;//Overlay specifies whether to display the overlay on the image.
RGBValuecolor;//Color is the color of the overlay.
unsignedintwidth;//Width specifies the width of the overlay in pixels.
unsignedintmaintainWidth;//Maintain Width? specifies whether you want the overlay measured in screen pixels or image pixels.
}ContourOverlaySettings;
typedefstructCurveParameters_struct{
ExtractionModeextractionMode;//Specifies the method the function uses to identify curves in the image.
intthreshold;//Specifies the minimum contrast a seed point must have in order to begin a curve.
EdgeFilterSizefilterSize;//Specifies the width of the edge filter the function uses to identify curves in the image.
intminLength;//Specifies the length, in pixels, of the smallest curve the function will extract.
intsearchStep;//Search Step Size specifies the distance, in the y direction, between the image rows that the algorithm inspects for curve seed points.
intmaxEndPointGap;//Specifies the maximum gap, in pixels, between the endpoints of a curve that the function identifies as a closed curve.
intsubpixel;//Subpixel specifies whether to detect curve points with subpixel accuracy.
}CurveParameters;
typedefstructExtractContourReport_struct{
PointDouble*contourPoints;//Contour Points specifies every point found on the contour.
intnumContourPoints;//Number of contour points.
PointDouble*sourcePoints;//Source Image Points specifies every point found on the contour in the source image.
intnumSourcePoints;//Number of source points.
}ExtractContourReport;
typedefstructConnectionConstraint_struct{
ConnectionConstraintTypeconstraintType;//Constraint Type specifies what criteria to use to consider two curves part of a contour.
RangeDoublerange;//Specifies range for a given Match Constraint.
}ConnectionConstraint;
typedefstructExtractTextureFeaturesReport_struct{
int*waveletBands;//The array having all the Wavelet Banks used for extraction.
intnumWaveletBands;//Number of wavelet banks in the Array.
double**textureFeatures;//2-D array to store all the Texture features extracted.
inttextureFeaturesRows;//Number of Rows in the Texture Features array.
inttextureFeaturesCols;//Number of Cols in Texture Features array.
}ExtractTextureFeaturesReport;
typedefstructWaveletBandsReport_struct{
float**LLBand;//2-D array for LL Band.
float**LHBand;//2-D array for LH Band.
float**HLBand;//2-D array for HL Band.
float**HHBand;//2-D array for HH Band.
float**LLLBand;//2-D array for LLL Band.
float**LLHBand;//2-D array for LLH Band.
floatLHLBand;//2-D array for LHL Band.
float**LHHBand;//2-D array for LHH Band.
introws;//Number of Rows for each of the 2-D arrays.
intcols;//Number of Columns for each of the 2-D arrays.
}WaveletBandsReport;
typedefstructCircleFitOptions_struct{
intmaxRadius;//Specifies the acceptable distance, in pixels, that a point determined to belong to the circle can be from the perimeter of the circle.
doublestepSize;//Step Size is the angle, in degrees, between each radial line in the annular region.
RakeProcessTypeprocessType;//Method used to process the data extracted for edge detection.
}CircleFitOptions;
typedefstructEdgeOptions2_struct{
EdgePolaritySearchModepolarity;//Specifies the polarity of the edges to be found.
unsignedintkernelSize;//Specifies the size of the edge detection kernel.
unsignedintwidth;//Specifies the number of pixels averaged perpendicular to the search direction to compute the edge profile strength at each point along the search ROI.
floatminThreshold;//Specifies the minimum edge strength (gradient magnitude) required for a detected edge.
InterpolationMethodinterpolationType;//Specifies the interpolation method used to locate the edge position.
ColumnProcessingModecolumnProcessingMode;//Specifies the method used to find the straight edge.
}EdgeOptions2;
typedefstructFindCircularEdgeOptions_struct{
SpokeDirectiondirection;//Specifies the Spoke direction to search in the ROI.
intshowSearchArea;//If TRUE, the function overlays the search area on the image.
intshowSearchLines;//If TRUE, the function overlays the search lines used to locate the edges on the image.
intshowEdgesFound;//If TRUE, the function overlays the locations of the edges found on the image.
intshowResult;//If TRUE, the function overlays the hit lines to the object and the edge used to generate the hit line on the result image.
RGBValuesearchAreaColor;//Specifies the RGB color value to use to overlay the search area.
RGBValuesearchLinesColor;//Specifies the RGB color value to use to overlay the search lines.
RGBValuesearchEdgesColor;//Specifies the RGB color value to use to overlay the search edges.
RGBValueresultColor;//Specifies the RGB color value to use to overlay the results.
char*overlayGroupName;//Specifies the overlay group name to assign to the overlays.
EdgeOptions2edgeOptions;//Specifies the edge detection options along a single search line.
}FindCircularEdgeOptions;
typedefstructFindConcentricEdgeOptions_struct{
ConcentricRakeDirectiondirection;//Specifies the Concentric Rake direction.
intshowSearchArea;//If TRUE, the function overlays the search area on the image.
intshowSearchLines;//If TRUE, the function overlays the search lines used to locate the edges on the image.
intshowEdgesFound;//If TRUE, the function overlays the locations of the edges found on the image.
intshowResult;//If TRUE, the function overlays the hit lines to the object and the edge used to generate the hit line on the result image.
RGBValuesearchAreaColor;//Specifies the RGB color value to use to overlay the search area.
RGBValuesearchLinesColor;//Specifies the RGB color value to use to overlay the search lines.
RGBValuesearchEdgesColor;//Specifies the RGB color value to use to overlay the search edges.
RGBValueresultColor;//Specifies the RGB color value to use to overlay the results.
char*overlayGroupName;//Specifies the overlay group name to assign to the overlays.
EdgeOptions2edgeOptions;//Specifies the edge detection options along a single search line.
}FindConcentricEdgeOptions;
typedefstructConcentricEdgeFitOptions_struct{
intmaxRadius;//Specifies the acceptable distance, in pixels, that a point determined to belong to the circle can be from the perimeter of the circle.
doublestepSize;//The sampling factor that determines the gap between the rake lines.
RakeProcessTypeprocessType;//Method used to process the data extracted for edge detection.
}ConcentricEdgeFitOptions;
typedefstructFindConcentricEdgeReport_struct{
PointFloatstartPt;//Pixel Coordinates for starting point of the edge.
PointFloatendPt;//Pixel Coordinates for end point of the edge.
PointFloatstartPtCalibrated;//Real world Coordinates for starting point of the edge.
PointFloatendPtCalibrated;//Real world Coordinates for end point of the edge.
doubleangle;//Angle of the edge found.
doubleangleCalibrated;//Calibrated angle of the edge found.
doublestraightness;//The straightness value of the detected straight edge.
doubleavgStrength;//Average strength of the egde found.
doubleavgSNR;//Average SNR(Signal to Noise Ratio) for the edge found.
intlineFound;//If the edge is found or not.
}FindConcentricEdgeReport;
typedefstructFindCircularEdgeReport_struct{
PointFloatcenterCalibrated;//Real world Coordinates of the Center.
doubleradiusCalibrated;//Real world radius of the Circular Edge found.
PointFloatcenter;//Pixel Coordinates of the Center.
doubleradius;//Radius in pixels of the Circular Edge found.
doubleroundness;//The roundness of the calculated circular edge.
doubleavgStrength;//Average strength of the egde found.
doubleavgSNR;//Average SNR(Signal to Noise Ratio) for the edge found.
intcircleFound;//If the circlular edge is found or not.
}FindCircularEdgeReport;
typedefstructWindowSize_struct{
intx;//Window lenght on X direction.
inty;//Window lenght on Y direction.
intstepSize;//Distance between windows.
}WindowSize;
typedefstructDisplacementVector_struct{
intx;//length on X direction.
inty;//length on Y direction.
}DisplacementVector;
typedefstructWaveletOptions_struct{
WaveletTypetypeOfWavelet;//Type of wavelet(db, bior.
floatminEnergy;//Minimum Energy in the bands to consider for texture defect detection.
}WaveletOptions;
typedefstructCooccurrenceOptions_struct{
intlevel;//Level/size of matrix.
DisplacementVectordisplacement;//Displacemnet between pixels to accumulate the matrix.
LocalThresholdMethodmethod;//Specifies the local thresholding method the function uses.
ParticleTypeparticleType;//Specifies what kind of particles to look for.
unsignedintwindowWidth;//The width of the rectangular window around the pixel on which the function performs the local threshold.
unsignedintwindowHeight;//The height of the rectangular window around the pixel on which the function performs the local threshold.
doubledeviationWeight;//Specifies the k constant used in the Niblack local thresholding algorithm, which determines the weight applied to the variance calculation.
ParticleClassifierThresholdTypethresholdType;//The type of threshold to perform on the image.
RangeFloatmanualThresholdRange;//The range of pixels to keep if manually thresholding the image.
ParticleClassifierAutoThresholdOptionsautoThresholdOptions;//The options used to auto threshold the image.
ParticleClassifierLocalThresholdOptionslocalThresholdOptions;//The options used to local threshold the image.
intrejectBorder;//Set this element to TRUE to reject border particles.
intnumErosions;//The number of erosions to perform.
}ParticleClassifierPreprocessingOptions2;
typedefstructMeasureParticlesReport_struct{
double**pixelMeasurements;//The measurements on the particles in the image, in pixel coordinates.
double**calibratedMeasurements;//The measurements on the particles in the image, in real-world coordinates.
size_tnumParticles;//The number of particles on which measurements were taken.
size_tnumMeasurements;//The number of measurements taken.
}MeasureParticlesReport;
typedefstructGeometricPatternMatch3_struct{
PointFloatposition;//The location of the origin of the template in the match.
floatrotation;//The rotation of the match relative to the template image, in degrees.
floatscale;//The size of the match relative to the size of the template image, expressed as a percentage.
floatscore;//The accuracy of the match.
PointFloatcorner[4];//An array of four points describing the rectangle surrounding the template image.
intinverse;//This element is TRUE if the match is an inverse of the template image.
floatocclusion;//The percentage of the match that is occluded.
floattemplateMatchCurveScore;//The accuracy of the match obtained by comparing the template curves to the curves in the match region.
floatmatchTemplateCurveScore;//The accuracy of the match obtained by comparing the curves in the match region to the template curves.
floatcorrelationScore;//The accuracy of the match obtained by comparing the template image to the match region using a correlation metric that compares the two regions as a function of their pixel values.
PointFloatcalibratedPosition;//The location of the origin of the template in the match.
floatcalibratedRotation;//The rotation of the match relative to the template image, in degrees.
PointFloatcalibratedCorner[4];//An array of four points describing the rectangle surrounding the template image.
unsignedintsubpixelIterations;//Specifies the maximum number of incremental improvements used to refine matches with subpixel information.
doublesubpixelTolerance;//Specifies the maximum amount of change, in pixels, between consecutive incremental improvements in the match position before the function stops refining the match position.
unsignedintinitialMatchListLength;//Specifies the maximum size of the match list.
inttargetTemplateCurveScore;//Set this element to TRUE to specify that the function should calculate the match curve to template curve score and return it for each match result.
intcorrelationScore;//Set this element to TRUE to specify that the function should calculate the correlation score and return it for each match result.
doubleminMatchSeparationDistance;//Specifies the minimum separation distance, in pixels, between the origins of two matches that have unique positions.
doubleminMatchSeparationAngle;//Specifies the minimum angular difference, in degrees, between two matches that have unique angles.
doubleminMatchSeparationScale;//Specifies the minimum difference in scale, expressed as a percentage, between two matches that have unique scales.
doublemaxMatchOverlap;//Specifies the maximum amount of overlap, expressed as a percentage, allowed between the bounding rectangles of two unique matches.
intcoarseResult;//Specifies whether you want the function to spend less time accurately estimating the location of a match.
intenableCalibrationSupport;//Set this element to TRUE to specify the algorithm treat the inspection image as a calibrated image.
ContrastModeenableContrastReversal;//Use this element to specify the contrast of the matches to search for in the image.
GeometricMatchingSearchStrategymatchStrategy;//Specifies the aggressiveness of the search strategy.
unsignedintrefineMatchFactor;//Specifies the factor that is applied to the number of matches requested by the user to determine the number of matches that are refined at the initial matching stage.
unsignedintsubpixelMatchFactor;//Specifies the factor that is applied to the number of matches requested by the user to determine the number of matches that are evaluated at the final subpixel matching stage.
}MatchGeometricPatternAdvancedOptions3;
typedefstructColorOptions_struct{
ColorClassificationResolutioncolorClassificationResolution;//Specifies the color resolution of the classifier.
unsignedintuseLuminance;//Specifies if the luminance band is going to be used in the feature vector.
ColorModecolorMode;//Specifies the color mode of the classifier.
}ColorOptions;
typedefstructSampleScore_struct{
char*className;//The name of the class.
floatdistance;//The distance from the item to this class.
unsignedintindex;//index of this sample.
}SampleScore;
typedefstructClassifierReportAdvanced_struct{
char*bestClassName;//The name of the best class for the sample.
floatclassificationScore;//The similarity of the sample and the two closest classes in the classifier.
floatidentificationScore;//The similarity of the sample and the assigned class.
ClassScore*allScores;//All classes and their scores.
intallScoresSize;//The number of entries in allScores.
SampleScore*sampleScores;//All samples and their scores.
intsampleScoresSize;//The number of entries in sampleScores.
doubleminScaleFactor;//Specifies the minimum scale factor that the template is learned for.
doublemaxScaleFactor;//Specifies the maximum scale factor the template is learned for.
doubleminRotationAngleValue;//Specifies the minimum rotation angle the template is learned for.
doublemaxRotationAngleValue;//Specifies the maximum rotation angle the template is learned for.
unsignedintimageSamplingFactor;//Specifies the factor that is used to subsample the template and the image for the initial matching phase.
}LearnGeometricPatternAdvancedOptions2;
typedefstructParticleFilterOptions2_struct{
intrejectMatches;//Set this parameter to TRUE to transfer only those particles that do not meet all the criteria.
intrejectBorder;//Set this element to TRUE to reject border particles.
intfillHoles;//Set this element to TRUE to fill holes in particles.
intconnectivity8;//Set this parameter to TRUE to use connectivity-8 to determine whether particles are touching.
}ParticleFilterOptions2;
typedefstructFindEdgeOptions2_struct{
RakeDirectiondirection;//The direction to search in the ROI.
intshowSearchArea;//If TRUE, the function overlays the search area on the image.
intshowSearchLines;//If TRUE, the function overlays the search lines used to locate the edges on the image.
intshowEdgesFound;//If TRUE, the function overlays the locations of the edges found on the image.
intshowResult;//If TRUE, the function overlays the hit lines to the object and the edge used to generate the hit line on the result image.
RGBValuesearchAreaColor;//Specifies the RGB color value to use to overlay the search area.
RGBValuesearchLinesColor;//Specifies the RGB color value to use to overlay the search lines.
RGBValuesearchEdgesColor;//Specifies the RGB color value to use to overlay the search edges.
RGBValueresultColor;//Specifies the RGB color value to use to overlay the results.
char*overlayGroupName;//Specifies the overlay group name to assign to the overlays.
EdgeOptions2edgeOptions;//Specifies the edge detection options along a single search line.
}FindEdgeOptions2;
typedefstructFindEdgeReport_struct{
StraightEdge*straightEdges;//An array of straight edges detected.
unsignedintnumStraightEdges;//Indicates the number of straight edges found.
}FindEdgeReport;
typedefstructFindTransformRectOptions2_struct{
FindReferenceDirectiondirection;//Specifies the direction and orientation in which the function searches for the primary axis.
intshowSearchArea;//If TRUE, the function overlays the search area on the image.
intshowSearchLines;//If TRUE, the function overlays the search lines used to locate the edges on the image.
intshowEdgesFound;//If TRUE, the function overlays the locations of the edges found on the image.
intshowResult;//If TRUE, the function overlays the hit lines to the object and the edge used to generate the hit line on the result image.
RGBValuesearchAreaColor;//Specifies the RGB color value to use to overlay the search area.
RGBValuesearchLinesColor;//Specifies the RGB color value to use to overlay the search lines.
RGBValuesearchEdgesColor;//Specifies the RGB color value to use to overlay the search edges.
RGBValueresultColor;//Specifies the RGB color value to use to overlay the results.
char*overlayGroupName;//Specifies the overlay group name to assign to the overlays.
EdgeOptions2edgeOptions;//Specifies the edge detection options along a single search line.
}FindTransformRectOptions2;
typedefstructFindTransformRectsOptions2_struct{
FindReferenceDirectiondirection;//Specifies the direction and orientation in which the function searches for the primary axis.
intshowSearchArea;//If TRUE, the function overlays the search area on the image.
intshowSearchLines;//If TRUE, the function overlays the search lines used to locate the edges on the image.
intshowEdgesFound;//If TRUE, the function overlays the locations of the edges found on the image.
intshowResult;//If TRUE, the function overlays the hit lines to the object and the edge used to generate the hit line on the result image.
RGBValuesearchAreaColor;//Specifies the RGB color value to use to overlay the search area.
RGBValuesearchLinesColor;//Specifies the RGB color value to use to overlay the search lines.
RGBValuesearchEdgesColor;//Specifies the RGB color value to use to overlay the search edges.
RGBValueresultColor;//Specifies the RGB color value to use to overlay the results.
char*overlayGroupName;//Specifies the overlay group name to assign to the overlays.
EdgeOptions2primaryEdgeOptions;//Specifies the parameters used to compute the edge gradient information and detect the edges for the primary ROI.
EdgeOptions2secondaryEdgeOptions;//Specifies the parameters used to compute the edge gradient information and detect the edges for the secondary ROI.
}FindTransformRectsOptions2;
typedefstructReadTextReport3_struct{
constchar*readString;//The read string.
CharReport3*characterReport;//An array of reports describing the properties of each identified character.
intnumCharacterReports;//The number of identified characters.
ROI*roiBoundingCharacters;//An array specifying the coordinates of the character bounding ROI.
}ReadTextReport3;
typedefstructCharacterStatistics_struct{
intleft;//The left offset of the character bounding rectangles in the current ROI.
inttop;//The top offset of the character bounding rectangles in the current ROI.
intwidth;//The width of each of the characters you trained in the current ROI.
intheight;//The height of each trained character in the current ROI.
intcharacterSize;//The size of the character in pixels.
}CharacterStatistics;
typedefstructCharReport3_struct{
constchar*character;//The character value.
intclassificationScore;//The degree to which the assigned character class represents the object better than the other character classes in the character set.
intverificationScore;//The similarity of the character and the reference character for the character class.
intverified;//This element is TRUE if a reference character was found for the character class and FALSE if a reference character was not found.
intlowThreshold;//The minimum value of the threshold range used for this character.
inthighThreshold;//The maximum value of the threshold range used for this character.
CharacterStatisticscharacterStats;//Describes the characters segmented in the ROI.
}CharReport3;
typedefstructArcInfo2_struct{
PointFloatcenter;//The center point of the arc.
doubleradius;//The radius of the arc.
doublestartAngle;//The starting angle of the arc, specified counter-clockwise from the x-axis.
doubleendAngle;//The ending angle of the arc, specified counter-clockwise from the x-axis.
}ArcInfo2;
typedefstructEdgeReport2_struct{
EdgeInfo*edges;//An array of edges detected.
unsignedintnumEdges;//Indicates the number of edges detected.
double*gradientInfo;//An array that contains the calculated edge strengths along the user-defined search area.
unsignedintnumGradientInfo;//Indicates the number of elements contained in gradientInfo.
intcalibrationValid;//Indicates if the calibration data corresponding to the location of the edges is correct.
}EdgeReport2;
typedefstructSearchArcInfo_struct{
ArcInfo2arcCoordinates;//Describes the arc used for edge detection.
EdgeReport2edgeReport;//Describes the edges found in this search line.
}SearchArcInfo;
typedefstructConcentricRakeReport2_struct{
EdgeInfo*firstEdges;//The first edge point detected along each search line in the ROI.
unsignedintnumFirstEdges;//The number of points in the firstEdges array.
EdgeInfo*lastEdges;//The last edge point detected along each search line in the ROI.
unsignedintnumLastEdges;//The number of points in the lastEdges array.
SearchArcInfo*searchArcs;//Contains the arcs used for edge detection and the edge information for each arc.
unsignedintnumSearchArcs;//The number of arcs in the searchArcs array.
}ConcentricRakeReport2;
typedefstructSpokeReport2_struct{
EdgeInfo*firstEdges;//The first edge point detected along each search line in the ROI.
unsignedintnumFirstEdges;//The number of points in the firstEdges array.
EdgeInfo*lastEdges;//The last edge point detected along each search line in the ROI.
unsignedintnumLastEdges;//The number of points in the lastEdges array.
SearchLineInfo*searchLines;//The search lines used for edge detection.
unsignedintnumSearchLines;//The number of search lines used in the edge detection.
}SpokeReport2;
typedefstructEdgeInfo_struct{
PointFloatposition;//The location of the edge in the image.
PointFloatcalibratedPosition;//The position of the edge in the image in real-world coordinates.
doubledistance;//The location of the edge from the first point along the boundary of the input ROI.
doublecalibratedDistance;//The location of the edge from the first point along the boundary of the input ROI in real-world coordinates.
doublemagnitude;//The intensity contrast at the edge.
doublenoisePeak;//The strength of the noise associated with the current edge.
intrising;//Indicates the polarity of the edge.
}EdgeInfo;
typedefstructSearchLineInfo_struct{
LineFloatlineCoordinates;//The endpoints of the search line.
EdgeReport2edgeReport;//Describes the edges found in this search line.
}SearchLineInfo;
typedefstructRakeReport2_struct{
EdgeInfo*firstEdges;//The first edge point detected along each search line in the ROI.
unsignedintnumFirstEdges;//The number of points in the firstEdges array.
EdgeInfo*lastEdges;//The last edge point detected along each search line in the ROI.
unsignedintnumLastEdges;//The number of points in the lastEdges array.
SearchLineInfo*searchLines;//The search lines used for edge detection.
unsignedintnumSearchLines;//The number of search lines used in the edge detection.
}RakeReport2;
typedefstructTransformBehaviors_struct{
GroupBehaviorShiftBehavior;//Specifies the behavior of an overlay group when a shift operation is applied to an image.
GroupBehaviorScaleBehavior;//Specifies the behavior of an overlay group when a scale operation is applied to an image.
GroupBehaviorRotateBehavior;//Specifies the behavior of an overlay group when a rotate operation is applied to an image.
GroupBehaviorSymmetryBehavior;//Specifies the behavior of an overlay group when a symmetry operation is applied to an image.
}TransformBehaviors;
typedefstructQRCodeDataToken_struct{
QRStreamModemode;//Specifies the stream mode or the format of the data that is encoded in the QR code.
unsignedintmodeData;//Indicates specifiers used by the user to postprocess the data if it requires it.
unsignedchar*data;//Shows the encoded data in the QR code.
unsignedintdataLength;//Specifies the length of the data found in the QR code.
}QRCodeDataToken;
typedefstructParticleFilterOptions_struct{
intrejectMatches;//Set this parameter to TRUE to transfer only those particles that do not meet all the criteria.
intrejectBorder;//Set this element to TRUE to reject border particles.
intconnectivity8;//Set this parameter to TRUE to use connectivity-8 to determine whether particles are touching.
}ParticleFilterOptions;
typedefstructStraightEdgeReport2_struct{
StraightEdge*straightEdges;//Contains an array of found straight edges.
unsignedintnumStraightEdges;//Indicates the number of straight edges found.
SearchLineInfo*searchLines;//Contains an array of all search lines used in the detection.
unsignedintnumSearchLines;//The number of search lines used in the edge detection.
}StraightEdgeReport2;
typedefstructStraightEdgeOptions_struct{
unsignedintnumLines;//Specifies the number of straight edges to find.
StraightEdgeSearchModesearchMode;//Specifies the method used to find the straight edge.
doubleminScore;//Specifies the minimum score of a detected straight edge.
doublemaxScore;//Specifies the maximum score of a detected edge.
doubleorientation;//Specifies the angle at which the straight edge is expected to be found.
doubleangleRange;//Specifies the +/- range around the orientation within which the straight edge is expected to be found.
doubleangleTolerance;//Specifies the expected angular accuracy of the straight edge.
unsignedintstepSize;//Specifies the gap in pixels between the search lines used with the rake-based methods.
doubleminSignalToNoiseRatio;//Specifies the minimum signal to noise ratio (SNR) of the edge points used to fit the straight edge.
doubleminCoverage;//Specifies the minimum number of points as a percentage of the number of search lines that need to be included in the detected straight edge.
unsignedinthoughIterations;//Specifies the number of iterations used in the Hough-based method.
}StraightEdgeOptions;
typedefstructStraightEdge_struct{
LineFloatstraightEdgeCoordinates;//End points of the detected straight edge in pixel coordinates.
LineFloatcalibratedStraightEdgeCoordinates;//End points of the detected straight edge in real-world coordinates.
doubleangle;//Angle of the found edge using the pixel coordinates.
doublecalibratedAngle;//Angle of the found edge using the real-world coordinates.
doublescore;//Describes the score of the detected edge.
doublestraightness;//The straightness value of the detected straight edge.
doubleaverageSignalToNoiseRatio;//Describes the average signal to noise ratio (SNR) of the detected edge.
intcalibrationValid;//Indicates if the calibration data for the straight edge is valid.
EdgeInfo*usedEdges;//An array of edges that were used to determine this straight line.
unsignedintnumUsedEdges;//Indicates the number of edges in the usedEdges array.
}StraightEdge;
typedefstructQRCodeSearchOptions_struct{
QRRotationModerotationMode;//Specifies the amount of QR code rotation the function should allow for.
unsignedintskipLocation;//If set to TRUE, specifies that the function should assume that the QR code occupies the entire image (or the entire search region).
unsignedintedgeThreshold;//The strength of the weakest edge the function uses to find the coarse location of the QR code in the image.
QRDemodulationModedemodulationMode;//The demodulation mode the function uses to locate the QR code.
QRCellSampleSizecellSampleSize;//The cell sample size the function uses to locate the QR code.
QRCellFilterModecellFilterMode;//The cell filter mode the function uses to locate the QR code.
unsignedintskewDegreesAllowed;//Specifies the amount of skew in the QR code the function should allow for.
}QRCodeSearchOptions;
typedefstructQRCodeSizeOptions_struct{
unsignedintminSize;//Specifies the minimum size (in pixels) of the QR code in the image.
unsignedintmaxSize;//Specifies the maximum size (in pixels) of the QR code in the image.
}QRCodeSizeOptions;
typedefstructQRCodeDescriptionOptions_struct{
QRDimensionsdimensions;//The number of rows and columns that are populated for the QR code, measured in cells.
QRPolaritiespolarity;//The polarity of the QR code.
QRMirrorModemirror;//This element is TRUE if the QR code appears mirrored in the image and FALSE if the QR code appears normally in the image.
QRModelTypemodelType;//This option allows you to specify the type of QR code.
}QRCodeDescriptionOptions;
typedefstructQRCodeReport_struct{
unsignedintfound;//This element is TRUE if the function located and decoded a QR code and FALSE if the function failed to locate and decode a QR code.
unsignedchar*data;//The data encoded in the QR code.
unsignedintdataLength;//The length of the data array.
PointFloatboundingBox[4];//An array of four points describing the rectangle surrounding the QR code.
QRCodeDataToken*tokenizedData;//Contains the data tokenized in exactly the way it was encoded in the code.
unsignedintsizeOfTokenizedData;//Size of the tokenized data.
unsignedintnumErrorsCorrected;//The number of errors the function corrected when decoding the QR code.
unsignedintdimensions;//The number of rows and columns that are populated for the QR code, measured in cells.
unsignedintversion;//The version of the QR code.
QRModelTypemodelType;//This option allows you to specify what type of QR code this is.
QRStreamModestreamMode;//The format of the data encoded in the stream.
QRPolaritiesmatrixPolarity;//The polarity of the QR code.
unsignedintmirrored;//This element is TRUE if the QR code appears mirrored in the image and FALSE if the QR code appears normally in the image.
unsignedintpositionInAppendStream;//Indicates what position the QR code is in with respect to the stream of data in all codes.
unsignedintsizeOfAppendStream;//Specifies how many QR codes are part of a larger array of codes.
intfirstEAN128ApplicationID;//The first EAN-128 Application ID encountered in the stream.
intfirstECIDesignator;//The first Regional Language Designator encountered in the stream.
unsignedintappendStreamIdentifier;//Specifies what stream the QR code is in relation to when the code is part of a larger array of codes.
unsignedintminimumEdgeStrength;//The strength of the weakest edge the function used to find the coarse location of the QR code in the image.
QRDemodulationModedemodulationMode;//The demodulation mode the function used to locate the QR code.
QRCellSampleSizecellSampleSize;//The cell sample size the function used to locate the QR code.
QRCellFilterModecellFilterMode;//The cell filter mode the function used to locate the QR code.
}QRCodeReport;
typedefstructAIMGradeReport_struct{
AIMGradeoverallGrade;//The overall letter grade, which is equal to the lowest of the other five letter grades.
AIMGradedecodingGrade;//The letter grade assigned to a Data Matrix barcode based on the success of the function in decoding the Data Matrix barcode.
AIMGradesymbolContrastGrade;//The letter grade assigned to a Data Matrix barcode based on the symbol contrast raw score.
floatsymbolContrast;//The symbol contrast raw score representing the percentage difference between the mean of the reflectance of the darkest 10 percent and lightest 10 percent of the Data Matrix barcode.
AIMGradeprintGrowthGrade;//The print growth letter grade for the Data Matrix barcode.
floatprintGrowth;//The print growth raw score for the barcode, which is based on the extent to which dark or light markings appropriately fill their module boundaries.
AIMGradeaxialNonuniformityGrade;//The axial nonuniformity grade for the Data Matrix barcode.
floataxialNonuniformity;//The axial nonuniformity raw score for the barcode, which is based on how much the sampling point spacing differs from one axis to another.
AIMGradeunusedErrorCorrectionGrade;//The unused error correction letter grade for the Data Matrix barcode.
floatunusedErrorCorrection;//The unused error correction raw score for the Data Matrix barcode, which is based on the extent to which regional or spot damage in the Data Matrix barcode has eroded the reading safety margin provided by the error correction.
}AIMGradeReport;
typedefstructDataMatrixSizeOptions_struct{
unsignedintminSize;//Specifies the minimum size (in pixels) of the Data Matrix barcode in the image.
unsignedintmaxSize;//Specifies the maximum size (in pixels) of the Data Matrix barcode in the image.
unsignedintquietZoneWidth;//Specifies the expected minimum size of the quiet zone, in pixels.
}DataMatrixSizeOptions;
typedefstructDataMatrixDescriptionOptions_struct{
floataspectRatio;//Specifies the ratio of the width of each Data Matrix barcode cell (in pixels) to the height of the Data Matrix barcode (in pixels).
unsignedintrows;//Specifies the number of rows in the Data Matrix barcode.
unsignedintcolumns;//Specifies the number of columns in the Data Matrix barcode.
intrectangle;//Set this element to TRUE to specify that the Data Matrix barcode is rectangular.
DataMatrixECCecc;//Specifies the ECC used for this Data Matrix barcode.
DataMatrixPolaritypolarity;//Specifies the data-to-background contrast for the Data Matrix barcode.
DataMatrixCellFillModecellFill;//Specifies the fill percentage for a cell of the Data Matrix barcode that is in the "ON" state.
floatminBorderIntegrity;//Specifies the minimum percentage of the border (locator pattern and timing pattern) the function should expect in the Data Matrix barcode.
DataMatrixMirrorModemirrorMode;//Specifies if the Data Matrix barcode appears normally in the image or if the barcode appears mirrored in the image.
}DataMatrixDescriptionOptions;
typedefstructDataMatrixSearchOptions_struct{
DataMatrixRotationModerotationMode;//Specifies the amount of Data Matrix barcode rotation the function should allow for.
intskipLocation;//If set to TRUE, specifies that the function should assume that the Data Matrix barcode occupies the entire image (or the entire search region).
unsignedintedgeThreshold;//Specifies the minimum contrast a pixel must have in order to be considered part of a matrix cell edge.
DataMatrixDemodulationModedemodulationMode;//Specifies the mode the function should use to demodulate (determine which cells are on and which cells are off) the Data Matrix barcode.
DataMatrixCellSampleSizecellSampleSize;//Specifies the sample size, in pixels, the function should take to determine if each cell is on or off.
DataMatrixCellFilterModecellFilterMode;//Specifies the mode the function uses to determine the pixel value for each cell.
unsignedintskewDegreesAllowed;//Specifies the amount of skew in the Data Matrix barcode the function should allow for.
unsignedintmaxIterations;//Specifies the maximum number of iterations before the function stops looking for the Data Matrix barcode.
unsignedintinitialSearchVectorWidth;//Specifies the number of pixels the function should average together to determine the location of an edge.
}DataMatrixSearchOptions;
typedefstructDataMatrixReport_struct{
intfound;//This element is TRUE if the function located and decoded a Data Matrix barcode and FALSE if the function failed to locate and decode a Data Matrix barcode.
intbinary;//This element is TRUE if the Data Matrix barcode contains binary data and FALSE if the Data Matrix barcode contains text data.
unsignedchar*data;//The data encoded in the Data Matrix barcode.
unsignedintdataLength;//The length of the data array.
PointFloatboundingBox[4];//An array of four points describing the rectangle surrounding the Data Matrix barcode.
unsignedintnumErrorsCorrected;//The number of errors the function corrected when decoding the Data Matrix barcode.
unsignedintnumErasuresCorrected;//The number of erasures the function corrected when decoding the Data Matrix barcode.
floataspectRatio;//Specifies the aspect ratio of the Data Matrix barcode in the image, which equals the ratio of the width of a Data Matrix barcode cell (in pixels) to the height of a Data Matrix barcode cell (in pixels).
unsignedintrows;//The number of rows in the Data Matrix barcode.
unsignedintcolumns;//The number of columns in the Data Matrix barcode.
DataMatrixECCecc;//The Error Correction Code (ECC) used by the Data Matrix barcode.
DataMatrixPolaritypolarity;//The polarity of the Data Matrix barcode.
DataMatrixCellFillModecellFill;//The cell fill percentage of the Data Matrix barcode.
floatborderIntegrity;//The percentage of the Data Matrix barcode border that appears correctly in the image.
intmirrored;//This element is TRUE if the Data Matrix barcode appears mirrored in the image and FALSE if the Data Matrix barcode appears normally in the image.
unsignedintminimumEdgeStrength;//The strength of the weakest edge the function used to find the coarse location of the Data Matrix barcode in the image.
DataMatrixDemodulationModedemodulationMode;//The demodulation mode the function used to locate the Data Matrix barcode.
DataMatrixCellSampleSizecellSampleSize;//The cell sample size the function used to locate the Data Matrix barcode.
DataMatrixCellFilterModecellFilterMode;//The cell filter mode the function used to locate the Data Matrix barcode.
unsignedintiterations;//The number of iterations the function took in attempting to locate the Data Matrix barcode.
}DataMatrixReport;
typedefstructJPEG2000FileAdvancedOptions_struct{
WaveletTransformModewaveletMode;//Determines which wavelet transform to use when writing the file.
intuseMultiComponentTransform;//Set this parameter to TRUE to use an additional transform on RGB images.
unsignedintmaxWaveletTransformLevel;//Specifies the maximum allowed level of wavelet transform.
floatquantizationStepSize;//Specifies the absolute base quantization step size for derived quantization mode.
intminFeaturesUsed;//Specifies the minimum number of features the function uses when matching.
intmaxFeaturesUsed;//Specifies the maximum number of features the function uses when matching.
intsubpixelIterations;//Specifies the maximum number of incremental improvements used to refine matches with subpixel information.
doublesubpixelTolerance;//Specifies the maximum amount of change, in pixels, between consecutive incremental improvements in the match position before the function stops refining the match position.
intinitialMatchListLength;//Specifies the maximum size of the match list.
floatmatchTemplateCurveScore;//Set this element to TRUE to specify that the function should calculate the match curve to template curve score and return it for each match result.
intcorrelationScore;//Set this element to TRUE to specify that the function should calculate the correlation score and return it for each match result.
doubleminMatchSeparationDistance;//Specifies the minimum separation distance, in pixels, between the origins of two matches that have unique positions.
doubleminMatchSeparationAngle;//Specifies the minimum angular difference, in degrees, between two matches that have unique angles.
doubleminMatchSeparationScale;//Specifies the minimum difference in scale, expressed as a percentage, between two matches that have unique scales.
doublemaxMatchOverlap;//Specifies the maximum amount of overlap, expressed as a percentage, allowed between the bounding rectangles of two unique matches.
intcoarseResult;//Specifies whether you want the function to spend less time accurately estimating the location of a match.
intsmoothContours;//Set this element to TRUE to specify smoothing be done on the contours of the inspection image before feature extraction.
intenableCalibrationSupport;//Set this element to TRUE to specify the algorithm treat the inspection image as a calibrated image.
}MatchGeometricPatternAdvancedOptions2;
typedefstructInspectionAlignment_struct{
PointFloatposition;//The location of the center of the golden template in the image under inspection.
floatrotation;//The rotation of the golden template in the image under inspection, in degrees.
floatscale;//The percentage of the size of the area under inspection compared to the size of the golden template.
}InspectionAlignment;
typedefstructInspectionOptions_struct{
RegistrationMethodregistrationMethod;//Specifies how the function registers the golden template and the target image.
NormalizationMethodnormalizationMethod;//Specifies how the function normalizes the golden template to the target image.
intedgeThicknessToIgnore;//Specifies desired thickness of edges to be ignored.
floatbrightThreshold;//Specifies the threshold for areas where the target image is brighter than the golden template.
floatdarkThreshold;//Specifies the threshold for areas where the target image is darker than the golden template.
intbinary;//Specifies whether the function should return a binary image giving the location of defects, or a grayscale image giving the intensity of defects.
}InspectionOptions;
typedefstructCharReport2_struct{
constchar*character;//The character value.
PointFloatcorner[4];//An array of four points that describes the rectangle that surrounds the character.
intlowThreshold;//The minimum value of the threshold range used for this character.
inthighThreshold;//The maximum value of the threshold range used for this character.
intclassificationScore;//The degree to which the assigned character class represents the object better than the other character classes in the character set.
intverificationScore;//The similarity of the character and the reference character for the character class.
intverified;//This element is TRUE if a reference character was found for the character class and FALSE if a reference character was not found.
}CharReport2;
typedefstructCharInfo2_struct{
constchar*charValue;//Retrieves the character value of the corresponding character in the character set.
constImage*charImage;//The image you used to train this character.
constImage*internalImage;//The internal representation that NI Vision uses to match objects to this character.
intisReferenceChar;//This element is TRUE if the character is the reference character for the character class.
}CharInfo2;
typedefstructReadTextReport2_struct{
constchar*readString;//The read string.
CharReport2*characterReport;//An array of reports describing the properties of each identified character.
intnumCharacterReports;//The number of identified characters.
}ReadTextReport2;
typedefstructEllipseFeature_struct{
PointFloatposition;//The location of the center of the ellipse.
doublerotation;//The orientation of the semi-major axis of the ellipse with respect to the horizontal.
doubleminorRadius;//The length of the semi-minor axis of the ellipse.
doublemajorRadius;//The length of the semi-major axis of the ellipse.
}EllipseFeature;
typedefstructCircleFeature_struct{
PointFloatposition;//The location of the center of the circle.
doubleradius;//The radius of the circle.
}CircleFeature;
typedefstructConstCurveFeature_struct{
PointFloatposition;//The center of the circle that this constant curve lies upon.
doubleradius;//The radius of the circle that this constant curve lies upon.
doublestartAngle;//When traveling along the constant curve from one endpoint to the next in a counterclockwise manner, this is the angular component of the vector originating at the center of the constant curve and pointing towards the first endpoint of the constant curve.
doubleendAngle;//When traveling along the constant curve from one endpoint to the next in a counterclockwise manner, this is the angular component of the vector originating at the center of the constant curve and pointing towards the second endpoint of the constant curve.
}ConstCurveFeature;
typedefstructRectangleFeature_struct{
PointFloatposition;//The center of the rectangle.
PointFloatcorner[4];//The four corners of the rectangle.
doublerotation;//The orientation of the rectangle with respect to the horizontal.
doublewidth;//The width of the rectangle.
doubleheight;//The height of the rectangle.
}RectangleFeature;
typedefstructLegFeature_struct{
PointFloatposition;//The location of the leg feature.
PointFloatcorner[4];//The four corners of the leg feature.
doublerotation;//The orientation of the leg with respect to the horizontal.
doublewidth;//The width of the leg.
doubleheight;//The height of the leg.
}LegFeature;
typedefstructCornerFeature_struct{
PointFloatposition;//The location of the corner feature.
doublerotation;//The angular component of the vector bisecting the corner from position.
doubleenclosedAngle;//The measure of the enclosed angle of the corner.
intisVirtual;
}CornerFeature;
typedefstructLineFeature_struct{
PointFloatstartPoint;//The starting point of the line.
PointFloatendPoint;//The ending point of the line.
doublelength;//The length of the line measured in pixels from the start point to the end point.
doublerotation;//The orientation of the line with respect to the horizontal.
}LineFeature;
typedefstructParallelLinePairFeature_struct{
PointFloatfirstStartPoint;//The starting point of the first line of the pair.
PointFloatfirstEndPoint;//The ending point of the first line of the pair.
PointFloatsecondStartPoint;//The starting point of the second line of the pair.
PointFloatsecondEndPoint;//The ending point of the second line of the pair.
doublerotation;//The orientation of the feature with respect to the horizontal.
doubledistance;//The distance from the first line to the second line.
ParallelLinePairFeaturefirstParallelLinePair;//The first parallel line pair.
ParallelLinePairFeaturesecondParallelLinePair;//The second parallel line pair.
doublerotation;//The orientation of the feature with respect to the horizontal.
doubledistance;//The distance from the midline of the first parallel line pair to the midline of the second parallel line pair.
}PairOfParallelLinePairsFeature;
typedefunionGeometricFeature_union{
CircleFeature*circle;//A pointer to a CircleFeature.
EllipseFeature*ellipse;//A pointer to an EllipseFeature.
ConstCurveFeature*constCurve;//A pointer to a ConstCurveFeature.
RectangleFeature*rectangle;//A pointer to a RectangleFeature.
LegFeature*leg;//A pointer to a LegFeature.
CornerFeature*corner;//A pointer to a CornerFeature.
ParallelLinePairFeature*parallelLinePair;//A pointer to a ParallelLinePairFeature.
PairOfParallelLinePairsFeature*pairOfParallelLinePairs;//A pointer to a PairOfParallelLinePairsFeature.
LineFeature*line;//A pointer to a LineFeature.
ClosedCurveFeature*closedCurve;//A pointer to a ClosedCurveFeature.
}GeometricFeature;
typedefstructFeatureData_struct{
FeatureTypetype;//An enumeration representing the type of the feature.
PointFloat*contourPoints;//A set of points describing the contour of the feature.
intnumContourPoints;//The number of points in the contourPoints array.
GeometricFeaturefeature;//The feature data specific to this type of feature.
}FeatureData;
typedefstructGeometricPatternMatch2_struct{
PointFloatposition;//The location of the origin of the template in the match.
floatrotation;//The rotation of the match relative to the template image, in degrees.
floatscale;//The size of the match relative to the size of the template image, expressed as a percentage.
floatscore;//The accuracy of the match.
PointFloatcorner[4];//An array of four points describing the rectangle surrounding the template image.
intinverse;//This element is TRUE if the match is an inverse of the template image.
floatocclusion;//The percentage of the match that is occluded.
floattemplateMatchCurveScore;//The accuracy of the match obtained by comparing the template curves to the curves in the match region.
floatmatchTemplateCurveScore;//The accuracy of the match obtained by comparing the curves in the match region to the template curves.
floatcorrelationScore;//The accuracy of the match obtained by comparing the template image to the match region using a correlation metric that compares the two regions as a function of their pixel values.
String255label;//The label corresponding to this match when the match is returned by imaqMatchMultipleGeometricPatterns().
FeatureData*featureData;//The features used in this match.
intnumFeatureData;//The size of the featureData array.
PointFloatcalibratedPosition;//The location of the origin of the template in the match.
floatcalibratedRotation;//The rotation of the match relative to the template image, in degrees.
PointFloatcalibratedCorner[4];//An array of four points describing the rectangle surrounding the template image.
}GeometricPatternMatch2;
typedefstructClosedCurveFeature_struct{
PointFloatposition;//The center of the closed curve feature.
doublearcLength;//The arc length of the closed curve feature.
}ClosedCurveFeature;
typedefstructLineMatch_struct{
PointFloatstartPoint;//The starting point of the matched line.
PointFloatendPoint;//The ending point of the matched line.
doublelength;//The length of the line measured in pixels from the start point to the end point.
doublerotation;//The orientation of the matched line.
doublescore;//The score of the matched line.
}LineMatch;
typedefstructLineDescriptor_struct{
doubleminLength;//Specifies the minimum length of a line the function will return.
doublemaxLength;//Specifies the maximum length of a line the function will return.
}LineDescriptor;
typedefstructRectangleDescriptor_struct{
doubleminWidth;//Specifies the minimum width of a rectangle the algorithm will return.
doublemaxWidth;//Specifies the maximum width of a rectangle the algorithm will return.
doubleminHeight;//Specifies the minimum height of a rectangle the algorithm will return.
doublemaxHeight;//Specifies the maximum height of a rectangle the algorithm will return.
}RectangleDescriptor;
typedefstructRectangleMatch_struct{
PointFloatcorner[4];//The corners of the matched rectangle.
doublerotation;//The orientation of the matched rectangle.
doublewidth;//The width of the matched rectangle.
doubleheight;//The height of the matched rectangle.
doublescore;//The score of the matched rectangle.
}RectangleMatch;
typedefstructEllipseDescriptor_struct{
doubleminMajorRadius;//Specifies the minimum length of the semi-major axis of an ellipse the function will return.
doublemaxMajorRadius;//Specifies the maximum length of the semi-major axis of an ellipse the function will return.
doubleminMinorRadius;//Specifies the minimum length of the semi-minor axis of an ellipse the function will return.
doublemaxMinorRadius;//Specifies the maximum length of the semi-minor axis of an ellipse the function will return.
}EllipseDescriptor;
typedefstructEllipseMatch_struct{
PointFloatposition;//The location of the center of the matched ellipse.
doublerotation;//The orientation of the matched ellipse.
doublemajorRadius;//The length of the semi-major axis of the matched ellipse.
doubleminorRadius;//The length of the semi-minor axis of the matched ellipse.
doublescore;//The score of the matched ellipse.
}EllipseMatch;
typedefstructCircleMatch_struct{
PointFloatposition;//The location of the center of the matched circle.
doubleradius;//The radius of the matched circle.
doublescore;//The score of the matched circle.
}CircleMatch;
typedefstructCircleDescriptor_struct{
doubleminRadius;//Specifies the minimum radius of a circle the function will return.
doublemaxRadius;//Specifies the maximum radius of a circle the function will return.
}CircleDescriptor;
typedefstructShapeDetectionOptions_struct{
unsignedintmode;//Specifies the method used when looking for the shape in the image.
RangeFloat*angleRanges;//An array of angle ranges, in degrees, where each range specifies how much you expect the shape to be rotated in the image.
intnumAngleRanges;//The size of the orientationRanges array.
RangeFloatscaleRange;//A range that specifies the sizes of the shapes you expect to be in the image, expressed as a ratio percentage representing the size of the pattern in the image divided by size of the original pattern multiplied by 100.
doubleminMatchScore;
}ShapeDetectionOptions;
typedefstructCurve_struct{
PointFloat*points;//The points on the curve.
unsignedintnumPoints;//The number of points in the curve.
intclosed;//This element is TRUE if the curve is closed and FALSE if the curve is open.
doublecurveLength;//The length of the curve.
doubleminEdgeStrength;//The lowest edge strength detected on the curve.
doublemaxEdgeStrength;//The highest edge strength detected on the curve.
doubleaverageEdgeStrength;//The average of all edge strengths detected on the curve.
}Curve;
typedefstructCurveOptions_struct{
ExtractionModeextractionMode;//Specifies the method the function uses to identify curves in the image.
intthreshold;//Specifies the minimum contrast a seed point must have in order to begin a curve.
EdgeFilterSizefilterSize;//Specifies the width of the edge filter the function uses to identify curves in the image.
intminLength;//Specifies the length, in pixels, of the smallest curve the function will extract.
introwStepSize;//Specifies the distance, in the y direction, between lines the function inspects for curve seed points.
intcolumnStepSize;//Specifies the distance, in the x direction, between columns the function inspects for curve seed points.
intmaxEndPointGap;//Specifies the maximum gap, in pixels, between the endpoints of a curve that the function identifies as a closed curve.
intonlyClosed;//Set this element to TRUE to specify that the function should only identify closed curves in the image.
intsubpixelAccuracy;//Set this element to TRUE to specify that the function identifies the location of curves with subpixel accuracy by interpolating between points to find the crossing of threshold.
}CurveOptions;
typedefstructBarcode2DInfo_struct{
Barcode2DTypetype;//The type of the 2D barcode.
intbinary;//This element is TRUE if the 2D barcode contains binary data and FALSE if the 2D barcode contains text data.
unsignedchar*data;//The data encoded in the 2D barcode.
unsignedintdataLength;//The length of the data array.
PointFloatboundingBox[4];//An array of four points describing the rectangle surrounding the 2D barcode.
unsignedintnumErrorsCorrected;//The number of errors the function corrected when decoding the 2D barcode.
unsignedintnumErasuresCorrected;//The number of erasures the function corrected when decoding the 2D barcode.
unsignedintrows;//The number of rows in the 2D barcode.
unsignedintcolumns;//The number of columns in the 2D barcode.
}Barcode2DInfo;
typedefstructDataMatrixOptions_struct{
Barcode2DSearchModesearchMode;//Specifies the mode the function uses to search for barcodes.
Barcode2DContrastcontrast;//Specifies the contrast of the barcodes that the function searches for.
Barcode2DCellShapecellShape;//Specifies the shape of the barcode data cells, which affects how the function decodes the barcode.
Barcode2DShapebarcodeShape;//Specifies the shape of the barcodes that the function searches for.
DataMatrixSubtypesubtype;//Specifies the Data Matrix subtypes of the barcodes that the function searches for.
}DataMatrixOptions;
typedefstructClassifierAccuracyReport_struct{
intsize;//The size of the arrays in this structure.
floataccuracy;//The overall accuracy of the classifier, from 0 to 1000.
char**classNames;//The names of the classes of this classifier.
double*classAccuracy;//An array of size elements that contains accuracy information for each class.
double*classPredictiveValue;//An array containing size elements that contains the predictive values of each class.
int**classificationDistribution;//A two-dimensional array containing information about how the classifier classifies its samples.
}ClassifierAccuracyReport;
typedefstructNearestNeighborClassResult_struct{
char*className;//The name of the class.
floatstandardDeviation;//The standard deviation of the members of this class.
intmanualThreshold;//Set this element to TRUE to specify the threshold range manually.
RangeFloatmanualThresholdRange;//If a manual threshold is being done, the range of pixels to keep.
ThresholdMethodautoThresholdMethod;//If an automatic threshold is being done, the method used to calculate the threshold range.
RangeFloatlimits;//The limits on the automatic threshold range.
ParticleTypeparticleType;//Specifies what kind of particles to look for.
intrejectBorder;//Set this element to TRUE to reject border particles.
intnumErosions;//The number of erosions to perform.
}ParticleClassifierPreprocessingOptions;
typedefstructClassifierSampleInfo_struct{
char*className;//The name of the class this sample is in.
double*featureVector;//The feature vector of this sample, or NULL if this is not a custom classifier session.
intfeatureVectorSize;//The number of elements in the feature vector.
Image*thumbnail;//A thumbnail image of this sample, or NULL if no image was specified.
}ClassifierSampleInfo;
typedefstructClassScore_struct{
char*className;//The name of the class.
floatdistance;//The distance from the item to this class.
}ClassScore;
typedefstructClassifierReport_struct{
char*bestClassName;//The name of the best class for the sample.
floatclassificationScore;//The similarity of the sample and the two closest classes in the classifier.
floatidentificationScore;//The similarity of the sample and the assigned class.
ClassScore*allScores;//All classes and their scores.
intallScoresSize;//The number of entries in allScores.
}ClassifierReport;
typedefstructNearestNeighborOptions_struct{
NearestNeighborMethodmethod;//The method to use.
NearestNeighborMetricmetric;//The metric to use.
intk;//The value of k, if the IMAQ_K_NEAREST_NEIGHBOR method is used.
}NearestNeighborOptions;
typedefstructParticleClassifierOptions_struct{
floatscaleDependence;//The relative importance of scale when classifying particles.
floatmirrorDependence;//The relative importance of mirror symmetry when classifying particles.
}ParticleClassifierOptions;
typedefstructRGBU64Value_struct{
unsignedshortB;//The blue value of the color.
unsignedshortG;//The green value of the color.
unsignedshortR;//The red value of the color.
unsignedshortalpha;//The alpha value of the color, which represents extra information about a color image, such as gamma correction.
}RGBU64Value;
typedefstructGeometricPatternMatch_struct{
PointFloatposition;//The location of the origin of the template in the match.
floatrotation;//The rotation of the match relative to the template image, in degrees.
floatscale;//The size of the match relative to the size of the template image, expressed as a percentage.
floatscore;//The accuracy of the match.
PointFloatcorner[4];//An array of four points describing the rectangle surrounding the template image.
intinverse;//This element is TRUE if the match is an inverse of the template image.
floatocclusion;//The percentage of the match that is occluded.
floattemplateMatchCurveScore;//The accuracy of the match obtained by comparing the template curves to the curves in the match region.
floatmatchTemplateCurveScore;//The accuracy of the match obtained by comparing the curves in the match region to the template curves.
floatcorrelationScore;//The accuracy of the match obtained by comparing the template image to the match region using a correlation metric that compares the two regions as a function of their pixel values.
intminFeaturesUsed;//Specifies the minimum number of features the function uses when matching.
intmaxFeaturesUsed;//Specifies the maximum number of features the function uses when matching.
intsubpixelIterations;//Specifies the maximum number of incremental improvements used to refine matches with subpixel information.
doublesubpixelTolerance;//Specifies the maximum amount of change, in pixels, between consecutive incremental improvements in the match position before the function stops refining the match position.
intinitialMatchListLength;//Specifies the maximum size of the match list.
intmatchTemplateCurveScore;//Set this element to TRUE to specify that the function should calculate the match curve to template curve score and return it for each match result.
intcorrelationScore;//Set this element to TRUE to specify that the function should calculate the correlation score and return it for each match result.
doubleminMatchSeparationDistance;//Specifies the minimum separation distance, in pixels, between the origins of two matches that have unique positions.
doubleminMatchSeparationAngle;//Specifies the minimum angular difference, in degrees, between two matches that have unique angles.
doubleminMatchSeparationScale;//Specifies the minimum difference in scale, expressed as a percentage, between two matches that have unique scales.
doublemaxMatchOverlap;//Specifies the maximum amount of overlap, expressed as a percentage, allowed between the bounding rectangles of two unique matches.
intcoarseResult;//Specifies whether you want the function to spend less time accurately estimating the location of a match.
}MatchGeometricPatternAdvancedOptions;
typedefstructMatchGeometricPatternOptions_struct{
unsignedintmode;//Specifies the method imaqMatchGeometricPattern() uses when looking for the pattern in the image.
intsubpixelAccuracy;//Set this element to TRUE to specify that the function should calculate match locations with subpixel accuracy.
RangeFloat*angleRanges;//An array of angle ranges, in degrees, where each range specifies how much you expect the template to be rotated in the image.
intnumAngleRanges;//Number of angle ranges in the angleRanges array.
RangeFloatscaleRange;//A range that specifies the sizes of the pattern you expect to be in the image, expressed as a ratio percentage representing the size of the pattern in the image divided by size of the original pattern multiplied by 100.
RangeFloatocclusionRange;//A range that specifies the percentage of the pattern you expect to be occluded in the image.
intnumMatchesRequested;//Number of valid matches expected.
floatminMatchScore;//The minimum score a match can have for the function to consider the match valid.
intminRectLength;//Specifies the minimum length for each side of a rectangular feature.
doubleminRectAspectRatio;//Specifies the minimum aspect ratio of a rectangular feature.
intminRadius;//Specifies the minimum radius for a circular feature.
intminLineLength;//Specifies the minimum length for a linear feature.
doubleminFeatureStrength;//Specifies the minimum strength for a feature.
intmaxFeaturesUsed;//Specifies the maximum number of features the function uses when learning.
intmaxPixelDistanceFromLine;//Specifies the maximum number of pixels between an edge pixel and a linear feature for the function to consider that edge pixel as part of the linear feature.
}LearnGeometricPatternAdvancedOptions;
typedefstructFitEllipseOptions_struct{
intrejectOutliers;//Whether to use every given point or only a subset of the points to fit the ellipse.
doubleminScore;//Specifies the required quality of the fitted ellipse.
doublepixelRadius;//The acceptable distance, in pixels, that a point determined to belong to the ellipse can be from the circumference of the ellipse.
intmaxIterations;//Specifies the number of refinement iterations you allow the function to perform on the initial subset of points.
}FitEllipseOptions;
typedefstructFitCircleOptions_struct{
intrejectOutliers;//Whether to use every given point or only a subset of the points to fit the circle.
doubleminScore;//Specifies the required quality of the fitted circle.
doublepixelRadius;//The acceptable distance, in pixels, that a point determined to belong to the circle can be from the circumference of the circle.
intmaxIterations;//Specifies the number of refinement iterations you allow the function to perform on the initial subset of points.
}FitCircleOptions;
typedefstructConstructROIOptions2_struct{
intwindowNumber;//The window number of the image window.
constchar*windowTitle;//Specifies the message string that the function displays in the title bar of the window.
PaletteTypetype;//The palette type to use.
RGBValue*palette;//If type is IMAQ_PALETTE_USER, this array is the palette of colors to use with the window.
intnumColors;//If type is IMAQ_PALETTE_USER, this element is the number of colors in the palette array.
unsignedintmaxContours;//The maximum number of contours the user will be able to select.
}ConstructROIOptions2;
typedefstructHSLValue_struct{
unsignedcharL;//The color luminance.
unsignedcharS;//The color saturation.
unsignedcharH;//The color hue.
unsignedcharalpha;//The alpha value of the color, which represents extra information about a color image, such as gamma correction.
}HSLValue;
typedefstructHSVValue_struct{
unsignedcharV;//The color value.
unsignedcharS;//The color saturation.
unsignedcharH;//The color hue.
unsignedcharalpha;//The alpha value of the color, which represents extra information about a color image, such as gamma correction.
}HSVValue;
typedefstructHSIValue_struct{
unsignedcharI;//The color intensity.
unsignedcharS;//The color saturation.
unsignedcharH;//The color hue.
unsignedcharalpha;//The alpha value of the color, which represents extra information about a color image, such as gamma correction.
}HSIValue;
typedefstructCIELabValue_struct{
doubleb;//The yellow/blue information of the color.
doublea;//The red/green information of the color.
doubleL;//The color lightness.
unsignedcharalpha;//The alpha value of the color, which represents extra information about a color image, such as gamma correction.
}CIELabValue;
typedefstructCIEXYZValue_struct{
doubleZ;//The Z color information.
doubleY;//The color luminance.
doubleX;//The X color information.
unsignedcharalpha;//The alpha value of the color, which represents extra information about a color image, such as gamma correction.
}CIEXYZValue;
typedefunionColor2_union{
RGBValuergb;//The information needed to describe a color in the RGB (Red, Green, and Blue) color space.
HSLValuehsl;//The information needed to describe a color in the HSL (Hue, Saturation, and Luminance) color space.
HSVValuehsv;//The information needed to describe a color in the HSI (Hue, Saturation, and Value) color space.
HSIValuehsi;//The information needed to describe a color in the HSI (Hue, Saturation, and Intensity) color space.
CIELabValuecieLab;//The information needed to describe a color in the CIE L*a*b* (L, a, b) color space.
CIEXYZValuecieXYZ;//The information needed to describe a color in the CIE XYZ (X, Y, Z) color space.
intrawValue;//The integer value for the data in the color union.
}Color2;
typedefstructBestEllipse2_struct{
PointFloatcenter;//The coordinate location of the center of the ellipse.
PointFloatmajorAxisStart;//The coordinate location of the start of the major axis of the ellipse.
PointFloatmajorAxisEnd;//The coordinate location of the end of the major axis of the ellipse.
PointFloatminorAxisStart;//The coordinate location of the start of the minor axis of the ellipse.
PointFloatminorAxisEnd;//The coordinate location of the end of the minor axis of the ellipse.
doublearea;//The area of the ellipse.
doubleperimeter;//The length of the perimeter of the ellipse.
doubleerror;//Represents the least square error of the fitted ellipse to the entire set of points.
intvalid;//This element is TRUE if the function achieved the minimum score within the number of allowed refinement iterations and FALSE if the function did not achieve the minimum score.
int*pointsUsed;//An array of the indexes for the points array indicating which points the function used to fit the ellipse.
intnumPointsUsed;//The number of points the function used to fit the ellipse.
}BestEllipse2;
typedefstructLearnPatternAdvancedOptions_struct{
LearnPatternAdvancedShiftOptions*shiftOptions;//Use this element to control the behavior of imaqLearnPattern2() during the shift-invariant learning phase.
LearnPatternAdvancedRotationOptions*rotationOptions;//Use this element to control the behavior of imaqLearnPattern2()during the rotation-invariant learning phase.
}LearnPatternAdvancedOptions;
typedefstructAVIInfo_struct{
unsignedintwidth;//The width of each frame.
unsignedintheight;//The height of each frame.
ImageTypeimageType;//The type of images this AVI contains.
unsignedintnumFrames;//The number of frames in the AVI.
unsignedintframesPerSecond;//The number of frames per second this AVI should be shown at.
char*filterName;//The name of the compression filter used to create this AVI.
inthasData;//Specifies whether this AVI has data attached to each frame or not.
unsignedintmaxDataSize;//If this AVI has data, the maximum size of the data in each frame.
intinitialStepSize;//The largest number of image pixels to shift the sample across the inspection image during the initial phase of shift-invariant matching.
intinitialSampleSize;//Specifies the number of template pixels that you want to include in a sample for the initial phase of shift-invariant matching.
doubleinitialSampleSizeFactor;//Specifies the size of the sample for the initial phase of shift-invariant matching as a percent of the template size, in pixels.
intfinalSampleSize;//Specifies the number of template pixels you want to add to initialSampleSize for the final phase of shift-invariant matching.
doublefinalSampleSizeFactor;//Specifies the size of the sample for the final phase of shift-invariant matching as a percent of the edge points in the template, in pixels.
intsubpixelSampleSize;//Specifies the number of template pixels that you want to include in a sample for the subpixel phase of shift-invariant matching.
doublesubpixelSampleSizeFactor;//Specifies the size of the sample for the subpixel phase of shift-invariant matching as a percent of the template size, in pixels.
SearchStrategysearchStrategySupport;//Specifies the aggressiveness of the rotation search strategy available during the matching phase.
intinitialStepSize;//The largest number of image pixels to shift the sample across the inspection image during the initial phase of matching.
intinitialSampleSize;//Specifies the number of template pixels that you want to include in a sample for the initial phase of rotation-invariant matching.
doubleinitialSampleSizeFactor;//Specifies the size of the sample for the initial phase of rotation-invariant matching as a percent of the template size, in pixels.
intinitialAngularAccuracy;//Sets the angle accuracy, in degrees, to use during the initial phase of rotation-invariant matching.
intfinalSampleSize;//Specifies the number of template pixels you want to add to initialSampleSize for the final phase of rotation-invariant matching.
doublefinalSampleSizeFactor;//Specifies the size of the sample for the final phase of rotation-invariant matching as a percent of the edge points in the template, in pixels.
intfinalAngularAccuracy;//Sets the angle accuracy, in degrees, to use during the final phase of the rotation-invariant matching.
intsubpixelSampleSize;//Specifies the number of template pixels that you want to include in a sample for the subpixel phase of rotation-invariant matching.
doublesubpixelSampleSizeFactor;//Specifies the size of the sample for the subpixel phase of rotation-invariant matching as a percent of the template size, in pixels.
}LearnPatternAdvancedRotationOptions;
typedefstructMatchPatternAdvancedOptions_struct{
intsubpixelIterations;//Defines the maximum number of incremental improvements used to refine matching using subpixel information.
doublesubpixelTolerance;//Defines the maximum amount of change, in pixels, between consecutive incremental improvements in the match position that you want to trigger the end of the refinement process.
intinitialMatchListLength;//Specifies the maximum size of the match list.
intmatchListReductionFactor;//Specifies the reduction of the match list as matches are refined.
intinitialStepSize;//Specifies the number of pixels to shift the sample across the inspection image during the initial phase of shift-invariant matching.
SearchStrategysearchStrategy;//Specifies the aggressiveness of the rotation search strategy.
intintermediateAngularAccuracy;//Specifies the accuracy to use during the intermediate phase of rotation-invariant matching.
}MatchPatternAdvancedOptions;
typedefstructParticleFilterCriteria2_struct{
MeasurementTypeparameter;//The morphological measurement that the function uses for filtering.
floatlower;//The lower bound of the criteria range.
floatupper;//The upper bound of the criteria range.
intcalibrated;//Set this element to TRUE to take calibrated measurements.
intexclude;//Set this element to TRUE to indicate that a match occurs when the measurement is outside the criteria range.
}ParticleFilterCriteria2;
typedefstructBestCircle2_struct{
PointFloatcenter;//The coordinate location of the center of the circle.
doubleradius;//The radius of the circle.
doublearea;//The area of the circle.
doubleperimeter;//The length of the perimeter of the circle.
doubleerror;//Represents the least square error of the fitted circle to the entire set of points.
intvalid;//This element is TRUE if the function achieved the minimum score within the number of allowed refinement iterations and FALSE if the function did not achieve the minimum score.
int*pointsUsed;//An array of the indexes for the points array indicating which points the function used to fit the circle.
intnumPointsUsed;//The number of points the function used to fit the circle.
}BestCircle2;
typedefstructOCRSpacingOptions_struct{
intminCharSpacing;//The minimum number of pixels that must be between two characters for NI Vision to train or read the characters separately.
intminCharSize;//The minimum number of pixels required for an object to be a potentially identifiable character.
intmaxCharSize;//The maximum number of pixels required for an object to be a potentially identifiable character.
intmaxHorizontalElementSpacing;//The maximum horizontal spacing, in pixels, allowed between character elements to train or read the character elements as a single character.
intmaxVerticalElementSpacing;//The maximum vertical element spacing in pixels.
intminBoundingRectWidth;//The minimum possible width, in pixels, for a character bounding rectangle.
intmaxBoundingRectWidth;//The maximum possible width, in pixels, for a character bounding rectangle.
intminBoundingRectHeight;//The minimum possible height, in pixels, for a character bounding rectangle.
intmaxBoundingRectHeight;//The maximum possible height, in pixels, for a character bounding rectangle.
intautoSplit;//Set this element to TRUE to automatically adjust the location of the character bounding rectangle when characters overlap vertically.
}OCRSpacingOptions;
typedefstructOCRProcessingOptions_struct{
ThresholdModemode;//The thresholding mode.
intlowThreshold;//The low threshold value when you set mode to IMAQ_FIXED_RANGE.
inthighThreshold;//The high threshold value when you set mode to IMAQ_FIXED_RANGE.
intblockCount;//The number of blocks for threshold calculation algorithms that require blocks.
intfastThreshold;//Set this element to TRUE to use a faster, less accurate threshold calculation algorithm.
intbiModalCalculation;//Set this element to TRUE to calculate both the low and high threshold values when using the fast thresholding method.
intdarkCharacters;//Set this element to TRUE to read or train dark characters on a light background.
intremoveParticlesTouchingROI;//Set this element to TRUE to remove the particles touching the ROI.
interosionCount;//The number of erosions to perform.
}OCRProcessingOptions;
typedefstructReadTextOptions_struct{
String255validChars[255];//An array of strings that specifies the valid characters.
intnumValidChars;//The number of strings in the validChars array that you have initialized.
charsubstitutionChar;//The character to substitute for objects that the function cannot match with any of the trained characters.
ReadStrategyreadStrategy;//The read strategy, which determines how closely the function analyzes images in the reading process to match objects with trained characters.
intacceptanceLevel;//The minimum acceptance level at which an object is considered a trained character.
intaspectRatio;//The maximum aspect ratio variance percentage for valid characters.
ReadResolutionreadResolution;//The read resolution, which determines how much of the trained character data the function uses to match objects to trained characters.
}ReadTextOptions;
typedefstructCharInfo_struct{
constchar*charValue;//Retrieves the character value of the corresponding character in the character set.
constImage*charImage;//The image you used to train this character.
constImage*internalImage;//The internal representation that NI Vision uses to match objects to this character.
Pointcenter;//The coordinate location of the center of the annulus.
intinnerRadius;//The internal radius of the annulus.
intouterRadius;//The external radius of the annulus.
doublestartAngle;//The start angle, in degrees, of the annulus.
doubleendAngle;//The end angle, in degrees, of the annulus.
}Annulus;
typedefstructEdgeLocationReport_struct{
PointFloat*edges;//The coordinate location of all edges detected by the search line.
intnumEdges;//The number of points in the edges array.
}EdgeLocationReport;
typedefstructEdgeOptions_struct{
unsignedthreshold;//Specifies the threshold value for the contrast of the edge.
unsignedwidth;//The number of pixels that the function averages to find the contrast at either side of the edge.
unsignedsteepness;//The span, in pixels, of the slope of the edge projected along the path specified by the input points.
InterpolationMethodsubpixelType;//The method for interpolating.
unsignedsubpixelDivisions;//The number of samples the function obtains from a pixel.
}EdgeOptions;
typedefstructEdgeReport_struct{
floatlocation;//The location of the edge from the first point in the points array.
floatcontrast;//The contrast at the edge.
PolarityTypepolarity;//The polarity of the edge.
floatreserved;//This element is reserved.
PointFloatcoordinate;//The coordinates of the edge.
}EdgeReport;
typedefstructExtremeReport_struct{
doublelocation;//The locations of the extreme.
doubleamplitude;//The amplitude of the extreme.
doublesecondDerivative;//The second derivative of the extreme.
}ExtremeReport;
typedefstructFitLineOptions_struct{
floatminScore;//Specifies the required quality of the fitted line.
floatpixelRadius;//Specifies the neighborhood pixel relationship for the initial subset of points being used.
intnumRefinements;//Specifies the number of refinement iterations you allow the function to perform on the initial subset of points.
}FitLineOptions;
typedefstructDisplayMapping_struct{
MappingMethodmethod;//Describes the method for converting 16-bit pixels to 8-bit pixels.
intminimumValue;//When method is IMAQ_RANGE, minimumValue represents the value that is mapped to 0.
intmaximumValue;//When method is IMAQ_RANGE, maximumValue represents the value that is mapped to 255.
intshiftCount;//When method is IMAQ_DOWNSHIFT, shiftCount represents the number of bits the function right-shifts the 16-bit pixel values.
}DisplayMapping;
typedefstructDetectExtremesOptions_struct{
doublethreshold;//Defines which extremes are too small.
intwidth;//Specifies the number of consecutive data points the function uses in the quadratic least-squares fit.
}DetectExtremesOptions;
typedefstructImageInfo_struct{
CalibrationUnitimageUnit;//If you set calibration information with imaqSetSimpleCalibrationInfo(), imageUnit is the calibration unit.
floatstepX;//If you set calibration information with imaqSetCalibrationInfo(), stepX is the distance in the calibration unit between two pixels in the x direction.
floatstepY;//If you set calibration information with imaqSetCalibrationInfo(), stepY is the distance in the calibration unit between two pixels in the y direction.
ImageTypeimageType;//The type of the image.
intxRes;//The number of columns in the image.
intyRes;//The number of rows in the image.
intxOffset;//If you set mask offset information with imaqSetMaskOffset(), xOffset is the offset of the mask origin in the x direction.
intyOffset;//If you set mask offset information with imaqSetMaskOffset(), yOffset is the offset of the mask origin in the y direction.
intborder;//The number of border pixels around the image.
intpixelsPerLine;//The number of pixels stored for each line of the image.
void*reserved0;//This element is reserved.
void*reserved1;//This element is reserved.
void*imageStart;//A pointer to pixel (0,0).
}ImageInfo;
typedefstructLCDOptions_struct{
intlitSegments;//Set this parameter to TRUE if the segments are brighter than the background.
floatthreshold;//Determines whether a segment is ON or OFF.
intsign;//Indicates whether the function must read the sign of the indicator.
intdecimalPoint;//Determines whether to look for a decimal separator after each digit.
}LCDOptions;
typedefstructLCDReport_struct{
constchar*text;//A string of the characters of the LCD.
LCDSegments*segmentInfo;//An array of LCDSegment structures describing which segments of each digit are on.
intnumCharacters;//The number of characters that the function reads.
intreserved;//This element is reserved.
}LCDReport;
typedefstructLCDSegments_struct{
unsigneda:1;//True if the a segment is on.
unsignedb:1;//True if the b segment is on.
unsignedc:1;//True if the c segment is on.
unsignedd:1;//True if the d segment is on.
unsignede:1;//True if the e segment is on.
unsignedf:1;//True if the f segment is on.
unsignedg:1;//True if the g segment is on.
unsignedreserved:25;//This element is reserved.
}LCDSegments;
typedefstructLearnCalibrationOptions_struct{
CalibrationModemode;//Specifies the type of algorithm you want to use to reduce distortion in your image.
ScalingMethodmethod;//Defines the scaling method correction functions use to correct the image.
CalibrationROIroi;//Specifies the ROI correction functions use when correcting an image.
intlearnMap;//Set this element to TRUE if you want the function to calculate and store an error map during the learning process.
intlearnTable;//Set this element to TRUE if you want the function to calculate and store the correction table.
}LearnCalibrationOptions;
typedefstructLearnColorPatternOptions_struct{
LearningModelearnMode;//Specifies the invariance mode the function uses when learning the pattern.
ImageFeatureModefeatureMode;//Specifies the features the function uses when learning the color pattern.
intthreshold;//Specifies the saturation threshold the function uses to distinguish between two colors that have the same hue values.
ColorIgnoreModeignoreMode;//Specifies whether the function excludes certain colors from the color features of the template image.
ColorInformation*colorsToIgnore;//An array of ColorInformation structures providing a set of colors to exclude from the color features of the template image.
intnumColorsToIgnore;//The number of ColorInformation structures in the colorsToIgnore array.
}LearnColorPatternOptions;
typedefstructLine_struct{
Pointstart;//The coordinate location of the start of the line.
Pointend;//The coordinate location of the end of the line.
}Line;
typedefstructLinearAverages_struct{
float*columnAverages;//An array containing the mean pixel value of each column.
intcolumnCount;//The number of elements in the columnAverages array.
float*rowAverages;//An array containing the mean pixel value of each row.
introwCount;//The number of elements in the rowAverages array.
float*risingDiagAverages;//An array containing the mean pixel value of each diagonal running from the lower left to the upper right of the inspected area of the image.
intrisingDiagCount;//The number of elements in the risingDiagAverages array.
float*fallingDiagAverages;//An array containing the mean pixel value of each diagonal running from the upper left to the lower right of the inspected area of the image.
intfallingDiagCount;//The number of elements in the fallingDiagAverages array.
}LinearAverages;
typedefstructLineProfile_struct{
float*profileData;//An array containing the value of each pixel in the line.
RectboundingBox;//The bounding rectangle of the line.
floatmin;//The smallest pixel value in the line profile.
floatmax;//The largest pixel value in the line profile.
floatmean;//The mean value of the pixels in the line profile.
floatstdDev;//The standard deviation of the line profile.
intdataCount;//The size of the profileData array.
}LineProfile;
typedefstructMatchColorPatternOptions_struct{
MatchingModematchMode;//Specifies the method to use when looking for the color pattern in the image.
ImageFeatureModefeatureMode;//Specifies the features to use when looking for the color pattern in the image.
intminContrast;//Specifies the minimum contrast expected in the image.
intsubpixelAccuracy;//Set this parameter to TRUE to return areas in the image that match the pattern area with subpixel accuracy.
RotationAngleRange*angleRanges;//An array of angle ranges, in degrees, where each range specifies how much you expect the pattern to be rotated in the image.
intnumRanges;//Number of angle ranges in the angleRanges array.
doublecolorWeight;//Determines the percent contribution of the color score to the final color pattern matching score.
ColorSensitivitysensitivity;//Specifies the sensitivity of the color information in the image.
SearchStrategystrategy;//Specifies how the color features of the image are used during the search phase.
intnumMatchesRequested;//Number of valid matches expected.
floatminMatchScore;//The minimum score a match can have for the function to consider the match valid.
}MatchColorPatternOptions;
typedefstructHistogramReport_struct{
int*histogram;//An array describing the number of pixels that fell into each class.
inthistogramCount;//The number of elements in the histogram array.
floatmin;//The smallest pixel value that the function classified.
floatmax;//The largest pixel value that the function classified.
floatstart;//The smallest pixel value that fell into the first class.
floatwidth;//The size of each class.
floatmean;//The mean value of the pixels that the function classified.
floatstdDev;//The standard deviation of the pixels that the function classified.
intnumPixels;//The number of pixels that the function classified.
}HistogramReport;
typedefstructArcInfo_struct{
RectboundingBox;//The coordinate location of the bounding box of the arc.
doublestartAngle;//The counterclockwise angle from the x-axis in degrees to the start of the arc.
doubleendAngle;//The counterclockwise angle from the x-axis in degrees to the end of the arc.
}ArcInfo;
typedefstructAxisReport_struct{
PointFloatorigin;//The origin of the coordinate system, which is the intersection of the two axes of the coordinate system.
PointFloatmainAxisEnd;//The end of the main axis, which is the result of the computation of the intersection of the main axis with the rectangular search area.
PointFloatsecondaryAxisEnd;//The end of the secondary axis, which is the result of the computation of the intersection of the secondary axis with the rectangular search area.
}AxisReport;
typedefstructBarcodeInfo_struct{
constchar*outputString;//A string containing the decoded barcode data.
intsize;//The size of the output string.
charoutputChar1;//The contents of this character depend on the barcode type.
charoutputChar2;//The contents of this character depend on the barcode type.
doubleconfidenceLevel;//A quality measure of the decoded barcode ranging from 0 to 100, with 100 being the best.
BarcodeTypetype;//The type of barcode.
}BarcodeInfo;
typedefstructBCGOptions_struct{
floatbrightness;//Adjusts the brightness of the image.
floatcontrast;//Adjusts the contrast of the image.
floatgamma;//Performs gamma correction.
}BCGOptions;
typedefstructBestCircle_struct{
PointFloatcenter;//The coordinate location of the center of the circle.
doubleradius;//The radius of the circle.
doublearea;//The area of the circle.
doubleperimeter;//The length of the perimeter of the circle.
doubleerror;//Represents the least square error of the fitted circle to the entire set of points.
}BestCircle;
typedefstructBestEllipse_struct{
PointFloatcenter;//The coordinate location of the center of the ellipse.
PointFloatmajorAxisStart;//The coordinate location of the start of the major axis of the ellipse.
PointFloatmajorAxisEnd;//The coordinate location of the end of the major axis of the ellipse.
PointFloatminorAxisStart;//The coordinate location of the start of the minor axis of the ellipse.
PointFloatminorAxisEnd;//The coordinate location of the end of the minor axis of the ellipse.
doublearea;//The area of the ellipse.
doubleperimeter;//The length of the perimeter of the ellipse.
}BestEllipse;
typedefstructBestLine_struct{
PointFloatstart;//The coordinate location of the start of the line.
PointFloatend;//The coordinate location of the end of the line.
LineEquationequation;//Defines the three coefficients of the equation of the best fit line.
intvalid;//This element is TRUE if the function achieved the minimum score within the number of allowed refinement iterations and FALSE if the function did not achieve the minimum score.
doubleerror;//Represents the least square error of the fitted line to the entire set of points.
int*pointsUsed;//An array of the indexes for the points array indicating which points the function used to fit the line.
intnumPointsUsed;//The number of points the function used to fit the line.
}BestLine;
typedefstructBrowserOptions_struct{
intwidth;//The width to make the browser.
intheight;//The height to make the browser image.
intimagesPerLine;//The number of images to place on a single line.
RGBValuebackgroundColor;//The background color of the browser.
intframeSize;//Specifies the number of pixels with which to border each thumbnail.
BrowserFrameStylestyle;//The style for the frame around each thumbnail.
floatratio;//Specifies the width to height ratio of each thumbnail.
RGBValuefocusColor;//The color to use to display focused cells.
}BrowserOptions;
typedefstructCoordinateSystem_struct{
PointFloatorigin;//The origin of the coordinate system.
floatangle;//The angle, in degrees, of the x-axis of the coordinate system relative to the image x-axis.
AxisOrientationaxisOrientation;//The direction of the y-axis of the coordinate reference system.
}CoordinateSystem;
typedefstructCalibrationInfo_struct{
float*errorMap;//The error map for the calibration.
intmapColumns;//The number of columns in the error map.
intmapRows;//The number of rows in the error map.
ROI*userRoi;//Specifies the ROI the user provided when learning the calibration.
ROI*calibrationRoi;//Specifies the ROI that corresponds to the region of the image where the calibration information is accurate.
LearnCalibrationOptionsoptions;//Specifies the calibration options the user provided when learning the calibration.
GridDescriptorgrid;//Specifies the scaling constants for the image.
CoordinateSystemsystem;//Specifies the coordinate system for the real world coordinates.
RangeFloatrange;//The range of the grayscale the function used to represent the circles in the grid image.
floatquality;//The quality score of the learning process, which is a value between 0-1000.
}CalibrationInfo;
typedefstructCalibrationPoints_struct{
PointFloat*pixelCoordinates;//The array of pixel coordinates.
PointFloat*realWorldCoordinates;//The array of corresponding real-world coordinates.
intnumCoordinates;//The number of coordinates in both of the arrays.
}CalibrationPoints;
typedefstructCaliperOptions_struct{
TwoEdgePolarityTypepolarity;//Specifies the edge polarity of the edge pairs.
floatseparation;//The distance between edge pairs.
floatseparationDeviation;//Sets the range around the separation value.
}CaliperOptions;
typedefstructCaliperReport_struct{
floatedge1Contrast;//The contrast of the first edge.
PointFloatedge1Coord;//The coordinates of the first edge.
floatedge2Contrast;//The contrast of the second edge.
PointFloatedge2Coord;//The coordinates of the second edge.
floatseparation;//The distance between the two edges.
floatreserved;//This element is reserved.
}CaliperReport;
typedefstructDrawTextOptions_struct{
charfontName[32];//The font name to use.
intfontSize;//The size of the font.
intbold;//Set this parameter to TRUE to bold text.
intitalic;//Set this parameter to TRUE to italicize text.
intunderline;//Set this parameter to TRUE to underline text.
intstrikeout;//Set this parameter to TRUE to strikeout text.
TextAlignmenttextAlignment;//Sets the alignment of text.
FontColorfontColor;//Sets the font color.
}DrawTextOptions;
typedefstructCircleReport_struct{
Pointcenter;//The coordinate point of the center of the circle.
intradius;//The radius of the circle, in pixels.
intarea;//The area of the circle, in pixels.
}CircleReport;
typedefstructClosedContour_struct{
Point*points;//The points that make up the closed contour.
intnumPoints;//The number of points in the array.
}ClosedContour;
typedefstructColorHistogramReport_struct{
HistogramReportplane1;//The histogram report of the first color plane.
HistogramReportplane2;//The histogram report of the second plane.
HistogramReportplane3;//The histogram report of the third plane.
}ColorHistogramReport;
typedefstructColorInformation_struct{
intinfoCount;//The size of the info array.
intsaturation;//The saturation level the function uses to learn the color information.
double*info;//An array of color information that represents the color spectrum analysis of a region of an image in a compact form.
}ColorInformation;
typedefstructComplex_struct{
floatr;//The real part of the value.
floati;//The imaginary part of the value.
}Complex;
typedefstructConcentricRakeReport_struct{
ArcInfo*rakeArcs;//An array containing the location of each concentric arc line used for edge detection.
intnumArcs;//The number of arc lines in the rakeArcs array.
PointFloat*firstEdges;//The coordinate location of all edges detected as first edges.
intnumFirstEdges;//The number of points in the first edges array.
PointFloat*lastEdges;//The coordinate location of all edges detected as last edges.
intnumLastEdges;//The number of points in the last edges array.
EdgeLocationReport*allEdges;//An array of reports describing the location of the edges located by each concentric rake arc line.
int*linesWithEdges;//An array of indices into the rakeArcs array indicating the concentric rake arc lines on which the function detected at least one edge.
intnumLinesWithEdges;//The number of concentric rake arc lines along which the function detected edges.
}ConcentricRakeReport;
typedefstructConstructROIOptions_struct{
intwindowNumber;//The window number of the image window.
constchar*windowTitle;//Specifies the message string that the function displays in the title bar of the window.
PaletteTypetype;//The palette type to use.
RGBValue*palette;//If type is IMAQ_PALETTE_USER, this array is the palette of colors to use with the window.
intnumColors;//If type is IMAQ_PALETTE_USER, this element is the number of colors in the palette array.
}ConstructROIOptions;
typedefstructContourInfo_struct{
ContourTypetype;//The contour type.
unsignednumPoints;//The number of points that make up the contour.
Point*points;//The points describing the contour.
RGBValuecontourColor;//The contour color.
}ContourInfo;
typedefunionContourUnion_union{
Point*point;//Use this member when the contour is of type IMAQ_POINT.
Line*line;//Use this member when the contour is of type IMAQ_LINE.
Rect*rect;//Use this member when the contour is of type IMAQ_RECT.
Rect*ovalBoundingBox;//Use this member when the contour is of type IMAQ_OVAL.
ClosedContour*closedContour;//Use this member when the contour is of type IMAQ_CLOSED_CONTOUR.
OpenContour*openContour;//Use this member when the contour is of type IMAQ_OPEN_CONTOUR.
Annulus*annulus;//Use this member when the contour is of type IMAQ_ANNULUS.
RotatedRect*rotatedRect;//Use this member when the contour is of type IMAQ_ROTATED_RECT.
}ContourUnion;
typedefstructContourInfo2_struct{
ContourTypetype;//The contour type.
RGBValuecolor;//The contour color.
ContourUnionstructure;//The information necessary to describe the contour in coordinate space.
}ContourInfo2;
typedefstructContourPoint_struct{
doublex;//The x-coordinate value in the image.
doubley;//The y-coordinate value in the image.
doublecurvature;//The change in slope at this edge point of the segment.
doublexDisplacement;//The x displacement of the current edge pixel from a cubic spline fit of the current edge segment.
doubleyDisplacement;//The y displacement of the current edge pixel from a cubic spline fit of the current edge segment.
}ContourPoint;
typedefstructCoordinateTransform_struct{
PointinitialOrigin;//The origin of the initial coordinate system.
floatinitialAngle;//The angle, in degrees, of the x-axis of the initial coordinate system relative to the image x-axis.
PointfinalOrigin;//The origin of the final coordinate system.
floatfinalAngle;//The angle, in degrees, of the x-axis of the final coordinate system relative to the image x-axis.
}CoordinateTransform;
typedefstructCoordinateTransform2_struct{
CoordinateSystemreferenceSystem;//Defines the coordinate system for input coordinates.
CoordinateSystemmeasurementSystem;//Defines the coordinate system in which the function should perform measurements.
}CoordinateTransform2;
typedefstructCannyOptions_struct{
floatsigma;//The sigma of the Gaussian smoothing filter that the function applies to the image before edge detection.
floatupperThreshold;//The upper fraction of pixel values in the image from which the function chooses a seed or starting point of an edge segment.
floatlowerThreshold;//The function multiplies this value by upperThreshold to determine the lower threshold for all the pixels in an edge segment.
intwindowSize;//The window size of the Gaussian filter that the function applies to the image.
}CannyOptions;
typedefstructRange_struct{
intminValue;//The minimum value of the range.
intmaxValue;//The maximum value of the range.
}Range;
typedefstructUserPointSymbol_struct{
intcols;//Number of columns in the symbol.
introws;//Number of rows in the symbol.
int*pixels;//The pixels of the symbol.
}UserPointSymbol;
typedefstructView3DOptions_struct{
intsizeReduction;//A divisor the function uses when determining the final height and width of the 3D image.
intmaxHeight;//Defines the maximum height of a pixel from the image source drawn in 3D.
Direction3Ddirection;//Defines the 3D orientation.
floatalpha;//Determines the angle between the horizontal and the baseline.
floatbeta;//Determines the angle between the horizontal and the second baseline.
intborder;//Defines the border size.
intbackground;//Defines the background color.
Plane3Dplane;//Indicates the view a function uses to show complex images.
}View3DOptions;
typedefstructMatchPatternOptions_struct{
MatchingModemode;//Specifies the method to use when looking for the pattern in the image.
intminContrast;//Specifies the minimum contrast expected in the image.
intsubpixelAccuracy;//Set this element to TRUE to return areas in the image that match the pattern area with subpixel accuracy.
RotationAngleRange*angleRanges;//An array of angle ranges, in degrees, where each range specifies how much you expect the pattern to be rotated in the image.
intnumRanges;//Number of angle ranges in the angleRanges array.
intnumMatchesRequested;//Number of valid matches expected.
intmatchFactor;//Controls the number of potential matches that the function examines.
floatminMatchScore;//The minimum score a match can have for the function to consider the match valid.
}MatchPatternOptions;
typedefstructTIFFFileOptions_struct{
introwsPerStrip;//Indicates the number of rows that the function writes per strip.
PhotometricModephotoInterp;//Designates which photometric interpretation to use.
TIFFCompressionTypecompressionType;//Indicates the type of compression to use on the TIFF file.
}TIFFFileOptions;
typedefunionColor_union{
RGBValuergb;//The information needed to describe a color in the RGB (Red, Green, and Blue) color space.
HSLValuehsl;//The information needed to describe a color in the HSL (Hue, Saturation, and Luminance) color space.
HSVValuehsv;//The information needed to describe a color in the HSI (Hue, Saturation, and Value) color space.
HSIValuehsi;//The information needed to describe a color in the HSI (Hue, Saturation, and Intensity) color space.
intrawValue;//The integer value for the data in the color union.
Point*points;//The points that make up the open contour.
intnumPoints;//The number of points in the array.
}OpenContour;
typedefstructOverlayTextOptions_struct{
constchar*fontName;//The name of the font to use.
intfontSize;//The size of the font.
intbold;//Set this element to TRUE to bold the text.
intitalic;//Set this element to TRUE to italicize the text.
intunderline;//Set this element to TRUE to underline the text.
intstrikeout;//Set this element to TRUE to strikeout the text.
TextAlignmenthorizontalTextAlignment;//Sets the alignment of the text.
VerticalTextAlignmentverticalTextAlignment;//Sets the vertical alignment for the text.
RGBValuebackgroundColor;//Sets the color for the text background pixels.
doubleangle;//The counterclockwise angle, in degrees, of the text relative to the x-axis.
}OverlayTextOptions;
typedefstructParticleFilterCriteria_struct{
MeasurementValueparameter;//The morphological measurement that the function uses for filtering.
floatlower;//The lower bound of the criteria range.
floatupper;//The upper bound of the criteria range.
intexclude;//Set this element to TRUE to indicate that a match occurs when the value is outside the criteria range.
}ParticleFilterCriteria;
typedefstructParticleReport_struct{
intarea;//The number of pixels in the particle.
floatcalibratedArea;//The size of the particle, calibrated to the calibration information of the image.
floatperimeter;//The length of the perimeter, calibrated to the calibration information of the image.
intnumHoles;//The number of holes in the particle.
intareaOfHoles;//The total surface area, in pixels, of all the holes in a particle.
floatperimeterOfHoles;//The length of the perimeter of all the holes in the particle calibrated to the calibration information of the image.
RectboundingBox;//The smallest rectangle that encloses the particle.
floatsigmaX;//The sum of the particle pixels on the x-axis.
floatsigmaY;//The sum of the particle pixels on the y-axis.
floatsigmaXX;//The sum of the particle pixels on the x-axis, squared.
floatsigmaYY;//The sum of the particle pixels on the y-axis, squared.
floatsigmaXY;//The sum of the particle pixels on the x-axis and y-axis.
intlongestLength;//The length of the longest horizontal line segment.
PointlongestPoint;//The location of the leftmost pixel of the longest segment in the particle.
intprojectionX;//The length of the particle when projected onto the x-axis.
intprojectionY;//The length of the particle when projected onto the y-axis.
intconnect8;//This element is TRUE if the function used connectivity-8 to determine if particles are touching.
}ParticleReport;
typedefstructPatternMatch_struct{
PointFloatposition;//The location of the center of the match.
floatrotation;//The rotation of the match relative to the template image, in degrees.
floatscale;//The size of the match relative to the size of the template image, expressed as a percentage.
floatscore;//The accuracy of the match.
PointFloatcorner[4];//An array of four points describing the rectangle surrounding the template image.
}PatternMatch;
typedefstructQuantifyData_struct{
floatmean;//The mean value of the pixel values.
floatstdDev;//The standard deviation of the pixel values.
floatmin;//The smallest pixel value.
floatmax;//The largest pixel value.
floatcalibratedArea;//The area, calibrated to the calibration information of the image.
intpixelArea;//The area, in number of pixels.
floatrelativeSize;//The proportion, expressed as a percentage, of the associated region relative to the whole image.
}QuantifyData;
typedefstructQuantifyReport_struct{
QuantifyDataglobal;//Statistical data of the whole image.
QuantifyData*regions;//An array of QuantifyData structures containing statistical data of each region of the image.
intregionCount;//The number of regions.
}QuantifyReport;
typedefstructRakeOptions_struct{
intthreshold;//Specifies the threshold value for the contrast of the edge.
intwidth;//The number of pixels that the function averages to find the contrast at either side of the edge.
intsteepness;//The span, in pixels, of the slope of the edge projected along the path specified by the input points.
intsubsamplingRatio;//Specifies the number of pixels that separate two consecutive search lines.
InterpolationMethodsubpixelType;//The method for interpolating.
intsubpixelDivisions;//The number of samples the function obtains from a pixel.
}RakeOptions;
typedefstructRakeReport_struct{
LineFloat*rakeLines;//The coordinate location of each of the rake lines used by the function.
intnumRakeLines;//The number of lines in the rakeLines array.
PointFloat*firstEdges;//The coordinate location of all edges detected as first edges.
unsignedintnumFirstEdges;//The number of points in the firstEdges array.
PointFloat*lastEdges;//The coordinate location of all edges detected as last edges.
unsignedintnumLastEdges;//The number of points in the lastEdges array.
EdgeLocationReport*allEdges;//An array of reports describing the location of the edges located by each rake line.
int*linesWithEdges;//An array of indices into the rakeLines array indicating the rake lines on which the function detected at least one edge.
intnumLinesWithEdges;//The number of rake lines along which the function detected edges.
}RakeReport;
typedefstructTransformReport_struct{
PointFloat*points;//An array of transformed coordinates.
int*validPoints;//An array of values that describe the validity of each of the coordinates according to the region of interest you calibrated using either imaqLearnCalibrationGrid() or imaqLearnCalibrationPoints().
intnumPoints;//The length of both the points array and the validPoints array.
}TransformReport;
typedefstructShapeReport_struct{
Rectcoordinates;//The bounding rectangle of the object.
Pointcentroid;//The coordinate location of the centroid of the object.
intsize;//The size, in pixels, of the object.
doublescore;//A value ranging between 1 and 1,000 that specifies how similar the object in the image is to the template.
}ShapeReport;
typedefstructMeterArc_struct{
PointFloatneedleBase;//The coordinate location of the base of the meter needle.
PointFloat*arcCoordPoints;//An array of points describing the coordinate location of the meter arc.
intnumOfArcCoordPoints;//The number of points in the arcCoordPoints array.
intneedleColor;//This element is TRUE when the meter has a light-colored needle on a dark background.
}MeterArc;
typedefstructThresholdData_struct{
floatrangeMin;//The lower boundary of the range to keep.
floatrangeMax;//The upper boundary of the range to keep.
floatnewValue;//If useNewValue is TRUE, newValue is the replacement value for pixels within the range.
intuseNewValue;//If TRUE, the function sets pixel values within [rangeMin, rangeMax] to the value specified in newValue.
}ThresholdData;
typedefstructStructuringElement_struct{
intmatrixCols;//Number of columns in the matrix.
intmatrixRows;//Number of rows in the matrix.
inthexa;//Set this element to TRUE if you specify a hexagonal structuring element in kernel.
int*kernel;//The values of the structuring element.
}StructuringElement;
typedefstructSpokeReport_struct{
LineFloat*spokeLines;//The coordinate location of each of the spoke lines used by the function.
intnumSpokeLines;//The number of lines in the spokeLines array.
PointFloat*firstEdges;//The coordinate location of all edges detected as first edges.
intnumFirstEdges;//The number of points in the firstEdges array.
PointFloat*lastEdges;//The coordinate location of all edges detected as last edges.
intnumLastEdges;//The number of points in the lastEdges array.
EdgeLocationReport*allEdges;//An array of reports describing the location of the edges located by each spoke line.
int*linesWithEdges;//An array of indices into the spokeLines array indicating the rake lines on which the function detected at least one edge.
intnumLinesWithEdges;//The number of spoke lines along which the function detects edges.
}SpokeReport;
typedefstructSimpleEdgeOptions_struct{
LevelTypetype;//Determines how the function evaluates the threshold and hysteresis values.
intthreshold;//The pixel value at which an edge occurs.
inthysteresis;//A value that helps determine edges in noisy images.
EdgeProcessprocess;//Determines which edges the function looks for.
intsubpixel;//Set this element to TRUE to find edges with subpixel accuracy by interpolating between points to find the crossing of the given threshold.
}SimpleEdgeOptions;
typedefstructSelectParticleCriteria_struct{
MeasurementValueparameter;//The morphological measurement that the function uses for filtering.
floatlower;//The lower boundary of the criteria range.
floatupper;//The upper boundary of the criteria range.
}SelectParticleCriteria;
typedefstructSegmentInfo_struct{
intnumberOfPoints;//The number of points in the segment.
intisOpen;//If TRUE, the contour is open.
doubleweight;//The significance of the edge in terms of the gray values that constitute the edge.
ContourPoint*points;//The points of the segment.
}SegmentInfo;
typedefstructRotationAngleRange_struct{
floatlower;//The lowest amount of rotation, in degrees, a valid pattern can have.
floatupper;//The highest amount of rotation, in degrees, a valid pattern can have.
}RotationAngleRange;
typedefstructRotatedRect_struct{
inttop;//Location of the top edge of the rectangle before rotation.
intleft;//Location of the left edge of the rectangle before rotation.
intheight;//Height of the rectangle.
intwidth;//Width of the rectangle.
doubleangle;//The rotation, in degrees, of the rectangle.
}RotatedRect;
typedefstructROIProfile_struct{
LineProfilereport;//Quantifying information about the points along the edge of each contour in the ROI.
Point*pixels;//An array of the points along the edge of each contour in the ROI.
}ROIProfile;
typedefstructToolWindowOptions_struct{
intshowSelectionTool;//If TRUE, the selection tool becomes visible.
intshowZoomTool;//If TRUE, the zoom tool becomes visible.
intshowPointTool;//If TRUE, the point tool becomes visible.
intshowLineTool;//If TRUE, the line tool becomes visible.
intshowRectangleTool;//If TRUE, the rectangle tool becomes visible.
intshowOvalTool;//If TRUE, the oval tool becomes visible.
intshowPolygonTool;//If TRUE, the polygon tool becomes visible.
intshowClosedFreehandTool;//If TRUE, the closed freehand tool becomes visible.
intshowPolyLineTool;//If TRUE, the polyline tool becomes visible.
intshowFreehandTool;//If TRUE, the freehand tool becomes visible.
intshowAnnulusTool;//If TRUE, the annulus becomes visible.
intshowRotatedRectangleTool;//If TRUE, the rotated rectangle tool becomes visible.
intshowPanTool;//If TRUE, the pan tool becomes visible.
intshowZoomOutTool;//If TRUE, the zoom out tool becomes visible.
intreserved2;//This element is reserved and should be set to FALSE.
intreserved3;//This element is reserved and should be set to FALSE.
intreserved4;//This element is reserved and should be set to FALSE.
}ToolWindowOptions;
typedefstructSpokeOptions_struct{
intthreshold;//Specifies the threshold value for the contrast of the edge.
intwidth;//The number of pixels that the function averages to find the contrast at either side of the edge.
intsteepness;//The span, in pixels, of the slope of the edge projected along the path specified by the input points.
doublesubsamplingRatio;//The angle, in degrees, between each radial search line in the spoke.
InterpolationMethodsubpixelType;//The method for interpolating.
intsubpixelDivisions;//The number of samples the function obtains from a pixel.