Modifier and Type | Class and Description |
---|---|
class |
MaxIterations
Predicate for stopping iteration after a set maximum number of iterations.
|
class |
MinEpsilon
Predicate for stopping iteration after a given threshold on epsilon is
reached.
|
class |
MinEpsilonOrMaxIterations
Convenience class that or's together the
MinEpsilon and
MaxIterations to produce a predicate that stops (returns
true) as soon as either the minimum error is reached or the maximum number of
iterations is exceeded. |
Modifier and Type | Class and Description |
---|---|
class |
ByteEntropyFilter
Filter
LocalFeature s typed on ByteFV by rejecting those that
have a low feature entropy. |
Modifier and Type | Class and Description |
---|---|
class |
AestheticodeDetector
Aestheticode detection algorithm.
|
Constructor and Description |
---|
SubPixelCorners(int halfWidth,
int halfHeight,
int zeroZoneHalfWidth,
int zeroZoneHalfHeight,
Predicate<IterationState> iter)
Construct with the given search window size, zeroed window and predicate to
stop the iteration.
|
SubPixelCorners(int halfWidth,
int halfHeight,
Predicate<IterationState> iter)
Construct with the given search window size and predicate to stop the
iteration.
|
Modifier and Type | Field and Description |
---|---|
protected Predicate<AffineTransformModel> |
AffineTransformModel.modelCheck |
protected Predicate<HomographyModel> |
HomographyModel.modelCheck |
Constructor and Description |
---|
AffineTransformModel(Predicate<AffineTransformModel> mc)
Create an
AffineTransformModel . |
HomographyModel(boolean norm,
Predicate<HomographyModel> mc)
Create a
HomographyModel with optional automatic normalisation. |
HomographyModel(Predicate<HomographyModel> mc)
Create an
HomographyModel that automatically normalises the data
given to HomographyModel.estimate(List) to get a numerically stable estimate. |
Modifier and Type | Class and Description |
---|---|
class |
ConvexityCheck2D<M extends Model<Point2d,Point2d> & MatrixTransformProvider>
Test that a 2d transform model preserves convexity
|
class |
OrientationCheck2D<M extends Model<Point2d,Point2d> & MatrixTransformProvider>
Test whether a given model that produces a homogenous transform is
orientation preserving
|
class |
TransformMatrixConditionCheck<M extends Model<?,?> & MatrixTransformProvider>
A check for
Model s that produce transform matrices (via the
MatrixTransformProvider ) that tests whether the condition number is
below a threshold. |
Constructor and Description |
---|
RobustAffineTransformEstimator(double threshold,
int nIterations,
RANSAC.StoppingCondition stoppingCondition,
Predicate<AffineTransformModel> modelCheck)
Construct using the
RANSAC algorithm with the given options. |
RobustAffineTransformEstimator(double outlierProportion,
Predicate<AffineTransformModel> modelCheck)
Construct using the
LMedS algorithm with the given expected
outlier percentage |
RobustHomographyEstimator(double outlierProportion,
HomographyRefinement refinement,
Predicate<HomographyModel> modelCheck)
Construct using the
LMedS algorithm with the given expected
outlier percentage |
RobustHomographyEstimator(double threshold,
int nIterations,
RANSAC.StoppingCondition stoppingCondition,
HomographyRefinement refinement,
Predicate<HomographyModel> modelCheck)
Construct using the
RANSAC algorithm with the given options. |
Modifier and Type | Class and Description |
---|---|
class |
DateFilter
The grep functionality.
|
class |
GeoFilter |
class |
GrepFilter
The grep functionality.
|
class |
IsReplyFilter
Sees whether the
USMFStatus.reply_to contains anything sensible |
class |
LanguageFilter |
class |
RandomFilter |
class |
TwitterPreprocessingPredicate
A filter takes in a status and filters the status (says whether it should remain or be deleted)
based on some internal process
|
Modifier and Type | Method and Description |
---|---|
static <T> Collection<T> |
FilterUtils.filter(Collection<? extends T> in,
Collection<T> out,
Predicate<T> filter)
Filter a collection, storing the accepted items in the given output
collection.
|
static <T,Q extends T> |
FilterUtils.filter(Collection<Q> in,
Predicate<T> filter)
Filter a collection, returning the accepted items in an
ArrayList
. |
static <T> Iterator<T> |
FilterUtils.filteredIterator(Iterable<? extends T> iterable,
Predicate<T> filter)
Create an iterator that filters items from the given
Iterable . |
static <T> Iterator<T> |
FilterUtils.filteredIterator(Iterator<? extends T> iterator,
Predicate<T> filter)
Create an iterator that filters items from the given
Iterator . |
static <T> Iterator<T> |
FilterUtils.filteredIterator(T[] array,
Predicate<T> filter)
Create an iterator that filters items from the given array.
|
Constructor and Description |
---|
ListFilter(Predicate<IN> pred) |
Modifier and Type | Class and Description |
---|---|
class |
ContextPredicateAdaptor<T>
|
Constructor and Description |
---|
ContextListFilter(Predicate<IN> inner,
ContextExtractor<List<IN>> extract,
ContextInsertor<List<IN>> insert)
Construct with the given options.
|
ContextListFilter(Predicate<IN> inner,
String both)
Construct with the given predicate.
|
ContextListFilter(Predicate<IN> inner,
String extract,
String insert)
Construct with the given predicate.
|
ContextPredicateAdaptor(Predicate<T> inner,
ContextExtractor<T> extract,
ContextInsertor<T> insert)
Construct with the given options.
|
ContextPredicateAdaptor(Predicate<T> inner,
String both)
Construct with the given predicate.
|
ContextPredicateAdaptor(Predicate<T> inner,
String extract,
String insert)
Construct with the given predicate.
|
Modifier and Type | Class and Description |
---|---|
class |
And<T>
"And" together 2 or more predicates
|
class |
NegationPredicate<T>
Negates the result of another
Predicate . |
class |
Or<T>
"Or" together 2 or more predicates
|
Modifier and Type | Method and Description |
---|---|
Or<T> |
Or.add(Predicate<T> p)
Add a new predicate to this "or"
|
And<T> |
And.add(Predicate<T> p)
Add a new predicate to this "and"
|
Constructor and Description |
---|
And(Predicate<T> p1,
Predicate<T> p2)
Construct with the given predicates
|
And(Predicate<T> p1,
Predicate<T> p2)
Construct with the given predicates
|
And(Predicate<T> p1,
Predicate<T> p2,
Predicate<T> p3)
Construct with the given predicates
|
And(Predicate<T> p1,
Predicate<T> p2,
Predicate<T> p3)
Construct with the given predicates
|
And(Predicate<T> p1,
Predicate<T> p2,
Predicate<T> p3)
Construct with the given predicates
|
NegationPredicate(Predicate<T> innerFilter)
Construct with the given filter.
|
Or(Predicate<T> p1,
Predicate<T> p2)
Construct with the given predicates
|
Or(Predicate<T> p1,
Predicate<T> p2)
Construct with the given predicates
|
Or(Predicate<T> p1,
Predicate<T> p2,
Predicate<T> p3)
Construct with the given predicates
|
Or(Predicate<T> p1,
Predicate<T> p2,
Predicate<T> p3)
Construct with the given predicates
|
Or(Predicate<T> p1,
Predicate<T> p2,
Predicate<T> p3)
Construct with the given predicates
|
Constructor and Description |
---|
And(List<Predicate<T>> predicates)
Construct with the given predicates
|
Or(List<Predicate<T>> predicates)
Construct with the given predicates
|
Modifier and Type | Method and Description |
---|---|
Stream<T> |
Stream.filter(Predicate<T> filter)
Transform the stream by creating a view that consists of only the items
that match the given
Predicate . |
Stream<T> |
AbstractStream.filter(Predicate<T> filter) |
void |
Stream.forEach(Operation<T> operation,
Predicate<T> stopPredicate)
Apply the given
Operation to each item in the stream. |
void |
AbstractStream.forEach(Operation<T> operation,
Predicate<T> stopPredicate) |
Constructor and Description |
---|
WindowFilter(Predicate<IN> pred) |