Class FRCRealRandomAccessible<T extends net.imglib2.type.numeric.RealType<T>>
java.lang.Object
net.preibisch.mvrecon.process.quality.FRCRealRandomAccessible<T>
- Type Parameters:
T- pixel type
- All Implemented Interfaces:
net.imglib2.EuclideanSpace,net.imglib2.RealRandomAccessible<net.imglib2.type.numeric.real.FloatType>,net.imglib2.Typed<net.imglib2.type.numeric.real.FloatType>
public class FRCRealRandomAccessible<T extends net.imglib2.type.numeric.RealType<T>>
extends Object
implements net.imglib2.RealRandomAccessible<net.imglib2.type.numeric.real.FloatType>
Computes the fourier ring correlation at specific positions and interpolates between all points
- Author:
- Stephan Preibisch (stephan.preibisch@gmx.de)
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFRCRealRandomAccessible(net.imglib2.RandomAccessibleInterval<T> input, List<net.imglib2.Point> locations, int length, boolean relative, ExecutorService service) -
Method Summary
Modifier and TypeMethodDescriptionstatic doublecomputeFRC(net.imglib2.RandomAccessible<net.imglib2.type.numeric.real.FloatType> input, net.imglib2.Point location, int length) static doublecomputeRelativeFRC(net.imglib2.RandomAccessible<net.imglib2.type.numeric.real.FloatType> input, net.imglib2.Point location, int length, int relativeFRCDist) static ij.process.FloatProcessorgetFloatProcessor(net.imglib2.RandomAccessible<net.imglib2.type.numeric.real.FloatType> img, int x, int y, int z, int length) static <T extends net.imglib2.type.numeric.RealType<T>>
net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType> getRandomAccessibleInterval(int numPoints, double power) doublegetType()static doubleintegral(double[][] frcCurve) intrealRandomAccess(net.imglib2.RealInterval interval) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.imglib2.RealRandomAccessible
getAt, getAt, getAt, realView
-
Field Details
-
relativeFRCDist
public static int relativeFRCDist
-
-
Constructor Details
-
FRCRealRandomAccessible
public FRCRealRandomAccessible(net.imglib2.RandomAccessibleInterval<T> input, List<net.imglib2.Point> locations, int length, boolean relative, ExecutorService service)
-
-
Method Details
-
getTotalAvgQuality
public double getTotalAvgQuality() -
numDimensions
public int numDimensions()- Specified by:
numDimensionsin interfacenet.imglib2.EuclideanSpace
-
realRandomAccess
- Specified by:
realRandomAccessin interfacenet.imglib2.RealRandomAccessible<T extends net.imglib2.type.numeric.RealType<T>>
-
realRandomAccess
public net.imglib2.RealRandomAccess<net.imglib2.type.numeric.real.FloatType> realRandomAccess(net.imglib2.RealInterval interval) - Specified by:
realRandomAccessin interfacenet.imglib2.RealRandomAccessible<T extends net.imglib2.type.numeric.RealType<T>>
-
getType
- Specified by:
getTypein interfacenet.imglib2.Typed<T extends net.imglib2.type.numeric.RealType<T>>
-
getRealRandomAccessible
public net.imglib2.RealRandomAccessible<net.imglib2.type.numeric.real.FloatType> getRealRandomAccessible() -
getRandomAccessibleInterval
public net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType> getRandomAccessibleInterval() -
getRandomAccessibleInterval
public net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType> getRandomAccessibleInterval(int numPoints, double power) -
getQualityList
-
computeRelativeFRC
public static double computeRelativeFRC(net.imglib2.RandomAccessible<net.imglib2.type.numeric.real.FloatType> input, net.imglib2.Point location, int length, int relativeFRCDist) -
computeFRC
public static double computeFRC(net.imglib2.RandomAccessible<net.imglib2.type.numeric.real.FloatType> input, net.imglib2.Point location, int length) -
integral
public static double integral(double[][] frcCurve) -
getFloatProcessor
public static ij.process.FloatProcessor getFloatProcessor(net.imglib2.RandomAccessible<net.imglib2.type.numeric.real.FloatType> img, int x, int y, int z, int length) -
getFloatRAI
public static <T extends net.imglib2.type.numeric.RealType<T>> net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType> getFloatRAI(net.imglib2.RandomAccessibleInterval<T> input)
-