ImageResampler is an image conversion tool that resamples an
image based on a region of interest and the input reference system.
Scorpion Train Demo an image of a dice is captured at an angle.
- The ImageSampler is in many cases used to verify 2D and 3D reference
- It can be used to resample a specific plane in 3D machine vision
ImageResampler can dynamically resample the image - to look at the dice
from the top.
The Calibrator tool is often the
first reference when using the ImageResampler.
Reference - Reference system selection
ROI - image for calculation and ROI (region of interest)
- Whole image - ignore ROI settings and use all of the image
Center-X - x
- Center-Y - y
- dX - height
- dY - width
The ROI can be managed by the buttons
- Paste - paste the ROI from the image to the scorpion clipboard
- Copy - copy the ROI to the image from the scorpion clipboard
Point & Click Clipboard Support
is defined by four points.
One point will change the center point.
- Output to image - name of image to present result
- Pixel size (pitch) - X and Y - correspondence between input
reference units and output image pixels. A value of 1 means one output
pixel per input unit, 2 means one output pixel per two input units.
- Resulting image in pixels - the actual image size is shown
Example: An image with reference system in mm will be resampled to
a pitch of 1 mm with the default value of 1. With a value of 0.01 the
resulting image will have a constant pitch of 0.01 mm. This is independant
of the original pixel resolution.
Display the Region Of Interest
Mean pixel ratio
Mean pixel-to-pixel ratio between original and resampled picture.
Values larger than 1 means loss of information (decimation).
Pixel ratio in x direction
Pixel ratio in y direction
ExecuteCmd support (see also executeCmd)
the tool's ROI. See Copy/paste
ROIs for details.
ROI as rectangular, closed polygon