SU1640723A1 - Plane figures geometrical sizes meter - Google Patents
Plane figures geometrical sizes meter Download PDFInfo
- Publication number
- SU1640723A1 SU1640723A1 SU884492761A SU4492761A SU1640723A1 SU 1640723 A1 SU1640723 A1 SU 1640723A1 SU 884492761 A SU884492761 A SU 884492761A SU 4492761 A SU4492761 A SU 4492761A SU 1640723 A1 SU1640723 A1 SU 1640723A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- output
- counter
- outputs
- switch
- inputs
- Prior art date
Links
Landscapes
- Image Analysis (AREA)
Abstract
Изобретение относитс к автоматике и вычислительной технике. Цель изобретени - расширение функциональных возможностей за счет определени площади перекрыти плоской фигуры с заданной маской. Занесенное в блок пам ти изображение маски поточечно сравниваетс на элементе И с входным изображением. Количество совпавших элементов суммируетс в счетчике. 2 ил.This invention relates to automation and computing. The purpose of the invention is to expand the functionality by determining the area of overlap of a flat figure with a given mask. The mask image stored in the memory unit is point-by-point compared on the AND element with the input image. The number of matched elements is summed up in the counter. 2 Il.
Description
Изобретение относитс к автоматике и вычислительной технике и может быть использовано при создании систем автоматического анализа графической информации.The invention relates to automation and computing and can be used to create systems for the automatic analysis of graphic information.
Цель изобретени - расширение функциональных возможностей устройства за счет определени площади перекрыти геометрической фигуры с заданной маской.The purpose of the invention is to expand the functionality of the device by determining the area of overlap of a geometric figure with a given mask.
На фиг. 1 изображена структурна схема устройства дл измерени геометрических параметров плоских фигур; на фиг. 2 - коммутатор.FIG. 1 shows a block diagram of a device for measuring geometrical parameters of flat figures; in fig. 2 - switch.
Устройство содержит последовательно соединенные генератор 1 тактовых импульсов , коммутатор 2, матрицу 3 фотоприемников , коммутатор 4, три трехразр дных сдвиговых регистра 5-7, элемент И-НЕ 8, элемент И 9, счетчик 10, счетчик 11, счетчик 12, блок 13 пам ти, элемент И 14 и счетчик 15.The device contains serially connected generator 1 clock pulses, switch 2, matrix of 3 photodetectors, switch 4, three three-bit shift registers 5-7, element AND-HE 8, element 9, counter 10, counter 11, counter 12, block 13 TI, element And 14 and counter 15.
Коммутатор 4 содержит сдвиговые регистры 16 и 17 и коммутатор 18.Switch 4 contains the shift registers 16 and 17 and switch 18.
Устройство работает следующим образом ,The device works as follows
С помощью коммутатора 4 в сдвиговые регистры 5-7 записываютс по очереди фрагменты всего изображени , состо щие из центральной точки и окружающих ее точек , причем второй выход сдвигового регистра 6 повтор ет состо ние всех точек изображени . Дл обеспечени такого режима с выходов коммутатора 4 снимаютс сигналы, соответствующие трем строкам. Сдвиговые регистры 16 и 17 коммутатора 4 (фиг. 2) задерживают две предыдущие по отношению к текущей строки. Анализиру состо ние точек, окружающих выбранную, определ ют находитс ли выбранна точка на контуре изображени . Если точка не принадлежит контуру изображени фигуры, но находитс внутри фигуры, то все окружающие ее точки имеют единичное значение (предполага , что точки изображени фигуры закодированы единичным значением), при этом на всех входах элемента И-НЕUsing switch 4, the shift registers 5-7 record fragments of the entire image in turn consisting of a central point and its surrounding points, with the second output of the shift register 6 repeating the state of all the image points. To provide such a mode, signals corresponding to three rows are removed from the outputs of switch 4. The shift registers 16 and 17 of the switch 4 (Fig. 2) delay the previous two with respect to the current line. Analyzing the state of the points surrounding the selected one, it is determined whether the selected point is located on the image contour. If the point does not belong to the contour of the figure of the figure, but is inside the figure, then all the surrounding points have a single value (assuming that the points of the image of the figure are encoded with a single value), while at all inputs of the AND-NOT element
слcl
СWITH
К оK o
хx
ГОGO
ыs
единицы, а на выходе нуль, и импульсы с второго выхода сдвигового регистра.6 не проход т на вход счетчика 10. Если выбранна точка не принадлежит контуру и не находитс внутри фигуры, то все окружающие ее точки имеют нулевое значение, при этом на всех входах элемента И-НЕ нули, а на выходе логическа единица, но так как сама выбранна точка имеет нулевое значение, то на втором выходе сдвигового регистра 6 импульса не по витс , и состо ние счетчика 10 не изменитс . Если выбранна точка принадлежит контуру изображени фигуры, то хот бы одна из окружающих ее точек соответствует нулевому сигналу на одном из выходов сдвиговых регистров 5-7. При этом на выходе элемента И-НЕ 8 высокий уровень, а так как в этот момент времени с второго выхода сдвигового регистра б снимаетс единица, то состо ние счетчика 10 увеличиваетс . После опроса всех точек в счетчике 10 будет код, соответствующий количеству точек, лежащих на контуре изображени фигуры.units, and the output is zero, and the pulses from the second output of the shift register.6 do not pass to the input of the counter 10. If the selected point does not belong to the contour and is not inside the figure, then all the surrounding points have a zero value, while on all inputs the NAND element is zero, and the output is a logical one, but since the selected point itself has a zero value, the second output of the shift register 6 of the pulse does not work, and the state of the counter 10 does not change. If the selected point belongs to the contour of the image of the figure, then at least one of its surrounding points corresponds to the zero signal at one of the outputs of the shift registers 5-7. At the same time, the output level of the AND-HE element 8 is high, and since at this point in time one is removed from the second output of the shift register b, the state of the counter 10 increases. After polling all the points in the counter 10, there will be a code corresponding to the number of points lying on the contour of the figure.
Поскольку на втором выходе сдвигового регистра 6 последовательно воспроизводитс состо ние всех точек изображени , то состо ние счетчика 10 в конце кадра соответствует числу точек изображени фигуры, т.е. ее площади.Since the state of all image points is sequentially reproduced at the second output of the shift register 6, the state of the counter 10 at the end of the frame corresponds to the number of image points of the figure, i.e. its area.
Определение площади части геометрической фигуры, лежащей внутри маски, производитс с помощью счетчика 12, блока 13 пам ти, элемента И 14 и счетчика 15. В блоке 13 пам ти хранитс изображение маски, котора .может иметь произвольную форму (зависит от решаемой задачи). Счетчик 12 по ходу развертки начинает перебирать чейки блока 13 пам ти. В тех точках изображени , где записана маска, с выхода запоминающего устройства снимаетс высокий уровень , который разрешает прохождение импульсов с второго выхода регистра 6 на счетчик 15. Тем самым в счетчике 15 формируетс в конце кадра код, соответствующийDetermining the area of a part of a geometric figure that lies inside the mask is performed using a counter 12, a memory block 13, an AND element 14 and a counter 15. In a memory block 13, a mask image is stored that can have an arbitrary shape (depending on the problem to be solved). The counter 12 starts scanning the cells of the memory block 13 in the course of the sweep. At those points in the image where the mask is recorded, a high level is taken from the output of the memory device, which permits the passage of pulses from the second output of the register 6 to the counter 15. Thus, in the counter 15, at the end of the frame a code is formed that corresponds
числу точек изображени фигуры, совпадающих с элементами маски, т.е. определ етс площадь части геометрической фигуры, лежащей внутри маски.the number of image points of the figure coinciding with the mask elements, i.e. the area of the part of the geometric figure that lies inside the mask is determined.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SU884492761A SU1640723A1 (en) | 1988-10-10 | 1988-10-10 | Plane figures geometrical sizes meter |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SU884492761A SU1640723A1 (en) | 1988-10-10 | 1988-10-10 | Plane figures geometrical sizes meter |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| SU1640723A1 true SU1640723A1 (en) | 1991-04-07 |
Family
ID=21403597
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| SU884492761A SU1640723A1 (en) | 1988-10-10 | 1988-10-10 | Plane figures geometrical sizes meter |
Country Status (1)
| Country | Link |
|---|---|
| SU (1) | SU1640723A1 (en) |
-
1988
- 1988-10-10 SU SU884492761A patent/SU1640723A1/en active
Non-Patent Citations (1)
| Title |
|---|
| Патент US № 4395697. кл. G 06 К 9/36, 1980. Авторское свидетельство СССР № 1352514, кл. G 06 К 9/48, 1985. * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4313114A (en) | Liquid level recorder apparatus and method for storing level differences in memory | |
| SU1640723A1 (en) | Plane figures geometrical sizes meter | |
| SU1133694A1 (en) | Device for measuring area of object | |
| SU1352514A1 (en) | Device for measuring geometric parameters of flat figures | |
| SU1012230A1 (en) | Data collection and preprocessing device | |
| SU1164549A1 (en) | Digital monitor | |
| RU2095846C1 (en) | Software-control device for logical control of electric drives and guarding alarm | |
| SU1606972A1 (en) | Device for sorting data | |
| SU783985A1 (en) | Device for recounting pulses with automatic selection of counting interval | |
| SU1605214A1 (en) | Device for monitoring process variables | |
| SU1377908A2 (en) | Device for measuring digital maximum and minimum period of signal recurrance | |
| SU881727A1 (en) | Liscrete information collecting device | |
| SU1695286A1 (en) | Sensor interface | |
| SU1621883A1 (en) | Device for psychological examinations | |
| SU807306A1 (en) | Device for diagnosis of objects | |
| SU1524013A1 (en) | Device for analyzing the shape of frequency signal envelope | |
| RU1839264C (en) | Device for image encoding | |
| SU1278909A1 (en) | Device for determining machine loads | |
| SU1534469A1 (en) | Device for modelling data collection system | |
| SU1089585A1 (en) | Device for collecting and processing information for monitoring system | |
| SU913439A1 (en) | Sensor state monitoring device | |
| SU1381429A1 (en) | Multichannel device for programmed control | |
| SU1010651A1 (en) | Memory device having self-testing capability | |
| SU1049861A1 (en) | Device for measuring time intervals | |
| SU1128242A1 (en) | Device for polling input device |