RU1777651C - Device for selection of images of objects - Google Patents

Device for selection of images of objects

Info

Publication number
RU1777651C
RU1777651C SU894731175A SU4731175A RU1777651C RU 1777651 C RU1777651 C RU 1777651C SU 894731175 A SU894731175 A SU 894731175A SU 4731175 A SU4731175 A SU 4731175A RU 1777651 C RU1777651 C RU 1777651C
Authority
RU
Russia
Prior art keywords
input
output
inputs
elements
chord
Prior art date
Application number
SU894731175A
Other languages
Russian (ru)
Inventor
Анатолий Иванович Гавриш
Эльчин Барат Оглы Ширинов
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 SU894731175A priority Critical patent/RU1777651C/en
Application granted granted Critical
Publication of RU1777651C publication Critical patent/RU1777651C/en

Links

Landscapes

  • Image Analysis (AREA)

Abstract

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано в системах автоматического анализа и распознавани  изображений, системах технического зрени  роботов. Цель изобретени  - расширение функциональных возможностей устройства за счет определени  дополнительных параметров селектируемых объектов. Введение в устройство блока выделени  хорд, двух счетчиков , сумматора, двух умножителей, трех накапливающих сумматоров, двух делителей и р да других элементов обеспечивает параллельно со считыванием и селекцией изображений объектов определение координат центра т жести объектов и их площади . 5 ил.The invention relates to automation and computer technology and can be used in automatic analysis and image recognition systems, technical vision systems of robots. The purpose of the invention is to expand the functionality of the device by determining additional parameters of breeding objects. The introduction of a chord extraction unit, two counters, an adder, two multipliers, three accumulating adders, two dividers and a number of other elements into the device provides, in parallel with reading and selecting images of objects, determining the coordinates of the center of gravity of objects and their area. 5 ill.

Description

слcl

СWITH

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано в системах автоматического анализа и распознавани  изображений, в системах технического зрени  роботов.The invention relates to automation and computer technology and can be used in systems for automatic analysis and recognition of images, in the technical vision systems of robots.

Известно устройство дл  считывани  и селекции изображений объектов, позвол ющее решать задачу выделени  св занных и замкнутых фигур объектов. Дл  расширени  функциональных возможностей устройства необходимо дополнительно использоватьA device for reading and selecting images of objects is known, which makes it possible to solve the problem of extracting connected and closed figures of objects. To expand the functionality of the device, you must additionally use

ЭВМ.COMPUTER.

Наиболее близким к изобретению техническим решением  вл етс  устройство дл  селекции изображений объектов, которое содержит телевизионный датчик, формирователь , первый и второй регистрыClosest to the invention, the technical solution is a device for selecting images of objects, which contains a television sensor, shaper, first and second registers

сдвига, элемент И. селектор признаков св занности , первую и вторую группу элементов И. группу элементов ИЛИ, блок пам ти, детектор св зности, видеоусилитель и распределитель импульсов.shear, element I. selector of signs of connectedness, first and second group of elements I. group of elements OR, memory unit, detector of connectivity, video amplifier and pulse distributor.

Недостаток этого устройства заключаетс  в его ограниченных функциональных возможност х.A disadvantage of this device is its limited functionality.

Цель изобретени  - расширение функциональных возможностей устройства за счет определени  дополнительных параметров селектируемых объектов.The purpose of the invention is to expand the functionality of the device by determining additional parameters of breeding objects.

На фиг.1 представлена функциональна  схема устройства дл  селекции изображений объектов; на фиг.2 - схема распределител  импульсов; на фиг.З - схема блока выделени  хорд; на фиг.4 - временна  диагvi vi vjFig. 1 is a functional diagram of an apparatus for selecting images of objects; figure 2 - diagram of the pulse distributor; Fig. 3 is a diagram of a chord highlighting unit; figure 4 - time di vi vi vj

о слabout sl

соwith

рамма работы распределител  импульсов; на фиг.5 - пример реализации блока определени  длины хорды.pulse distributor operation frame; Fig. 5 is an example implementation of a chord length determination unit.

Устройство дл  селекции изображений объектов (фиг.1) содержит телевизионный датчик 1, формирователь 2, сдвиговый регистр 3, блок выделени  хорд 4, распределитель импульсов 5, сдвиговый регистр 6, группы элементов И 7-9, группу элементов ИЛИ 10, блок пам ти 11, детектор св зности 12, видеоусилитель 13, элемент И 14, счетчики 15 и 16, регистр 17, блок определени  длины хорды 18, сумматор 19, регистр 20, элементы И 21 и 22, умножители 23 и 24, накапливающие сумматоры 25-27, делители 28 и 29.The device for selecting images of objects (Fig. 1) contains a television sensor 1, a shaper 2, a shift register 3, a block for selecting chords 4, a pulse distributor 5, a shift register 6, a group of elements AND 7-9, a group of elements OR 10, a memory unit 11, connectivity detector 12, video amplifier 13, element 14, counters 15 and 16, register 17, chord length determination unit 18, adder 19, register 20, elements 21 and 22, multipliers 23 and 24, accumulating adders 25-27 , dividers 28 and 29.

