public class ImgToVirtualStack extends Object
Constructor and Description |
---|
ImgToVirtualStack() |
Modifier and Type | Method and Description |
---|---|
static ij.ImagePlus |
wrap(ImgPlus<?> imgPlus)
Wraps an
ImgPlus into an ImagePlus . |
static ij.ImagePlus |
wrap(ImgPlus<? extends RealType<?>> imgPlus,
boolean mergeRGB) |
static ij.ImagePlus |
wrapAndScaleBitType(ImgPlus<BitType> imgPlus)
|
public static ij.ImagePlus wrap(ImgPlus<?> imgPlus)
ImgPlus
into an ImagePlus
. The image can be
RealType
or ARGBType
. The ImagePlus
is backed by
a special VirtualStack
, which copies an plane from the given
image, instead of it plane from a file.
Only up to five dimensions are support. Axes can might be arbitrary. The image title and calibration are derived from the given image.
ArrayImgToVirtualStack
,
ImgToVirtualStack
public static ij.ImagePlus wrapAndScaleBitType(ImgPlus<BitType> imgPlus)
wrap(ImgPlus)
, but works only for ImgPlus
of
BitType
. The pixel values of 0 and 1 are scaled to 0 and 255.ArrayImgToVirtualStack
,
ImgToVirtualStack
Copyright © 2015–2022 ImgLib2. All rights reserved.