Name
threshold_sub_pixthreshold_sub_pixThresholdSubPixthreshold_sub_pixThresholdSubPixThresholdSubPix — Extract level crossings from an image with subpixel accuracy.
threshold_sub_pixthreshold_sub_pixThresholdSubPixthreshold_sub_pixThresholdSubPixThresholdSubPix extracts the level crossings at the level
ThresholdThresholdThresholdThresholdThresholdthreshold of the input image ImageImageImageImageImageimage with subpixel
accuracy. The extracted level crossings are returned as
XLD-contours in BorderBorderBorderBorderBorderborder. In contrast to the
operator thresholdthresholdThresholdthresholdThresholdThreshold, threshold_sub_pixthreshold_sub_pixThresholdSubPixthreshold_sub_pixThresholdSubPixThresholdSubPix does not
return regions, but the lines that separate regions with a gray
value less than ThresholdThresholdThresholdThresholdThresholdthreshold from regions with a gray value
greater than ThresholdThresholdThresholdThresholdThresholdthreshold.
For the extraction, the input image is regarded as a surface, in
which the gray values are interpolated bilinearly between the
centers of the individual pixels. Consistent with the surface thus
defined, level crossing lines are extracted for each pixel and
linked into topologically sound contours. This means that the level
crossing contours are correctly split at junction points. If the
image contains extended areas of constant gray value
ThresholdThresholdThresholdThresholdThresholdthreshold, only the border of such areas is returned as
level crossings.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Extracted level crossings.
Threshold for the level crossings.
Default value: 128
Suggested values: 0.0, 10.0, 30.0, 64.0, 128.0, 200.0, 220.0, 255.0
read_image(Image,'fabrik')
threshold_sub_pix(Image,Border,35)
disp_xld(Border,WindowHandle)
/* Detection zero crossings of the Laplacian-of-Gaussian of aerial image */
read_image(&Image,"fabrik");
threshold_sub_pix(Laplace,&Border,35);
disp_xld(Border,WindowHandle);
read_image(Image,'fabrik')
threshold_sub_pix(Image,Border,35)
disp_xld(Border,WindowHandle)
/* Detection zero crossings of the Laplacian-of-Gaussian of aerial image */
HWindow Window(0,0,512,512);
HImage Image("fabrik");
HXLDContArray Border = Image.ThresholdSubPix(35);
Border.Display(Window);
read_image(Image,'fabrik')
threshold_sub_pix(Image,Border,35)
disp_xld(Border,WindowHandle)
read_image(Image,'fabrik')
threshold_sub_pix(Image,Border,35)
disp_xld(Border,WindowHandle)
threshold_sub_pixthreshold_sub_pixThresholdSubPixthreshold_sub_pixThresholdSubPixThresholdSubPix usually returns the value 2 (H_MSG_TRUE). If
necessary, an exception is raised.
thresholdthresholdThresholdthresholdThresholdThreshold
zero_crossing_sub_pixzero_crossing_sub_pixZeroCrossingSubPixzero_crossing_sub_pixZeroCrossingSubPixZeroCrossingSubPix
2D Metrology