Manual of Text/Image Editor

Hieroglyphs from a text are connected to rectangles in one or more images, with the help of this editor. It is assumed that an encoding of a hieroglyphic text already exists, although one can make changes to the list of hieroglyphs within this editor.

The hieroglyphs are given in the top panel. One can (left) click on these hieroglyphs to focus on them. A right click allows the choice of hieroglyph to be changed. Hieroglyphs that have not yet been linked to a rectangle in an image have a white background. The background is light gray if there is one link, and dark gray if there are two or more links. Normally only one link would exist, but having more than one link may be useful if several images of the same text overlap. A glyph cannot be linked to more than one rectangle in one and the same image.

Each image is in one tab in the bottom panel. The first tab is an index of all the images.

An image can be manipulated in one of four modes:

Candidate rectangles obtained in the polygon mode can be selected by going back to the rectangle mode; a left mouse click within a rectangle selects that rectangle. Pressing okay (under the mode menu) navigates to the next hieroglyph and selects the next rectangle within the polygon, in the chosen reading order. An order can be hlr, hrl, vlr, or vrl. (h for horizontal, lr for left-to-right, etc.)

If one wants to draw a rectangle overlapping with any candidate rectangles obtained from the polygon mode, then unselect the show button, which temporarily hides the candidate rectangles.

Navigation in an image is in one of the following ways:

Buttons in file menu

Close

Closes the editor.

Import

Allows an Egyptian resource with hieroglyphs to be imported.

Buttons in resource menu

Append image

Appends new image (to be selected in file system) behind current image. Allowable file extensions are jpg (or jpeg), png, bmp, and gif.

Cut image

Removes the current image.

Left/Right glyph

Navigates in the top panel.

New (initial) glyph

Adds a new (dummy) hieroglyph, and opens menu for choosing the actual hieroglyph.

Other glyph

Allows a different hieroglyph to be chosen for the current one.

Delete glyph

Allows the current hieroglyph to be removed.

Swap glyphs

Swaps current and next glyph.

Buttons in mode menu

The first few are shortcuts to change the corresponding buttons in the settings window (see below). One can also navigate among the rectangles obtained in the polygon mode (see above).

Settings

Lets the window with settings for the current image appear. See further below.

Help

Opens this window.

Settings window

Appearance

Affects the view of the image: color or bilevel (purely black and white pixels only).

Mouse

Affects the mouse mode.

Components

Whether candidate rectangles are shown (and are selectable) in the rectangle mode.

Direction

Affects the order in which one can navigate among candidate rectangles.

Bilevel

Affects how candidate rectangles are found. A color image is first turned into a bilevel image. The higher the threshold, the more pixels will become black. In this process, the three colors can be given different weightings. Black pixels close together will become part of the same component; the maximal distance between pixels can be parameterized. Isolated specks are typically not hieroglyphs; the minimum number of pixels per component can be parameterized as well.