fillImageSummary(image, is);
ImageMapper.buildImageSummary(image, is);
    public static List fillListAnnotatedImages(Dataset dataset,                                          ImageSummary iProto, List annotations,                                          List images)    {        Iterator i = dataset.getImages().iterator();        Image image;        ImageSummary is;        int id;        Map ids = AnnotationMapper.reverseListImageAnnotations(annotations);        while (i.hasNext()) {            image = (Image) i.next();            //Make a new DataObject and fill it up.            is = (ImageSummary) iProto.makeNew();            fillImageSummary(image, is);            id = image.getID();            is.setAnnotation(AnnotationMapper.fillImageAnnotation(                    (ImageAnnotation) ids.get(new Integer(id))));            //Add the image summary object to the list.            images.add(is);        }        return images;    }