Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6729263
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:16:06+00:00 2026-05-26T10:16:06+00:00

Are there any algorithms to implement Voronoi diagram that bounds the ellipses? The diagram

  • 0

Are there any algorithms to implement Voronoi diagram that bounds the ellipses? The diagram would look like the pictures here voronoi diagram of ellipses

http://www.loria.fr/~tzoumas/vorell/vorell01.png

Can anyone share some links,tutorials,codes etc related to it?

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T10:16:07+00:00Added an answer on May 26, 2026 at 10:16 am

    Here’s an algorithm that uses the distance transform together with the watershed algorithm to draw a Voronoi diagram for ellipses.

    %# first, define some ellipses (for simplicity, I use 0/90 orientation)
    ellipses = [10,20,5,10;30,10,10,7;40,40,8,3];
    
    %# put the ellipses into an image (few pixels, therefore pixelated)
    img = false(50);
    [xx,yy]=ndgrid(1:50,1:50);
    for e = 1:size(ellipses,1),img = img | (xx-ellipses(e,1)).^2/ellipses(e,3)^2 + (yy-ellipses(e,2)).^2/ellipses(e,4)^2 <= 1;end
    

    enter image description here

    %# perform the distance transform
    dt = bwdist(img);
    

    enter image description here

    %# apply the watershed algorithm. 
    %# ws==0 are the lines for the Voronoi diagram
    ws = watershed(dt);
    
    %# create a RGB image and display
    %# note: for yellow lines, replace the last
    %# "ws==0" by "zeros(size(ws))", so that you
    %# only put ws into the red and green channel (=yellow)
    rgb = cat(3,ws==0,ws==0,ws==0)); 
    %# add the ellipses into the red channel
    rgb(:,:,1) = rgb(:,:,1) | img;
    imshow(rgb)
    

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Are there any algorithms that can help with hierarchical clustering? Google's map-reduce has only
Are there any algorithms or tools that can increase the resolution of an image
Are there any compression algorithms -- lossy or lossless -- that have been specifically
Are there any good references for synchronisation algorithms? I'm interested in algorithms that synchronize
I am wondering if there are any well-known algorithms that I should be aware
Can someone post any simple explanation of cache aware algorithms? There are lot of
Is there a library of generic collection algorithms for .NET? I would like to
Are there any algorithms available for analyzing the complexity of an image? Basically I'm
Are there any existing algorithms for finding and avoiding problematic areas ( swamps ,
Are there any known hash algorithms which input a vector of int's and output

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.