Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8266377
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T05:08:18+00:00 2026-06-08T05:08:18+00:00

given a convex polgyon and a number N, how do I find the smallest

  • 0

given a convex polgyon and a number N, how do I find the smallest polygon that

  1. contains every point from the original polygon
  2. has exactly N corner points

For example, suppose I have a set of points and compute the convex hull for them (green). Now I want to find the smallest quadrangle that contains all the points (red)

smallest quadrangle
enter image description here

It is easy to see that any other polygon with 4 corners would either be bigger or fail to contain all the points. But how do I find this polygon in the general case?


EDIT:

With smallest polygon I mean the the one that covers the smallest area, although I am not sure whether the smallest circumference would give different results.

I added two more example pictures that unfortunately do not seem to work with the ‘remove edges’ approach in one of the answers


Some background information:

The goal is to accurately determine shapes with image recognition. For example take a foto of a cuboid. All points inside the box in the 2D-photo will be contained in a 6-corner convex polygon. However since real-world shapes do not have perfect corners, and the camera adds some blur, the edges of this polygon will be rounded.
See the attached image from the question Getting corners from convex points

blurred corners

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T05:08:21+00:00Added an answer on June 8, 2026 at 5:08 am

    You need to define the notion of “smallest” in your question. Whatever your definition,
    this question has been heavily studied in the computational geometry literature.
    The key search phrase is minimal enclosing k-gon:

    • Mictchell et al.: “Minimum-Perimeter Enclosing k-gon” 2006 (CiteSeer link)
    • Aggarwal et al.: “Minimum Area Circumscribing Polygons” 1985 (CiteSeer link)
    • O’Rourke et al.: “An optimal algorithm for fnding minimal enclosing triangles” 1986, Algorithmica (ACM link)

    The general algorithms are not simple
    (although algorithms for min area triangles or rectangles are simple).
    Depending on your goals, you might have to abandon any mathematical notion of
    “smallest” and head for a heuristic.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Problem: Given : n points that are strongly correlated to a 3d k-sided non-convex
This question already has an answer here: Point in Polygon aka hit test C#
Given a polygon (not necessary convex) in the Cartesian coordinate, i wonder if there
I was Reading the Graham Scan Algorithm to Find the convex Hull From CLRS.
Given a convex polygon as a counter-clockwise list of n vertices, give O(lgn) algorithm
Given that the web application doesn't have su privileges, I'd like to execute a
Given that an input String may be specified as follows: read(xpath(‘...’)) or xpath(‘...’) or
I have a convex polygon (typically just a rotated square), and I know all
Given n points on the plane. No 3 are collinear. Given the number k.
Given two convex polygons in 2D space, how would you go about constructing the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.