public class DifferenceOfGaussianReal<A extends RealType<A>,B extends RealType<B>> extends DifferenceOfGaussian<A,B>
DifferenceOfGaussian.SpecialPoint
converter, dogImage, factory, image, outOfBoundsFactory, peaks
Constructor and Description |
---|
DifferenceOfGaussianReal(Image<A> img,
ImageFactory<B> factory,
OutOfBoundsStrategyFactory<B> outOfBoundsFactory,
double[] sigma1,
double[] sigma2,
double minPeakValue,
double normalizationFactor) |
DifferenceOfGaussianReal(Image<A> img,
ImageFactory<B> factory,
OutOfBoundsStrategyFactory<B> outOfBoundsFactory,
double sigma1,
double sigma2,
double minPeakValue,
double normalizationFactor) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkInput() |
protected static <T extends RealType<T>> |
createVariable(ImageFactory<T> img,
double value) |
protected OutputAlgorithm<B> |
getGaussianConvolution(double[] sigma,
int numThreads)
This method returns the
OutputAlgorithm that will compute the Gaussian Convolutions, more efficient versions can override this method |
B |
getMinPeakValue() |
protected Function<B,B,B> |
getNormalizedSubtraction()
Returns the function that does the normalized subtraction of the gauss images, more efficient versions can override this method
|
protected boolean |
isPeakHighEnough(B value)
Checks if the absolute value of the current peak is high enough, more efficient versions can override this method
|
protected DifferenceOfGaussian.SpecialPoint |
isSpecialPoint(LocalNeighborhoodCursor<B> neighborhoodCursor,
B centerValue)
Checks if the current position is a minima or maxima in a 3^n neighborhood, more efficient versions can override this method
|
void |
setMinPeakValue(B value) |
findPeaks, getComputeConvolutionsParalell, getDoGImage, getErrorMessage, getKeepDoGImage, getNumThreads, getPeaks, getProcessingTime, process, setComputeConvolutionsParalell, setKeepDoGImage, setNumThreads, setNumThreads
public DifferenceOfGaussianReal(Image<A> img, ImageFactory<B> factory, OutOfBoundsStrategyFactory<B> outOfBoundsFactory, double sigma1, double sigma2, double minPeakValue, double normalizationFactor)
public DifferenceOfGaussianReal(Image<A> img, ImageFactory<B> factory, OutOfBoundsStrategyFactory<B> outOfBoundsFactory, double[] sigma1, double[] sigma2, double minPeakValue, double normalizationFactor)
protected static <T extends RealType<T>> T createVariable(ImageFactory<T> img, double value)
public void setMinPeakValue(B value)
setMinPeakValue
in class DifferenceOfGaussian<A extends RealType<A>,B extends RealType<B>>
public B getMinPeakValue()
getMinPeakValue
in class DifferenceOfGaussian<A extends RealType<A>,B extends RealType<B>>
protected OutputAlgorithm<B> getGaussianConvolution(double[] sigma, int numThreads)
OutputAlgorithm
that will compute the Gaussian Convolutions, more efficient versions can override this methodgetGaussianConvolution
in class DifferenceOfGaussian<A extends RealType<A>,B extends RealType<B>>
sigma
- - the sigma of the convolutionnumThreads
- - the number of threads for this convolutionprotected Function<B,B,B> getNormalizedSubtraction()
getNormalizedSubtraction
in class DifferenceOfGaussian<A extends RealType<A>,B extends RealType<B>>
protected boolean isPeakHighEnough(B value)
isPeakHighEnough
in class DifferenceOfGaussian<A extends RealType<A>,B extends RealType<B>>
value
- - the current valueprotected DifferenceOfGaussian.SpecialPoint isSpecialPoint(LocalNeighborhoodCursor<B> neighborhoodCursor, B centerValue)
isSpecialPoint
in class DifferenceOfGaussian<A extends RealType<A>,B extends RealType<B>>
neighborhoodCursor
- - the LocalNeighborhoodCursor
centerValue
- - the value in the center which is testedpublic boolean checkInput()
checkInput
in interface Algorithm
checkInput
in class DifferenceOfGaussian<A extends RealType<A>,B extends RealType<B>>
Copyright © 2015–2021 Fiji. All rights reserved.