Image to point

hello,
Is there a way to convert imported image to point depending on contrast?
something like this? or maybe desnsity of points instead radius of circles?
Untitled-1
image

See this post.

yes i have came across this but i was wondering if we can replace it with point density.