BufferedImage img = ImageIO.read(logoFile);
RenderImage ri = new RenderImage(img);
SIFT sift = new SIFT();
sift.detectFeatures(ri.toPixelFloatArray(null));
List<KDFeaturePoint> al = sift.getGlobalKDFeaturePoints();
KDFeaturePointListInfo info = new KDFeaturePointListInfo();
info.setHeight(img.getHeight());
info.setWidth(img.getWidth());
info.setImageFile(logoFile.getName());
info.setList(al);
KDFeaturePointWriter.writeComplete("/Users/axman/Downloads/model/sift/" + logoFile.getName() + ".sift",
info);
i++;
System.out.println(i);
if (i == 100) break;