Robinson Compass Mask
   HOME

TheInfoList



OR:

In
image processing An image or picture is a visual representation. An image can be two-dimensional, such as a drawing, painting, or photograph, or three-dimensional, such as a carving or sculpture. Images may be displayed through other media, including a pr ...
, a Robinson compass mask is a type of compass mask used for
edge detection Edge or EDGE may refer to: Technology Computing * Edge computing, a network load-balancing system * Edge device, an entry point to a computer network * Adobe Edge, a graphical development application * Microsoft Edge, a web browser developed b ...
. It has eight major compass orientations, each will extract the edges in respect to its direction. A combined use of compass masks of different directions could detect the edges from different angles.


Technical explanation

The Robinson compass mask is defined by taking a single mask and rotating it to form eight orientations: \text\begin -1 & 0 & 1 \\ -2 & 0 & 2 \\ -1 & 0 & 1 \end \text\begin 0 & 1 & 2 \\ -1 & 0 & 1 \\ -2 & -1 & 0 \end \text\begin 1 & 2 & 1 \\ 0 & 0 & 0 \\ -1 & -2 & -1 \end \text\begin 2 & 1 & 0 \\ 1 & 0 & -1 \\ 0 & -1 & -2 \end \text\begin 1 & 0 & -1 \\ 2 & 0 & -2 \\ 1 & 0 & -1 \end \text\begin 0 & -1 & -2 \\ 1 & 0 & -1 \\ 2 & 1 & 0 \end \text\begin -1 & -2 & -1 \\ 0 & 0 & 0 \\ 1 & 2 & 1 \end \text\begin -2 & -1 & 0 \\ -1 & 0 & 1 \\ 0 & 1 & 2 \end 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"Computer imaging: Digital image analysis and processing (Second ed.)" by Scott E Umbaugh, (2010) 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.


Example

An example of Robinson compass masks applied to the original image. Obviously, the edges in the direction of the mask is enhanced.


References

{{Reflist Feature detection (computer vision) Image processing