Git Product home page Git Product logo

gcentroidal-voronoi-tessellation's Introduction

We propose a novel algorithm to compute centroidal Voronoi tessellation using the GPU. It is based on the iterative approach of Lloyd’s method while having good considerations to address the two major challenges of achieving fast convergence with few iterations, and at the same time achieving fast computation within each iteration. Our implementation of the algorithm can complete the computation for a large image in the order of hundreds of milliseconds and is faster than all prior work on a state-of-the-art GPU. As such, it is now easier to integrate centroidal Voronoi tessellations into interactive applications.

Keywords: GPGPU, Computational Geometry, Digital Geometry, Lloyd's Method, Voronoi Diagram, PBA

Website: https://www.comp.nus.edu.sg/~tants/cvt.html

gcentroidal-voronoi-tessellation's People

Contributors

orzzzjq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gcentroidal-voronoi-tessellation's Issues

Density bahves unexpectedly

Hi, I am testing the project by setting different densities, but it seems that the only thing that matters is where zeros are placed. Apart from that, no matter what density distribution I prescribe (in the 3D case), I always get the non-zero area uniformly covered with voronoi cells.

3D version returns only zeros

Hi, I have experimented with the software, and while the 2D version seems to work, the 3D version returns an array full of zeros as outputVoronoi - am I doing something wrong?

In the 2D GCVT, how do I set the density to 0?

Hello,
I generated a CVT for the areas in the image that are not black by setting the density to 0 for black areas and 1-10 for colored areas. However, the resulting CVT is very poor. Is it because I set the density incorrectly? The white areas in the image indicate the positions of the seed points.
QQ截图20230330211830

Compile error in visual studio 2019

Hi!
I am trying to compile the code in visual studio 2019, but the .cu file fails to include in the project.
I was considering if I configuring it with an unsuitable edition of Cuda.

Could you please tell me your environment configuration regarding the IDE, CUDA edition, or other dependencies please?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.