public class TranslateImage<T extends RealType<T>> extends ContextCommand
Constructor and Description |
---|
TranslateImage() |
Modifier and Type | Method and Description |
---|---|
Dataset |
getDataset()
Gets the Dataset that the translate operation will be run upon.
|
double |
getDelta(int d)
Gets the translation delta for a given axis.
|
String |
getError()
Returns the current error message if any.
|
String |
getInterpolationMethod()
Gets the interpolation method used to combine pixels.
|
protected void |
init() |
void |
run() |
void |
setDataset(Dataset ds)
Sets the Dataset that the translate operation will be run upon.
|
void |
setDelta(int d,
double delta)
Sets the translation delta for a given axis to a given value.
|
void |
setInterpolationMethod(String str)
Sets the interpolation method used to combine pixels.
|
void |
setUseUserUnits(boolean val)
Sets whether input deltas field values are in user units or pixel units.
|
boolean |
useUserUnits()
Gets whether input deltas field values are in user units or pixel units.
|
cancel, getCancelReason, isCanceled
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setContext
public void setDataset(Dataset ds)
public Dataset getDataset()
public void setDelta(int d, double delta)
public double getDelta(int d)
public void setInterpolationMethod(String str)
public String getInterpolationMethod()
public void setUseUserUnits(boolean val)
public boolean useUserUnits()
public String getError()
public void run()
protected void init()
Copyright © 2014–2022 ImageJ. All rights reserved.