Package | Description |
---|---|
org.openimaj.image.contour | |
org.openimaj.util.function | |
org.openimaj.util.function.context | |
org.openimaj.util.parallel | |
org.openimaj.util.stream | |
org.openimaj.vis.utils |
Modifier and Type | Method and Description |
---|---|
void |
SuzukiNeighborStrategy.contour(FImage image,
Pixel start,
Pixel from,
Operation<Pixel> operation) |
void |
MooreNeighborStrategy.contour(FImage image,
Pixel start,
Pixel from,
Operation<Pixel> operation) |
abstract void |
ContourFollowingStrategy.contour(FImage image,
Pixel start,
Pixel from,
Operation<Pixel> operation)
Given some starting pixel in an image on a contour and the direction of a
non starting image, return each pixel on a contour from the start pixel
in the image.
|
void |
SuzukiNeighborStrategy.directedContour(FImage image,
Pixel ij,
Pixel i2j2,
Operation<IndependentPair<Pixel,boolean[]>> operation)
Directed contour following.
|
void |
MooreNeighborStrategy.directedContour(FImage image,
Pixel start,
Pixel from,
Operation<IndependentPair<Pixel,org.openimaj.image.contour.Direction>> operation)
Directed contour following.
|
Modifier and Type | Class and Description |
---|---|
class |
ListOperation<T> |
Constructor and Description |
---|
ListOperation(Operation<T> op)
The operation to apply to a
List of |
Modifier and Type | Class and Description |
---|---|
class |
ContextOperationAdaptor<T>
|
Modifier and Type | Method and Description |
---|---|
static <IN> Operation<Context> |
ContextOperationAdaptor.create(Operation<IN> operation,
String extract)
Helper to create a new
ContextOperationAdaptor . |
Modifier and Type | Method and Description |
---|---|
static <IN> Operation<Context> |
ContextOperationAdaptor.create(Operation<IN> operation,
String extract)
Helper to create a new
ContextOperationAdaptor . |
Constructor and Description |
---|
ContextOperationAdaptor(Operation<T> inner,
ContextExtractor<T> extract)
Construct with the given operation and extractor
|
ContextOperationAdaptor(Operation<T> inner,
String extract)
Construct with the given operation.
|
Modifier and Type | Method and Description |
---|---|
static <T> void |
Parallel.forEach(Iterable<T> objects,
Operation<T> op)
Parallel ForEach loop over
Iterable data. |
static <T> void |
Parallel.forEach(Iterable<T> objects,
Operation<T> op,
ThreadPoolExecutor pool)
Parallel ForEach loop over
Iterable data. |
static <T> void |
Parallel.forEach(Partitioner<T> partitioner,
Operation<T> op)
Parallel ForEach loop over partitioned data.
|
static <T> void |
Parallel.forEach(Partitioner<T> partitioner,
Operation<T> op,
ThreadPoolExecutor pool)
Parallel ForEach loop over partitioned data.
|
static <T> void |
Parallel.forEachPartitioned(Partitioner<T> partitioner,
Operation<Iterator<T>> op)
Parallel ForEach loop over batched partitioned data.
|
static <T> void |
Parallel.forEachPartitioned(Partitioner<T> partitioner,
Operation<Iterator<T>> op,
ThreadPoolExecutor pool)
Parallel ForEach loop over partitioned data with batches of data.
|
static <T> void |
Parallel.forEachUnpartitioned(Iterator<T> data,
Operation<T> op)
Parallel ForEach loop over unpartitioned data.
|
static <T> void |
Parallel.forEachUnpartitioned(Iterator<T> data,
Operation<T> op,
ThreadPoolExecutor pool)
Parallel ForEach loop over unpartitioned data.
|
static void |
Parallel.forIndex(int start,
int stop,
int incr,
Operation<Integer> op)
Parallel integer for loop.
|
static void |
Parallel.forIndex(int start,
int stop,
int incr,
Operation<Integer> op,
ThreadPoolExecutor pool)
Parallel integer for loop.
|
static void |
Parallel.forRange(int start,
int stop,
int incr,
Operation<Parallel.IntRange> op)
Parallel integer for loop.
|
static void |
Parallel.forRange(int start,
int stop,
int incr,
Operation<Parallel.IntRange> op,
ThreadPoolExecutor pool)
Parallel integer for loop.
|
Modifier and Type | Method and Description |
---|---|
void |
Stream.forEach(Operation<T> op)
Apply the given
Operation to each item in the stream. |
void |
AbstractStream.forEach(Operation<T> op) |
int |
Stream.forEach(Operation<T> operation,
int limit)
Apply the given
Operation to each item in the stream. |
int |
AbstractStream.forEach(Operation<T> operation,
int limit) |
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) |
void |
Stream.parallelForEach(Operation<T> op)
Apply the given
Operation to each item in the stream, making use
of multiple threads. |
void |
AbstractStream.parallelForEach(Operation<T> op) |
void |
Stream.parallelForEach(Operation<T> op,
ThreadPoolExecutor pool)
Apply the given
Operation to each item in the stream, making use
of multiple threads. |
void |
AbstractStream.parallelForEach(Operation<T> op,
ThreadPoolExecutor pool) |
Modifier and Type | Method and Description |
---|---|
static JFrame |
VisualisationUtils.displaySlider(String title,
int min,
int max,
Operation<JSlider> change) |