StrataQuest Home › StrataQuest Glossary › Filters Overview
BOM Group

Filters Overview

Reference for additional BOM filtering operations

View
Definition
Pick a pixel and look at the small patch around it. Almost every filter in the Basic Operations Module computes the pixel's new value from that patch: an average, a weighted sum, a median, a maximum. The Filters list holds 18 such operations, for smoothing, finding edges and membranes, sharpening detail and lowering background. Their outputs can feed later operations in the module and the detection engines that follow.
Linear vs. non-linear
Fixed weighted sum, or image-dependent
Kernel radius sets reach
Window width is 2 × radius + 1
Unsharp removes background
Not a sharpening mask in StrataQuest
Their place in the pipeline
Filters run in Pre-Processing

Operations Reference

All 18 entries sit under Basic Operations Module > Filters. Each takes an Image and returns a Result; the table lists what each computes and the settings that shape it.

FilterWhat it doesMain settings (defaults)
Filter maxEach pixel becomes the highest value in its neighborhood. Same effect as Dilate in MorphologicalLoading....Kernel radius (px) (1)
Filter minEach pixel becomes the lowest value in its neighborhood. Same effect as Erode.Kernel radius (px) (1)
Find local max seedMarks regional maxima, connected plateaus brighter than everything around them, and outputs a mask.Kernel radius (px) (1)
Find local min seedMarks regional minima, connected plateaus darker than everything around them, and outputs a mask.Kernel radius (px) (1)
Anisotropic filterLoading...Diffusion that reduces noise while preserving edges and lines, smoothing along edges to close gaps.Diffusion time (5), Diffusion time step (5), Diffusion amplitude – C (1e-10), plus scheme, smoothing and amplitude settings
Average filterLoading...Each pixel becomes the average of its neighborhood. Blurs.Kernel radius (px) (1), Kernel shape (Disk)
Bilateral filterLoading...Weighted average whose weights fall with distance and with intensity difference. Smooths while preserving edges.Kernel height and width (5), Variance (values) and Variance (positions) (16)
Canny edge detectorLoading...Gradient, non-maximum suppression, double threshold and hysteresis: thin, connected edges.Lower threshold, Upper threshold (0)
Custom filterLoading...Filters with a kernel you type as text, width x height followed by the rows.Filter, e.g. 3 x 3 | -1 0 1 | -1 0 1 | -1 0 1
Gauss filterLoading...Weighted average with Gaussian weights. Blurs.Kernel radius (px) (1), Kernel shape (Disk), Standard deviation (1)
Laplace filterLoading...Second-order derivative that highlights rapid intensity change, such as edges.Kernel size (px): 3x3 (default) or 5x5
Median filterLoading...Each pixel becomes the median of its neighborhood. Reduces noise, conserves certain borders, creates no new gray levels.Kernel radius (px) (1), Kernel shape (Disk)
Membrane detectorLoading...Detects V-like (dark-on-bright) and Λ-like (bright-on-dark) double intensity variations along the directions you list. Outputs masks.Kernel width and height, Standard deviation, Custom Directions, Min variation for V-like and Λ-like
Sharp filterLoading...Enhances image details with better contrast; can improve slightly out-of-focus images.Kernel radius (px) (7)
Sobel filterLoading... (horizontal), (vertical)First derivative along one axis, with a fixed 3 × 3 kernel.Image only
Sobel filter (cross)Second-order derivative on the diagonal.Kernel size (px): 3x3 (default) or 5x5; Border Value (0), Border type (Wrap Border)
Unsharp filterLoading...Blurs the image into a background model and subtracts it, removing high background. Not a sharpener.Kernel radius (px) (25), Method (Gaussian or Average; default Gaussian)

Source: StrataQuest 8.1 Engines Reference, ch. 6 (pp. 18–21) and ch. 6.3 (pp. 101–154); User Manual §11.1.2 (p. 159).

Simplified

