Canny edge detector: Difference between revisions

m
Line 673:
=={{header|J}}==
<p>The image is represented as a 2D array of pixels, with first and second axes representing down and right respectively. Array elements represent monochromatic intensity values as integers ranging from 0 (black) to 255 (white). </p>
<p>IntensityIn the intensity gradient image, fields are similarly structured. Gradient values are vectors, and are represented here as complex numbers, with real and imaginary components representing down and right respectively. </p>
<p>EdgeDetected edge and non-edge points are represented as zerosones and oneszeros respectively. EdgesAn areedge setsis a set of connected edge points. Edge (points withinadjacent ahorizontally, 3-by-3vertically, or regiondiagonally are considered to be connected). EdgesIn arethe final image, each edge is represented asby pointsassigning havingits set of points a common unique identifiervalue. </p>
<lang J>NB. 2D convolution, filtering, ...