Beispiel #1
0
 public synchronized ImageFloat getProbabilityMap(int structureIdx) {
   if (structureIdx <= 0 || structureIdx >= probabilityMap.length) return null;
   if (probabilityMap[structureIdx] == null || !probabilityMap[structureIdx].isOpened())
     probabilityMap[structureIdx] =
         ((Structure) cell.getStructure(structureIdx)).openProbabilityMap();
   return probabilityMap[structureIdx];
 }
Beispiel #2
0
 @Override
 public synchronized ImageInt getImage(int structureIdx) {
   if (structureIdx < 0 || structureIdx >= images.length) return null;
   if (images[structureIdx] == null || !images[structureIdx].isOpened())
     images[structureIdx] = cell.getStructure(structureIdx).openSegmented();
   return images[structureIdx];
 }
Beispiel #3
0
 public synchronized Object3DVoxels[] getObjects(int structureIdx) {
   if (structureIdx < 0 || structureIdx >= objects.length) return null;
   if (objects[structureIdx] == null) cell.getStructure(structureIdx).createObjects();
   return objects[structureIdx];
 }