Распределитель импульсов 5 (фиг.2) содержит счетчики 30 и 31, триггер 32, элемент И 33, формирователь 34, элементы ИЛИ 35 и 36. элементы И 37 и 38, коммутатор 39, блок сравнени  40, элемент И 41, триггер 42.The pulse distributor 5 (Fig. 2) comprises counters 30 and 31, a trigger 32, an And 33 element, a driver 34, OR 35 and 36 elements. And 37 and 38 elements, a switch 39, a comparison unit 40, an And 41 element, a trigger 42.

Блок 4 выделени  хорд (фиг.З) содержит элемент И 43, счэтчик 44 и группу элементов И 45.The chord highlighting unit 4 (Fig. 3) comprises an AND 43 element, a counter 44 and an And 45 element group.

Блек определени  длины хорды 18 содержит триггер 46, счетчик 47, элементы И 48 и ИЛИ 49 (на фиг.5 показаны также св зи блока 18 с блоками 17 и 19 устройства).The chord length determination black 18 contains a trigger 46, a counter 47, AND 48 and OR 49 elements (Fig. 5 also shows the connections of block 18 with blocks 17 and 19 of the device).

Алгоритм функционировани  устройства состоит в следующем:The algorithm of the device is as follows:

1.Над изображением объектов осуществл ют операцию преобразовани  отметки , при этом точкам каждой хорды присваиваютс  метки, равные ее пор дковому номеру, а точкам фона - метки, равные нулю.1. On the image of objects, the operation of transforming the mark is performed, with points equal to its sequence number assigned to the points of each chord, and marks equal to zero to the background points.

2.Выдел ют и запоминают все метки, которыми отмечаетс  каждый из объектов изображени .2. All marks with which each of the image objects are marked are highlighted and stored.

3.а) По одной известной метке того объекта , который необходимо выделить, определ ют все метки, которыми он отмечаетс  после преобразовани  отметки.3.a) From one known label of the object to be selected, all the labels with which it is marked after the conversion of the mark are determined.

б)Повтор ют п1 при повторном сканировании изображени  топологии и сравнивают текущие метки с метками, определенными в п.За, и те точки изображени , в котооых это равенство не соблюдаетс , из дальнейшего анализа исключают.b) Repeat n1 when rescanning the topology image and compare the current labels with the labels defined in Section 3a, and those image points at which this equality is not respected are excluded from further analysis.

в)Дл  отселектированного объекта вы-- дел ют и измер ют длину и координаты центрального элемента Хц), Yltj дл  каждой хорды, по которь м вычисл ют площадь и координаты центра т жести объекта по следующим формулам:c) For the selected object, the length and coordinates of the central element Xc) and Yltj are calculated and measured for each chord, by which the area and coordinates of the center of gravity of the object are calculated using the following formulas:

NN

s - Б DJi 1s - Used DJi 1

NN

Х ( S XmDj)/S, X (S XmDj) / S,

NN

