Claims (2)
20 которого подключены к выходам первого и. второго формирователей импульсов, второго элемента задержки, элемент ИЛИ и второму выходу второго генератора-импульсов, тре39 тий генератор импульсов, регистр сдаига, входы которого подключены к выходам счетчика и третьего генератора импульсов, входы первого элемента задернски подключены к выходам регистра сдвига, третьему и четвертому выходам первого генератора импульсов и к первому выходу второго генератора импуль сов, а выходы - к, входам элемента ИЛИ, входы счетчика подключены к выходам, первого элемента задержки и третьему выходу второго генератора импульсов, а входы детек тора знака подключены к выходам второго формировател импульсов, элемента ИЛИ и второго элемента задержки. На.чертеже представлена блок-схема устройства . Устройство дл распознавани изображений содержит сканирующий фотоприемник 1, блок 2 дифференцировани , фильтр 3 Низких частот, первый пороговый элемент 4, первый формирователь 5, импульсов второй пороговый элемент 6, второй формирователь 7 импульсов , коммутатор 8, детектор 9 знака, второй элемент 10 задержки, счетчик II, дешифратор 12, регистр 13 сдвига, первый элемент 14 задержки, элемент ИЛИ 15, первый генератор 16 импульсов, второй генератор 17 импульсов, третий генератор 18 импульсов. Устройство дл распознавани изображений работает следующим образом. Видеосигнал с выхода фотоприемН1 а 1 подаетс на вхоД блока 2 и через фильтр 3 поступает на пороговые элементы 4 и 6. В . каждый момент времени срабатывает не более одного порогового элемента. Срабатывание по роговых элементов 4 или 6 приводит к запуску формирователей 5 или 7 соответственно , и при этом вырабатываютс последователь ности импульсов единичной амплитуды. Сигна TbJ формирователей 5 и 7 подаютс на ком м утатор 8 и поступают на вход переноса счетчика 11. Коммутатор 8 осуществл ет переключение режимов работы счетчика 11: ус тановку начального состо ни счетчика, соответствующего коду числа, подающегос с выходов первого элемента 14 задержки на информационные входы установки начального состо ни счетчика 11, а также прибавление (или вычитание) к этому коду (из этого кода) входного сигнала, подающегос через комк;гутатор 8 с выходов формирователей 5 и 7 на вход переноса счетчика 11. Режим установки начального состо ни счетчика 11 включаетс коммутатором 8, когда на него подаетс соответствующий импульс с выхода второго генератора 17. Включение режимов суммировани (вычитани ) входного кода счетчика 11 к коду (из кода) числа, записанного ио информационным входам установки начального состо ни счетчика 11 осуществл етс коммутатором 8 следующим образом: если код знака. выходного . сигнала формирователей 5 и 7 совпадает с кодом знака числа, записанного в счетчик 11 и хран щегос во втором элементе 10 задержки , то счетчик. 11 осуществл ет операцию сложени чисел. В дротивном случае в счетчике II производитс бпераци вычитаНИЛ . Элемент ИЛИ 15 предназначен дл индикации нулевого кода на выходах первого элемента 14 задержки. Когда этот код , то выходной сигнал элемента ИЛИ 15 также равен нулю. Этот сигнал логического нул подаетс на коммутатор 8, который , независимо от кода знака входного сигнала включает в счетчикеИ режим сложени . На детектор 9 знака подаютс выходные сигналы формировател 7, элемента ИЛИ 15 и второго элемента 10 задержки . Выходной сигнал детектора 9 соответствует коду знака числа, записанного в счетчике 11 после выполнени операции сложени (или вычитани ). Этот код совпадает с кодом знака числа, записанного в счетчик 11 с выходов первого элемента 14 задержки, если этот код не нулевой. В противном случае код числа на выходе детектора 9 соответствует коду числа выходного сигнал формирователей 5 и 7. Сигнал с выхода детектора 9 подаетс на вход второго элемента 10 задержки дл определени нового кода знака числа и режима работы счетчика 11 в следующем периоде работы устройства. Выходные сигналы счетчика 11 подаютс на соответствующие входы дешифратора 12, где результат накоплени импульсов сравниваетс с заданным порогом. Выходные сигналы счетчика 11 подаютс также на входы установки начального состо ни регистра 13 дл записи в регистр. Если пр мой край распознаваемого изображени проходит через все поле, то накопление отсчетов контурного сигнала вдоль заданного направлени по всему кадру с одинаковыми весами приводит к ухудщению достоверности распознавани , так как полезный сигнал накапливаетс только в тех стро ках, где есть ожидаемый пр мой край, а отсчеты шума коп тс по всем строкам. . Чтобы этого избежать, в регистре 13 сдвига записываемый в него код с выходов счетчика 11 через несколько строк сдвигаетс в сторону младщих разр дов (в каждом такте) на единии1у, что соответствует делению содержимого счетчика на два, что ограничивает накопление щума и увеличивает надежность распознавани пр мого кра , не проход щего через все поле анализа. Выходные сигналы регистра 13 сдвига подаютс на со ответствующие входы первого элемента 14 задержки и запоминаютс в нем на врем Формула изобретени Устройство дл распознавани изображений содержащее сканирующий фотоприемник, бло дифференцировани , подключенный к выходу сканирующего фотоприемника, счетчик, злемент ИЛИ, первый генератор импульсов, второй генератор импульсов, первый элемент задержки и дешифратор, подключенный к выходам счетчика, отличающеес тем, что, с целью повышени надежности распознавани за счет уменьщени вли ни шума, оно содержит включенные последовательно фильтр низких частот, подключенный к выходу блока дифференцировани , первый пороговый элемент и первый формирователь импульсов, включенные после довательно второй пороговый злемент, подключшный к выходу фильтра низких частот и второй формирователь импульсов, детектор знака, второй элемент задержки, входы которого подаслючены к первому и второму выходам первого генератора импульсов, к первому выходу второго генератора импульсов и выходу детектора знака, коммутатор, входы которого подключены к выходам первого и второго формирователей импульсов, второго элемента задержки, элемента ИЛИ и второму выходу второго генератора импульсов , третий генератор импульсов, регистр сдвига, входы которого подключены к выходам счетчика и третьего генератора импульсов , входы первого элемента задержки подключены к выходам регистра сдвига, третьему Я четвертому выходам первого генератора импульсов и к первому выходу второго генератора импульсов, а выходы - к входам элемента ИЛИ, входы счетчика подключены к выходам коммутатора, первого элемента задержки и .третьему выходу второго генератора импульсов, а входы детектора знака подключены к выходам второго формировател импульсов, злемента ИЛИ н второго элемента задержки. Источники информации, прин тые во внимание при экспертизе 1.Авторское свидетельство СССР К 336673, кл. G 06 К 9/00, 1970. 20 of which are connected to the outputs of the first and. The second pulse formers, the second delay element, the OR element and the second output of the second generator-pulse, the third pulse generator, the spoil register, the inputs of which are connected to the outputs of the counter and the third pulse generator, the inputs of the first element of the third and fourth the outputs of the first pulse generator and to the first output of the second pulse generator, and the outputs to the inputs of the OR element, the counter inputs are connected to the outputs of the first delay element and the third output a second pulse generator, and inputs the detector plate torus connected to the outputs of the second pulse shapers, and second OR gate of the delay element. On the drawing is a block diagram of the device. The image recognition device comprises a scanning photodetector 1, a differentiation unit 2, a Low-pass filter 3, a first threshold element 4, a first driver 5, pulses a second threshold element 6, a second pulse generator 7, a switch 8, a sign detector 9, a second delay element 10, counter II, decoder 12, shift register 13, first delay element 14, OR element 15, first pulse generator 16, second pulse generator 17, third pulse generator 18. The image recognition apparatus operates as follows. The video signal from the output of photodiode1 and 1 is fed to the input of block 2 and through filter 3 goes to threshold elements 4 and 6. B. at any time, no more than one threshold element is triggered. Triggering on the corneous elements 4 or 6 leads to the launch of the formers 5 or 7, respectively, and a sequence of single amplitude pulses is generated. The TbJ signal of the formers 5 and 7 is sent to the commutator 8 and fed to the transfer input of the counter 11. The switch 8 switches the operating modes of the counter 11: setting the initial state of the counter corresponding to the code of the number transmitted from the outputs of the first delay element 14 to the information the inputs for setting the initial state of the counter 11, as well as adding (or subtracting) to this code (from this code) the input signal fed through a bundle; gutator 8 from the outputs of the formers 5 and 7 to the transfer input of the counter 11. The state of the counter 11 is switched on by the switch 8 when the corresponding pulse from the output of the second generator 17 is applied to it. The inclusion of the summation modes of the input code of the counter 11 to the code (from the code) of the number recorded by the information inputs of the initial state of the counter 11 by the switch 8 as follows: if the sign code. day off. the signal of the drivers 5 and 7 coincides with the sign code of the number recorded in the counter 11 and stored in the second delay element 10, then the counter. 11 performs the operation of adding numbers. In the opposite case, the counter II is performed by subtracting NIL. The element OR 15 is designed to indicate a zero code at the outputs of the first delay element 14. When this code, the output signal of the element OR 15 is also zero. This logical zero signal is applied to the switch 8, which, regardless of the sign code of the input signal, turns on the AND mode in the counter. The sign detector 9 is provided with the output signals of the imager 7, the element OR 15, and the second element 10 of the delay. The output of detector 9 corresponds to the sign code of the number recorded in counter 11 after the addition (or subtraction) operation. This code coincides with the sign code of the number recorded in counter 11 from the outputs of the first delay element 14, if this code is not zero. Otherwise, the code of the number at the output of the detector 9 corresponds to the code of the number of the output signal of the drivers 5 and 7. The signal from the output of the detector 9 is fed to the input of the second delay element 10 to determine the new sign code of the number and mode of operation of the counter 11 in the next period of operation of the device. The output signals of the counter 11 are fed to the corresponding inputs of the decoder 12, where the result of the accumulation of pulses is compared with a predetermined threshold. The output signals of the counter 11 are also provided to the inputs of the setup of the initial state of the register 13 for recording in the register. If the straight edge of the recognizable image passes through the entire field, then the accumulation of samples of the loop signal along a given direction over the entire frame with the same weights leads to a deterioration in the reliability of recognition, since the useful signal is accumulated only in those lines where there is an expected straight edge, and copied noise counts for all rows. . In order to avoid this, in the shift register 13, the code written into it from the outputs of counter 11 is shifted several lines in the direction of the lower bits (in each cycle) on unity, which corresponds to dividing the contents of the counter by two, which limits the accumulation of schum and increases the reliability of recognition My site, not passing through the entire field of analysis. The output signals of the shift register 13 are supplied to the corresponding inputs of the first delay element 14 and stored therein for a period. Formula of the invention An image recognition device comprising a scanning photo receiver, a differentiation unit connected to the output of the scanning photo receiver, a counter, an element OR, a first pulse generator, a second generator pulses, a first delay element and a decoder connected to the outputs of the counter, characterized in that, in order to increase the reliability of recognition by reducing the influence no noise, it contains a low-pass filter connected in series, connected to the output of a differentiation unit, a first threshold element and a first pulse shaper, a successively connected second threshold element connected to the output of a low-pass filter and a second pulse shaper, a sign detector, a second delay element, the inputs of which are connected to the first and second outputs of the first pulse generator, to the first output of the second pulse generator and the output of the sign detector, a switch whose inputs are n connected to the outputs of the first and second pulse formers, the second delay element, the OR element and the second output of the second pulse generator, the third pulse generator, the shift register, the inputs of which are connected to the outputs of the counter and the third pulse generator, the inputs of the first delay element are connected to the outputs of the shift register, the third and fourth I of the outputs of the first pulse generator and the first output of the second pulse generator, and the outputs - to the inputs of the element OR, the counter inputs are connected to the outputs of the switch, th A third delay element and the output of the second pulse generator, a sign detector inputs are connected to outputs of the second pulse shaper, zlementy OR n second delay element. Sources of information taken into account during the examination 1. USSR author's certificate K 336673, cl. G 06 K 9/00, 1970.
2..Авторское свидетельство СССР N 548873, кл. G 06 К 9100, 1975,2..The author's certificate of the USSR N 548873, cl. G 06 K 9100, 1975,