mercredi 28 octobre 2015

How to randomly choose five pixels from a particular row

I have a part of an image of size 128-by-128 pixels and I want to randomly choose 5 pixels from a given row, say the 1st row. How do I do that?




Aucun commentaire:

Enregistrer un commentaire