The Kirsch operator or Kirsch compass kernel is a non-linearedge detector that finds the maximum edge strength in a few predetermined directions. It is named after the computer scientist Russell Kirsch.
Mathematical descriptionedit
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 imagesedit
Original
Maximum gradient in the 8 directions
Image filtered with g(1)
Image filtered with g(2)
Image filtered with g(3)
Image filtered with g(4)
Image filtered with g(5)
Image filtered with g(6)
Image filtered with g(7)
Image filtered with g(8)
Referencesedit
Kirsch, R. (1971). "Computer determination of the constituent structure of biological images". Computers and Biomedical Research. 4 (3): 315–328. CiteSeerX10.1.1.161.956. doi:10.1016/0010-4809(71)90034-6.
November 26, 2023
kirsch, operator, kirsch, compass, kernel, linear, edge, detector, that, finds, maximum, edge, strength, predetermined, directions, named, after, computer, scientist, russell, kirsch, mathematical, description, editthe, operator, takes, single, kernel, mask, r. 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 editThe 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 h n m max z 1 8 i 1 1 j 1 1 g i j z f n i m j displaystyle h n m max z 1 dots 8 sum i 1 1 sum j 1 1 g ij z cdot f n i m j nbsp where z enumerates the compass direction kernels g g 1 5 5 5 3 0 3 3 3 3 displaystyle mathbf g 1 begin bmatrix 5 amp 5 amp 5 3 amp 0 amp 3 3 amp 3 amp 3 end bmatrix nbsp g 2 5 5 3 5 0 3 3 3 3 displaystyle mathbf g 2 begin bmatrix 5 amp 5 amp 3 5 amp 0 amp 3 3 amp 3 amp 3 end bmatrix nbsp g 3 5 3 3 5 0 3 5 3 3 displaystyle mathbf g 3 begin bmatrix 5 amp 3 amp 3 5 amp 0 amp 3 5 amp 3 amp 3 end bmatrix nbsp g 4 3 3 3 5 0 3 5 5 3 displaystyle mathbf g 4 begin bmatrix 3 amp 3 amp 3 5 amp 0 amp 3 5 amp 5 amp 3 end bmatrix nbsp and so on The edge direction is defined by the mask that produces the maximum edge magnitude Example images edit nbsp Original nbsp Maximum gradient in the 8 directions nbsp Image filtered with g 1 nbsp Image filtered with g 2 nbsp Image filtered with g 3 nbsp Image filtered with g 4 nbsp Image filtered with g 5 nbsp Image filtered with g 6 nbsp Image filtered with g 7 nbsp Image filtered with g 8 References editKirsch 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 Retrieved from https en wikipedia org w index php title Kirsch operator amp oldid 1165475548, wikipedia, wiki, book, books, library,