Hi!<br>I have a kind of &quot;dummy&quot; problem. I do need to select a subset of point cloud describing the contour of a structure (the points are previously derived with the ITK Review implementation of Marching Squares and therefore I do have *lots* of points). <br>

I found a very nice implementation of this in CGAL Random_Simplify_Points, but unfortunately I cannot include the whole library in my project. <br>So here it comes the question: <br>I did store my points (x,y,z) in a PointsContainer (as in PointSet2.cxx). Now in order for the algorithm to work, I need to randomly shuffle / randomly extract from the container (shuffle would be the best option). <br>

Is there something similar to itk::ImageRandomNonRepeatingIteratorWithIndex but for points containers?and/or a shuffle method?<br>thanks a lot<br>Marta<br>-- <br>*******************************************************************<br>

Marta Peroni<br>PhD Student - Bioengineering department - Politecnico di Milano (IT)<br><br>contacts:<br>mail: <a href="mailto:marta.peroni@mail.polimi.it">marta.peroni@mail.polimi.it</a> , <a href="mailto:m.peroni@gmail.com">m.peroni@gmail.com</a><br>

mobile: +393488202136 (IT) +16178186365 (US)<br>office: +39 02 2399 9022<br><br>********************************************************************<br>