The text of a manual · part 31 of 44
EZ Match Imager User Manual, pages 301 to 310
Pages 301 to 310 of 431
The original document is the PDF (3.5 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Microscan EZ Match
Page 301
Camera and IP Setup
Skew Correction The EZ Match Imager’s CMOS image sensor has a “rolling shutter” mechanism that controls pixel integration row-by-row, Full Image Height unlike a global shutter, which performs light integration of all pixels at once. When a row of pixels has integrated light for the Full Image Width amount of time specified by the user-defined shutter speed, that row will be read out. The rows of the image are exposed individually in rapid sequence. As a symbol moves through the field of view, it is in a different position at each row read-out. This creates distortion, or “skew”, as in the image shown below. In this image, the symbol is moving from left to right at a line speed of 40 inches per second. The bottom of the symbol is read out first while the upper portion is still being integrated, causing distortion along the symbol’s x-axis. Note: The amount of blur in the image is an effect of shutter speed, and is not a factor in rolling shutter distortion. If the symbol enters the imager’s field of view from the top or bottom, distortion will occur on the y-axis. The image below shows two symbols entering the field of view from the top at different line speeds. As you can see, this causes the image to shrink along the y-axis. This is because the symbol is moving perpendicular to the CMOS sensor’s row read-out. In other words, the bottom of the symbol is read out first, and as the symbol moves information is lost (the symbol enters pixel rows that have already been processed). This causes the symbol to appear to shrink vertically. Note: If the symbol were to enter the field of view from the bottom, the captured image would be stretched along the y-axis. 10” / sec
16” / sec
Direction of symbol movement
Full Image Width
The amount of rolling shutter distortion depends upon the amount of time it takes to read out an image row, and the line speed at which the target object is traveling. Therefore, one way to reduce skew is to speed up the read-out time per pixel row. This can be accomplished by reducing the column size of the image sensor. For example, if the column size is reduced from 640 to 320, the time it takes to read out a row of pixels from the sensor is reduced by half, and image skew will be reduced by a factor of 2. As the column dimension of the image is reduced, the effect of rolling shutter distortion is reduced by the same factor. Important: Reducing the row size of the image has no effect, because it does not change the row read-out time. Skew will remain the same regardless of row size. EZ Match User Manual
11-31
Page 302
Skew Correction
Line Speed
Usage: Default: Options:
This feature is used to specify the line speed of the application, and it determines how much distortion correction to apply. When enabled, this feature will cause the overall decode rate to increase significantly. The timing information in the table below is for a full megapixel image (1280 x 1024). Note: Processing time decreases with larger image sizes. <K537,line speed,symbol direction> 0 (Disabled) 0 to 80 (inches per second)
Line Speed 10” / sec 20” / sec 30” / sec 40” / sec 60” / sec 80” / sec
Additional Processing Time 69.5 ms 65.0 ms 62.5 ms 58.0 ms 55.0 ms 45.5 ms
Definition:
Distortion is corrected by shifting image rows in the direction opposite the symbol’s movement on the line. The shift value of subsequent image rows is then increased. These shift values depend on the speed of the line. The faster the line speed, the greater the required shift values. More data loss is incurred at faster line speeds. The image shown below was captured at a line speed of 40 inches per second, and it shows virtually no inherent skew. The black area of the image is unusable, since the information was lost as the symbol moved through the imager’s field of view.
The amount of data loss can be reduced by decreasing the image height or the row size of the image, which reduces the amount of travel represented during the image frame read-out. Note that the amount of distortion will not be changed, because the object will have traveled the same distance during the read-out of the target area.
11-32
EZ Match User Manual
Page 303
Camera and IP Setup
Symbol Direction Definition:
Usage: Default: Options:
This feature specifies the direction the symbol is moving through the imager’s field of view, or which side of the field of view the symbol will enter first. Note: Image captures of symbols entering the field of view from above or below cannot be skew-corrected. <K537,line speed,symbol direction> Right 0 = Right 1 = Left
If a symbol enters the field of view from the left, it will be skewed as shown in the image below. The image is processed from top to bottom, meaning that the top of the symbol is captured first. The amount of skew is dependent on the speed at which the symbol moves through the imager’s field of view. The symbol below was captured at a line speed of 40 inches per second.
Additional Notes on Skew Correction • When skew correction is enabled, the pre-processing option in Capture Mode is disabled, regardless of how it is configured. This is because image distortion must be corrected before any other image processing can occur. • Calibration does not perform skew correction. It is assumed that during calibration the symbol is stationary, so skew correction is not required. • Images are corrected before they are processed. Therefore, if an image is still pending at the end of the read cycle, it will not have been skew-corrected.
EZ Match User Manual
11-33
Page 304
Color Filter (EZ Match Color Only)
Color Filter (EZ Match Color Only) Definition:
Usage: Default: Options:
The EZ Match image sensor captures images in color and then processes them for optimal decode performance. Color image processing requires image captures to be filtered, or the R, G, and B cells to be equalized. This is achieved by applying one of the available filters, or by performing a white balance with the current camera configuration before attempting to decode a symbol. This option specifies the filter method that is applied to the RGB color image to produce a monochrome image. <K543,color filter> General Purpose 0 = Disabled 1 = General Purpose 2 = Horizontal Linear (1D) Symbols
Disabled When Color Processing is disabled, no filter is applied to the captured image. If you are attempting to decode symbols without a filter, a White Balance may be required to balance the red, green, and blue cells of the image sensor.
General Purpose When enabled, the General Purpose filter is applied to the captured RGB image to produce a gray scale image. The gray scale image can be used in most applications, but the filtering process increases processing time. The General Purpose filter should be used when reading 2D symbols, linear symbols that are not positioned horizontally in the field of view, or a combination of both.
Horizontal Linear (1D) Symbols When enabled, the filter for Horizontal Linear (1D) Symbols is applied to the captured RGB image to produce a gray scale image that is designed specifically to provide the best suitable image for a linear symbol that is horizontally positioned in the field of view. The Horizontal Linear (1D) Symbols filter should be used when reading linear symbols that are positioned horizontally in the field of view.
11-34
EZ Match User Manual
Page 305
Camera and IP Setup
Color Detection (EZ Match Color Only) Definition:
Usage: Default: Options:
When Color Detection is enabled, color processing and cap color detection are active and color images can be retrieved from the imager. Important: When color processing is enabled, the additional color image storage restricts the maximum full-size image capacity of the imager from 6 to 3. This is because both a color image and a filtered RGB image are stored for every image capture. <K544,status,color match resolution> Enabled 0 = Disabled 1 = Enabled
Color Match Resolution Definition: Usage: Default: Options:
Determines how closely a cap color must match the defined requirements. There are four resolutions that can be selected: Basic Color; Hue; Hue and Saturation; or Hue, Saturation, and Value. <K544,status,color match resolution> Hue and Saturation 0 = Basic Color 1 = Hue 2 = Hue and Saturation 3 = Hue, Saturation, and Value
Basic Color When Basic Color is enabled, only the basic color will be used to determine a match. The Hue value is divided by 30°, resulting in 12 possible color combinations (see below). The basic color is determined by using the Hue value. Hue values that are on the border between two colors will be declared matches. For example, if a color is defined in the cap library as having a hue value of 253° (blue), and a cap is detected with a hue value of 257° (purple-blue), a match is declared. Color Red Orange Yellow Yellow Green Green Blue Green Cyan Green Blue Blue Purple Blue Magenta Purple Red EZ Match User Manual
Hue Range 345° 15° 45° 75° 105° 135° 165° 195° 225° 255° 285° 315°
14° 44° 74° 104° 134° 164° 194° 224° 254° 284° 314° 344°
11-35
Page 306
Color Detection (EZ Match Color Only)
Hue Once the basic color is determined, Hue requires that the hue value be within an acceptable range to declare a match. This color match method provides further distinction between basic colors.
Hue and Saturation Saturation provides information on color vibrancy. A highly saturated color is vivid and intense, while a less saturated color is more muted, as shown in the example below.
Hue, Saturation, and Value Hue, Saturation, and Value are all used as criteria for determining a color match. This mode allows for the highest color resolution, and is able to detect different pigments, shades, and levels of brightness.
A color’s brightness can be changed by selecting a different gain or shutter setting, causing the image to be brighter or darker. This mode is susceptible to large fluctuations in ambient light, so gain and shutter settings should be determined before performing a cap Learn operation.
White, Black, and Gray Color Detection White, black, and gray are determined by the level of saturation and brightness (value) of the color. Regardless of the Color Match Resolution setting, the Saturation and Value characteristics are examined to determine if the cap color is white, black, or a shade of gray.
11-36
EZ Match User Manual
Page 307
12 IP Database Contents IP Database Serial Commands .................................................................................................. 12-2 Number of Active Indexes .......................................................................................................... 12-3 IP Database Status..................................................................................................................... 12-4 Database Mode ........................................................................................................................ 12-10 Save Current Settings to IP Database...................................................................................... 12-15 Load Current Settings from IP Database.................................................................................. 12-16 Request Selected Index Settings ............................................................................................. 12-17 Request All IP Database Settings ............................................................................................ 12-18
This section concerns the various capture settings and processing settings that can be used to fine-tune the EZ Match Imager’s performance in your application.
EZ Match User Manual
12-1
Page 308
IP Database Serial Commands
IP Database Serial Commands Number of Active Indexes IP Database Status Save Current Settings to Database Load Current Settings from Database Request Selected Index Settings Request All Database Settings Database Mode
12-2
<K252,number of active database settings> <K255,index,shutter speed,gain,focal distance, sub-sampling,row pointer,column pointer,row depth,column width,threshold mode,fixed threshold value,processing mode,narrow margins,background color,symbology type,color filter,color> <K255+,index> <K255-,index> <K255?,index> <K255?> <K256,switch mode,frame count/time,image process looping,image dimensions>
EZ Match User Manual
Page 309
IP Database
Number of Active Indexes Usage:
Definition:
Serial Cmd: Default: Options:
Useful for applications that require several different complex imager configurations to be applied sequentially. Multiple database indexes allow you to concatenate configuration profiles, and to perform more complex operations than would be possible with only one set of configuration parameters. This feature allows you to set the number of database records (groups of settings) that will be used automatically during the read cycle. If Number of Active Indexes is set to 0, only the current imager settings will be used, not database entry settings. Note: This setting has no effect when Multi-Operation is in use. <K252,number of active indexes> 0 (disabled) 0 to 10
Number of Active Indexes by ESP Click the arrow on the Active Indexes dropdown menu and select how many database indexes will be used during the read cycle. (0 to 10).
EZ Match User Manual
12-3
Page 310
IP Database Status
IP Database Status Index Useful for applications that require several different complex imager configurations to be applied sequentially. Multiple database indexes allow you to concatenate configuration profiles, and to perform more complex operations than would be possible with only one set of configuration parameters. Definition: Determines the specific database index that will be used. Serial Cmd: <K255,index,shutter speed,gain,focal distance,sub-sampling,row pointer, column pointer,row depth,column width,threshold mode,fixed threshold value, processing mode,narrow margins,background color,symbology type,color filter,color> Options: 1 to 10 Usage:
Shutter Speed Serial Cmd: <K255,index,shutter speed,gain,focal distance,sub-sampling,row pointer, column pointer,row depth,column width,threshold mode,fixed threshold value, processing mode,narrow margins,background color,symbology type,color filter,color> Default: 45 Options: 15 to 12,500
Gain Serial Cmd: <K255,index,shutter speed,gain,focal distance,sub-sampling,row pointer, column pointer,row depth,column width,threshold mode,fixed threshold value, processing mode,narrow margins,background color,symbology type,color filter,color> Default: 30 Options: 0 to 48
Focal Distance Serial Cmd: <K255,index,shutter speed,gain,focal distance,sub-sampling,row pointer,column pointer,row depth,column width,threshold mode,fixed threshold value,processing mode,narrow margins,background color,symbology type,color filter,color> Default: 400 (4”) Options: 200 to 600
12-4
EZ Match User Manual