Y (J YyjDjVS.Y (J YyjDjVS.

где Nf - количество хорд;where Nf is the number of chords;

j - пор дковый номер хорд, вход щих в изображение объекта;j is the ordinal number of the chords included in the image of the object;

DJ - длина j-й хорды объекта; Хц, YHJ - номера строки и столбца j-й хорды.DJ - the length of the j-th chord of the object; Хц, YHJ - row and column numbers of the j-th chord.

Следует отметить, что пункты 36 и ЗвIt should be noted that paragraphs 36 and Sv

осуществл ютс  параллельно.carried out in parallel.

Устройство (фиг.1) работает следующим образом.The device (figure 1) works as follows.

В соответствии с пп.1-3 алгоритма функционировани  может быть рассмотрено три режима работы устройства: режим, в котором производитс  построчное сканирование изображени , его отметка и выделение хорд; режим определени  всех меток.In accordance with paragraphs 1-3 of the operational algorithm, three modes of operation of the device can be considered: a mode in which line-by-line scanning of an image is performed, its marking and chord selection; detection mode for all tags.

которыми отмечаютс  объекты; режим выделени  объектов по заданному номеру и определение геометрических параметров.by which objects are marked; a mode for selecting objects by a given number and determining geometric parameters.

В первом режиме регистром сдвига 3 осуществл етс  задержка бинарно квантованного формирова гелем 2 видеосигнала на врем  сканировани  одного элемента изображени  на втором выходе (X), при этом с его первого выхода снимаетс  входной незадержанный видеосигнал (X).In the first mode, shift register 3 delays the binary quantized formation of a video signal by gel 2 during the scanning of one image element at the second output (X), while the input undelayed video signal (X) is taken from its first output.

в блоке выделени  хорд на выходе элемента И 43 сигнал уровн  логической 1 по вл етс  лишь о тот момент времени, когда сканируема  точка изображени   вл етс  точкой начала хорды.in the chord block at the output of AND gate 43, the signal of logic level 1 appears only at that moment in time when the scanned image point is the starting point of the chord.

Перед началом развертки изображени  счетчик 33 блока 4 устанавливаетс  в исходное нулевое состо ние кадровыми импульсами . Поэтому при встрече начальной точки (переход 0,1) i-й хорды на выходе счетчикаBefore the image scan starts, the counter 33 of block 4 is set to the initial zero state by frame pulses. Therefore, when meeting the starting point (transition 0.1) of the i-th chord at the output of the counter

44 устанавливаетс  код, соответствующий ее пор дковому номеру i. Всем точкам этой хорды присваиваетс  метка i. Это достигаетс  тем, что только в моменты следовани  единиц видеосигнала на выходе.группыэлементов И 45 по вл ютс  коды с выхода счетчика 44.44, a code is set corresponding to its serial number i. All points of this chord are labeled i. This is achieved by the fact that only at the moments of the sequence of units of the video signal at the output. Groups of elements And 45 appear codes from the output of the counter 44.

Если же сканируема  точка изображени   вл етс  точкой фона, то ей ставитс  в соответствие метка, равна  нулю. Это достигаетс  тем, что во врем  сканировани  точки фона на выходе группы элементов И 45 будет код. соответствующий нулю. В следующий такт этот код записываетс  в первые разр ды.регистра 6, который служит дл If the scanned image point is a background point, then a label is assigned to it, equal to zero. This is achieved by the fact that during the scanning of the background point at the output of the group of AND elements 45 there will be code. corresponding to zero. In the next clock cycle, this code is written in the first bits of register 6, which serves to

записи и хранени  двоичных кодов меток в каждой строке изображени . Причем, если на выходе этого регистра код соответствует метке сканируемой точки изображени , то на его первом выходе код соответствует метке точки X , а на втором - метке точки X (задержанной на строку относительно точки X). Число разр дов регистра 6 равно числу точек изображени  в строке, а ширина - logaN, где МЛ- максимальное число хорд в изображении.recording and storing binary label codes in each image line. Moreover, if at the output of this register the code corresponds to the mark of the scanned image point, then at its first output the code corresponds to the mark of the X point, and at the second - the mark of the X point (delayed by a line relative to the X point). The number of bits in register 6 is equal to the number of image points in the line, and the width is logaN, where ML is the maximum number of chords in the image.

В первом режиме блок пам ти 11 рабо- гает на запись, что обеспечиваетс  высоким уровнем сигнала на п том выходе распределител  импульсов 5. На информационных входах поддерживаетс  также высокий уровень сигнала, который обеспечиваетс  св зью блока 12 с шестым выходом распределител  5. На вторые входы элементов И 7 и 8 подаютс  соответственно тактовые им- пульсы с первого и второго выходов распределител  5. В первом режиме на третьем выходе распределител  содержитс  низкий уровень. Поэтому, если при сканировании изображени  встречаетс  точка X с меткой 1 (х) и соседн   сверху точка X имеет метку 1 (х), то в  чейку блока пам ти 11; номер которой в строке равен 1 (х), а в столбце - 1 (xll), записываетс  единица в момент следовани  первого полупериода тактового сиг- нала, а во втором полупериоде единица записываетс  в  чейку 1 (X), 1 (х1).In the first mode, the memory unit 11 works for recording, which is ensured by a high signal level at the fifth output of the pulse distributor 5. At the information inputs, a high signal level is also maintained, which is provided by the connection of block 12 with the sixth output of the distributor 5. To the second inputs elements And 7 and 8 are supplied, respectively, clock pulses from the first and second outputs of the distributor 5. In the first mode, the third output of the distributor contains a low level. Therefore, if, when scanning an image, a point X is found with a mark of 1 (x) and a point adjacent to the top has a mark of 1 (x), then in the cell of the memory block 11; whose number in the row is 1 (x) and in the column is 1 (xll), the unit is written at the moment the first half-cycle of the clock signal is followed, and in the second half-period, the unit is written in cell 1 (X), 1 (x1).

После окончани  сканировани  всего пол  изображени  в блок пам ти 11 записываетс  информаци  о смежности меток. Смежными (соседними) метками считаютс  те, дл  которых найдетс  хот  бы одна пара соседних точек с этими метками.After the scan is complete, the entire image field is stored in the memory unit 11 with label adjacency information. Adjacent (adjacent) marks are those for which there is at least one pair of neighboring points with these marks.

После окончани  сканировани  изображени  устройство переходит во второй ре- жим, в котором блок пам ти 11 работает как в режиме записи, так и в режиме считывани . Счетчики 30 и 31 распределител  5 наход тс  в исходном нулевом состо нии. Тактовые импульсы с выхода элемента И 41 поступают на счетный вход счетчика 30. Счетчики 30 и 31 имеют одинаковое число разр дов, равное log2NL. На первых выходах этих счетчиков по вл ютс  коды, соответствующие числу импульсов, поступивших на их счетные входы, а на вторых выходах - сигналы с уровнем логической 1 в момент. когда состо ни  счетчиков будут равны NJ.After scanning the image, the device enters the second mode, in which the memory unit 11 operates both in the recording mode and in the reading mode. Counters 30 and 31 of dispenser 5 are in the initial zero state. The clock pulses from the output of the And 41 element go to the counting input of the counter 30. The counters 30 and 31 have the same number of bits equal to log2NL. At the first outputs of these counters, codes corresponding to the number of pulses arriving at their counting inputs appear, and at the second outputs, signals with a logic level of 1 at a time appear. when the states of the counters are equal to NJ.

На выходе коммутатора 39 по вл етс  код, соответствующий состо нию счетчиков 30 и 31, в зависимости от уровн  сигнала на втором выходе счетчика 30. При этом, если на втором выходе счетчика 30 присутствует сигнал лог.О, то на выходе коммутатора 39 и, соответственно, на четвертом выходеAt the output of the switch 39, a code appears corresponding to the state of the counters 30 and 31, depending on the signal level at the second output of the counter 30. Moreover, if a logic signal O is present at the second output of the counter 30, then the output of the switch 39 and, respectively, on the fourth exit

распределител  5 по вл ютс  коды счегчи, ка 30, а если сигнал лог.1 - то коды счетчика 31. На выходе блока сравнени  40 по вл ютс  сигналы с уровнем лог.1 только в момент равенства состо ний счетчиков 30 и 31, Эти сигналы поступают на вход формировател  34, который формирует короткие импульсы (длительностью пор дка 1/10 от длительности такта) по переднему фронту поступающего на его вход сигнала. Таким образом, в первый такт после перехода триггера 32 в единичное состо ние на четвертом выходе распределител  5 будет установлен адрес нулевой строки блока пам ти 11 и, поскольку состо ние счетчиков 30 и 31 одинаковое, на шестом выходе распределител  5 по вл етс  импульс, по которому содержимое нулевой строки переписываетс  в регистр хранени  детектора св зности 12. Во втором такте состо ние первого выхода счетчика 31 будет равно 1, а второго - 0. В блоке пам ти 11 выбрана перва  строка  чеек. Значение  чеек в первой строке сопоставл етс  со значени ми  чеек в нулевой строке, и если найдетс  хот  бы одна пара  чеек со значени ми 1, расположенными в одном столбце блока пам ти, то в регистр блока 12 записываетс  информаци , соответствующа  логической сумме значении нулевой и первой строк, а если не найдетс  ни одной пары таких  чеек - то в регистре блока 12 сохран етс  ранее записанна  информаци . До тех пор, пока состо ние счетчика 30 не станет равным г, происходит повторение этих операций.on the distributor 5, counting codes appear, like 30, and if the signal is log.1, then the codes of the counter 31. At the output of the comparison block 40, signals with the level of log.1 appear only at the moment when the states of the counters 30 and 31 are equal. These signals are fed to the input of the shaper 34, which generates short pulses (of the order of 1/10 of the cycle time) along the leading edge of the signal arriving at its input. Thus, in the first cycle after the trigger 32 is in the single state, the address of the zero line of the memory block 11 will be set on the fourth output of the distributor 5 and, since the counters 30 and 31 are the same, the pulse appears on the sixth output of the distributor 5 to which the contents of the zero line are written into the storage register of the connectivity detector 12. In the second clock cycle, the state of the first output of the counter 31 will be 1 and the second - 0. In the memory block 11, the first row of cells is selected. The value of the cells in the first row is compared with the values of the cells in the zero row, and if there is at least one pair of cells with values 1 located in one column of the memory block, then information corresponding to the logical sum of zero and the first line, and if there is not a single pair of such cells, then previously recorded information is stored in the register of block 12. Until the state of the counter 30 becomes equal to r, a repetition of these operations occurs.

Таким образом, к моменту, когда состо ние счетчика 30 станет равным Мс, в регистре 20 будет накоплена информаци  о метках, которые принадлежат одному объекту . В момент по влени  сигнала на втором выходе счетчика 30, на третьем входе коммутатора 39 будет сигнал с уровнем лог.О, по которому к адресному входу блока пам ти 11 подключен первый выход счетчика 31,а следовательно,в нулевую строку перезаписываетс  содержимое детектора св зности 12.Thus, by the time when the state of the counter 30 becomes equal to MS, information about tags that belong to the same object will be accumulated in the register 20. At the moment of the appearance of the signal at the second output of the counter 30, at the third input of the switch 39 there will be a signal with a log level О, through which the first output of the counter 31 is connected to the address input of the memory unit 11, and therefore, the contents of the connectivity detector are overwritten 12.

Затем по такому же принципу в детектор 12 с бпока пам ти 11 перезаписываетс  содержимое первой строки, которое через 14л, тактов перезаписываетс  снова в первую строку блока пам ти, и т.д.Then, according to the same principle, the contents of the first line are rewritten to the detector 12 from the side of the memory 11, which after 14 l, the cycles are rewritten to the first line of the memory block, etc.

Через NA тактов в блоке пам ти 11 в любой его i-й строе хранитс  информаци  о всех метках, принадлежащих тому объекту, который отмечен меткой, равной i.Through NA clocks, in the memory block 11, information on all marks belonging to that object which is marked with a label equal to i is stored in any of its i-th patterns.

В момент..когда состо ние счетчика 31 распределител  5 становитс  равным N, на его третьем выходе по вл етс  высокий уровень и устройство переходит в третий режим - режим выделени  объекта и определени  геометрических параметров.At the moment ... when the state of the counter 31 of the distributor 5 becomes equal to N, a high level appears at its third output and the device switches to the third mode - the mode of selecting an object and determining geometric parameters.

R третьем режиме блок пам ти 11 работает только в режиме считывани . С помощью элементов И 9 и ИЛИ 10 двоичный код номера объекта, который необходимо выделить, подаетс  на адресный вход блока пам ти 11.In the third mode, the memory unit 11 only operates in read mode. Using the AND 9 and OR 10 elements, the binary code of the object number to be allocated is supplied to the address input of the memory unit 11.

По сигналу с третьего выхода распределител  5 с помощью телевизионного датчи- ка 1 начинаетс  повторное сканирование изображени  топологии. Как и в первом режиме , осуществл етс  отметка изображени , и если на первый вход блока пам ти 11 приходит метка, котора  принадлежит тому же объекту, что и метка, код которой установлен на вторых входах элементов И 9, то на одном из выходов блока пам ти 11 будет сигнал лог.1, а если не проходит така  метка, то на всех выходах блока пам ти 11 будут сигналы лог.О. Поскольку в этом режиме на всех выходах регистра детектора св зности 12 присутствуют сигналы с уровнем лог.1 (это обеспечиваетс  подачей сигнала с уровнем лог 0 на второй вход детектора св зности 12 с шестого выхода распределител  5), на первом выходе детектора св зности 12 будет сигнал, соответствующий дизъюнкции сигналов с выхода блока пам ти 11. Из этого следует, что если сканируема  точка изображени  имеет метку , принадлежащую тому же объекту, что и задаваема  метка, то на первом выходе детектора св зности 12 будет сигнал лог. Г, в противном случае - сигнал лог.О. Сигнал с уровнем нлог,1 открывает элемент И 14, и на вход видеоусилител  13 с выхода формировател  2 поступают видеоимпульсы, соответствующие изображению выдел емого объекта.The signal from the third output of the distributor 5 by means of the television sensor 1 starts rescanning the topology image. As in the first mode, the image is marked, and if the label that belongs to the same object as the label whose code is installed on the second inputs of AND 9 elements comes to the first input of the memory block 11, then one of the outputs of the memory block Type 11 will be a signal of log.1, and if this mark does not pass, then at all outputs of the memory block 11 there will be signals of log.O. Since in this mode, at all the outputs of the register of the connectivity detector 12 there are signals with the level of log 1 (this is ensured by supplying a signal with the level of log 0 to the second input of the connectivity detector 12 from the sixth output of the distributor 5), at the first output of the connectivity detector 12 there will be the signal corresponding to the disjunction of the signals from the output of the memory unit 11. It follows that if the scanned image point has a mark belonging to the same object as the set mark, then the log signal will be at the first output of the connectivity detector 12. G, otherwise - a signal log.O. A signal with a level of zero, 1 opens the And element 14, and video pulses corresponding to the image of the selected object are received from the output of the driver 2 to the input of the video amplifier 13.

С выхода элемента И 14 видеоимпульсы выделенного объекта поступают на вход сдвигового регистра 20. При сканировании начала хорды на выходе элемента И 21 по вл етс  сигнал разрешени  записи, пода- ваемый на первый вход регистра 17, в котором записываетс  пор дковый номер течки в строке с выхода счетчика 15. В момент по влени  переднего фронта импульса конец хорды на выходе элемента И 22, на выходе сумматора 19 устанавливаетс  двоичный код, соответствующий пор дковому номеру центральной точки хорды в строке, так как при этом суммируютс  половина хорды с первого выхода блока 18 и содержимое регистра 17. При этом на втором выходе блока 18 устанавливаетс  код, соответствующий длине хорды, а на выходе счетчика 16 сохран етс  номер строки хорды . Задним фронтом импульса конец хорды сбрасываетс  регистр 17 и сметчик в блоке 18 определени  длины хорды.From the output of element And 14, the video pulses of the selected object are fed to the input of the shift register 20. When scanning the beginning of the chord, the output of element And 21 displays a recording enable signal, which is applied to the first input of register 17, in which the order number of the estrus is recorded in line c the output of the counter 15. At the moment of the leading edge of the pulse, the end of the chord at the output of the element And 22, at the output of the adder 19, a binary code is set corresponding to the serial number of the center point of the chord in the line, since half chords from the first output of block 18 and the contents of register 17. At the same time, a code corresponding to the length of the chord is set at the second output of block 18, and the line number of the chord is stored at the output of counter 16. By the trailing edge of the pulse, the end of the chord is reset to register 17 and the estimator in the chord length determination unit 18.

До начала работы устройства блоки 17- 19 наход тс  в нулевом состо нии. Регистр 17 работает в режимах параллельной загрузки и хранени  двоичного кода с выхода счетчика 15, что соответствует пор дковому номеру nl точки начала хорды строки. В первом режиме при сканировании точки начала хорды по единичному импульсу с выхода элемента И 21 разрешаетс  запись щ в регистр 17. Передним фронтом импульса начало хорды через элемент ИЛИ 49 производитс  установка триггера 46 в единичное состо ние и обеспечиваетс  прохождение тактовых импульсов через элемент И 48 на счетный вход счетчика 47. В момент отрицательного перепада бинарного видеосигнала на выходе элемента И 22 формируетс  единичный импульс конец хорды. К этому времени на первом выходе счетчика47 формируетс  код, соответствующий длине 1-й хорды Oi. а на втором выходе - код, соответствующий половине длины 1-й хорды Di/2, причем щ - int(Di/2). Сумматор 19 предназначен дл  суммировани  кодов mi и щ соответственно с второго выхода счетчика 47 и с выхода регистра 17. Задним фронтом импульса конец хорды сбрасываютс  триггер 46 и регистр 17, которые перевод т счетчик 47 и сумматор 19 в исходное нулевое состо ние, и блоки 17-19 готовы к обработке очередной хорды.Prior to operation of the device, blocks 17-19 are in the zero state. The register 17 operates in parallel loading and storing binary code from the output of the counter 15, which corresponds to the serial number nl of the beginning point of the line chord. In the first mode, when scanning the beginning point of the chord by a single pulse from the output of the And 21 element, it is possible to write u to the register 17. By the leading edge of the pulse the beginning of the chord through the OR 49 element, the trigger 46 is set to a single state and the clock pulses are passed through the And 48 element to counter input of the counter 47. At the moment of a negative differential of the binary video signal, an output pulse of the end of the chord is generated at the output of the And 22 element. By this time, a code corresponding to the length of the 1st chord Oi is generated at the first output of the counter 47. and on the second output - a code corresponding to half the length of the 1st chord Di / 2, with u - int (Di / 2). The adder 19 is designed to sum the codes mi and ni respectively from the second output of the counter 47 and from the output of the register 17. The trailing edge of the chord 46 and the register 17 are reset by the trailing edge of the pulse, which return the counter 47 and the adder 19 to the initial zero state, and blocks 17 -19 ready to process another chord.

В момент по влени  переднего фронта импульса конец хорды с выхода элемента И 22 на выходе сумматора 19 формируетс  код, соответствующий пор дковому номеру центральной точки хорды Yui в строке. Если длина хорды составл ет нечетное количество отсчетов, имеют одну центральную точку, что соответствует истинному значению УЦ|. Если количество отсчетов четное, имеют две центральные точки и из них выбирают одну, что отличаетс  от истинного значени  Уц| на 0,5тактового периода Тп. В любом случае Y4i определ етс  как щ int(Di/2). Следует отметить , что отклонени  на 0,5 Тп при определении Уц) к недопустимым погрешност м при определении координат центра т жести не привод т. Следовательно, дл  истинного значени  координаты имеютAt the moment of the leading edge of the pulse, the end of the chord from the output of the And element 22 at the output of the adder 19 generates a code corresponding to the sequence number of the center point of the Yui chord in the line. If the chord length is an odd number of samples, they have one central point, which corresponds to the true value of CA |. If the number of samples is even, they have two central points and one of them is selected, which differs from the true value of | on a 0.5-cycle period Tp. In any case, Y4i is defined as ui int (Di / 2). It should be noted that deviations of 0.5 Tp in determining Uc) do not lead to unacceptable errors in determining the coordinates of the center of gravity. Consequently, for the true value, the coordinates have

