The text of a manual · part 7 of 18
CS40 Mobile Computer User's Manual: Chapter 4 - Using the Imager
Pages 45 to 54 of 152, from CS40 Mobile Computer User's Manual
The original document is the PDF (5.8 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 Intermec CS40
Page 45
4 Using the Imager
You can use the imager to read bar codes and capture signatures. You can also configure the imager to meet your specific data collection and environmental needs.
33
Page 46
Chapter 4, Using the Imager
Reading Bar Codes Use the imager to scan 1D and 2D bar code symbologies, composite symbologies, and postal codes. You can position the computer in almost any orientation to scan a bar code label. Note: When the Pictures & Videos application is running, you cannot use the imager. To read a bar code: 1 Enable only the bar code symbologies that you need. 2 (Optional) Use Intermec Settings to choose the predefined imager mode that best suits your environment: Predefined Mode
For Scanning
1D
Only 1D labels.
1D and 2D Standard
(Default) All types of bar code labels.
1D and 2D Bright Environment
In high ambient light, such as outdoors in the sunshine.
1D and 2D Reflective Surface
Glossy labels.
Custom
In conditions that require customized settings. For complete information about these settings, commands, and parameters, see the Intermec Settings Command Reference Manual.
3 Point the imager window at the bar code label, and hold the computer steady a few inches from the label.
34
CS40 Mobile Computer User’s Manual
Page 47
Chapter 4, Using the Imager
4 Press the Scan button. The scanning beam and illumination area appear.
Good Read LED
Scan button
5 Use the scanning beam as a guide and aim toward the middle of the bar code. When the computer successfully reads a bar code label, you hear a high beep, and the Good Read LED turns on briefly. 6 Release the Scan button.
Capturing Images The Image Capture application on your mobile computer can capture high-resolution grayscale images. To capture an image: 1 Tap Start > Programs > Image Capture. The Image Capture main screen shows streaming video from the imager. 2 (Optional) Adjust the Contrast slider for the best image: •
For brightly lit environments, move the slider to the right.
• For dark areas, move the slider to the left. Note: For best results, move the slider a little at a time until you see a change in the onscreen image.
CS40 Mobile Computer User’s Manual
35
Page 48
Chapter 4, Using the Imager
3 Point the mobile computer at the subject for the image and press Enter. The image appears. 4 View your image: •
Tap-and-drag to scroll the image.
• Zoom in (plus sign) or zoom out (minus sign). 5 Save (check mark) or discard (X) the image. The main screen appears, and you are ready to capture another image. Note: By default, images are saved in the format Image_$<image_number> to the My Documents\ImageCapture directory. 6 (Optional) View your saved images by tapping Options > Gallery: •
Tap the left arrow and the right arrow to view the images.
•
Zoom in (plus sign) or zoom out (minus sign).
•
Discard (X) an image.
•
Tap Options > Delete All Files to delete all saved images.
Configuring the Image Capture Application The default Image Capture settings apply to most situations where the ambient lighting is adequate for office work. However, you may need to change these settings depending on where you want to capture images, such as outdoors in bright sunlight or inside a darkened warehouse. To configure image capture settings: 1 Tap Options > Settings. 2 Change settings to suit your environment: Image Capture Settings
36
Setting
Description
Edge Enhancement
Adjusts contrast to enhance the edges of objects. Too high a setting for the environment adds noise to the image. (Default = Medium)
CS40 Mobile Computer User’s Manual
Page 49
Chapter 4, Using the Imager Setting
Description
Lighting Correction Corrects for inconsistent lighting. For example, if the edges of the image are much darker than the center, this feature lightens the edges to match the center. (Default = Disabled) Noise Reduction
Reduces noise (from 0 to 9) resulting from edge enhancement. Too high a value can cause banding. (Default = 9)
Subsampling
Sets the resolution of the image by choosing a ratio from 1:2 to 1:8. A ratio of 1:4 means that the processed image will contain 1 pixel for every 4 pixels in the original image. The lower the ratio, the larger and more detailed the image. (Default = None)
Rotation
Rotates the processed image clockwise in 90° increments. (Default = 0, no rotation)
File Format
Sets the file type (BMP or JPEG) for saved images. (Default = JPEG)
Compression Quality
Sets JPEG compression quality from 0% to 100%. (Default = 60)
3 Tap Options and choose Save Changes and Exit or Discard Changes and Exit.
How to Integrate Image Capture You can integrate Image Capture into your own application by calling it from your application. You can also customize Image Capture settings by creating and editing the Image Capture configuration .xml file.
How to Call Image Capture From Your Application To integrate Image Capture features into your existing mobile application, you need to specify two parameters: •
•
Path to and name of the Image Capture application. The default setting is “\\Program Files\\Intermec\\ImageCapture\\ImageCapture.exe”. Path to and name of the .xml configuration file that Image Capture should use when called by your application. You can use a custom .xml configuration file based on your needs. If no .xml file is
CS40 Mobile Computer User’s Manual
37
Page 50
Chapter 4, Using the Imager specified, Image Capture uses its default settings or looks for an .xml file in its local directory. This sample code calls Image Capture from its default location and specifies “ImageCapture_Config.xml” as the custom .xml configuration file to use: try { System.Diagnostics.Process.Start("\\ProgramFiles\\ImageCapture \\ImageCapture.exe","\"\\Program Files\\MyApp\\ImageCapture_ Config.xml\""); } catch (Exception exception) { MessageBox.Show("Failed to execute \\ProgramFiles\\ImageCapture \\ImageCapture.exe” + "\r\n" + exception.ToString()); }
About the Image Capture XML File To further customize Image Capture features for use in your application, you can create or edit the Image Capture .xml file and modify these fields: Image Capture XML File Fields Field Name
Valid Values
Description allowChanges
True or false
Default is true. When set to false, user cannot change any settings.
allowGallery
True or false
Default is true. When set to false, user cannot go to the Gallery screen.
True or false
Default is true. When set to false, user cannot change settings in the Conditioning tab.
allowChanges
True or false
Default is true. When set to false, user cannot change the edge enhancement setting.
edgeEnhancement
None, low, Default is None. If no value is provided, the edge medium, or high enhancement value is unchanged.
Settings
Conditioning Settings allowChanges Edge Enhancement
38
CS40 Mobile Computer User’s Manual
Page 51
Chapter 4, Using the Imager Field Name
Valid Values
Description allowChanges
True or false
Default is true. When set to false, user cannot change the lighting correction setting.
lightingCorrection
True or false
Default is true. If no value is provided, the application cannot change the lighting correction value.
allowChanges
True or false
Default is true. When set to false, user cannot change the noise reduction setting.
noiseReduction
0 to 9
Default is no value. If no value is provided, the application does not change the noise reduction setting.
allowChanges
True or false
Default is true. When set to false, user cannot change the rotation setting.
imageRotation
None, 90, 180, 270
Default is no value. If no value is provided, the application does not change the rotation value.
allowChanges
True or false
Default is true. When set to false, user cannot change the subsampling rate.
subSampling
None, 1:2, 1:3, 1:4, 1:5, 1:6, 1:7, 1:8
Default is no value. If no value is provided, the application does not change the subsampling rate.
True or false
Default is false. If set to true, user can change settings in the Storage tab.
allowChanges
True or false
Default is false. If set to true, user can change the directory where saved images are stored.
imageLocation
File path
Default is no value. If no value is provided, the application does not change the directory where saved images are stored (My Documents\ ImageCapture).
True or false
Default is false. When set to true, user can change the filename template setting.
CS40 Mobile Computer User’s Manual
39
Lighting Correction
Noise Reduction
Image Rotation
Subsampling
Storage Settings allowChanges Image Location
File Name allowChanges
Page 52
Chapter 4, Using the Imager Field Name
Valid Values
Description fileName
String of up to 200 characters
Name to be used for saved image files. If the name is identical to a file already saved, Image Capture adds a numeric character to the end of the file name.
allowChanges
True or false
Default is false. When set to true, user can change the file format type.
fileFormat
BMP, JPEG
Default is no value. If no value is provided, Image Capture does not change the file format setting. If no format is selected, the file is saved as a .bmp.
allowChanges
True or false
Default is false. When set to true, user can change the compression quality setting.
compressionQuality
0% to 100%
Default is no value. If no value is provided, the application does not change the compression quality setting. The higher the value, the better the quality, and the larger the file size will be. If fileFormat is set to BMP, this setting is not used.
Output Compression
Compression Quality
40
CS40 Mobile Computer User’s Manual
Page 53
Chapter 4, Using the Imager
This XML example demonstrates how to use the fields as defined in the previous section. <?xml version="1.0" encoding="utf-8" ?> <ImageCapture xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Settings allowChanges ="true" allowGallery="true"> <Conditioning allowChanges="true"> <edgeEnhancement allowChanges="true">None</edgeEnhancement> <lightingCorrection allowChanges="true">Enabled</lightingCorrection> <noiseReduction allowChanges="true">0</noiseReduction> <imageRotation allowChanges="true">90</imageRotation> <subsampling allowChanges="true">None</subsampling> </Conditioning> <Storage allowChanges="true"> <imageLocation allowChanges="false">\My Documents\ImageCapture </imageLocation> <fileName allowChanges="false"> Image_$(num)</fileName> </Storage> </Settings> </ImageCapture>
CS40 Mobile Computer User’s Manual
41
Page 54
Chapter 4, Using the Imager
42
CS40 Mobile Computer User’s Manual