Module org.scijava.ops.image
Class DefaultDetectRidges<T extends RealType<T>>
- java.lang.Object
-
- org.scijava.ops.image.segment.detectRidges.DefaultDetectRidges<T>
-
- All Implemented Interfaces:
Functions.Arity5<RandomAccessibleInterval<T>,Double,Double,Double,Integer,List<DefaultWritablePolyline>>
public class DefaultDetectRidges<T extends RealType<T>> extends Object implements Functions.Arity5<RandomAccessibleInterval<T>,Double,Double,Double,Integer,List<DefaultWritablePolyline>>
Performs the Ridge Detection algorithm on a 2-Dimensional, gray-scale image.- Author:
- Gabriel Selzer
- Implementation Note:
- op names='segment.detectRidges'
-
-
Constructor Summary
Constructors Constructor Description DefaultDetectRidges()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DefaultWritablePolyline>apply(RandomAccessibleInterval<T> input, Double width, Double lowerThreshold, Double higherThreshold, Integer ridgeLengthMin)TODO-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.scijava.function.Functions.Arity5
andThen
-
-
-
-
Method Detail
-
apply
public List<DefaultWritablePolyline> apply(RandomAccessibleInterval<T> input, Double width, Double lowerThreshold, Double higherThreshold, Integer ridgeLengthMin)
TODO- Specified by:
applyin interfaceFunctions.Arity5<RandomAccessibleInterval<T extends RealType<T>>,Double,Double,Double,Integer,List<DefaultWritablePolyline>>- Parameters:
input-width- The diameter of the lines to search for.lowerThreshold- The threshold for which the gradient of a subsequent line point must be above.higherThreshold- The threshold for which the gradient of a initial line point must be above.ridgeLengthMin- The minimum number of connected line points necessary to define a ridge. Can be used to remove small noisy ridges.- Returns:
- the
Listof ridges
-
-