The Filters list holds a few kinds of tool. Smoothers (Average, Gauss, Median, Bilateral, Anisotropic) calm the grain, some while keeping edges. Detail and edge tools (Sharp, Laplace, Sobel, Canny, Membrane detector) bring out where brightness changes. Unsharp lowers a high background. Filter max, Filter min and the two seed finders work on bright and dark extremes, and Custom runs a kernel you write.

Image Processing Foundation

Center a small window, the kernel, on one pixel, compute a new value from the pixels under it, then move one pixel over and repeat. In image processing generally, that is neighborhood processing, and most of the Filters list works this way. In StrataQuest the window is usually set by Kernel radius (px): the reference examples pair radius 2 with a 5 × 5 window, radius 3 with 7 × 7 and radius 60 with 121 × 121, so the window is 2 × radius + 1 pixels across.

When the new value is a fixed weighted sum, the filter is a convolutionLoading..., and it is linear: filtering the sum of two images gives the sum of the filtered images. The reference describes Average, Gauss, Laplace, the Sobel filters and Custom filter as filtering with a kernel, and Unsharp filter, an image minus its own blur, is linear too. Median, Filter max and Filter min rank the neighborhood instead, while Bilateral and Anisotropic change their weights with the image, so none of those is linear.

At the image border the window hangs over pixels that don't exist. The module's Options tab has Border Input, which borrows real pixels from neighboring fields of viewLoading... so tiles are filtered as one continuous image, and a Border Option for padding: Fill with black, Fill with white, Mirror or Copy last pixels. Bilateral filter and Sobel filter (cross) also carry their own Border Value and Border type settings.

In image processing generally, smoothing filters are low-pass: they quiet fine detail and keep broad structure. Derivative filters such as Laplace and Sobel are high-pass. Subtracting a low-pass image from the original leaves the high-pass part, which is how Unsharp filter, with a wide kernel, removes a slowly varying background while keeping nucleus-sized detail.

Simplified

Most filters slide a small window across the image and compute each new pixel from the pixels under it. The window's size is usually set by Kernel radius: radius 3 means a 7 × 7 window. Smoothers keep broad shapes and quiet fine grain. Edge filters do the opposite.

When to Use Which

Smoothing. The Average filterLoading... and Gauss filterLoading... blur everything, edges included; Gauss counts near neighbors more. The Median filterLoading... reduces noise while conserving certain borders and makes no new gray levels; in general a median also ignores isolated extreme pixels that would drag an average. To keep edges while smoothing, use the Bilateral filterLoading..., and to smooth along lines and close noise-made gaps in them, the Anisotropic filterLoading....

Edges and detail. The Laplace filterLoading... and the Sobel filtersLoading... return graded images that mark intensity change; follow them with a thresholdLoading... to get a mask. The Canny edge detectorLoading... goes further and returns thin, connected edges from two thresholds. For membranes, the Membrane detectorLoading... detects a double change of intensity along the directions you list, and outputs masks.

Background and sharpness. In StrataQuest the Unsharp filterLoading... is not a sharpener. It subtracts a blurred background model to remove high background, the same job the Background RemovalLoading... engine and the Top-hatLoading... operation do by other routes. For detail and contrast, and for slightly out-of-focus images, the reference points to the Sharp filterLoading....

Extremes and custom kernels. Filter max and Filter min have the same effect as Dilate and Erode in MorphologicalLoading.... Find local max seed and Find local min seed mark regional maxima or minima as a mask, points that, as the names say, can serve as seeds. When nothing built in fits, Custom filterLoading... runs a kernel you type.

Simplified

To calm grain, use Gauss or Median; to keep edges while smoothing, Bilateral or Anisotropic. To find edges, Canny gives clean lines, while Sobel or Laplace give raw edge strength. For membranes, try the Membrane detector. To lower a high background, use Unsharp; to sharpen detail, use Sharp.

Connected Terms

Share This Term
Term Connections