, N(J i /н - V v .-ahr; , N (J i / n - V v.-Ahr;

(C

N(5N (5

a-z: тa-z: t

iE{l,N«liE {l, N «l

i IHi ih

ЫрYr

: /V4ite/Ј«z l. еО,н„У ц ч фь} 2: / V4ite / Ј «z l. еО, н „У ц ч фь} 2

Единицей отсчета считаетс  период тактовых импульсов Тп. Точность работы устройства оцениваетс  величиной периода тактовых импульсов.The unit of reference is considered to be the period of clock pulses Tn. The accuracy of the device is estimated by the magnitude of the period of the clock pulses.

В результате суммировани  длин хорд вторым накапливающим сумматором 26 определ етс  код, соответствующий площади объекта, а умножител ми 23, 24 вычисл ютс  соответственно промежуточные параметры YqiDi и ХЦ|0| дл  данного объекта. Накапливающими сумматорами 25 и 27 определ ютс  соответственно V YqiDi и Т Хц|0|, которые дел тс  на двоичный код,As a result of summing the lengths of the chords, the second accumulating adder 26 determines the code corresponding to the area of the object, and the intermediate parameters YqiDi and ХЦ | 0 | for this object. The accumulative adders 25 and 27 respectively determine V YqiDi and T Xt | 0 |, which are divided by a binary code,

соответствующий площади объекта, в делител х 28 и 29. Полученные таким образом коды на выходах делителей соответствуют координатам центра т жести (по X и Y) выделенного объекта с номером, устанавливаемого на входе группы элементов И 9.corresponding to the area of the object, in dividers 28 and 29. The codes thus obtained at the outputs of the dividers correspond to the coordinates of the center of gravity (in X and Y) of the selected object with a number set at the input of the And 9 element group.

Claims (1)

Устройство отличаетс  упрощенным алгоритмом селекции и сохранением быстродействи  при значительном расширении функциональных возможностей. Формула изобретени  Устройство дл  селекции изображений объектов, содержащее телевизионный датчик , формирователь бинарного видеосигнала , первый и второй сдвиговые регистры, первую и вторую группы элементов И, группу элементов ИЛИ, блок пам ти, детектор св зности, пераый элемент И, видеоусилитель и распределитель импульсов, причем информационный выход телевизионного датчика подключен к входу формировател  бинарного видеосигнала, выход которого соединен с первым входом первого элемента И, информационным входом видеоусилител , выход которого  вл етс  первым информационным выходом устройства, и входом первого сдвигового регистра, выходы первой и второй групп элементов И соединены соответственно с первым и вторым входами группы элементов ИЛИ, выход которой подключен к второму адресному входу блока пам ти, выход и второй вход первого элемента И, подключены соответственно к управл ющему входу видеоусилител  и к первому выходу детектора св зности, первый вход и второй выход которого соединены соответственно с выходом и информационным входом блока пам ти, первый вход второй группы элементов И  вл етс - входом задани  номера объекта устройства, а вторые входы первой и второй групп элементов И. третий вход группы элементов ИЛИ, вход разрешени  записи блока пам ти и второй вход детектора св зности под- ключенысоответственнокThe device is characterized by a simplified selection algorithm and maintaining speed while significantly expanding the functionality. SUMMARY OF THE INVENTION An apparatus for selecting images of objects comprising a television sensor, a binary video signal shaper, first and second shift registers, first and second groups of AND elements, a group of OR elements, a memory unit, a connectivity detector, a first AND element, a video amplifier and a pulse distributor, moreover, the information output of the television sensor is connected to the input of the binary video signal driver, the output of which is connected to the first input of the first element And, the information input of the video amplifier, which is the first information output of the device, and the input of the first shift register, the outputs of the first and second groups of AND elements are connected respectively to the first and second inputs of the OR element group, the output of which is connected to the second address input of the memory unit, the output and the second input of the first AND element are connected respectively to the control input of the video amplifier and to the first output of the connectivity detector, the first input and second output of which are connected respectively to the output and the information input of the memory unit, the first the course of the second group of AND elements is the input of setting the number of the device object, and the second inputs of the first and second groups of elements I. The third input of the OR element group, the write permission input of the memory unit, and the second input of the connectivity detector are connected respectively второму-шестому выходам распределител second to sixth distributor outputs импульсов, отличающеес  тем, что, с целью расширени  функциональных возможностей устройства за счет определени  параметров селектируемых объектов, в негоpulses, characterized in that, in order to expand the functionality of the device by determining the parameters of selectable objects, введены блок выделени  хорд, треть  группа элементов И, третий и четвертый сдвиговые регистры, второй и третий элементы И. первый и второй счетчики, блок определени  длины хорды, сумматор, первый и вто0 рой умножители, первый-третий накапливающие сумматоры, первый и второй делители, при этом первый и второй выходы первого сдвигового регистра подключены соответственно к первому и второ5 му информационным входам блока выделени  хорд,выход которого соединен с входом второго сдвигового регистра и первым адресным входом блока пам ти, первый и второй выходы второго сдвиговогоchord highlighting unit, third group of AND elements, third and fourth shift registers, second and third elements I., first and second counters, chord length determination unit, adder, first and second multipliers, first and third accumulators, first and second dividers are introduced wherein the first and second outputs of the first shift register are connected respectively to the first and second information inputs of the chord allocation block, the output of which is connected to the input of the second shift register and the first address input of the memory block, and second outputs of the second shift 0 регистра подключены соответственно к первым входам третьей и первой групп элементов И, первый выход распределител  импульсов подключен к второму входу третьей группы элементов И, выход которой0 register are connected respectively to the first inputs of the third and first groups of elements And, the first output of the pulse distributor is connected to the second input of the third group of elements And, the output of which 5 соединен с четвертым входом группы элементов ИЛИ, выход первого элемента И соединен с входом третьего сдвигового регистра, первый выход которого подключен к первому входу второго элемента И и5 is connected to the fourth input of the OR element group, the output of the first AND element is connected to the input of the third shift register, the first output of which is connected to the first input of the second AND element and 0 второму инверсному входу третьего элемента И, первый вход которого соединен с вторым инверсным входом второго элемента И и подключен к второму выходу третьего сдвигового регистра, выходы второго и0 to the second inverse input of the third element And, the first input of which is connected to the second inverse input of the second element And and connected to the second output of the third shift register, the outputs of the second and 5 третьего элементов И подключены соответственно к первому и второму входам блока определени  длины хорды и к первому и второму управл ющим входам четвертого сдвигового регистра, выход тактовых им0 пульсов телевизионного датчика подключен к первому входу распределител  импульсов, третьему входу блока определени  длины хорды и счетному входу первого счетчика, вход сброса которого соединен со счетным5 of the third AND element are connected respectively to the first and second inputs of the chord length determination unit and to the first and second control inputs of the fourth shift register, the output of the television sensor clock pulses is connected to the first input of the pulse distributor, the third input of the chord length determination unit and the counting input of the first counter whose reset input is connected to the counter 5 входом второго счетчика и подключен к выходу строчных синхроимпульсов телевизионного датчика, выход кадровых импульсов которого соединен с управл ющим входом блока выделени  хорд, вторым входом рас0 пределител  импульсов, входам сброса второго счетчика и входами обнулени  первого-третьего накапливающих сумматоров , информационный вход и выход четвертого сдвигового регистра подключены5 by the input of the second counter and connected to the output of the horizontal sync pulses of the television sensor, the output of the frame pulses of which is connected to the control input of the chord block, the second input of the pulse distributor, the reset inputs of the second counter and the zeroing inputs of the first and third accumulative adders, the information input and the output of the fourth shear register connected 5 соответственно к выходу первого счетчика и первому входу сумматора, выход которого соединен с первым входом первого умножител , выход второго счетчика соединен с первым входом второго умножител , второй вход сумматора соединен с первым выходом блока определени  длины хорды, второй выход которого подключен к информационному входу второго накапливающего сумматора, и к вторым входам первого и второго умножителей, выходы которых подключены соответственно к информационным входам первого и третьего накапливающих сумматоров, выходы кото rf5, respectively, to the output of the first counter and the first input of the adder, the output of which is connected to the first input of the first multiplier, the output of the second counter is connected to the first input of the second multiplier, the second input of the adder is connected to the first output of the block for determining the length of the chord, the second output of which is connected to the information input of the second accumulating adder, and to the second inputs of the first and second multipliers, the outputs of which are connected respectively to the information inputs of the first and third accumulating adders, the outputs of the cat about rf Ъ-LB-l (r-Ji-Jr(r-ji-jr {CtTP.f)b{CtTP.f) b ЕE ФигЛFigl рых соединены соответственно с первыми входами первого и второго делителей, вторые входы которых соединены с выходом второго накапливающего сумматора, три этом выходы первого и второго делителей совместно с выходом второго накапливаю щего сумматора образуют второй информа ционный выход устройства.They are connected respectively to the first inputs of the first and second dividers, the second inputs of which are connected to the output of the second accumulating adder, three of which the outputs of the first and second dividers together with the output of the second accumulating adder form the second information output of the device. -&Г-&п-#г- & g- & p- # g txodl РИ RioJlPlftxodl ri riojlplf ) 1РИ .Р11 ВыыдЗРИ ВыnodSГЦ ) 1РИ .Р11 VydZRI VynodSHZ ЬыыдбрИ &vW ЯЛLydbry & vW YAL Кбл.6Kbl. 6 КИ JKI J Фаг.ЗPh.Z фаг Аphage A
SU894731175A 1989-08-24 1989-08-24 Device for selection of images of objects RU1777651C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU894731175A RU1777651C (en) 1989-08-24 1989-08-24 Device for selection of images of objects

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU894731175A RU1777651C (en) 1989-08-24 1989-08-24 Device for selection of images of objects

Publications (1)

Publication Number Publication Date
RU1777651C true RU1777651C (en) 1992-11-23

Family

ID=21466807

Family Applications (1)

Application Number Title Priority Date Filing Date
SU894731175A RU1777651C (en) 1989-08-24 1989-08-24 Device for selection of images of objects

Country Status (1)

Country Link
RU (1) RU1777651C (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР N 1022187, кл. G 06 К 9/46, 1988. Авторское свидетельство СССР № 1188765, кл. G 06 К 9/46, 1983. *

Similar Documents

Publication Publication Date Title
US2932006A (en) Symbol recognition system
US4058708A (en) Bar code reader and decoder
US4506348A (en) Variable digital delay circuit
EP0894311A1 (en) Omnidirectional barcode locator
RU1777651C (en) Device for selection of images of objects
US7110618B2 (en) Digital image analysis of reflecting markers
GB1316985A (en) Method of and apparatus for identifying articles
SU1188765A1 (en) Device for selecting object images
US5379416A (en) State tracer system
SU1429141A1 (en) Device for selecting object images
SU1269163A1 (en) Device for determining position of object
US3848089A (en) Apparatus and method for automatically digitizing line patterns
SU898466A1 (en) Device for reading and recognizing microobject images
SU1265833A1 (en) Device for displaying graphic information on screen of cathode-ray tube (crt)
SU596980A1 (en) Object image recognition device
RU2042202C1 (en) Device coding videosignal
SU1640723A1 (en) Plane figures geometrical sizes meter
SU951347A1 (en) Device for counting objects
SU1195368A1 (en) Device for counting and checking positions of rolled articles
SU1638793A1 (en) Multichannel programmable pulse generator
SU1283831A1 (en) Device for generating vectors
SU1120378A1 (en) Device for reading graphic information
SU1233190A1 (en) Device for determining image velocity vector
RU2037270C1 (en) Universal signal-coding device
SU1397948A1 (en) Data reading device