摘要 |
Input image data define an input image that shows a perimeter relationship representation, such as a Venn diagram or statechart. The representation includes a perimeters feature that satisfies a constraint on perimeters. The constraint can include a perimeter size criterion that distinguishes perimeters from labels. Or the constraint can include an enclosing perimeter criterion requiring a connected component within each perimeter and a perimeter label criterion requiring a label for each perimeter. The constraint can also include an empty perimeter criterion to distinguish empty perimeters from labels. The input image data are used to obtain perimeters data indicating parts of the input image that satisfy the constraint. The perimeters data are used to obtain relationship data indicating a relationship between distinctions represented by the perimeters. The relationship data can be used to obtain output image data defining an output image that includes precisely formed version of the representation or another graphical representation of the relationship, such as a table. The table can include a set label at the head of each row and an element label at the head of each column, with a bullet in a space in a row and column if the row's set includes the column's element.
|