|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to filter the points to get only the left most and right most?
Hi all,
Kindly need your attention here. Let say, Code:
n = 0; // number of corner points detected
if (......)
{
corner_list[n].x = j; //x coordinate
corner_list[n].y = i; //y coordinate
n++;
:
:
}
This is the image and the marking at the contour are the detected points. "m-004-1.pgm"-->attached I want to get only the left most and right most points as corner. How can i write the codes to keep only these 2 corner points for every image? From the left side, we can see there are two points with the same x-coordinate. From the right there are 3 or 4 points at the same x-coordinate. How can we program to choose the most middle position for the left most and right most corner points? Please help or give some ideas. Thank you. Best regards, |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to filter the corners in image to get mouth corners only? | tommy_chai | Programming | 3 | 20-11-2007 13:22 |
| The Most Amazing Petition Ever Made In the Whole World | coldabert | Chit-Chat | 5 | 14-02-2006 21:57 |
| What is your most loved and most hated video games of all time? | Elgin Clock | Chit-Chat | 64 | 25-10-2004 09:41 |
| What is your most loved and most hated video games of all time? | Elgin Clock | IT / Communications | 8 | 14-07-2004 18:31 |
| Who had the most awesome robot at the nationals | Don Taylor | Championship Event | 36 | 11-12-2002 21:51 |