public class BlendingRealRandomAccess extends Object implements RealRandomAccess<FloatType>
Constructor and Description |
---|
BlendingRealRandomAccess(Interval interval,
float[] border,
float[] blending)
RealRandomAccess that computes a blending function for a certain
Interval |
Modifier and Type | Method and Description |
---|---|
void |
bck(int d) |
Sampler<FloatType> |
copy() |
RealRandomAccess<FloatType> |
copyRealRandomAccess() |
void |
fwd(int d) |
FloatType |
get() |
double |
getDoublePosition(int d) |
float |
getFloatPosition(int d) |
void |
localize(double[] position) |
void |
localize(float[] position) |
static void |
main(String[] args) |
void |
move(double[] distance) |
void |
move(double distance,
int d) |
void |
move(float[] distance) |
void |
move(float distance,
int d) |
void |
move(int[] distance) |
void |
move(int distance,
int d) |
void |
move(Localizable localizable) |
void |
move(long[] distance) |
void |
move(long distance,
int d) |
void |
move(RealLocalizable localizable) |
int |
numDimensions() |
void |
setPosition(double[] position) |
void |
setPosition(double position,
int d) |
void |
setPosition(float[] position) |
void |
setPosition(float position,
int d) |
void |
setPosition(int[] position) |
void |
setPosition(int position,
int d) |
void |
setPosition(Localizable localizable) |
void |
setPosition(long[] position) |
void |
setPosition(long position,
int d) |
void |
setPosition(RealLocalizable localizable) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setPositionAndGet, setPositionAndGet, setPositionAndGet
localize, positionAsDoubleArray, positionAsRealPoint
public BlendingRealRandomAccess(Interval interval, float[] border, float[] blending)
Interval
interval
- - the interval it is defined on (return zero outside of it)border
- - how many pixels to skip before starting blending (on each side of each dimension)blending
- - how many pixels to compute the blending function on (on each side of each dimension)public void localize(float[] position)
localize
in interface RealLocalizable
public void localize(double[] position)
localize
in interface RealLocalizable
public float getFloatPosition(int d)
getFloatPosition
in interface RealLocalizable
public double getDoublePosition(int d)
getDoublePosition
in interface RealLocalizable
public int numDimensions()
numDimensions
in interface EuclideanSpace
public void move(float distance, int d)
move
in interface RealPositionable
public void move(double distance, int d)
move
in interface RealPositionable
public void move(RealLocalizable localizable)
move
in interface RealPositionable
public void move(float[] distance)
move
in interface RealPositionable
public void move(double[] distance)
move
in interface RealPositionable
public void setPosition(RealLocalizable localizable)
setPosition
in interface RealPositionable
public void setPosition(float[] position)
setPosition
in interface RealPositionable
public void setPosition(double[] position)
setPosition
in interface RealPositionable
public void setPosition(float position, int d)
setPosition
in interface RealPositionable
public void setPosition(double position, int d)
setPosition
in interface RealPositionable
public void fwd(int d)
fwd
in interface Positionable
public void bck(int d)
bck
in interface Positionable
public void move(int distance, int d)
move
in interface Positionable
public void move(long distance, int d)
move
in interface Positionable
public void move(Localizable localizable)
move
in interface Positionable
public void move(int[] distance)
move
in interface Positionable
public void move(long[] distance)
move
in interface Positionable
public void setPosition(Localizable localizable)
setPosition
in interface Positionable
public void setPosition(int[] position)
setPosition
in interface Positionable
public void setPosition(long[] position)
setPosition
in interface Positionable
public void setPosition(int position, int d)
setPosition
in interface Positionable
public void setPosition(long position, int d)
setPosition
in interface Positionable
public RealRandomAccess<FloatType> copyRealRandomAccess()
copyRealRandomAccess
in interface RealRandomAccess<FloatType>
public static void main(String[] args)
Copyright © 2015–2021 Fiji. All rights reserved.