public class MetadataUtil extends Object
Modifier and Type | Method and Description |
---|---|
static ImgPlusMetadata |
copyAndCleanImgPlusMetadata(Interval inInterval,
ImgPlusMetadata in,
ImgPlusMetadata out)
copies all
ImgPlusMetadata from in to out. |
static <C extends CalibratedAxis> |
copyAndCleanTypedSpace(Interval inInterval,
CalibratedSpace<C> in,
CalibratedSpace<C> out)
copies the CalibratedAxis attributes from in to out.
|
static ImageMetadata |
copyImageMetadata(ImageMetadata in,
ImageMetadata out)
copies the ImageMetadata from in to out
|
static ImgPlusMetadata |
copyImgPlusMetadata(ImgPlusMetadata in,
ImgPlusMetadata out)
copies all ImgPlus metadata
ImgPlusMetadata from in to out. |
static Named |
copyName(Named in,
Named out)
copies the name from in to out
|
static Sourced |
copySource(Sourced in,
Sourced out)
copies the source attribute from in to out
|
static <C extends CalibratedAxis> |
copyTypedSpace(CalibratedSpace<C> in,
CalibratedSpace<C> out)
copies the CalibratedSpace attributes from in to out.
|
public static Sourced copySource(Sourced in, Sourced out)
in
- out
- public static Named copyName(Named in, Named out)
in
- out
- public static ImageMetadata copyImageMetadata(ImageMetadata in, ImageMetadata out)
in
- out
- public static <C extends CalibratedAxis> CalibratedSpace<C> copyTypedSpace(CalibratedSpace<C> in, CalibratedSpace<C> out)
in
- out
- public static ImgPlusMetadata copyImgPlusMetadata(ImgPlusMetadata in, ImgPlusMetadata out)
ImgPlusMetadata
from in to out. The
CalibratedSpace
of in and out must have the same dimensionality.in
- out
- public static <C extends CalibratedAxis> CalibratedSpace<C> copyAndCleanTypedSpace(Interval inInterval, CalibratedSpace<C> in, CalibratedSpace<C> out)
inInterval
- provides dimensionality information for the in spacein
- out
- public static ImgPlusMetadata copyAndCleanImgPlusMetadata(Interval inInterval, ImgPlusMetadata in, ImgPlusMetadata out)
ImgPlusMetadata
from in to out.
CalibratedSpace attributes for dimensions of size 1 are removed during
copying. The dimensionality of the out space must be
dimensionality(inSpace) - #removed dimsinInterval
- provides dimensionality information for the in spacein
- out
- Copyright © 2014–2022 ImageJ. All rights reserved.