imgsAnn1 = getPercentOfCollection(allImgs, percent); imgsAnn2 = getPercentOfCollection(allImgs, percent); dsAnn1 = getPercentOfCollection(allDss, percent); dsAnn2 = getPercentOfCollection(allDss, percent);
imgsAnn1 = getImageAnnotations(); imgsAnn2 = getImageAnnotations(); dsAnn1 = getDatasetAnnotations(); dsAnn2 = getDatasetAnnotations();
    public OMEData init() {        // Test data : calculated before to not change times.        if (!initialized) {            super.init();            imgsPDI = getPercentOfCollection(allImgs, percent);            imgsCGCI = getPercentOfCollection(allImgs, percent);            imgsAnn1 = getPercentOfCollection(allImgs, percent);            imgsAnn2 = getPercentOfCollection(allImgs, percent);            dsAnn1 = getPercentOfCollection(allDss, percent);            dsAnn2 = getPercentOfCollection(allDss, percent);        }        return this;    }