public class ImgPlusViews extends Object
Constructor and Description |
---|
ImgPlusViews() |
Modifier and Type | Method and Description |
---|---|
static boolean |
canFuseColor(ImgPlus<? extends RealType<?>> image)
Indicates it
fuseColor(ImgPlus) can by used. |
static <T> ImgPlus<T> |
fixAxes(ImgPlus<T> in)
Change the axis types of an image, such that each axis is uniquely typed
as X, Y, Z, channel or time.
|
static ImgPlus<ARGBType> |
fuseColor(ImgPlus<? extends RealType<?>> image)
Generates a color image from a gray scale image that has a color axes of
dimension 3.
|
static <T extends Type<T>> |
hyperSlice(ImgPlus<T> image,
int d,
long position)
|
static <T extends Type<T>> |
moveAxis(ImgPlus<T> image,
int fromAxis,
int toAxis)
Permutes the axes of the image.
|
static <T extends Type<T>> |
permute(ImgPlus<T> image,
int fromAxis,
int toAxis)
|
public static <T extends Type<T>> ImgPlus<T> hyperSlice(ImgPlus<T> image, int d, long position)
Views.hyperSlice(RandomAccessible, int, long)
. But works
on ImgPlus
and manages axes information too.public static <T extends Type<T>> ImgPlus<T> permute(ImgPlus<T> image, int fromAxis, int toAxis)
Views.permute(RandomAccessible, int, int)
. But works on
ImgPlus
. But works on ImgPlus
and manages axes
information too.public static <T extends Type<T>> ImgPlus<T> moveAxis(ImgPlus<T> image, int fromAxis, int toAxis)
public static boolean canFuseColor(ImgPlus<? extends RealType<?>> image)
fuseColor(ImgPlus)
can by used.public static ImgPlus<ARGBType> fuseColor(ImgPlus<? extends RealType<?>> image)
Copyright © 2015–2022 ImgLib2. All rights reserved.