public class ImageTransform<T extends Type<T>> extends Object implements OutputAlgorithm<T>
Modifier and Type | Field and Description |
---|---|
protected Image<T> |
img |
protected InterpolatorFactory<T> |
interpolatorFactory |
protected boolean |
isAffine |
protected int |
numDimensions |
protected InvertibleCoordinateTransform |
transform |
protected Boundable |
transformAsBoundable |
Constructor and Description |
---|
ImageTransform(Image<T> img,
BT transform,
InterpolatorFactory<T> interpolatorFactory) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkInput() |
String |
getErrorMessage() |
InterpolatorFactory<T> |
getInterpolatorFactory() |
int[] |
getNewImageSize() |
float |
getNewImageSize(int dim) |
float[] |
getOffset() |
float |
getOffset(int dim) |
ImageFactory<T> |
getOutputImageFactory() |
Image<T> |
getResult() |
boolean |
process() |
void |
setInterpolatorFactory(InterpolatorFactory<T> interpolatorFactory) |
void |
setNewImageSize(int[] newDim) |
void |
setNewImageSize(int dim,
int size) |
void |
setOffset(float[] offset) |
void |
setOffset(int dim,
int size) |
void |
setOutputImageFactory(ImageFactory<T> outputImageFactory) |
protected final InvertibleCoordinateTransform transform
protected final Boundable transformAsBoundable
protected final int numDimensions
protected InterpolatorFactory<T extends Type<T>> interpolatorFactory
protected final boolean isAffine
public ImageTransform(Image<T> img, BT transform, InterpolatorFactory<T> interpolatorFactory)
public void setOutputImageFactory(ImageFactory<T> outputImageFactory)
public void setInterpolatorFactory(InterpolatorFactory<T> interpolatorFactory)
public ImageFactory<T> getOutputImageFactory()
public float[] getOffset()
public float getOffset(int dim)
public void setOffset(int dim, int size)
public void setOffset(float[] offset)
public InterpolatorFactory<T> getInterpolatorFactory()
public int[] getNewImageSize()
public float getNewImageSize(int dim)
public void setNewImageSize(int dim, int size)
public void setNewImageSize(int[] newDim)
public boolean checkInput()
checkInput
in interface Algorithm
public String getErrorMessage()
getErrorMessage
in interface Algorithm
public Image<T> getResult()
getResult
in interface OutputAlgorithm<T extends Type<T>>
Copyright © 2015–2021 Fiji. All rights reserved.