use of uk.ac.sussex.gdsc.core.ij.MappedImageStack in project GDSC-SMLM by aherbert.
the class ImageJImagePeakResults method createNewImageStack.
private ImageStack createNewImageStack(int width, int height) {
if ((displayFlags & DISPLAY_MAPPED) != 0) {
final MappedImageStack stack = new MappedImageStack(width, height);
stack.setMapZero((displayFlags & DISPLAY_MAP_ZERO) != 0);
return stack;
}
if ((displayFlags & DISPLAY_NEGATIVES) != 0) {
return new InfinityMappedImageStack(width, height);
}
return new ImageStack(width, height);
}
Aggregations