Hi, i'm new in matlab image processing. As we know, the rectangle has 4 corner A,B,C,D. How to detect every corner in rectangle automatically? it's like :
if (corner was in A) then do.. end if (corner was in B) then do.. end if (corner was in C) then do.. end if (corner was in D) then do.. end
please help me..thank in advance
I don't know what you want to do. Did you use the corner() function in the Image Processing Toolbox to detect your corners? Okay, let's say you did. Then do you look at all the points that are returned and determine which is A, which is B, etc.? I assume you did. But I don't know what you want to do inside the if blocks.