A method of smoothing and edge detection in digitized images involves the use of a Gaussian smoothing filter that is adaptive in the sense that the filter scale varies with the estimated distance between each scene point and the camera. The estimate of distance is obtained via stereoscopy. The method was conceived for a developmental image-processing system that would recognize unexploded ordnance on a military test range. The method can also be used to enhance performance in other edge-detection applications.
Older methods of smoothing and edge detection involve, variously, the use of a single scale or a set of scales, without knowledge of which scale is appropriate for each location in an image. In other words, the scale is not related to the sizes of objects in the image, even though the apparent sizes of objects vary widely with distance. As a result, the use of a single scale or an inappropriate set of scales for all image points can result in spurious edge detection or in failure to detect edges of interest.
In the present method, the scale at each point in an image is adjusted to account for the variation of apparent size with distance and is thus related to the real-world size of the object depicted at that point. The scale (σ) at pixel coordinates x,y is given by σ(x,y) = K/R(x,y), where K is a predetermined constant and R(x,y) is the distance computed at x,yfrom the disparity between the two images of a stereoscopic pair. The algorithm that computes R(x,y) incorporates the calibration of the stereoscopic camera rig and includes a correction for radial lens distortion. The disparity between the left and right images for each pixel is obtained by minimizing the sum-of-squared-difference (SSD) measure of windows around the pixel in the Laplacian of the image. The coordinates of each pixel are then computed by triangulation. In the case of pixels for which R(x,y) cannot be computed (e.g., where image texture is too low), R(x,y) values are propagated from neighboring pixels by use of a technique that approximates nearest-neighbor search.
The variable scale Gaussian smoothing filter is applied in a window of 2W+1 by 2W+1 pixels centered at the pixel x,y. Ideally, the output of the filter would be given by

where I(x,y) is the brightness of the image at x,y. It turns out to be inefficient to perform this computation exactly, using σ = σ(x,y) for each pixel. For greater efficiency, the filter output is approximated by first convolving the entire image with a discrete set of Gaussian filters with scales related by factors of 2, then performing a parabolic interpolation to the appropriate scale for each pixel.
Edges are detected by an algorithm that computes gradients in the filtered image. For the purpose of edge detection, gradients must be comparable. However, gradients representing otherwise identical edges are stronger in regions smoothed at smaller values of σ. Therefore, to make gradients comparable, the magnitude of the gradient each pixel x,y is normalized by multiplying it by σ(x,y).
The figure shows an original 750-by-500-pixel image along with examples of edge detection, without and with stereo-guided scale selection. At σ=1, edges close to the camera are rough and a number of extraneous edges are detected. As the scale jumps from σ=1 to σ=2 and σ=4, details of most distant objects (the trees and the far end of the railing) are lost. In the case of stereo-guided scale selection, edge-detection performance is high at both close and distant points in the scene.
This work was done by Clark F. Olson of Caltech for NASA's Jet Propulsion Laboratory. NPO-20475
This Brief includes a Technical Support Package (TSP).

Image smoothing and edge detection guided by stereoscopy
(reference NPO20475) is currently available for download from the TSP library.
Don't have an account?
Overview
The document discusses advanced techniques for image smoothing and edge detection, particularly in the context of applications that require accurate detection of objects at varying distances from a camera. Authored by Clark F. Olson from NASA's Jet Propulsion Laboratory, the work emphasizes the importance of detecting image phenomena at the "true scale" in the real world, rather than relying solely on local image properties or a fixed scale.
A key challenge in image processing is the presence of irrelevant features that can appear significant due to perspective effects, especially when dealing with textured surfaces in the foreground and objects of interest in the background. The document highlights the use of range data obtained from stereoscopic methods to determine the distance of scene points, allowing for adaptive smoothing and edge detection that preserves significant edges while reducing clutter.
The author presents a motivating example involving live ordnance detection in a military context, where images collected during a live-fire test were processed using a Gaussian filter. The results demonstrated that while a constant smoothing scale could lead to loss of detail in distant objects, adaptive scale selection based on range data improved edge detection performance for both close and far objects.
Additionally, the document explores the concept of edge salience, which refers to the significance of detected edges based on their characteristics, such as length and straightness. The range data can be utilized to normalize these measures, ensuring that shorter edges at greater distances are appropriately weighted, thus enhancing the reliability of edge detection.
The proposed methods aim to complement traditional scale-space techniques by transforming the scale-space to align with true world scales, rather than image scales. This approach is expected to yield better results in scenarios where real-world dimensions are critical.
Overall, the document presents a comprehensive overview of innovative image processing techniques that leverage range data for improved edge detection and feature extraction, with potential applications in military, robotics, and other fields requiring precise image analysis. The findings underscore the significance of adaptive filtering methods in achieving accurate and reliable image interpretation.

