Package | Description |
---|---|
org.openimaj.image | |
org.openimaj.image.analysis.algorithm | |
org.openimaj.image.analysis.watershed | |
org.openimaj.image.connectedcomponent | |
org.openimaj.image.contour | |
org.openimaj.image.feature.dense.binarypattern | |
org.openimaj.image.feature.local.interest | |
org.openimaj.image.pixel | |
org.openimaj.image.pixel.util | |
org.openimaj.image.processing.algorithm | |
org.openimaj.image.processing.face.feature.ltp |
An implementation of the local texture features and comparison measure
defined by Xiaoyang Tan and Bill Triggs.
|
org.openimaj.image.processing.morphology | |
org.openimaj.image.processing.restoration.inpainting | |
org.openimaj.image.segmentation | |
org.openimaj.image.text.extraction.swt |
Modifier and Type | Field and Description |
---|---|
protected Pixel |
Plotter.penPosition |
Modifier and Type | Method and Description |
---|---|
Pixel |
Plotter.getPenPosition() |
Modifier and Type | Method and Description |
---|---|
Q |
Image.getPixel(Pixel p)
Get the value of the pixel at coordinate p
|
float[] |
MBFImage.getPixelNative(Pixel p)
Get the value of the pixel at coordinate p
|
float |
FImage.getPixelNative(Pixel p)
Get the value of the pixel at coordinate p
|
void |
Plotter.lineTo(Pixel p)
Draw a line from the current position to a pixel
|
void |
Plotter.moveTo(Pixel p)
Move to a pixel
|
void |
Plotter.setPenPosition(Pixel penPosition) |
Modifier and Type | Method and Description |
---|---|
protected static <T> boolean |
FloodFill.accept(Image<T,?> image,
Pixel n,
T initial,
float threshold) |
static <T> FImage |
FloodFill.floodFill(Image<T,?> image,
Pixel start,
float threshold)
Flood-fill an image from the given starting pixel position with the given
threshold.
|
Constructor and Description |
---|
FloodFill(Pixel startPixel,
float threshold)
Construct flood-fill processor with the given threshold and starting
coordinate.
|
Modifier and Type | Method and Description |
---|---|
Set<Pixel> |
Component.getPixels()
Get the pixels in the component.
|
Modifier and Type | Method and Description |
---|---|
protected ConnectedComponent |
GreyscaleConnectedComponentLabeler.floodFill(FImage image,
Pixel start,
int[][] output,
int color) |
Modifier and Type | Field and Description |
---|---|
Pixel |
Contour.start
where the contour starts
|
Modifier and Type | Method and Description |
---|---|
List<Pixel> |
ContourFollowingStrategy.contour(FImage image,
Pixel start,
Pixel from)
Follow the contour, adding each pixel to a list.
|
Modifier and Type | Method and Description |
---|---|
List<Pixel> |
ContourFollowingStrategy.contour(FImage image,
Pixel start,
Pixel from)
Follow the contour, adding each pixel to a list.
|
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 |
MooreNeighborStrategy.contour(FImage image,
Pixel start,
Pixel from,
Operation<Pixel> operation) |
void |
SuzukiNeighborStrategy.contour(FImage image,
Pixel start,
Pixel from,
Operation<Pixel> operation) |
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 | Method and Description |
---|---|
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 |
MooreNeighborStrategy.contour(FImage image,
Pixel start,
Pixel from,
Operation<Pixel> operation) |
void |
SuzukiNeighborStrategy.contour(FImage image,
Pixel start,
Pixel from,
Operation<Pixel> operation) |
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.
|
Constructor and Description |
---|
Contour(ContourType type,
Pixel p)
Construct a contour with the given type and start pixel
|
Modifier and Type | Method and Description |
---|---|
static List<List<Pixel>> |
UniformBinaryPattern.extractPatternPixels(int[][] patternImage,
int nbits)
Compute all pixels matching each possible pattern code given the number
of bits used to encode patterns.
|
Modifier and Type | Method and Description |
---|---|
static int |
ExtendedLocalBinaryPattern.calculateLBP(FImage image,
float radius,
int samples,
Pixel point)
Calculate the extended LBP for a single point.
|
static int |
BasicLocalBinaryPattern.calculateLBP(FImage image,
Pixel point)
Calculate the basic LBP for a single point.
|
static int[] |
LocalTernaryPattern.calculateLTP(FImage image,
float radius,
int samples,
float threshold,
Pixel point)
Calculate the LTP for a single point.
|
Modifier and Type | Field and Description |
---|---|
Pixel |
EllipticKeyPoint.centre |
Modifier and Type | Class and Description |
---|---|
class |
FValuePixel
Represents a pixel location.
|
class |
GenericValuePixel<T>
Represents a pixel location.
|
class |
IntValuePixel
Represents a pixel location.
|
class |
ValuePixel<T>
An abstract class for objects that represent a pixel and its value.
|
Modifier and Type | Field and Description |
---|---|
Set<Pixel> |
PixelSet.pixels
The set of pixels within this connected component
|
Modifier and Type | Method and Description |
---|---|
Pixel |
PixelSet.bottomRightMostPixel()
Gets the bottom-right most pixel in the connected component.
|
Pixel |
PixelSet.calculateCentroidPixel()
Calculates the centroid pixel of the connected component.
|
Pixel |
Pixel.clone() |
Pixel |
Pixel.copy() |
protected Pixel |
ConnectedComponent.nextEdgePixelACW4(Pixel current,
int lastdir)
Returns the next edge pixel when tracing a boundary in a 4-connected
system.
|
protected Pixel |
ConnectedComponent.nextEdgePixelACW4(Pixel current,
int lastdir,
List<Pixel> outer)
Returns the next edge pixel when tracing a boundary in a 4-connected
system.
|
protected Pixel |
ConnectedComponent.nextEdgePixelACW8(Pixel current,
int lastdir)
Returns the next edge pixel when tracing a boundary in an 8-connected
system.
|
Pixel |
PixelSet.topLeftMostPixel()
Gets the top-left most pixel within the connected component.
|
Pixel |
Pixel.transform(Jama.Matrix transform) |
Pixel |
Pixel.transformInplace(Jama.Matrix transform)
Inplace transform the point by the given matrix.
|
Modifier and Type | Method and Description |
---|---|
List<Pixel> |
ConnectedComponent.getInnerBoundary(ConnectedComponent.ConnectMode mode)
Returns an ordered list of pixels that are on the inner boundary of the
shape.
|
List<Pixel> |
ConnectedComponent.ConnectMode.getNeighbours(FImage image,
int x,
int y,
float bgThreshold)
Get the neighbouring pixels
|
List<Pixel> |
ConnectedComponent.getOuterBoundary()
Returns an ordered list of pixels that are on the outer boundary of the
shape.
|
Set<Pixel> |
PixelSet.getPixels()
Returns the set of
Pixel s that are within this component. |
Iterator<Pixel> |
PixelSet.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
PixelSet.addPixel(Pixel p)
Add a pixel into this connected component.
|
protected int |
ConnectedComponent.code4(Pixel current,
Pixel next)
For the two pixels, determines the 4-connected chain code that will move
from the first pixel to the next.
|
protected int |
ConnectedComponent.code8(Pixel current,
Pixel next)
For the two pixels, determines the 8-connected chain code that will move
from the first pixel to the next.
|
boolean |
PixelSet.find(Pixel p)
Returns whether the given pixel is within this connected component.
|
static ConnectedComponent |
ConnectedComponent.floodFill(FImage image,
Pixel start)
Performs a flood fill on the given image starting at the given pixel.
|
protected int |
ConnectedComponent.isLeft(Pixel P0,
Pixel P1,
Pixel P2) |
protected Pixel |
ConnectedComponent.nextEdgePixelACW4(Pixel current,
int lastdir)
Returns the next edge pixel when tracing a boundary in a 4-connected
system.
|
protected Pixel |
ConnectedComponent.nextEdgePixelACW4(Pixel current,
int lastdir,
List<Pixel> outer)
Returns the next edge pixel when tracing a boundary in a 4-connected
system.
|
protected Pixel |
ConnectedComponent.nextEdgePixelACW8(Pixel current,
int lastdir)
Returns the next edge pixel when tracing a boundary in an 8-connected
system.
|
Modifier and Type | Method and Description |
---|---|
protected Polygon |
ConnectedComponent.calculateConvexHull_Melkman(List<Pixel> V)
Calculate convex hull using Melkman's algorithm.
|
protected Pixel |
ConnectedComponent.nextEdgePixelACW4(Pixel current,
int lastdir,
List<Pixel> outer)
Returns the next edge pixel when tracing a boundary in a 4-connected
system.
|
Constructor and Description |
---|
ConnectedComponent(Set<Pixel> pixels)
Construct a connected component from the given set of
Pixel s. |
PixelSet(Set<Pixel> pixels)
Construct a PixelSet from the given set of
Pixel s. |
Modifier and Type | Method and Description |
---|---|
static Iterator<Pixel> |
LineIterators.bresenham(int x0,
int y0,
float fdx,
float fdy)
Pixel iterator based on Bresenham's algorithm for a line starting at a
given point, with an angle given by the provided x and y deltas.
|
static Iterator<Pixel> |
LineIterators.bresenham(int x0,
int y0,
int x1,
int y1)
Pixel iterator based on Bresenham's algorithm for a line between two
discrete endpoints.
|
static Iterator<Pixel> |
LineIterators.bresenham(Pixel start,
Pixel end)
Pixel iterator based on Bresenham's algorithm for a line between two
discrete endpoints.
|
static Iterator<Pixel> |
LineIterators.supercover(int x1,
int y1,
int x2,
int y2)
Generate the pixels for the supercover of the line between two points.
|
static List<Pixel> |
LineIterators.supercoverAsList(int x1,
int y1,
int x2,
int y2)
Generate the pixels for the supercover of the line between two points.
|
static List<Pixel> |
LineIterators.supercoverAsList(Pixel start,
Pixel end)
Generate the pixels for the supercover of the line between two points.
|
Modifier and Type | Method and Description |
---|---|
static Iterator<Pixel> |
LineIterators.bresenham(Pixel start,
Pixel end)
Pixel iterator based on Bresenham's algorithm for a line between two
discrete endpoints.
|
static List<Pixel> |
LineIterators.supercoverAsList(Pixel start,
Pixel end)
Generate the pixels for the supercover of the line between two points.
|
Modifier and Type | Field and Description |
---|---|
static Set<Pixel> |
FilterSupport.BLOCK_3x3
Offsets for using a 3x3 blocked shaped mask to select pixels for
computing median.
|
static Set<Pixel> |
FilterSupport.CROSS_3x3
Offsets for using a 3x3 cross shaped mask to select pixels for computing
median.
|
Modifier and Type | Method and Description |
---|---|
static Set<Pixel> |
FilterSupport.createBlockSupport(int width,
int height)
Create a a rectangular support.
|
Modifier and Type | Method and Description |
---|---|
static int |
FilterSupport.getSupportHeight(Set<Pixel> support)
Get the height of the support region
|
static int |
FilterSupport.getSupportWidth(Set<Pixel> support)
Get the width of the support region
|
static boolean |
FilterSupport.isBlockSupport(Set<Pixel> support)
Test whether the given support is a centred block
|
Constructor and Description |
---|
LocalContrastFilter(Set<Pixel> support)
Construct with the given support region for selecting pixels to take the
median from.
|
MaxFilter(Set<Pixel> support)
Construct with the given support region for selecting pixels to take the
median from.
|
MedianFilter(Set<Pixel> support)
Construct with the given support region for selecting pixels to take the
median from.
|
MinFilter(Set<Pixel> support)
Construct with the given support region for selecting pixels to take the
median from.
|
MinMaxAnalyser(Set<Pixel> support)
Construct with the given support region for selecting pixels to take the
median from.
|
Modifier and Type | Field and Description |
---|---|
List<List<Pixel>> |
AbstractLtpDtFeature.ltpPixels
The pixels forming the binary patterns in each slice
|
Modifier and Type | Method and Description |
---|---|
protected static List<List<Pixel>> |
AbstractLtpDtFeature.extractLTPSlicePixels(FImage image) |
Modifier and Type | Method and Description |
---|---|
protected FImage[] |
AbstractLtpDtFeature.constructSlices(List<List<Pixel>> ltpPixels,
int width,
int height) |
Constructor and Description |
---|
AbstractLtpDtFeature(int width,
int height,
LTPWeighting weighting,
List<List<Pixel>> ltpPixels)
Construct with given parameters.
|
Modifier and Type | Field and Description |
---|---|
Set<Pixel> |
StructuringElement.negative
Set of negative pixels in the structuring element
|
protected Set<Pixel> |
HitAndMiss.outputPixels |
Set<Pixel> |
StructuringElement.positive
Set of positive pixels in the structuring element
|
Modifier and Type | Method and Description |
---|---|
Set<Pixel> |
HitAndMiss.getPixels()
Get the pixels selected by the hit and miss operator
|
Modifier and Type | Method and Description |
---|---|
boolean |
StructuringElement.matches(Pixel p,
Set<Pixel> pixels)
Determine if this structuring element is completely contained in the
pixels centered at p.
|
Modifier and Type | Method and Description |
---|---|
boolean |
StructuringElement.matches(Pixel p,
Set<Pixel> pixels)
Determine if this structuring element is completely contained in the
pixels centered at p.
|
Constructor and Description |
---|
StructuringElement(Pixel[] positive,
Pixel[] negative)
Construct a structuring element with the given positive and negative
pixels
|
StructuringElement(Pixel[] positive,
Pixel[] negative)
Construct a structuring element with the given positive and negative
pixels
|
Constructor and Description |
---|
StructuringElement(Set<Pixel> positive,
Set<Pixel> negative)
Construct a structuring element with the given positive and negative
pixels
|
StructuringElement(Set<Pixel> positive,
Set<Pixel> negative)
Construct a structuring element with the given positive and negative
pixels
|
Modifier and Type | Field and Description |
---|---|
protected Set<Pixel> |
TeleaInpainting.region |
Modifier and Type | Method and Description |
---|---|
void |
Inpainter.setMask(int width,
int height,
Collection<? extends Iterable<Pixel>> mask)
Set the mask.
|
void |
AbstractImageMaskInpainter.setMask(int width,
int height,
Collection<? extends Iterable<Pixel>> mask) |
Modifier and Type | Method and Description |
---|---|
protected DisjointSetForest<Pixel> |
FelzenszwalbHuttenlocherSegmenter.segmentGraph(int numVertices,
List<SimpleWeightedEdge<Pixel>> edges) |
Modifier and Type | Method and Description |
---|---|
protected DisjointSetForest<Pixel> |
FelzenszwalbHuttenlocherSegmenter.segmentGraph(int numVertices,
List<SimpleWeightedEdge<Pixel>> edges) |
Modifier and Type | Field and Description |
---|---|
protected Pixel |
LetterCandidate.centroid |