Go to Post Although I'm 2-0 against 217 when Paul coaches, I'm 0-2 against them when he doesn't....hmmm.... :rolleyes: - Lil' Lavery [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 20-01-2012, 17:26
rp181 rp181 is offline
Registered User
FRC #0662
 
Join Date: Jan 2011
Location: US
Posts: 5
rp181 is an unknown quantity at this point
Quadrilateral of Best Fit

Our team is attempting to have functioning vision. At this point, we have an algorithm to detect blobs, compute the convex hull of the blobs, and calculate the area score and AR score.

Assuming I can pick out which polygon represents the square, how do I go about extracting the 4 corners of it? The computed polygon has around 20 vertices every time, and in order to do the necessary calculations, I need the 4 vertices of a quadrilateral that best describes the shape.

How would i go about this?
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 23:32.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi