endrov.imglib.evop
Class EvOpScaleImage2D
java.lang.Object
endrov.flow.EvOpGeneral
endrov.flow.EvOpStack1
endrov.imglib.evop.EvOpScaleImage2D
public class EvOpScaleImage2D
- extends EvOpStack1
Scale image
TODO no reason it need to work directly on stack-level. possible to change? or make lazy
Method Summary |
static EvStack |
apply(EvStack in,
double scaleX,
double scaleY)
|
EvStack |
exec1(ProgressHandle ph,
EvStack... p)
Apply given several stacks, returns only the first stack |
static
<T extends net.imglib2.type.Type<T>>
net.imglib2.img.Img<T> |
|
magnify(net.imglib2.RealRandomAccessible<T> source,
net.imglib2.RealInterval interval,
net.imglib2.img.ImgFactory<T> factory,
double magnification)
|
static
<T extends net.imglib2.type.Type<T>>
net.imglib2.img.Img<T> |
|
magnify(net.imglib2.RealRandomAccessible<T> source,
net.imglib2.RealInterval interval,
net.imglib2.img.ImgFactory<T> factory,
double[] magnification)
Compute a magnified version of a given real interval |
static
<T extends net.imglib2.type.Type<T>>
net.imglib2.img.Img<T> |
|
magnifyXY(net.imglib2.RealRandomAccessible<T> source,
net.imglib2.RealInterval interval,
net.imglib2.img.ImgFactory<T> factory,
double magnificationX,
double magnificationY)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EvOpScaleImage2D
public EvOpScaleImage2D(double scaleX,
double scaleY)
exec1
public EvStack exec1(ProgressHandle ph,
EvStack... p)
- Description copied from class:
EvOpGeneral
- Apply given several stacks, returns only the first stack
- Specified by:
exec1
in class EvOpStack1
apply
public static EvStack apply(EvStack in,
double scaleX,
double scaleY)
magnifyXY
public static <T extends net.imglib2.type.Type<T>> net.imglib2.img.Img<T> magnifyXY(net.imglib2.RealRandomAccessible<T> source,
net.imglib2.RealInterval interval,
net.imglib2.img.ImgFactory<T> factory,
double magnificationX,
double magnificationY)
magnify
public static <T extends net.imglib2.type.Type<T>> net.imglib2.img.Img<T> magnify(net.imglib2.RealRandomAccessible<T> source,
net.imglib2.RealInterval interval,
net.imglib2.img.ImgFactory<T> factory,
double magnification)
magnify
public static <T extends net.imglib2.type.Type<T>> net.imglib2.img.Img<T> magnify(net.imglib2.RealRandomAccessible<T> source,
net.imglib2.RealInterval interval,
net.imglib2.img.ImgFactory<T> factory,
double[] magnification)
- Compute a magnified version of a given real interval
- Parameters:
source
- - the input datainterval
- - the real interval on the source that should be magnifiedfactory
- - the image factory for the output imagemagnificationX
- - the ratio of magnification
- Returns:
- - an Img that contains the magnified image content