DISPLAY DATA MEMORY

Abstract: The device includes a plurality of pixel control digit storage elements (1) each for association with a particular pixel of the display and functionally organised in the form of a two-dimensional array corresponding to the array of pixels of the display, interconnected with one another and with data and control signal input means (2, 3, 4) such that a pixel control digit, representing a given colour or intensity say, entered into one"seed" element (i,j) automatically propagates through the device from one to another element until it reaches elements to which boundary indicative control signals are applied by way of said input means whence propagation ceases. The boundary indicative control signals and the "seed" element may be derived from and chosen by an associated computer processor operating according to a conventional shape designing algorithm.

Description: This invention relates to a graphic display memory device. A graphic display may be generated by a t.v. monitor or like raster-scan apparatus while modulating the scanner beam in accordance with the contents of a memory holding a series of digits, one for each pixel of the display. For a computer generated image, the digits are placed in the memory by a computer processor. Such computer generated images can be made up of one or more contiguous areas or 'polygons' throughout which the colour or brightness of the display remains the same. These polygons may be generated by the processor identifying those memory locations which correspond to pixels at the edges or boundaries of the polygon and then 'filling-in' the polygon by a seed-fill algorithm in which a pixel control digit appropriate to the required colour or brightness is entered into a location associated with a pixel within the polygon, then addressing each location associated with the adjacent pixels and putting the same digit into them, and so on until it reaches the boundary locations. As an alternative, a vector fill algorithm is used in which a series of lines are drawn extending from one to the opposite side of the polygon without pre-calculation of its shape - instead, the line lengths are successively incremented from data indicative of the slope of each edge. Vector-fill and/or seed fill algorithms may be supplied as firmware with purchased CGI apparatus. In either case, since the processor of the apparatus has to fill in the shape on a progressive basis, ie addressing each pixel storage location in turn and entering a digit therein, the speed of filling is not as great as may be desired unless very expensive custom built display apparatus is used. Some known methods of polygon (contour) filling are reviewed in IEEE Transactions on Computers Vol. C-30. No. 1. Jan. 1981. pp 41-48. According to this invention, apparatus is provided for controlling a plurality of pixels of an image, comprising: a plurality of interconnected modules, each for controlling one pixel of said image, and each said module connected to all adjacent modules thereto characterised in that the apparatus further comprises control means for providing a control digit to one of said modules; means in each module for passing said control digit from said one of said modules to all modules adjacent thereto unless said one module is indicative of a boundary of an area to be controlled, and then not passing said control digit to any adjacent modules; and continuing to pass said control digit from each module to all adjacent modules until all of said boundary indicative modules are reached. Advantageously, the device comprises a plurality of multi-bit latches functionally organised as a two-dimensional array, a plurality of 'or' gating circuits having outputs connected to the bit inputs of respective ones of the latches, and a plurality of control gating circuits connected to the latch control inputs of respective ones of the latches, the bit outputs of each latch being fanned-out to the 'or' gating circuits of each of the adjacent latches, and each control gating circuit being operable to receive a control signal via input means of the device and, in dependence upon the value of that control signal, to permit the latch to accept a digit from one of said adjacent latches and to cause said digit to be passed to the inputs of said adjacent latches. For a better understanding of the invention, reference will be made, by way of example, to the accompanying drawings, in which:- figure 1 is a diagrammatic view of part of a memory device, and figure 2 is a simplified circuit diagram of a single storage element of the figure 1 device and its associated circuitry. The memory device shown in figure 1 comprises a matrix array of four-bit latches 1 each of which is interconnected via interface circuits 2 and data and control line buses 3 with the four latches adjacent to it in the array. Each latch is operable for holding a control digit for controlling one of the pixels of a raster-generated graphic display. To this end, the contents of the latches are available via data and control line buses 4 to a scanner (not shown) which scans the latches in synchronism with the generation of the raster in a way known to those skilled in the art. Buses 4 include, for each latch, four bit-output lines which are taken to the forementioned scanner, four bit input lines via which a control digit can be inserted in the latch, and two control lines one of which is used to designate the latch as a seed pixel latch and the other of which can be used to designate the latch as one which is to hold a pixel at the boundary of a particular portion of the display. As shown in figure 2, each set of four bit-input lines in buses 4 are fed to appropriate inputs of the associated latch via respective ones of four five-input OR gates 5. The other inputs of each gate 5 receive the corresponding bit inputs of the four adjacent latches. Each set of four bit-output lines in buses 4 are connected to appropriate ones of the bit outputs of the associated latch. These outputs of the latch are also connected, via fan-out buffer amplifiers 6 to OR gates like the gates 5 but associated with respective ones of the four adjacent latches. The latch control and output enable terminals of each latch are connected to the output of an AND gate 7. One input of each gate 7 is connected to the boundary-set control line for the latch while the other input receives the output of a further five-input OR gate 8. One of the inputs of this gate is connected to the set seed pixel control line for the latch while the others are connected to the outputs of the AND gates for respective ones of the four adjacent latches via respective fan-out buffer circuits associated with the four adjacent latch circuits. These buffer circuits are of course each similar to the circuit 9, via which circuit, signals are applied from AND gate 7 to the equivalents of OR gate 8 for the adjacent latches. Initially, those of the latches which are associated with pixels at the boundary of a contiguous portion of the display, which portion is to be 'filled-in' with the same colour, brightness and such, have their boundary-set control signals asserted so that AND gate 7 for each of these latches is closed. Meanwhile a control digit appropriate to the required pixel characteristics is applied to the inputs of one of the latches associated with a pixel within the portion to be filled-in and the set-seed pixel control line for this latch is asserted. The digit thus becomes entered into the latch and is thus applied via fan out amplifiers 6 and OR gates 5 to the adjacent latches. The output of gate 7 is also applied via buffers 9 to the OR gates 8 of the adjacent latches. Provided the AND gates 7 for these latches are open, the control digit is propagated into them. The propagation continues from each latch to the adjacent latches and so on until it reaches those where the boundary-set control signals are asserted and hence the and gates 7 are closed. This de-asserts the latch control and output enable inputs of the latches so the seed digit is not entered into them and not propagated further. The shape of the display portion to be filled in, and hence the latches at which the boundary-set control signals are to be asserted, and the seed point are calculated by an associated computer processor (not shown) as in an appropriate shape designing algorithm - thereafter, however, the seed filling of the portion is automatic and does not have to be carried out by the processor itself. Each latch could have a number of bits other than four, for example it could have eight - the inter-connections between the latches would then retain the same format but of course there would be more of them. In either case, depending upon the number of display pixels, the number of connections may be quite large so clearly it is advantageous for the memory to be implemented as a single VLSI logic chip. The video scanner is preferably also implemented on the same chip.

