File Exchange

image thumbnail

Hidden Point Removal

version 1.0.0.0 (1.55 KB) by Sagi Katz
Approximates visbile points in an N dimensional point cloud, as seen from a given viewpoint

8 Downloads

Updated 05 Oct 2007

View License

Approximates visbile points in an N dimensional point cloud, as seen from a given viewpoint.
This is the most basic implementation of:
"Direct Visibility of Point Sets",
Sagi Katz, Ayellet Tal, and Ronen Basri. SIGGRAPH 2007

Usage:
visiblePtInds=HPR(p,C,param)

Input:
p - NxD D dimensional point cloud.
C - 1xD D dimensional viewpoint.
param - parameter for the algorithm. Indirectly sets the radius.

Output:
visiblePtInds - indices of p that are visible from C.

Cite As

Sagi Katz (2020). Hidden Point Removal (https://www.mathworks.com/matlabcentral/fileexchange/16581-hidden-point-removal), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (8)

SJTU

Useful!

yang zhang

Could you give a example about how to use this code?

MENGZHI DI

Thank you for sharing this, it is very useful.

MENGZHI DI

Could you give a example about how to use this code?

Yes I agree. Would it possible if you could provide an example of using this code. Thanks.

Muhammad

For the people who want to use the code directly without reading the whole paper, some information should be provided about the 'param' input argument.

It is a very efficient and interesting visibility test. Many thanks

Julie Dubé

Updates

1.0.0.0

Image now shows both 2D and 3D applications.

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux