Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Voronoi-Interpolation for HRIRs #151

Closed
fietew opened this issue Jun 15, 2017 · 2 comments
Closed

Voronoi-Interpolation for HRIRs #151

fietew opened this issue Jun 15, 2017 · 2 comments
Assignees

Comments

@fietew
Copy link
Member

fietew commented Jun 15, 2017

Follow up of #76:

assuming voronoi(x0,xs) as the function call, with x0 being the existing (measured) points and xs being the query point:

  1. compute convex hull in 3D for x0 resulting in a set of N triangles simplices_old, Nx3
  2. compute convex hull in 3D for [x0;xs] resulting in a set of N+1 triangles simplices_new, (N+1)x3
  3. extract all neighboring x0 sharing a triangle with xs in simplices_new, denoted as x0'
  4. extract all triangles from simplices_old and simplices_new which have at least one of x0' as a
    vertex, results are denoted as simplices_old' and simplices_new'
  5. compute spherical Voronoi regions for x0' using simplices_old' and afterwards using simplices_new' (taken from here)
    1. add center of sphere to each triangle to create tetrahedrons
    2. calculate circumcentre of each tetrahedron, Nx3
    3. project circumcentre onto sphere to create the vertices of Voronoi-diagram (xv), Nx3
    4. build Voronoi regions for each x0' (all points in xv which originate from a triangle/tetrahedron where x0' is a vertex belong to the Voronoi region of x0')
  6. compute area of Voronoi regions for both diagrams (see here)
  7. compute weights for each x0' (stolen area/sum of stolen of area)
@hagenw
Copy link
Member

hagenw commented Apr 10, 2019

Was this fixed by #171?

@fietew
Copy link
Member Author

fietew commented Apr 11, 2019

Was this fixed by #171?

Yes

@fietew fietew closed this as completed Apr 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants