Package | Description |
---|---|
org.fit.segm.grouping | |
org.fit.segm.grouping.op |
Modifier and Type | Field and Description |
---|---|
protected AreaImpl |
SegmentationAreaTree.rootarea
The root node area
|
Modifier and Type | Method and Description |
---|---|
AreaImpl |
AreaImpl.findContentAbove(Separator sep)
Looks for the nearest text box area placed above the separator.
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector<AreaImpl> |
AreaImpl.getChildNodesInside(Rectangular r)
Returns the child areas whose absolute coordinates intersect with the specified rectangle.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SegmentationAreaTree.createGrids(AreaImpl root)
Goes through all the areas in the tree and creates the grids in these areas
|
static GroupAnalyzer |
Config.createGroupAnalyzer(AreaImpl root)
Creates a group analyzer for an area using the selected implementation.
|
static SeparatorSet |
Config.createSeparators(AreaImpl root)
Creates the separators for an area using the selected algorithm
|
boolean |
AreaImpl.encloses(AreaImpl other) |
boolean |
AreaImpl.hasSameBackground(AreaImpl other)
Checks if this area has the same background color as another area
|
boolean |
AreaImpl.hasSameStyle(AreaImpl other)
Compares two areas and decides whether they have the same style.
|
void |
AreaImpl.join(AreaImpl other,
boolean horizontal)
Joins another area to this area.
|
void |
AreaImpl.joinArea(AreaImpl other,
Rectangular pos,
boolean horizontal)
Joins this area with another area and updates the layout in the grid to the given values.
|
void |
AreaImpl.joinChild(AreaImpl other)
Joins a child area to this area.
|
void |
AreaImpl.updateAverages(AreaImpl other)
Updates the average values when a new area is added or joined
|
Constructor and Description |
---|
AreaImpl(AreaImpl src)
Creates a copy of another area.
|
AreaStyle(AreaImpl source) |
Modifier and Type | Field and Description |
---|---|
protected AreaImpl |
Separator.area1
Left (top) separated area node (if any)
|
protected AreaImpl |
Separator.area2
Bottom (right) separated area node (if any)
|
protected AreaImpl |
GroupAnalyzer.parent |
protected AreaImpl |
SeparatorSet.root
The root of the area tree that will be processed
|
Modifier and Type | Method and Description |
---|---|
AreaImpl |
GroupAnalyzerByFlooding.findSuperArea(AreaImpl sub,
java.util.Vector<AreaImpl> selected) |
AreaImpl |
GroupAnalyzer.findSuperArea(AreaImpl sub,
java.util.Vector<AreaImpl> selected)
Starts with a specified subarea and finds all the subareas that
may be joined with the first one.
|
AreaImpl |
GroupAnalyzerByStyles.findSuperArea(AreaImpl sub,
java.util.Vector<AreaImpl> selected) |
AreaImpl |
Separator.getArea1() |
AreaImpl |
Separator.getArea2() |
AreaImpl |
GroupAnalyzer.getParent() |
Modifier and Type | Method and Description |
---|---|
protected GroupAnalyzer |
HomogeneousLeafOperator.createGroupAnalyzer(AreaImpl root) |
protected GroupAnalyzer |
SuperAreaOperator.createGroupAnalyzer(AreaImpl root) |
protected abstract void |
SeparatorSet.findSeparators(AreaImpl area,
Area filter)
Finds the horizontal and vertical list of separators
|
protected void |
SeparatorSetHVS.findSeparators(AreaImpl area,
Area filter)
Finds the horizontal and vertical list of separators
|
AreaImpl |
GroupAnalyzerByFlooding.findSuperArea(AreaImpl sub,
java.util.Vector<AreaImpl> selected) |
AreaImpl |
GroupAnalyzer.findSuperArea(AreaImpl sub,
java.util.Vector<AreaImpl> selected)
Starts with a specified subarea and finds all the subareas that
may be joined with the first one.
|
AreaImpl |
GroupAnalyzerByStyles.findSuperArea(AreaImpl sub,
java.util.Vector<AreaImpl> selected) |
void |
SuperAreaOperator.findSuperAreas(AreaImpl root,
int passlimit)
Creates syntetic super areas by grouping the subareas of the given area.
|
protected void |
MultiLineOperator.joinAreas(AreaImpl a)
Goes through the grid of areas and joins the adjacent visual areas that are not
separated by anything
|
protected void |
FindLineOperator.joinAreas(AreaImpl a)
Goes through the grid of areas and joins the adjacent visual areas that are not
separated by anything
|
protected void |
MultiLineOperator.recursiveJoinAreas(AreaImpl root)
Goes through all the areas in the tree and tries to join their sub-areas into single
areas.
|
protected void |
FindLineOperator.recursiveJoinAreas(AreaImpl root)
Goes through all the areas in the tree and tries to join their sub-areas into single
areas.
|
protected void |
SortByLinesOperator.recursiveSortLines(AreaImpl root)
Goes through all the areas in the tree and sorts their sub-areas.
|
void |
Separator.setArea1(AreaImpl area1) |
void |
Separator.setArea2(AreaImpl area2) |
protected void |
SortByLinesOperator.sortChildLines(AreaImpl root)
Goes through the grid of areas and sorts the adjacent visual areas that are not
separated by anything
|
Modifier and Type | Method and Description |
---|---|
AreaImpl |
GroupAnalyzerByFlooding.findSuperArea(AreaImpl sub,
java.util.Vector<AreaImpl> selected) |
AreaImpl |
GroupAnalyzer.findSuperArea(AreaImpl sub,
java.util.Vector<AreaImpl> selected)
Starts with a specified subarea and finds all the subareas that
may be joined with the first one.
|
AreaImpl |
GroupAnalyzerByStyles.findSuperArea(AreaImpl sub,
java.util.Vector<AreaImpl> selected) |
Constructor and Description |
---|
GroupAnalyzer(AreaImpl parent) |
GroupAnalyzerByFlooding(AreaImpl parent) |
GroupAnalyzerByStyles(AreaImpl parent,
int maxlevel,
boolean matchstyles)
Creates a new area analyzer.
|
SeparatorSet(AreaImpl root)
Creates a new separator set with one horizontal and one vertical separator.
|
SeparatorSet(AreaImpl root,
Area filter)
Creates a new separator set with one horizontal and one vertical separator.
|
SeparatorSetHVS(AreaImpl root)
Creates a new separator set with one horizontal and one vertical separator.
|
SeparatorSetHVS(AreaImpl root,
Area filter)
Creates a new separator set with one horizontal and one vertical separator.
|