public class ImageTranslator extends AbstractContextual
DisplayCreator
and ImagePlusCreator
.Constructor and Description |
---|
ImageTranslator(LegacyService legacyService) |
Modifier and Type | Method and Description |
---|---|
ImageDisplay |
createDisplay(ij.ImagePlus imp)
Creates a
ImageDisplay from an ImagePlus . |
ij.ImagePlus |
createLegacyImage(Dataset ds) |
ij.ImagePlus |
createLegacyImage(Dataset ds,
ImageDisplay display) |
ij.ImagePlus |
createLegacyImage(ImageDisplay display)
Creates an
ImagePlus from a ImageDisplay . |
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setContext
public ImageTranslator(LegacyService legacyService)
public ImageDisplay createDisplay(ij.ImagePlus imp)
ImageDisplay
from an ImagePlus
. Shares planes of
data when possible.public ij.ImagePlus createLegacyImage(ImageDisplay display)
ImagePlus
from a ImageDisplay
. Shares planes of
data when possible.public ij.ImagePlus createLegacyImage(Dataset ds)
public ij.ImagePlus createLegacyImage(Dataset ds, ImageDisplay display)
Copyright © 2014–2022 ImageJ. All rights reserved.