SecondaryImagesConverter sic = new SecondaryImagesConverter(file);
List<FeatureSet> candidates = sic.convertToFeatures(cellDim);
List<Cell> srcCells = sa.perform(img, cellDim, candidates);
NearestNeighbour nn = new NearestNeighbour();
FeatureSet nearest;
List<Cell> newCells = new ArrayList<Cell>();
for (Cell srcCell : srcCells) {
nearest = nn.find(srcCell.getFeatures(), candidates);
newCells.add(new Cell(srcCell.getBounds(),nearest));
}
//CollageImage ci = new CollageImage(newCells,img);