RU2230364C2 - Method and device for shaping arbitrary graphic objects - Google Patents

Method and device for shaping arbitrary graphic objects Download PDF

Info

Publication number
RU2230364C2
RU2230364C2 RU2000129203/09A RU2000129203A RU2230364C2 RU 2230364 C2 RU2230364 C2 RU 2230364C2 RU 2000129203/09 A RU2000129203/09 A RU 2000129203/09A RU 2000129203 A RU2000129203 A RU 2000129203A RU 2230364 C2 RU2230364 C2 RU 2230364C2
Authority
RU
Russia
Prior art keywords
graphic
code
input
primary
symbol
Prior art date
Application number
RU2000129203/09A
Other languages
Russian (ru)
Other versions
RU2000129203A (en
Inventor
С.В. Стреж (RU)
С.В. Стреж
Original Assignee
Стреж Сергей Васильевич
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Стреж Сергей Васильевич filed Critical Стреж Сергей Васильевич
Priority to RU2000129203/09A priority Critical patent/RU2230364C2/en
Publication of RU2000129203A publication Critical patent/RU2000129203A/en
Application granted granted Critical
Publication of RU2230364C2 publication Critical patent/RU2230364C2/en

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

FIELD: pattern shaping methods and devices. SUBSTANCE: novelty is that proposed computer data output device is provided with newly introduced concatenated-code generating integrator whose first input is supplied with control instruction, code character is applied to its second input, third input of mentioned integrator is connected to code output of buffer memory and output, to code input of buffer memory. EFFECT: essentially reduced requirement of memory capacity. 4 cl, 5 dwg

Description

Изобретения относятся к области автоматики и вычислительной техники, а именно к устройствам формирования графических изображений.The invention relates to the field of automation and computer technology, namely, devices for the formation of graphic images.

Известно устройство отображения информации по АС СССР № 1354242, а также устройство распознавания образов по АС СССР № 1387025. Известны также микросхемы Vision 868 фирмы S3 и GD 5470 фирмы Carrus Logic. Перечисленные устройства используют способ формирования изображений с помощью графических символов. Недостатком данных устройств является отсутствие возможности формировать с помощью символов произвольные графические изображения.A device for displaying information on the USSR AS No. 1354242, as well as a pattern recognition device for the USSR AS No. 1387025. Vision 868 microcircuits from S3 and GD 5470 from Carrus Logic are also known. The listed devices use a method of forming images using graphic symbols. The disadvantage of these devices is the inability to form arbitrary graphic images using symbols.

Известен также способ формирования графических изображений и устройство для его осуществления, использованные в комплексе 17Н979 в блоке управления табло БУТ-018 (Техническое описание и инструкция по эксплуатации С63.083.018 ТО). Данный комплекс является наиболее близким по своей сущности и выполняемой функции к заявляемой группе изобретений и принят за прототип.There is also a known method of generating graphic images and a device for its implementation, used in the 17N979 complex in the control unit of the BUT-018 board (Technical description and operating instructions C63.083.018 TO). This complex is the closest in nature and function to the claimed group of inventions and is taken as a prototype.

Недостатком данного устройства и использованного в нем способа формирования изображений является то, что они не позволяют формировать с помощью символов произвольные графические объекты.The disadvantage of this device and the method of image formation used in it is that they do not allow the formation of arbitrary graphic objects using symbols.

Предложен способ формирования произвольных графических объектов путем выбора графических символов, их кодирования, записи кода в памяти вычислительного устройства и построения из них графического объекта, отличающийся тем, что первичные графические символы кодируют позиционным кодом, каждая позиция которого соответствует одному и только одному первичному графическому символу, вторичные графические символы получают путем образования комбинаций из первичных графических символов, вторичные графические символы кодируют путем объединения позиционных кодов графических символов, которые могут являться как первичными, так и вторичными графическими символами, образующих данный вторичный графический символ.A method is proposed for generating arbitrary graphic objects by selecting graphic symbols, encoding them, writing a code in the memory of a computing device and constructing a graphic object from them, characterized in that the primary graphic symbols are encoded with a positional code, each position of which corresponds to one and only one primary graphic symbol, secondary graphic symbols are obtained by forming combinations of primary graphic symbols, secondary graphic symbols are encoded by combining eniya positional codes of graphic symbols that can be both primary and secondary graphics, forming a secondary active graphic.

Для осуществления способа предложено устройство формирования произвольных графических объектов, содержащее буферное запоминающее устройство, на адресный вход которого подается адрес графического символа, знакоформирователь, содержащий образы графических символов, соединенный входом с выходом буферного запоминающего устройства, регистр выходных сигналов, на один вход которого подается адрес графического символа, а другой вход соединен с выходом знакоформирователя, отличающееся тем, что в него дополнительно введен интегратор, на первый вход которого подается команда управления, на второй вход подается код символа, третий вход интегратора соединен с кодовым выходом буферного запоминающего устройства, а выход соединен с кодовым входом буферного запоминающего устройства.To implement the method, there is proposed a device for generating arbitrary graphic objects containing a buffer memory, the address of which is supplied with the address of a graphic symbol, a sign generator containing images of graphic symbols connected to the input with the output of the buffer memory, a register of output signals, the graphic address of which is supplied to one input symbol, and the other input is connected to the output of the signifier, characterized in that an integrator is additionally introduced into it, on vy input of which is supplied a control command is input to the second code symbol, the third input of the integrator is connected to the output of the code buffer memory and an output coupled to the code input buffer memory.

Предлагаемый способ и устройство позволяют формировать произвольные графические объекты с помощью символов.The proposed method and device allows you to create arbitrary graphical objects using characters.

На фиг.1 представлено устройство формирования произвольных графических объектов, где 1 - буферное запоминающее устройство БЗУ, 2 - интегратор, 3 - знакоформирователь ЗНФ, 4 - регистр выходных сигналов РВС, 5 - периферийное устройство вывода графического объекта.Figure 1 shows a device for the formation of arbitrary graphic objects, where 1 is a buffer memory of the BZU, 2 is an integrator, 3 is a sign generator of a ZNF, 4 is a register of output signals of a PBC, 5 is a peripheral output device of a graphic object.

На фиг.2 представлена временная диаграмма работы устройства, где на оси абсцисс отложено время появления сигналов на входах элементов устройства, отложенных на оси ординат, цифра до точки - номер элемента, после точки - номер входа.Figure 2 presents the timing diagram of the operation of the device, where the abscissa axis shows the time of appearance of signals at the inputs of the device elements, the axis of the ordinates, the number to the point is the number of the element, after the point is the number of the input.

На фиг.3 представлена схема интегратора.Figure 3 presents a diagram of an integrator.

На фиг.4 представлена схема знакоформирователя, содержащего число матриц, равное количеству первичных и вторичных графических символов.Figure 4 presents a diagram of a sign generator containing a number of matrices equal to the number of primary and secondary graphic symbols.

На фиг.5 представлена схема знакоформирователя, содержащего число матриц, равное количеству первичных графических символов.Figure 5 presents a diagram of a sign generator containing a number of matrices equal to the number of primary graphic symbols.

На первом шаге выполнения способа формируются начертания графических символов, которые являются первичными символами. Каждому из них ставится в соответствие кодовая комбинация позиционного кода, имеющего число возможных позиций, равное числу выбранных первичных символов. При этом каждому символу ставится в соответствие одна из позиций позиционного кода.In the first step of the method, the faces of graphic symbols are formed, which are primary symbols. Each of them is assigned a code combination of a positional code having the number of possible positions equal to the number of selected primary characters. In this case, each character is associated with one of the positions of the positional code.

Начертания вторичных графических символов образуются путем комбинирования первичных символов. Код, соответствующий полученной комбинации символов, образуется путем дизъюнкции соответствующих позиций кодов, принадлежащих первичным символам, образовавшим данный вторичный символ. При этом каждому символу соответствует своя уникальная кодовая комбинация. Ниже представлен пример кодирования символов.The faces of the secondary graphic characters are formed by combining the primary characters. The code corresponding to the obtained combination of characters is formed by disjunction of the corresponding positions of the codes belonging to the primary characters that formed this secondary symbol. At the same time, each character has its own unique code combination. The following is an example of character encoding.

1. графический символ А | 01-код;1. graphic symbol A | 01-code;

2. графический символ Б - 10-код;2. graphic symbol B - 10-code;

3. графический символ В |- 11-код.3. The graphic symbol B | - 11-code.

Здесь показаны графические символы и их кодирование: первичные графические символы 1 и 2, соответствующие им комбинации позиционного кода; вторичный графический символ 3, полученный с помощью комбинации первичных символов, и соответствующая ему кодовая комбинация.Graphic symbols and their coding are shown here: primary graphic symbols 1 and 2, corresponding combinations of positional code; a secondary graphic symbol 3 obtained using a combination of primary symbols, and the corresponding code combination.

Первичные графические символы позволяют формировать некоторые графические объекты. При создании сложных графических объектов, имеющих всевозможные пересечения, возникает необходимость отображать в одном и том же знакоместе одновременно несколько первичных символов. При этом коды символов, принадлежащие разным графическим объектам, участвующим в пересечении, могут содержаться в различных местах памяти вычислительного устройства и иметь указание на одно и то же знакоместо. Предложенный способ позволяет из кодов первичных символов, адресованных к одному знакоместу, получить код вторичного символа, начертание которого соответствует комбинации данных первичных символов, образующих пересечение графических объектов в данном знакоместе, и по полученному коду отобразить вторичный символ.Primary graphic symbols allow you to create some graphic objects. When creating complex graphic objects having all kinds of intersections, it becomes necessary to display several primary characters simultaneously in the same familiarity. At the same time, character codes belonging to different graphic objects participating in the intersection can be contained in different places in the memory of the computing device and have an indication of the same familiarity. The proposed method allows one to obtain a secondary symbol code from the codes of primary symbols addressed to one familiarity, the design of which corresponds to a combination of these primary symbols forming the intersection of graphic objects in this familiarity, and display the secondary symbol using the received code.

Вторичный символ может быть образован также комбинацией графических символов, среди которых могут быть не только первичные, но и вторичные символы.The secondary symbol can also be formed by a combination of graphic symbols, among which there can be not only primary, but also secondary symbols.

В качестве позиционного кода первичных элементов может быть выбран двоичный код, как в показанном выше примере. Код вторичного символа получается в данном случае сложением двоичных чисел, соответствующих первичным символам. В качестве позиционного кода может быть выбран более сложный код. Например, одна позиция позиционного кода может представлять собой некоторую комбинацию сигналов или символов соответствующей системы счисления.A binary code can be selected as the positional code of the primary elements, as in the example shown above. The secondary character code is obtained in this case by adding binary numbers corresponding to the primary characters. A more complex code may be selected as the positional code. For example, one position code position may be some combination of signals or symbols of the corresponding number system.

В этом случае код вторичного символа получается “наложением” позиционных кодов первичных символов друг на друга.In this case, the secondary symbol code is obtained by “superimposing” the positional codes of the primary symbols on each other.

Устройство, изображенное на фиг.1, работает следующим образом.The device depicted in figure 1, operates as follows.

БЗУ 1 представляет собой блок ячеек памяти, соответствующих ячейкам или знакоместам на периферийном устройстве 5, в качестве которого может быть экран монитора, табло отображения, печатающее или графопостроительное устройство, а также механические и другие устройства. БЗУ 1 содержит в ячейках коды символов, которые должны быть выведены в соответствующих этим ячейкам знакоместах. На вход БЗУ 1 из памяти вычислительного устройства подается адрес данного символа, код этого символа подается на вход интегратора 2. Одновременно на вход интегратора подается также команда управления записью (стиранием) символа. Из БЗУ 1 в интегратор 2 подается код, находящийся в ячейке БЗУ 1 по поступившему адресу. В случае поступления команды записи символа в интеграторе происходит дизъюнкция кодов: поступившего и находящегося в БЗУ 1 по данному адресу. В случае прихода команды стирания символа код поступившего символа удаляется из кода, поступившего из ячейки БЗУ 1. После этого полученный синтезированный код возвращается по этому же адресу в БЗУ 1. Если в БЗУ 1 по данному адресу не был записан никакой код, то происходит запись кода первичного символа. Если по данному адресу уже был записан некоторый код, то происходит добавление в эту же ячейку кода еще одного первичного символа. Если поступает по данному адресу код символа с командой стирания, то код данного символа, записанного ранее в ячейку БЗУ 1, удаляется.BZU 1 is a block of memory cells corresponding to cells or familiarities on the peripheral device 5, which may be a monitor screen, a display board, a printing or plotting device, as well as mechanical and other devices. BZU 1 contains in the cells the codes of characters that should be displayed in the corresponding familiar cells. The address of this symbol is fed to the input of the BZU 1 from the memory of the computing device, the code of this symbol is fed to the input of the integrator 2. At the same time, the command for writing (deleting) the symbol is also sent to the input of the integrator. From BZU 1 to integrator 2, the code is located in the cell BZU 1 at the received address. In the case of a command to write a character in the integrator, the code is disjointed: received and located in the BZU 1 at this address. If a character erase command is received, the code of the received character is deleted from the code received from the BZU 1 cell. After that, the received synthesized code is returned to the same address in BZU 1. If no code was written to the BZU 1, then the code is written primary character. If some code has already been written to this address, then another primary character is added to the same cell in the code. If a symbol code with an erase command arrives at a given address, then the code of this symbol recorded earlier in the BZU 1 cell is deleted.

Код символа, записанный в БЗУ 1 по данному адресу, подается в знакоформирователь ЗНФ 3. Здесь в зависимости от кода символа выбирается соответствующая матрица, содержащая образ (конфигурацию) конкретного графического символа. Образ символа поступает в регистр выходных сигналов РВС 4. По поступившему адресу в РВС 4 (см. фиг.1, фиг.2.) производится запись образа символа для непосредственного управления периферийным устройством 5.The symbol code recorded in the BZU 1 at this address is supplied to the ZNF sign generator 3. Here, depending on the symbol code, the corresponding matrix is selected containing the image (configuration) of a particular graphic symbol. The image of the symbol enters the register of output signals of the PBC 4. At the received address in the PBC 4 (see figure 1, figure 2.) Is recorded image of the character for direct control of the peripheral device 5.

Интегратор 2 может быть выполнен следующим образом.Integrator 2 can be performed as follows.

Схема интегратора, показанная на фиг.3, выполнена для случая, когда код символа состоит из четырех разрядов. Каждый разряд кодируется группой из трех элементов: элемент И-НЕ, элемент ИЛИ, элемент И. На первые входы И-НЕ подается команда управления: 1 - стирание, 0 - запись; на вторые входы И-НЕ и первые входы ИЛИ подается входной код символа; на вторые входы ИЛИ подается код из ячейки БЗУ; с выходов элементов И снимается полученный синтезированный код, который возвращается в ячейку БЗУ 1.The integrator circuit shown in FIG. 3 is made for the case when the symbol code consists of four bits. Each bit is encoded by a group of three elements: AND-NOT element, OR element, AND element. A control command is sent to the first inputs AND-NOT: 1 - erase, 0 - write; to the second inputs AND NOT and the first inputs OR the input symbol code is supplied; to the second inputs OR a code is supplied from the cell of the CCD from the outputs of the AND elements, the resulting synthesized code is removed, which is returned to the BZU 1 cell.

Интегратор работает следующим образом. Если поступила команда запись (логический ноль), то на выходах 3 элементов И-НЕ всегда будут логические единицы, которые поступят на первые входы элементов И. На выходах 3 элементов ИЛИ образуются объединенный код, который через элементы И поступит на выход интегратора. В случае поступления команды стирания на 1-х входах элементов И-НЕ появится логическая единица. При этом если на 2-м входе соответствующего И-НЕ присутствует логическая единица (поступил код символа, соответствующий данному разряду кода), то на выходе данного И-НЕ будет логический ноль, который запретит прохождение через элемент И данного разряда на выход интегратора логической единицы, поступившей в коде из ячейки БЗУ. Таким образом, в БЗУ вернется код, в котором в данном разряде вместо логической единицы будет записан логический ноль.The integrator works as follows. If a write command (logical zero) is received, then the outputs of the 3 AND-NOT elements will always have logical units that will go to the first inputs of the AND elements. The outputs of the 3 OR elements will form a combined code that will go through the AND elements to the integrator output. If an erase command is received, a logical unit will appear on the 1 inputs of the AND-NOT elements. Moreover, if at the 2nd input of the corresponding AND-NOT there is a logical unit (a character code corresponding to this category of code is received), then the output of this AND-will be a logical zero, which will prohibit the passage through the AND element of this discharge to the output of the integrator of the logical unit received in the code from the BZU cell. Thus, a code will be returned to the CCD, in which in this category a logical zero will be written instead of a logical unit.

Варианты выполнения знакоформирователя показаны на фиг.4 и фиг.5.Embodiments of the signifier are shown in FIG. 4 and FIG. 5.

На фиг.4 представлен ЗПФ, содержащий количество матриц образов конфигураций символов, равное числу первичных и вторичных графических символов. Для 4 разрядного кода символа число матриц равно 16. Код символа подается на дешифратор 17. В зависимости от данного кода, являющегося синтезированным кодом из ячейки БЗУ, активизируется одна из матриц путем подачи на нее сигнала, с соответствующего выхода дешифратора 17. Блок элементов ИЛИ 18 выполняет функцию коммутации графических образов символов на выход ЗНФ.Figure 4 presents the FZP containing the number of matrixes of images of the configurations of characters equal to the number of primary and secondary graphic characters. For a 4-bit symbol code, the number of matrices is 16. The symbol code is supplied to the decoder 17. Depending on this code, which is a synthesized code from the BZU cell, one of the matrices is activated by applying a signal to it from the corresponding output of the decoder 17. OR block 18 performs the function of switching graphic images of characters to the output of the ZNF.

На фиг.5 представлен ЗНФ, содержащий число матриц, равное числу первичных графических символов. Сигналы, соответствующие разрядам синтезированного кода из ячейки БЗУ, подаются непосредственно на матрицы графических образов, активизируя их. При этом происходит одновременное формирование образов символов в матрицах, соответствующих тем разрядам кода, в которых присутствует логическая единица. Сформированные графические образы символов в нескольких матрицах одновременно подаются на входы блока элементов ИЛИ 5. В результате на выходе ЗНФ образуется совмещенный образ вторичного символа.Figure 5 presents the FNP containing the number of matrices equal to the number of primary graphic symbols. The signals corresponding to the bits of the synthesized code from the BZU cell are fed directly to the matrix of graphic images, activating them. In this case, the simultaneous formation of symbol patterns in matrices corresponding to those bits of the code in which a logical unit is present occurs. The generated graphic images of symbols in several matrices are simultaneously fed to the inputs of an OR block of elements 5. As a result, a combined image of a secondary symbol is formed at the output of the SNF.

Таким образом, совокупность существенных признаков позволяет отображать произвольные графические объекты. При этом в памяти вычислительного устройства различные графические объекты могут храниться независимо друг от друга со своей независимой адресацией расположения на средствах вывода графики.Thus, the set of essential features allows you to display arbitrary graphic objects. Moreover, in the memory of the computing device, various graphical objects can be stored independently from each other with their own independent addressing of the location on the graphics output means.

Claims (4)

1. Способ формирования произвольных графических объектов путем выбора графических символов, их кодирования, записи кода в памяти вычислительного устройства и построения из них графического объекта, отличающийся тем, что первичные графические символы кодируют позиционным кодом, каждая позиция которого соответствует одному и только одному первичному графическому символу, вторичные графические символы получают путем образования комбинаций из первичных графических символов, вторичные графические символы кодируют путем объединения позиционных кодов графических символов, которые могут являться как первичными, так и вторичными графическими символами, образующих данный вторичный графический символ.1. A method of generating arbitrary graphic objects by selecting graphic symbols, encoding them, writing a code in the memory of a computing device and constructing a graphic object from them, characterized in that the primary graphic symbols are encoded with a positional code, each position of which corresponds to one and only one primary graphic symbol , secondary graphic symbols are obtained by forming combinations of primary graphic symbols, secondary graphic symbols are encoded by combining graphic codes of graphic symbols, which can be both primary and secondary graphic symbols forming this secondary graphic symbol. 2. Устройство формирования произвольных графических объектов, содержащее буферное запоминающее устройство, на адресный вход которого подается адрес графического символа, знакоформирователь, содержащий образы графических символов, соединенный входом с выходом буферного запоминающего устройства, регистр выходных сигналов, на один вход которого подается адрес графического символа, а другой вход соединен с выходом знакоформирователя, в который производится запись образа символа для непосредственного управления периферийным устройством, отличающееся тем, что в него дополнительно введен интегратор, образующий объединенный код, на первый вход которого подается команда управления, на второй вход подается код символа, третий вход упомянутого интегратора соединен с кодовым выходом буферного запоминающего устройства, а выход упомянутого интегратора соединен с кодовым входом буферного запоминающего устройства.2. A device for generating arbitrary graphic objects containing a buffer memory device, the address of which is a graphic symbol address, a signifier containing images of graphic symbols connected to the input with the output of the buffer memory device, a register of output signals, a graphic symbol address is supplied to one input thereof, and the other input is connected to the output of the signifier, into which the symbol image is recorded for direct control of peripheral devices m, characterized in that an integrator is additionally introduced into it, forming a combined code, a control command is supplied to the first input, a symbol code is supplied to the second input, the third input of the said integrator is connected to the code output of the buffer memory, and the output of the said integrator is connected to the code input buffer memory. 3. Устройство по п.2, отличающееся тем, что знакоформирователь содержит матрицы образов графических символов, количество которых равно количеству первичных и вторичных графических символов.3. The device according to claim 2, characterized in that the signifier comprises matrixes of images of graphic symbols, the number of which is equal to the number of primary and secondary graphic symbols. 4. Устройство по п.2, отличающееся тем, что знакоформирователь содержит матрицы образов графических символов, количество которых равно количеству первичных графических символов.4. The device according to claim 2, characterized in that the signifier comprises matrixes of images of graphic symbols, the number of which is equal to the number of primary graphic symbols.
RU2000129203/09A 2000-11-23 2000-11-23 Method and device for shaping arbitrary graphic objects RU2230364C2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU2000129203/09A RU2230364C2 (en) 2000-11-23 2000-11-23 Method and device for shaping arbitrary graphic objects

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
RU2000129203/09A RU2230364C2 (en) 2000-11-23 2000-11-23 Method and device for shaping arbitrary graphic objects

Publications (2)

Publication Number Publication Date
RU2000129203A RU2000129203A (en) 2002-11-10
RU2230364C2 true RU2230364C2 (en) 2004-06-10

Family

ID=32845266

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2000129203/09A RU2230364C2 (en) 2000-11-23 2000-11-23 Method and device for shaping arbitrary graphic objects

Country Status (1)

Country Link
RU (1) RU2230364C2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Блок управления табло БУТ-018. Техническое описание и инструкция по эксплуатации С63. 083. 018 ТО, 1982. *

Similar Documents

Publication Publication Date Title
US4706074A (en) Cursor circuit for a dual port memory
US4958146A (en) Multiplexor implementation for raster operations including foreground and background colors
RU2230364C2 (en) Method and device for shaping arbitrary graphic objects
JPH03196188A (en) Display system for information processor
JPS6057593B2 (en) Character pattern processing method
JPS60101637A (en) Text display system
US4524353A (en) Line pattern template generator
EP0229986B1 (en) Cursor circuit for a dual port memory
KR920003046B1 (en) Character and pattern descripter
JPS6333782A (en) Controller for graphic display
JPS5936316B2 (en) Printing or display device
JP2629866B2 (en) Bitmap memory control method
JPH0758425B2 (en) Image processing device
JP2704954B2 (en) Bit extender
SU1508271A1 (en) Symbol generator
KR890001867B1 (en) Latter image modulating method and device
RU1637638C (en) Former of signals of television picture
JPS6215595A (en) Memory writing control circuit for character/graphic displayunit
JPS6346431B2 (en)
JPH023513B2 (en)
JPH01270176A (en) Graphic display system allowed to deliver partial image
JPH0462590B2 (en)
JPS61250729A (en) Shifter circuit
JPS60209880A (en) Write controller of image memory
JPH0594170A (en) Vector font plotting device

Legal Events

Date Code Title Description
MM4A The patent is invalid due to non-payment of fees

Effective date: 20061124