Making Grayscale And Color Measurements; Define Regions Of Interest; Defining Regions Interactively - National Instruments IMAQTM User Manual

Vision for visual basic
Table of Contents

Advertisement

Making Grayscale and Color
Measurements

Define Regions of Interest

Defining Regions Interactively

© National Instruments Corporation
This chapter describes how to take measurements from grayscale and color
images. You can make inspection decisions based on image statistics, such
as the mean intensity level in a region. Based on the image statistics, you
can perform many machine vision inspection tasks on grayscale or color
images, such as detecting the presence or absence of components, detecting
flaws in parts, and comparing a color component with a reference.
Figure 3-1 illustrates the basic steps involved in making grayscale and
color measurements.
Figure 3-1. Steps to Taking Grayscale and Color Measurements
An ROI is an area of an image in which you want to focus the image
analysis. You can define an ROI interactively, programmatically, or with
an image mask.
You can interactively define an ROI in a viewer that displays an image. Use
the tools from the right-click menu to interactively define and manipulate
the ROIs. Table 3-1 describes each of the tools and the manner in which
you use them.
Define Regions of Interest
Measure
Measure
Grayscale Statistics
Color Statistics
3-1
IMAQ Vision for Visual Basic User Manual
3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Imaq

Table of Contents