public class ImageTransform<T extends Type<T>> extends Object implements OutputAlgorithm<RandomAccessibleInterval<T>>
Constructor and Description |
---|
ImageTransform(ExtendedRandomAccessibleInterval<T,Img<T>> container,
InvertibleBoundable transform,
InterpolatorFactory<T,RandomAccessible<T>> interpolatorFactory)
Deprecated.
Use a different constructor and explicitly define a
ImgFactory which will create the output. |
ImageTransform(RandomAccessible<T> input,
Interval interval,
InvertibleBoundable transform,
InterpolatorFactory<T,RandomAccessible<T>> interpolatorFactory,
ImgFactory<T> outImgFactory) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkInput() |
String |
getErrorMessage() |
long[] |
getNewImageSize() |
double[] |
getOffset() |
ImgFactory<T> |
getOutputContainerFactory()
Deprecated.
Use
getOutputImgFactory() instead. |
ImgFactory<T> |
getOutputImgFactory() |
Img<T> |
getResult() |
boolean |
process() |
void |
setNewImageSize(long[] newDim) |
void |
setOffset(double[] offset) |
void |
setOutputContainerFactory(ImgFactory<T> outputContainerFactory)
Deprecated.
Use
setOutputImgFactory(ImgFactory) instead. |
void |
setOutputImgFactory(ImgFactory<T> outputImgFactory)
Set the image factory which will be used for output.
|
@Deprecated public ImageTransform(ExtendedRandomAccessibleInterval<T,Img<T>> container, InvertibleBoundable transform, InterpolatorFactory<T,RandomAccessible<T>> interpolatorFactory)
ImgFactory
which will create the output.container
- transform
- interpolatorFactory
- public ImageTransform(RandomAccessible<T> input, Interval interval, InvertibleBoundable transform, InterpolatorFactory<T,RandomAccessible<T>> interpolatorFactory, ImgFactory<T> outImgFactory)
@Deprecated public void setOutputContainerFactory(ImgFactory<T> outputContainerFactory)
setOutputImgFactory(ImgFactory)
instead.outputContainerFactory
- @Deprecated public ImgFactory<T> getOutputContainerFactory()
getOutputImgFactory()
instead.public void setOutputImgFactory(ImgFactory<T> outputImgFactory)
outputImgFactory
- public ImgFactory<T> getOutputImgFactory()
public double[] getOffset()
public void setOffset(double[] offset)
public long[] getNewImageSize()
public void setNewImageSize(long[] newDim)
public boolean checkInput()
checkInput
in interface Algorithm
public String getErrorMessage()
getErrorMessage
in interface Algorithm
public Img<T> getResult()
getResult
in interface OutputAlgorithm<RandomAccessibleInterval<T extends Type<T>>>
Copyright © 2015–2022 ImgLib2. All rights reserved.