Core Optical, Inc.
EdgeHandling EnumerationIndustrial Strength, Scientific Grade
An OnlineEnum specifying the method in which edges are extended to facilitate convolution operations.

Namespace: PrecisionImage
Assembly: PrecisionImage (in PrecisionImage.dll) Version: (

public enum EdgeHandling

  Member nameValueDescription
ExtendedEdges0 Specifies edges padded by duplicating edge values.
SpatiallyPeriodicEdges1 Specifies edges padded by opposite edge values (periodic replication).
ZeroedEdges2 Specifies edges padded with zero.

For convolution operations (and some other windowing operations) the edges may require padding. The EdgeHandling enumeration allows for 3 different edge padding methods: Extended edges, Periodic edges, and Zeroed edges. Extended edges duplicate/extend the data at the edges. Spatially periodic edges pad the edges as though the data were spatially periodic and infinitely repeating. Zeroed edges simply buffer the edges with zeros values.

The following illustrates the three types:

See Also