Modifier and Type | Method and Description |
---|---|
static JFrame |
DisplayUtilities.display(ConnectedComponent input)
Render a connected component and display it
|
static JFrame |
DisplayUtilities.display(ConnectedComponent input,
float col)
Render a connected component with a given grey level and display it
|
Modifier and Type | Class and Description |
---|---|
class |
PixelsFeature
PixelsFeature is used to dynamically create the ConnectedComponents
corresponding to MSERs.
|
Modifier and Type | Field and Description |
---|---|
protected List<ConnectedComponent> |
ConnectedComponentLabeler.components |
Modifier and Type | Method and Description |
---|---|
protected ConnectedComponent |
GreyscaleConnectedComponentLabeler.floodFill(FImage image,
Pixel start,
int[][] output,
int color) |
Modifier and Type | Method and Description |
---|---|
List<ConnectedComponent> |
GreyscaleConnectedComponentLabeler.findComponents(FImage image)
Syntactic sugar for calling
GreyscaleConnectedComponentLabeler.analyseImage(FImage) followed by
GreyscaleConnectedComponentLabeler.getComponents() ; |
List<ConnectedComponent> |
ConnectedComponentLabeler.findComponents(FImage image)
Syntactic sugar for calling
ConnectedComponentLabeler.analyseImage(FImage) followed by
ConnectedComponentLabeler.getComponents() ; |
abstract List<ConnectedComponent> |
ConnectedComponentLabeler.Algorithm.findComponents(FImage image,
float bgThreshold,
ConnectedComponent.ConnectMode mode)
Find the connected components in an image.
|
List<ConnectedComponent> |
GreyscaleConnectedComponentLabeler.getComponents() |
List<ConnectedComponent> |
ConnectedComponentLabeler.getComponents() |
Modifier and Type | Method and Description |
---|---|
void |
BasicShapeDescriptor.process(ConnectedComponent cc) |
void |
HuMoments.process(ConnectedComponent cc) |
void |
ColourDescriptor.process(ConnectedComponent cc) |
void |
BoundaryDistanceDescriptor.process(ConnectedComponent cc) |
void |
AffineInvariantMoments.process(ConnectedComponent cc) |
Modifier and Type | Method and Description |
---|---|
ConnectedComponent |
ConnectedComponent.clone()
Performs a deep copy on the connected component; that is, all pixels are
also cloned.
|
static ConnectedComponent |
ConnectedComponent.floodFill(FImage image,
Pixel start)
Performs a flood fill on the given image starting at the given pixel.
|
ConnectedComponent |
ConnectedComponent.process(ConnectedComponentProcessor p)
Process this connected component with the given
ConnectedComponentProcessor and returns a new component
containing the result. |
ConnectedComponent |
ConnectedComponent.processInplace(ConnectedComponentProcessor p)
Process a connected component with the given
ConnectedComponentProcessor . |
Modifier and Type | Method and Description |
---|---|
double |
ConnectedComponent.calculateAreaRatio(ConnectedComponent ch)
Calculate the ratio of the area of the given connected component to the
area of the connected component.
|
void |
PixelSet.merge(ConnectedComponent c)
Shallow copies the pixels from the given
ConnectedComponent into
this object. |
Modifier and Type | Method and Description |
---|---|
static void |
ConnectedComponent.process(Collection<ConnectedComponent> components,
ConnectedComponentProcessor p)
Process the given set of connected components with the given
ConnectedComponentProcessor . |
Modifier and Type | Method and Description |
---|---|
protected ConnectedComponent |
FaceDetectorFeatures.getConnectedComponent(DetectedFace df) |
Constructor and Description |
---|
CCDetectedFace(Rectangle bounds,
FImage patch,
ConnectedComponent cc,
float confidence)
Construct with a bounds rectangle (the bounding box of the face in the
detection image),an image patch that describes the contents of the bounds
rectangle from the original image, and a
ConnectedComponent
describing the shape of the detected face. |
Modifier and Type | Method and Description |
---|---|
void |
Dilate.process(ConnectedComponent cc) |
void |
Open.process(ConnectedComponent cc) |
void |
SequentialThin.process(ConnectedComponent cc) |
void |
HitAndMiss.process(ConnectedComponent cc) |
void |
Thicken.process(ConnectedComponent cc) |
void |
Thin.process(ConnectedComponent cc) |
void |
Close.process(ConnectedComponent cc) |
void |
Erode.process(ConnectedComponent cc) |
Modifier and Type | Method and Description |
---|---|
void |
ConnectedComponentProcessor.process(ConnectedComponent cc)
Perform an operation on the given
ConnectedComponent . |
Modifier and Type | Method and Description |
---|---|
void |
BorderRenderer.process(ConnectedComponent cc)
Draws the boundary of the connected component into the image.
|
void |
AxisRenderer.process(ConnectedComponent cc)
Draws the principle axes of the connected component into the image.
|
void |
OrientatedBoundingBoxRenderer.process(ConnectedComponent cc)
Perform an operation on the given
ConnectedComponent . |
void |
ConfigurableRendererRGB.process(ConnectedComponent cc)
Perform an operation on the given
ConnectedComponent . |
void |
BoundingBoxRenderer.process(ConnectedComponent cc)
Perform an operation on the given
ConnectedComponent . |
void |
CentroidRenderer.process(ConnectedComponent cc)
Draws the component's centroid into the image as a small 5 pixel square
centred on the centroid.
|
void |
BlobExtractorRenderer.process(ConnectedComponent cc)
Copies pixels that are within the connected component from the copyImage
into the write image.
|
void |
BlobRenderer.process(ConnectedComponent cc)
Draws connected component into an image as a coloured blob.
|
void |
ConfigurableRendererMono.process(ConnectedComponent cc)
Perform an operation on the given
ConnectedComponent . |
Modifier and Type | Field and Description |
---|---|
protected gnu.trove.map.hash.TObjectFloatHashMap<ConnectedComponent> |
YehSaliency.componentMap |
Modifier and Type | Method and Description |
---|---|
gnu.trove.map.hash.TObjectFloatHashMap<ConnectedComponent> |
YehSaliency.getSaliencyComponents()
Get a map of component->saliency for all the components in
the image
|
Modifier and Type | Method and Description |
---|---|
List<ConnectedComponent> |
ConnectedThresholdSegmenter.segment(FImage image) |
List<ConnectedComponent> |
FelzenszwalbHuttenlocherSegmenter.segment(I image) |
protected List<ConnectedComponent> |
FelzenszwalbHuttenlocherSegmenter.segmentImage(MBFImage im) |
Modifier and Type | Method and Description |
---|---|
protected static List<LetterCandidate> |
LetterCandidate.findLetters(List<ConnectedComponent> components,
FImage swt,
FImage image,
SWTTextDetector.Options options)
Filter the components to find likely letter candidates.
|
Modifier and Type | Method and Description |
---|---|
protected ConnectedComponent |
ShapeFeatures.c(FImage mask) |