Module org.scijava.ops.image
Class RidgeDetectionMetadata
- java.lang.Object
-
- org.scijava.ops.image.segment.detectRidges.RidgeDetectionMetadata
-
public class RidgeDetectionMetadata extends Object
Helper Method to generate the meta image used forDefaultDetectRidges- Author:
- Gabriel Selzer
-
-
Field Summary
Fields Modifier and Type Field Description protected Img<DoubleType>gradientsprotected Img<DoubleType>nValuesprotected Img<DoubleType>pValues
-
Constructor Summary
Constructors Constructor Description RidgeDetectionMetadata(RandomAccessibleInterval<T> input, double sigma, double smallMax, double bigMax, Computers.Arity1<RandomAccessibleInterval<T>,RandomAccessibleInterval<DoubleType>> convertOp, BiFunction<Dimensions,DoubleType,RandomAccessibleInterval<DoubleType>> createOp, Function<RandomAccessibleInterval<DoubleType>,RandomAccessibleInterval<DoubleType>> copyOp, Computers.Arity3<RandomAccessibleInterval<DoubleType>,double[],int[],RandomAccessibleInterval<DoubleType>> partialDerivativeOp)Generates the metadata images from the input image
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Img<DoubleType>getGradients()returns the gradient imageprotected RandomAccess<DoubleType>getGradientsRandomAccess()returns the gradient image's RandomAccessprotected Img<DoubleType>getNValues()returns the nValue imageprotected RandomAccess<DoubleType>getNValuesRandomAccess()returns the nValue image's RandomAccessprotected Img<DoubleType>getPValues()returns the pValue imageprotected RandomAccess<DoubleType>getPValuesRandomAccess()returns the pValue image's RandomAccess
-
-
-
Field Detail
-
pValues
protected Img<DoubleType> pValues
-
nValues
protected Img<DoubleType> nValues
-
gradients
protected Img<DoubleType> gradients
-
-
Constructor Detail
-
RidgeDetectionMetadata
public RidgeDetectionMetadata(RandomAccessibleInterval<T> input, double sigma, double smallMax, double bigMax, Computers.Arity1<RandomAccessibleInterval<T>,RandomAccessibleInterval<DoubleType>> convertOp, BiFunction<Dimensions,DoubleType,RandomAccessibleInterval<DoubleType>> createOp, Function<RandomAccessibleInterval<DoubleType>,RandomAccessibleInterval<DoubleType>> copyOp, Computers.Arity3<RandomAccessibleInterval<DoubleType>,double[],int[],RandomAccessibleInterval<DoubleType>> partialDerivativeOp)
Generates the metadata images from the input image- Parameters:
input- - the image to be detectedsigma- - the sigma for the gaussian derivative convolutions
-
-
Method Detail
-
getPValues
protected Img<DoubleType> getPValues()
returns the pValue image- Returns:
- the image containing the pValues
-
getPValuesRandomAccess
protected RandomAccess<DoubleType> getPValuesRandomAccess()
returns the pValue image's RandomAccess- Returns:
- the RandomAccess containing the pValues
-
getNValues
protected Img<DoubleType> getNValues()
returns the nValue image- Returns:
- the image containing the nValues
-
getNValuesRandomAccess
protected RandomAccess<DoubleType> getNValuesRandomAccess()
returns the nValue image's RandomAccess- Returns:
- the RandomAccess containing the nValues
-
getGradients
protected Img<DoubleType> getGradients()
returns the gradient image- Returns:
- the image containing the gradients
-
getGradientsRandomAccess
protected RandomAccess<DoubleType> getGradientsRandomAccess()
returns the gradient image's RandomAccess- Returns:
- the RandomAccess containing the gradients
-
-