Kirsch operator

The Kirsch operator or Kirsch compass kernel is a non-linear edge detector that finds the maximum edge strength in a few predetermined directions. It is named after the computer scientist Russell Kirsch.

Mathematical description

The operator takes a single kernel mask and rotates it in 45 degree increments through all 8 compass directions: N, NW, W, SW, S, SE, E, and NE. The edge magnitude of the Kirsch operator is calculated as the maximum magnitude across all directions:

where z enumerates the compass direction kernels g:

and so on.

The edge direction is defined by the mask that produces the maximum edge magnitude.

Example images

gollark: That might be hard since I don't really have electronic components at home, but I'm sure i have an LED or something.
gollark: What if I find a diode somewhere and put it on a shrine? WHAT THEN?!?!?
gollark: The others do sort of, since people talk about them on here. We also have emojis: <:diode:694648592916283463> <:diode_superiority:694649066717446144> <:Transistor:694654534634569809>
gollark: It doesn't *physically exist*, though.
gollark: The diode and transistor cults still live on spirit, if not actually in role.

References

  • Kirsch, R. (1971). "Computer determination of the constituent structure of biological images". Computers and Biomedical Research. 4 (3): 315–328. CiteSeerX 10.1.1.161.956. doi:10.1016/0010-4809(71)90034-6.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.