Measure Color Statistics - National Instruments IMAQTM User Manual

Vision for visual basic
Table of Contents

Advertisement

Measure Color Statistics

© National Instruments Corporation
minimum intensity, and maximum intensity. Use
CWMachineVision.LightMeterRectangle
value statistics within a rectangular region in an image.
Use
CWIMAQVision.Quantify
entire image or individual regions in the image: mean intensity, standard
deviation, minimum intensity, maximum intensity, area, and the percentage
of the image that you analyzed. You can specify regions in the image with
a labeled image mask. A labeled image mask is a binary image that has
been processed so that each region in the image mask has a unique intensity
value. Use
CWIMAQVision.Label2
Use
CWIMAQVision.Centroid2
image, or of a region within an image.
Most image processing and analysis methods apply to 8-bit and 16-bit
images. However, you can analyze and process individual components of a
color image.
Using
CWIMAQVision.ExtractColorPlanes
a color image into various sets of primary components, such as
RGB (Red, Green, and Blue), HSI (Hue, Saturation, and Intensity),
HSL (Hue, Saturation, and Luminance), or HSV (Hue, Saturation, and
Value). Each component becomes an 8-bit or 16-bit image that you can
process like any other grayscale image. Use
CWIMAQVision.ExtractSingleColorPlane
plane from an image. Use
reassemble a color image from a set of three 8-bit or 16-bit images, where
each image becomes one of the three primary components. Figures 3-3
and 3-4 illustrate how a color image breaks down into its three components.
Chapter 3
Making Grayscale and Color Measurements
to obtain the following statistics about the
to label the image mask.
to compute the energy center of the
CWIMAQVision.ReplaceColorPlanes
3-7
IMAQ Vision for Visual Basic User Manual
to get the pixel
, you can break down
to extract a single color
to

Advertisement

Table of Contents
loading

This manual is also suitable for:

Imaq

Table of Contents