Class NormalizingRandomAccess<T extends net.imglib2.type.numeric.RealType<T>>
java.lang.Object
net.imglib2.AbstractEuclideanSpace
net.imglib2.AbstractLocalizableInt
net.preibisch.mvrecon.process.deconvolution.normalization.NormalizingRandomAccess<T>
- All Implemented Interfaces:
net.imglib2.EuclideanSpace,net.imglib2.Localizable,net.imglib2.Positionable,net.imglib2.RandomAccess<T>,net.imglib2.RealLocalizable,net.imglib2.Sampler<T>,net.imglib2.Typed<T>
public class NormalizingRandomAccess<T extends net.imglib2.type.numeric.RealType<T>>
extends net.imglib2.AbstractLocalizableInt
implements net.imglib2.RandomAccess<T>
-
Field Summary
Fields inherited from class net.imglib2.AbstractLocalizableInt
positionFields inherited from class net.imglib2.AbstractEuclideanSpace
n -
Constructor Summary
ConstructorsConstructorDescriptionNormalizingRandomAccess(int index, ArrayList<net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType>> originalWeights, double osemspeedup, boolean additionalSmoothBlending, float maxDiffRange, float scalingRange, T type) -
Method Summary
Modifier and TypeMethodDescriptionprotected static final voidapplyHard(ArrayList<net.imglib2.Cursor<net.imglib2.type.numeric.real.FloatType>> cursors, double sumW) protected static final voidapplySmooth(ArrayList<net.imglib2.Cursor<net.imglib2.type.numeric.real.FloatType>> cursors, double sumW, float maxDiffRange, float scalingRange) voidbck(int d) copy()voidfwd(int d) get()static final floathardWeights(float w, double sumW) voidmove(int[] distance) voidmove(int distance, int d) voidmove(long[] distance) voidmove(long distance, int d) voidmove(net.imglib2.Localizable localizable) voidsetPosition(int[] position) voidsetPosition(int position, int d) voidsetPosition(long[] position) voidsetPosition(long position, int d) voidsetPosition(net.imglib2.Localizable localizable) static final floatsmoothWeights(float w, double sumW, float maxDiffRange, float scalingRange) Methods inherited from class net.imglib2.AbstractLocalizableInt
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localizeMethods inherited from class net.imglib2.AbstractEuclideanSpace
numDimensionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.imglib2.EuclideanSpace
numDimensionsMethods inherited from interface net.imglib2.Localizable
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localize, positionAsLongArray, positionAsPointMethods inherited from interface net.imglib2.RandomAccess
setPositionAndGet, setPositionAndGet, setPositionAndGetMethods inherited from interface net.imglib2.RealLocalizable
localize, localize, positionAsDoubleArray, positionAsRealPointMethods inherited from interface net.imglib2.Sampler
getType
-
Constructor Details
-
NormalizingRandomAccess
public NormalizingRandomAccess(int index, ArrayList<net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType>> originalWeights, double osemspeedup, boolean additionalSmoothBlending, float maxDiffRange, float scalingRange, T type)
-
-
Method Details
-
get
- Specified by:
getin interfacenet.imglib2.Sampler<T extends net.imglib2.type.numeric.RealType<T>>
-
fwd
public void fwd(int d) - Specified by:
fwdin interfacenet.imglib2.Positionable
-
bck
public void bck(int d) - Specified by:
bckin interfacenet.imglib2.Positionable
-
move
public void move(int distance, int d) - Specified by:
movein interfacenet.imglib2.Positionable
-
move
public void move(long distance, int d) - Specified by:
movein interfacenet.imglib2.Positionable
-
move
- Specified by:
movein interfacenet.imglib2.Positionable
-
move
public void move(int[] distance) - Specified by:
movein interfacenet.imglib2.Positionable
-
move
public void move(long[] distance) - Specified by:
movein interfacenet.imglib2.Positionable
-
setPosition
- Specified by:
setPositionin interfacenet.imglib2.Positionable
-
setPosition
public void setPosition(int[] position) - Specified by:
setPositionin interfacenet.imglib2.Positionable
-
setPosition
public void setPosition(long[] position) - Specified by:
setPositionin interfacenet.imglib2.Positionable
-
setPosition
public void setPosition(int position, int d) - Specified by:
setPositionin interfacenet.imglib2.Positionable
-
setPosition
public void setPosition(long position, int d) - Specified by:
setPositionin interfacenet.imglib2.Positionable
-
copy
- Specified by:
copyin interfacenet.imglib2.RandomAccess<T extends net.imglib2.type.numeric.RealType<T>>- Specified by:
copyin interfacenet.imglib2.Sampler<T extends net.imglib2.type.numeric.RealType<T>>
-
copyRandomAccess
- Specified by:
copyRandomAccessin interfacenet.imglib2.RandomAccess<T extends net.imglib2.type.numeric.RealType<T>>
-
applySmooth
protected static final void applySmooth(ArrayList<net.imglib2.Cursor<net.imglib2.type.numeric.real.FloatType>> cursors, double sumW, float maxDiffRange, float scalingRange) -
smoothWeights
public static final float smoothWeights(float w, double sumW, float maxDiffRange, float scalingRange) -
applyHard
protected static final void applyHard(ArrayList<net.imglib2.Cursor<net.imglib2.type.numeric.real.FloatType>> cursors, double sumW) -
hardWeights
public static final float hardWeights(float w, double sumW)
-