Ask Your Question

Revision history [back]

C++ OpenCv Randomly selecting the pixels having atleast 16 pixels space from one another

Hi Guys,

I have currently an image having dimensions (2800 * 3800), I want to access the pixels randomly and store those pixel's in a vector. What Actually I want is that I should not be be storing or getting pixels which are unique and also these should have a space of 16 i.e consecutive 16 pixels difference between all pixels and Lastly I have to select atleast 300 Pixels.

Suggest me something really robust.

Thanks.