Note that there are some explanatory texts on larger screens.

plurals
  1. POSelecting points on image parts by color weight
    primarykey
    data
    text
    <p>There is a need for selecting specified number of points on the image (actually on the part of that image). Darker parts of the image are more important.</p> <p>The easiest way of doing this is by selecting them randomly. But even dropping used points usually finished with some points being located too close to others especially when respecting weights. </p> <p>Maybe after selecting the point the weight should be decreased dynamically? Haven't tried.</p> <p>I've noticed that original image has too many different colors so I wanted to smooth it to cut off similar colors. However converting to grayscale was not enough.<br> I used <a href="http://www.emgu.com/" rel="nofollow noreferrer">Emgu CV</a> (OpenCV wrapper) functions to binarize image. Than I tried to calculate watershed but calculated areas are not so easy to separate. Generally watershed is pretty 'non-intuitive' approach to detect darker places.</p> <p>Simply: I would like to mark points on the image starting from darker parts - that parts should be marked more frequently than lighter. Points should be scattered over group of colors that are similar to avoid being piled-up in nearby places.</p> <p>The algorithm doesn't have to be accurate. It can give different results in next iterations. Number of points would not be very big from 10 to 150-200.</p> <p>How to calculate specified number of points scattered on the image starting from the darker regions?</p> <p>To visualize what I mean see the picture below. It contains selected points (qty. ~20). Mostly darker parts are selected. The points don't have to appear on the same locations after next iteration. But what I want is to select points on lighter regions when number of them would be higher.</p> <p>Of course for different images the numbers of points needed to jump out of darkness would differ.</p> <p><img src="https://i.stack.imgur.com/rLP6X.jpg" alt="Picture after points selection"></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload