Package cz.vutbr.fit.layout.segm.op
Class SeparatorSetHVS
- java.lang.Object
-
- cz.vutbr.fit.layout.segm.op.SeparatorSet
-
- cz.vutbr.fit.layout.segm.op.SeparatorSetHVS
-
public class SeparatorSetHVS extends SeparatorSet
A horizntal/vertical separator detection with shrinking. The separator set is created by splitting the horizontal and vertical separators independently. Additionally, we shring the vertical separators to the minimal length that separates the boxes - i.e. there is no separator considered between empty spaces.- Author:
- radek
-
-
Field Summary
-
Fields inherited from class cz.vutbr.fit.layout.segm.op.SeparatorSet
ART_SEP_WIDTH, bsep, hsep, HSEP_MIN_HEIGHT, root, SEP_MIN_RATIO, vsep, VSEP_MIN_WIDTH
-
-
Constructor Summary
Constructors Constructor Description SeparatorSetHVS(Area root)
Creates a new separator set with one horizontal and one vertical separator.SeparatorSetHVS(Area root, Area filter)
Creates a new separator set with one horizontal and one vertical separator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
findSeparators(Area area, Area filter)
Finds the horizontal and vertical list of separators-
Methods inherited from class cz.vutbr.fit.layout.segm.op.SeparatorSet
applyFinalFilters, applyRegularFilters, filterMarginalSeparators, filterSeparators, getBoxsep, getHorizontal, getMinHSepHeight, getMinVSepWidth, getMostImportantSeparator, getVertical, isSeparatorAt, processIntersections, processIntersectionsRemoveHorizontal, processIntersectionsSplitHorizontal
-
-
-
-
Method Detail
-
findSeparators
protected void findSeparators(Area area, Area filter)
Finds the horizontal and vertical list of separators- Specified by:
findSeparators
in classSeparatorSet
- Parameters:
area
- the root areafilter
- if not null, only the sub areas enclosed in the filter area are considered
-
-