I have a 3D array of data which shows one concave figure. I want to find all points which don't belong to the figure, but are inside the convex hull. How can I do it?
I know I should use the convhull
function, but I'm not sure how (the input is an array of size m by n
, where m
is the number of points and n
is the number of dimensions, so 3 in my case). Also, I'm not sure how to process the output of this function - it has the same size as the input matrix.
I'd appreciate any examples.