Krisch Compass Mask

Advertisements


Kirsch Compass Mask is also a derivative mask which is used for finding edges. This is also like Robinson compass find edges in all the eight directions of a compass. The only difference between Robinson and kirsch compass masks is that in Kirsch we have a standard mask but in Kirsch we change the mask according to our own requirements.

With the help of Kirsch Compass Masks we can find edges in the following eight directions.

  • North

  • North West

  • West

  • South West

  • South

  • South East

  • East

  • North East

We take a standard mask which follows all the properties of a derivative mask and then rotate it to find the edges.

For example let’s see the following mask which is in North Direction and then rotate it to make all the direction masks.

North Direction Mask

-3-35
-305
-3-35

North West Direction Mask

-355
-305
-3-3-3

West Direction Mask

555
-30-3
-3-3-3

South West Direction Mask

55-3
50-3
-3-3-3

South Direction Mask

5-3-3
50-3
5-3-3

South East Direction Mask

-3-3-3
50-3
55-3

East Direction Mask

-3-3-3
-30-3
555

North East Direction Mask

-3-3-3
-305
-355

As you can see that all the directions are covered and each mask will give you the edges of its own direction. Now to help you better understand the concept of these masks we will apply it on a real image. Suppose we have a sample picture from which we have to find all the edges. Here is our sample picture:

Sample Picture

Kirsch Compass Mask

Now we will apply all the above filters on this image and we get the following result.

North Direction Edges

Kirsch Compass Mask

North West Direction Edges

Kirsch Compass Mask

West Direction Edges

Kirsch Compass Mask

South West Direction Edges

Kirsch Compass Mask

South Direction Edges

Kirsch Compass Mask

South East Direction Edges

Kirsch Compass Mask

East Direction Edges

Kirsch Compass Mask

North East Direction Edges

Kirsch Compass Mask

As you can see that by applying all the above masks you will get edges in all the direction. Result is also depends on the image. Suppose there is an image, which do not have any North East direction edges so then that mask will be ineffective.



Advertisements
Advertisements