273 - What is Voronoi - explanation using python code

preview_player
Показать описание
Code generated in the video can be downloaded from here:

A Voronoi diagram divides the plane into separate regions where ​each region contains exactly one generating point (seed) and​ every point in a given region is closer to its seed than to any other. ​The regions around the edge of the cluster of points extend out to infinity.

This video explains Voronoi using python.
Рекомендации по теме
Комментарии
Автор

Terrific! I have been the whole day looking for information of Voronoi and this video let me to understand it completely. Thanks for uploading this high quality content!

dnakama
Автор

Another great video, Screeni.

There were a couple times where you were pointing out something on the video, but your mouse pointer wasn't visible. Although I could understand where you were talking about in the image, seeing a mouse pointer could help make this clearer.

Also, do the lines in the Voronoi texture run perpendicular to an unseen line connecting the two vertices? It seems like the line is close to perpendicular, but it's difficult to be sure because I feel like there was a hint of optical illusion that made my mind a little confused.

joelgraff
Автор

Vornoi is also used in 3d softwares for making fractures in a geometry.

krishnanunnib
Автор

You said that each voronoi region contains exactly one point. But in the illustration at timestamp 2:09, I can see upper-right most (blue colored) and lower-right most (brown colored) regions do not contain a single point. I wanted to ask what is the reason behind this, and also is it possible to have less number of voronoi regions than the number of points?

omarfaruqehamim
Автор

could you tell me that how to plot weighted voronoi by python, or can i set a value for the expanding speed from the scatter?

zhenli
Автор

Hi Sreeni, thank you very much for another great video! I wonder where we could use this voronoi approach in a more powerful and specific way where a simple median filter followed by a thresholding, a watershed and find contour could not solve.

TuTu_Investing
Автор

Hello sir! First of all, thank you very much for what you do for us 🙏
I have a question: how can we extract random points from a plot into an array or a list?

DrawMeAParadox
Автор

Can you please share the link for the temp.jpg file. Thanks, very nice summary. Looking forward to the next one.

rams
Автор

Hello Sir,
thank you so much for always teaching us 🙏,
as usual great video and content of quality 👍
this one came right in time😆 almost like u'r watching over us 👀😅
just asking .... the peak_local_max are not corresponding to the img... or it's me who's missing something?🤔
i was trying to plot the voronoi over the img when i noticed, i fliped and rotated the img to match the points.

vor=Voronoi(points)
fig, ax = plt.subplots(1, 1)

ax.imshow(np.rot90(np.flip(blured_img, 0), k=3), cmap="binary_r")
voronoi_plot_2d(vor, ax, line_colors="yellow")

plt.xlim([0, 256]), plt.ylim([0, 256])
# plt.axis('off')
plt.show()

lomacomfktoo
Автор

Thank you sir for what you are doing...
Sir, I have trained effiecientnetbo to classify images and then convert them to tensorflow lite I am trying to deploy on Raspberry pi 400 but the message appears when I try to load the model "could not open 'model path' s"

هبةحميد-زو
Автор

Is possible to compute it in 3D and visualize ?

simonemartino
Автор

Dear sir, this is a very wonderful video. I would like to use this tool. but I can't install this with pip and conda. could you guide me on how can I install this, sir?

nying
Автор

Why this can not be done with simple thresholding ?

PUBUDUCG
Автор

Thank you very much for sharing your great knowledge with us I highly appreciate your effort, can you please discuses Mask R-CNN since it is important nowadays in most of the fields, waiting for this video from you cause you are the best in teaching!!!!

younesmatoqu
Автор

Hello sir..
Very interesting and informative video thank you very much
Sir can u suggest latest segmentation method for medical image applications

ashwiniyadav
Автор

Sir, the code is not there on Github, Can you mentioned again ?

safwanshaibani
welcome to shbcf.ru