Reference Manual Chapter 4
Ranger E/D
©SICK AG • Advanced Industrial Sensors • www.sick.com • All rights reserved 39
Ranger Studio
4.4.7 Visualizing Color Images
To visualize images in Ranger Studio that are correctly color registered, the color registra-
tion filter used by Ranger Studio must be set up by specifying the registration parameters
– that is, the distance that each color channel needs to be shifted.
Finding the Registration Parameters
The registration parameters can be determined interactively (by trial and error) or by using
a program for analyzing live or recorded data.
For trial and error, a good starting is to use the values 0, 4, 8 in one scan direction and
8, 4, 0 in the other. These values are correct if the scan speed is set so that the resolu-
tion in the scan direction (along the scanned object) is the same as the resolution in the
X direction (across the scanned object).
The development software contains an example program that can analyze live or re-
corded data and find accurate registration parameters with sub-pixel correlation. The
correlation is only made in the scan direction. The program also saves the registered
image to a file so that the result can be viewed.
For best result, use a black and white object with high frequency content, for example a
page of text.
Configuring Registration Filter in Ranger Studio
Follow the steps below to configure the registration filter.
59. Stop the camera, if not already stopped.
60. Choose Options
Filter Options… from the menu bar. A Filter Options window appears.
61. Fill in the values for the registration parameters of the red, green and blue color
channels.
Note that one of the parameters should be set to 0, and the others must have positive
values.
62. Click Start to collect data and ensure that the registration is accurate.
4.4.8 Save Visualization Windows
It is possible to save the contents of the visualization tabs – that is, the images that are
displayed. The data will be saved as bitmap images in BMP format by default, but can also
be saved in PNG format. Grayscale images are saved as 8-bit images, while color images
are saved as 24-bit images.
Note that only the image in the current tab is saved.
63. Collect the data you want to save.
64. Stop the Ranger by clicking Stop in Range Studio.
65. Right-click in the image in a visualization tab, and choose Save image as bitmap... from
the menu that is displayed.
66. Fill in a file name in the dialog box.
This will save the image as a BMP file with the name <filename>.BMP
To save the image as a PNG file, fill in a file name that ends with .PNG in the dialog
box, for example Image1.PNG