Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I was reading this article related to edge detection and here is a edge detection mask

-1 0 1
-1 0 1
-1 0 1

It's mentioned that this detector detects the edges in the east direction. I am confused how come the direction is east. It should have been north isn't it

It should detect something like | rather than - isn't it

share|improve this question
    
Yes, that mask detects edges oriented "|" rather than "—". By "edge in the east direction" they probably meant an edge whose normal points east (or west, for that matter). –  Rahul Sep 15 '12 at 0:42
    
I think you compute something like a dot product of this placed on a 3x3 part of your image. To me, this seems like a derivative in the east direction, so the edge is actually going north-south. –  Tunococ Sep 15 '12 at 0:49
add comment

1 Answer 1

This mask is one part of Prewitt operator. Please have a look at :

http://en.wikipedia.org/wiki/Prewitt_operator

It detects vertical edges, while its transpose detects the horizontal ones. Prewitt operator is the aplication of both masks, one after the other.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.