390391392393394395396397398399
numPoints=0; for(y=0;y<image_height;++y) { for(x=0;x<image_width;++x) { i=decode(img.getRGB(x,y)); if(i==0) { points[numPoints++]=new Point2D(TX(x),TY(y)); } } } }