Lably
Skip to content

Robinson compass mask

  • 1 min read
  • 2 chapters

Related on Lably

Through Digital image processing

Technical explanation

The Robinson compass mask is defined by taking a single mask and rotating it to form eight orientations: North:[−101−202−101] North West:[012−101−2−10] West:[121000−1−2−1] South West:[21010−10−1−2] South:[10−120−210−1] South East:[0−1−210−1210] East:[−1−2−1000121] North East:[−2−10−101012]

The direction axis is the line of zeros in the matrix. Robinson compass mask is similar to kirsch compass masks, but is simpler to implement. Since the matrix coefficients only contains 0, 1, 2, and are symmetrical, only the results of four masks need to be calculated, the other four results are the negation of the first four results. An edge, or contour is an tiny area with neighboring distinct pixel values. The convolution of each mask with the image would create a high value output where there is a rapid change of pixel value, thus an edge point is found. All the detected edge points would line up as edges.

Sign in to keep reading

One more chapter is free with a Lably account.

More in Robotics