convex-hull Questions

13

Solved

Suppose I have an array of points in random order, and I need to find a polygon (by sorting them, such that every adjacent pair represents a side) which passes through all of the points, and its si...
Marozas asked 10/1, 2013 at 17:4

13

I have a point cloud of coordinates in numpy. For a high number of points, I want to find out if the points lie in the convex hull of the point cloud. I tried pyhull but I cant figure out how to c...
Skeptical asked 25/5, 2013 at 14:41

4

The qhull library ( qhull.org) has several examples to start in his website, but all the information regarding to the C++ is not very useful to me. I am trying to make a simple convex Hull of 3D p...
Uro asked 23/10, 2013 at 0:31

4

Given a set of points S (x, y, z). How to find the convex hull of those points ? I tried understanding the algorithm from here, but could not get much. It says: First project all of the points...
Spiegel asked 24/8, 2013 at 9:10

2

Solved

I'm looking for a way to visualize the surface between a number of straight lines, which are defined in a dataframe through their intercepts and slopes. The surface I am looking for is the one that...
Alarm asked 26/10, 2022 at 7:45

16

Solved

I have a set of points. I want to separate them into 2 distinct sets. To do this, I choose two points (a and b) and draw an imaginary line between them. Now I want to have all points that are left ...
Blindly asked 13/10, 2009 at 14:10

1

I am completing a project in which I have implemented a brute force algorithm for solving the Convex Hull problem. I need to also create a visual for this algorithm. I am trying to create a coordin...
Stave asked 6/10, 2022 at 23:28

2

Solved

I am making a convex hull using the scipy.spatial package http://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.ConvexHull.html#scipy.spatial.ConvexHull I've tried searching, but have ...
Lowborn asked 14/7, 2015 at 10:55

3

Given a set of points, points = np.random.randn(...) # n 3d points I would like to uniformly fill the volume defined by the convex hull in which they lie by a list (np.array of shape nx3) of 3d...
Kingship asked 27/11, 2019 at 15:52

4

Solved

I have a program that calculates the convex hull of an image. I'm trying to use this information in order to count the number of fingers that are present in an input image. From some surfing I foun...
Sassaby asked 21/9, 2012 at 7:39

2

Solved

The value of the "area" attribute in scipy ConvexHull (see http://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.ConvexHull.html) object does not seem to be (what I understand to be) th...
Turtleneck asked 27/2, 2016 at 1:37

3

I have a list of line segments in no particular order. I want to find all enclosed spaces (polygons) formed by the segments. Is there an efficient algorithm or method that I could use to do this? ...
Levitt asked 5/6, 2015 at 7:36

1

Solved

I'm trying to calculate and show a convex hull for some random points in python. This is my current code: import numpy as np import random import matplotlib.pyplot as plt import cv2 points = np....
Tito asked 14/6, 2020 at 17:32

6

Solved

Setup Given some set of nodes within a convex hull, assume the domain contains one or more concave areas: where blue dots are points, and the black line illustrates the domain. Assume the point...
Limited asked 20/7, 2017 at 23:59

6

Solved

Standard convex hull algorithms will not work with (longitude, latitude)-points, because standard algorithms assume you want the hull of a set of Cartesian points. Latitude-longitude points are not...

0

I want to find XY of the center (red) of a convex-hull points (orange circles) set that is a result from collision detection. Using separating-axis technique, I know for sure that the convex sha...
Skerry asked 17/10, 2019 at 2:30

2

Solved

Is there an "alpha shape" function in 3 dimensions in python, other than the CGAL python bindings? Alternatively, is there a way to extend the example below into 3D? 2D example: draw a smooth po...
Estimate asked 10/10, 2014 at 16:23

8

Solved

I would like an algorithm to calculate the convex hull of 4 2D points. I have looked at the algorithms for the generalized problem, but I wonder if there is a simple solution for 4 points.
Yovonnda asked 23/1, 2010 at 5:56

2

Solved

I'm trying to implement the Graham’s Scan algorithm for a convex hull in Java, and have trouble sorting the points by polar angle with respect to the point with lowest y-value. I have found this ...
Disendow asked 13/1, 2019 at 15:33

5

Is there a fast way to do this? Searching online shows convexity of functions or single polygons. But I need the ability to check this for the whole model. An object can have convex faces but can b...

6

Please help me, I have a problem for Convex Hull on Android. I use Java and OpenCV 2.3. Before I made it on Java, I made it on C++ with Visual Studio 2008. This code can running successfully on...
Explanatory asked 11/7, 2013 at 6:58

4

Solved

How to compute the convex hull starting from collection of points? I am looking for an implementation of Convex hull algorithm in C#
Brashear asked 3/2, 2013 at 9:45

2

Solved

I have a set of points A. I get the convex hull CH_A of A. Then, I have extra points, point set B. I add B into A and get a bigger point set. I obtain the convex hull CH_AB of this bigger set cont...
Arkwright asked 9/11, 2013 at 7:38

1

I'm trying to add a hull around the D3 network graph that I've build. My network is based on this JSFiddle (can't share mine because of sensitive data) and basically the end product should be a net...
Tobacco asked 7/6, 2017 at 17:7

2

Solved

I have a convex set in a Euclidean space (3D, but would like answers for nD) that is characterized by a finite set of half-spaces (normal vector + point). Is there a better algorithm to find the e...
Acklin asked 7/11, 2014 at 20:33

© 2022 - 2024 — McMap. All rights reserved.