Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

identify cluster

I have following vector {Point(100, 200), Point( 101, 202 ), Point ( 200, 200 ), ( 201, 202 ), ( 203, 204 ), Point ( 100, 400 ), Point( 102, 402 ), Point ( 200, 400), Point ( 202, 401 ), ( 205, 405 ) }

The vector contains vertices of a rectangle and some neighboring points of vertices. I need to extract the rectangle vertices from these points. means for Point ( 100, 200 ) and ( 101, 102 ) I just need one of them. Then for Points ( 200, 200 ), ( 201, 202 ) , ( 203, 204 ) I just need one point ( may be average or center of these neighbors ) and so forth. It may be a triangle with similar distribution or just a line with two groups or a point with a single group. Kindly guide me how can I achieve this? Should I use Kmeans or if yes how? if not is there any other clustring algorithm to solve this issue.

click to hide/show revision 2
No.2 Revision

identify cluster

I have following vector vector

{Point(100, 200), Point( 101, 202 ), Point ( 200, 200 ), ( 201, 202 ), ( 203, 204 ), Point ( 100, 400 ), Point( 102, 402 ), Point ( 200, 400), Point ( 202, 401 ), ( 205, 405 ) }

}

The vector contains vertices of a rectangle and some neighboring points of vertices. I need to extract the rectangle vertices from these points. means for Point ( 100, 200 ) and ( 101, 102 ) I just need one of them. Then for Points ( 200, 200 ), ( 201, 202 ) , ( 203, 204 ) I just need one point ( may be average or center of these neighbors ) and so forth. It may be a triangle with similar distribution or just a line with two groups or a point with a single group. Kindly guide me how can I achieve this? Should I use Kmeans or if yes how? if not is there any other clustring algorithm to solve this issue.

identify cluster

I have following vector

{Point(100, 200), Point( 101, 202 ), Point ( 200, 200 ), ( 201, 202 ), ( 203, 204 ), Point ( 100, 400 ), Point( 102, 402 ), Point ( 200, 400), Point ( 202, 401 ), ( 205, 405 ) }

The vector contains vertices of a rectangle and some neighboring points of vertices. I need to extract the rectangle vertices from these points. means for Point ( 100, 200 ) and ( 101, 102 ) I just need one of them. Then for Points ( 200, 200 ), ( 201, 202 ) , ( 203, 204 ) I just need one point ( may be average or center of these neighbors ) and so forth. It may be a triangle with similar distribution or just a line with two groups or a point with a single group. Kindly guide me how can I achieve this? Should I use Kmeans or if yes how? if not is there any other clustring algorithm to solve this issue.