Claims: Apparatus for controlling a plurality of pixels of an image, comprising a plurality of interconnected modules (1) each for controlling one pixel of said image, and each said module connected to all adjacent modules thereto characterised in that the apparatus further comprises control means (7,8) for providing a control digit to one of said modules; means (7,9) in each module for passing said control digit from said one of said modules to all modules adjacent thereto unless said one module (1) is indicative of a boundary of an area to be controlled, and then not passing said control digit to any adjacent modules; and continuing to pass said control digit from each module to all adjacent modules until all of said boundary indicative modules are reached. Apparatus as claimed in claim 1 wherein each module (1) is interconnected to four other of said modules to form a two-dimensional array. Apparatus as claimed in claim 2 in which said modules (1) comprise multi-bit latches (1) and further including a plurality of 'OR' gating circuits (5) having outputs connected to the bit inputs of respective ones of the latches (1), the bit outputs of each latch (1) being fanned out to the 'OR' gating circuits of each of the adjacent latches (1), said control means (7,8) applying said control digit to one of said latches (1) and, in dependence upon the value of said control digit, permitting said one latch (1) to transfer data on its bit inputs to the 'OR' gating circuits of adjacent latches.

Inventors: PARKER, MARTIN
Applicants: BRITISH AEROSPACE PUBLIC LIMITED COMPANY
Application year: 1986
Main classification: G09G1
IPC codes: G06T11, G09G5