RU2042206C1 - Device measuring perimeter of outline of image - Google Patents

Device measuring perimeter of outline of image Download PDF

Info

Publication number
RU2042206C1
RU2042206C1 SU5026564A RU2042206C1 RU 2042206 C1 RU2042206 C1 RU 2042206C1 SU 5026564 A SU5026564 A SU 5026564A RU 2042206 C1 RU2042206 C1 RU 2042206C1
Authority
RU
Russia
Prior art keywords
output
inputs
input
block
counter
Prior art date
Application number
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 SU5026564 priority Critical patent/RU2042206C1/en
Application granted granted Critical
Publication of RU2042206C1 publication Critical patent/RU2042206C1/en

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

FIELD: automatics, computer engineering. SUBSTANCE: device measuring perimeter of outline of image is supplemented with second delay element, unit of AND gates, subtracter, counter, arithmetic unit and adder. EFFECT: expanded functional capabilities of device. 1 dwg

Description

Изобретение относится к автоматике и вычислительной технике и может быть использовано при распознавании образов, а именно для определения периметра изображения. The invention relates to automation and computer technology and can be used in pattern recognition, namely to determine the perimeter of the image.

Известное устройство для измерения периметра контура изображения [1] содержит матрицу фотоприемников, одноканальный и двухканальный коммутаторы, генератор тактовых импульсов, четыре элемента ЗАПРЕТ, блок задержки и счетчик. В этом устройстве периметр плоской фигуры (например, прозрачный силуэт на непрозрачном фоне) измеряется путем определения элементарных отрезков, равных шагу между фотоприемниками матрицы, границы свет-тень и тень-свет фигуры в горизонтальном и вертикальном направлениях. Коммутаторы обеспечивают последовательно-параллельную развертку соседних строк таким образом, что сначала, например, к первому каналу коммутатора одновременно подключаются i-я строка, а к второму каналу (i+1)-я строка, затем к первому каналу (i+1)-я строка, а к второму (i+2)-я строка. Матрица при свете дает "1", а при тени "0". The known device for measuring the perimeter of the image circuit [1] contains a matrix of photodetectors, single-channel and two-channel switches, a clock, four elements of the PROHIBIT, delay unit and counter. In this device, the perimeter of a flat figure (for example, a transparent silhouette on an opaque background) is measured by determining elementary segments equal to the step between the photodetectors of the matrix, the light-shadow border and the shadow-light of the figure in horizontal and vertical directions. The switches provide sequentially-parallel scanning of adjacent lines in such a way that, for example, the i-th line is connected to the first channel of the switch at the same time, and the (i + 1) -th line is connected to the second channel, and then to the first channel (i + 1) - I am a line, and to the second (i + 2) -th line. The matrix gives “1” in the light, and “0” in the shadow.

Недостатком указанного устройства является невысокая точность измерения периметра фигуры. The disadvantage of this device is the low accuracy of the measurement of the perimeter of the figure.

Другое устройство для измерения геометрических параметров плоских фигур [2] содержит матрицу фотоприемников, генератор тактовых импульсов, одноканальный и трехканальный коммутаторы, три трехразрядных сдвиговых регистра, два счетчика, восьмивходовый элемент И-НЕ и элемент И. В этом устройстве в качестве периметра принимается количество точек, находящихся на контуре изображения. Критерием нахождения точки на контуре изображения является единичный сигнал центрального фотоприемника и присутствие в округе 3 х 3 перехода тень-свет или свет-тень (т.е. "0"-"1" или "1"-"0"). Another device for measuring the geometric parameters of planar figures [2] contains a photodetector array, a clock pulse generator, single-channel and three-channel switches, three three-digit shift registers, two counters, an eight-input NAND element and an I. element. In this device, the number of points is taken as the perimeter located on the contour of the image. The criterion for finding a point on the image contour is a single signal of the central photodetector and the presence of a shadow-light or light-shadow transition in a 3 x 3 district (ie "0" - "1" or "1" - "0").

Недостатком этого устройства также является невысокая точность измерения периметра фигуры. The disadvantage of this device is the low accuracy of the measurement of the perimeter of the figure.

Наиболее близким к предлагаемому является устройство для измерения длины участка контура изображения [3] содержащее сканирующий датчик, первый блок квантованной задержки, первый блок вычитания, первый блок элементов И, первый счетчик и первый арифметический блок, причем выход первого блока квантованной задержки подключен к первым входам первых блоков вычитания и элементов И, выход первого блока вычитания подключен к управляющим входам первого счетчика и первого арифметического блока, другой вход последнего соединен через первый счетчик к первому блоку элементов И. В результате сравнения на выходе первого блока вычитания формируется сигнал приращений горизонтальной координаты контура в смежных строках. В первом блоке элементов И формируются сигналы нулевых приращений, соответствующие вертикальному участку контура квантованного изображения. В первом арифметическом блоке определяется наклонная составляющая по формуле с

Figure 00000001
, где с гипотенуза; а и b катеты.Closest to the proposed one is a device for measuring the length of a portion of an image contour [3] comprising a scanning sensor, a first block of quantized delay, a first block of subtraction, a first block of AND elements, a first counter and a first arithmetic block, the output of the first block of quantized delay connected to the first inputs the first subtraction blocks and AND elements, the output of the first subtraction block is connected to the control inputs of the first counter and the first arithmetic block, the other input of the last is connected through the first counter to the first block elements I. As a result of the comparison at the output of the first subtracting unit signal is formed of increments of the horizontal coordinates of the contour in adjacent rows. In the first block of AND elements, zero-increment signals are generated corresponding to the vertical portion of the contour of the quantized image. In the first arithmetic unit, the inclined component is determined by the formula with
Figure 00000001
where with hypotenuse; a and b legs.

Анализ работы устройства показал, что оно не позволяет вычислять периметры плоских фигур. Analysis of the device showed that it does not allow to calculate the perimeters of planar figures.

Для расширения функциональных возможностей устройства на изображении выделяются передние и задние фронты видеоимпульса, изображение разделяется на две части и раздельно вычисляются параметры, результирующее значение которых накапливается в сумматоре. Для этого в устройство, содержащее сканирующий датчик, первый блок квантованной задержки, первый блок вычитания, первый блок элементов И, первый счетчик и первый арифметический блок, причем выход первого блока квантовой задержки подключен к первым входам первых блоков вычитания и элементов И, выход первого блока вычитания подключен к управляющим входам первого счетчика и первого арифметического блока, другой вход последнего соединен через первый счетчик к выходу первого блока элементов И, введены вторые блоки квантованной задержки, вычитания, элементов И, второй счетчик, второй арифметический блок, сумматор и схемы выделения переднего и заднего фронтов видеоимпульсов, причем выход второго блока квантованной задержки подключен к первым входам вторых блоков вычитания и элементов И, выход второго блока вычитания подключен к первым входам второго счетчика и второго арифметического блока, другой вход последнего соединен через второй счетчик к выходу второго блока элементов И, выходы первого и второго арифметических блоков подключены к соответствующим входам сумматора, выходы схем выделения переднего и заднего фронтов видеоимпульсов подключены к выходу сканирующего датчика, а их входы соответственно к входам блоков квантованной задержки и вторым входам блоков вычитания и элементов И. To expand the functionality of the device, the leading and trailing edges of the video pulse are highlighted in the image, the image is divided into two parts, and the parameters are calculated separately, the resulting value of which is accumulated in the adder. To this end, in a device containing a scanning sensor, a first block of quantized delay, a first block of subtraction, a first block of AND elements, a first counter and a first arithmetic block, the output of the first block of quantum delay connected to the first inputs of the first subtraction blocks and AND elements, the output of the first block subtraction is connected to the control inputs of the first counter and the first arithmetic block, the other input of the last is connected through the first counter to the output of the first block of AND elements, the second blocks of quantized delay are introduced, subtracting itany elements, And, the second counter, the second arithmetic unit, the adder and the allocation circuit for the leading and trailing edges of the video pulses, and the output of the second block of quantized delay is connected to the first inputs of the second blocks of subtraction and elements And, the output of the second block of subtraction is connected to the first inputs of the second counter and the second arithmetic block, another input of the last is connected through the second counter to the output of the second block of AND elements, the outputs of the first and second arithmetic blocks are connected to the corresponding inputs of the adder, the outputs of the circuits for selecting the leading and trailing edges of the video pulses are connected to the output of the scanning sensor, and their inputs, respectively, to the inputs of the quantized delay blocks and the second inputs of the subtraction blocks and I.

На чертеже изображена схема предлагаемого устройства. The drawing shows a diagram of the proposed device.

Устройство содержит сканирующий датчик 1, схемы 2 и 3 выделения переднего и заднего фронтов видеоимпульсов, блоки 4 и 9 квантованной задержки, блоки 5 и 10 элементов И, блоки 6 и 11 вычитания, счетчики 7 и 12, арифметические блоки 8 и 13, сумматор 14. The device comprises a scanning sensor 1, circuits 2 and 3 for selecting the leading and trailing edges of video pulses, blocks 4 and 9 of quantized delay, blocks 5 and 10 of AND elements, blocks 6 and 11 of subtraction, counters 7 and 12, arithmetic blocks 8 and 13, adder 14 .

Устройство работает следующим образом. The device operates as follows.

С выхода сканирующего датчика 1 видеоимпульсы поступают на входы схем 2 и 3 выделения переднего и заднего фронтов видеоимпульсов, благодаря чему контур изображения разделяется на две части, длины которых необходимо измерять. С выхода схем 2 и 3 сигналы поступают соответственно на входы блоков 4 и 9 квантованной задержки на величину времени одной строки. На входы блоков 5 и 6, 10 и 11 поступают передние и задние фронты видеосигналов и их задержанные импульсы. From the output of the scanning sensor 1, the video pulses are fed to the inputs of the circuits 2 and 3 of the selection of the leading and trailing edges of the video pulses, so that the image contour is divided into two parts, the lengths of which must be measured. From the output of circuits 2 and 3, the signals arrive respectively at the inputs of blocks 4 and 9 of the quantized delay by the amount of time of one line. The inputs of blocks 5 and 6, 10 and 11 receive the leading and trailing edges of the video signals and their delayed pulses.

В результате сравнения на выходах блоков 6 и 11 формируются сигналы приращений горизонтальной координаты контура в смежных строках. В блоках 5 и 10 формируются сигналы нулевых приращений, соответствующие вертикальному участку контура квантованного изображения. В арифметических блоках 8 и 13 определяются наклонные составляющие по формуле с

Figure 00000002
, где а и b соответственно приращения горизонтальной и вертикальной координаты; с наклонная составляющая. Длина контура изображения формируется в сумматоре 14, которая складывается из данных арифметических блоков 8 и 13.As a result of the comparison, the signals of increments of the horizontal coordinate of the contour in adjacent rows are generated at the outputs of blocks 6 and 11. In blocks 5 and 10, zero-increment signals are generated corresponding to the vertical portion of the contour of the quantized image. In arithmetic blocks 8 and 13, the inclined components are determined by the formula with
Figure 00000002
where a and b, respectively, increments of the horizontal and vertical coordinates; with an inclined component. The length of the image path is formed in the adder 14, which is composed of data from arithmetic units 8 and 13.

Сигналы нулевых приращений с выходов блоков 5 и 10 поступают соответственно на вторые входы счетчиков 7 и 12, в которых подсчитываются их количества между двумя сигналами приращений, поступающими от блоков 6 и 11. Величина а соответствует одному дискрету, другая количеству сигналов нулевых приращений между сигналами приращений. Zero increment signals from the outputs of blocks 5 and 10 are respectively supplied to the second inputs of counters 7 and 12, in which their quantities are counted between two increment signals coming from blocks 6 and 11. The value of a corresponds to one discrete, and the other to the number of zero increment signals between increment signals .

Счетчики 7 и 12 двоичные, их счетные входа подключены соответственно к выходам блоков 5 и 10, а входы установки к выходам блоков 6 и 11. Counters 7 and 12 are binary, their counting inputs are connected respectively to the outputs of blocks 5 and 10, and the installation inputs are to the outputs of blocks 6 and 11.

Благодаря введению новых блоков и связей в предлагаемом устройстве по сравнению с прототипом расширены функциональные возможности. Thanks to the introduction of new blocks and connections in the proposed device, compared with the prototype expanded functionality.

Claims (1)

УСТРОЙСТВО ДЛЯ ИЗМЕРЕНИЯ ПЕРИМЕТРА КОНТУРА ИЗОБРАЖЕНИЯ, содержащее сканирующий датчик, первый элемент задержки, вход которого соединен с первыми входами первого блока вычитания и первого блока элементов И, а выход с вторыми входами первого блока вычитания и первого элемента И, выход которого подключен к счетному входу первого счетчика, управляющий вход которого соединен с выходом первого блока вычитания и вторым входом первого арифметического блока, первый вход которого подключен к выходу первого счетчика, отличающееся тем, что в него введены второй элемент задержки, второй блок вычитания, второй элемент И, второй счетчик, второй арифметический блок, сумматор, а также блок выделения переднего фронта видеоимпульсов и блок выделения заднего фронта видеоимпульсов, входы которых подключены к выходу сканирующего датчика, а выходы соединены с входами соответственно первого и второго элементов задержки, выход блока выделения заднего фронта видеоимпульсов соединен с первыми входами второго блока вычитания и второго элемента И, выход второго элемента задержки подключен к вторым входам второго блока вычитания и второго элемента И, выход которого соединен со счетным входом второго счетчика, управляющий вход которого подключен к выходу второго блока вычитания и второму входу второго арифметического блока, первый вход которого соединен с выходом второго счетчика, а выход с первым входом сумматора, второй вход которого подключен к выходу первого арифметического блока. DEVICE FOR MEASURING THE PERIMETER OF THE IMAGE CIRCUIT, containing a scanning sensor, a first delay element, the input of which is connected to the first inputs of the first subtraction unit and the first block of AND elements, and the output with the second inputs of the first subtraction unit and the first AND element, the output of which is connected to the counting input of the first counter, the control input of which is connected to the output of the first subtraction unit and the second input of the first arithmetic block, the first input of which is connected to the output of the first counter, characterized in that the second delay element, the second subtraction unit, the second AND element, the second counter, the second arithmetic unit, the adder, as well as the leading edge of the video pulses and the leading edge of the video pulses, the inputs of which are connected to the output of the scanning sensor, and the outputs are connected to the inputs, respectively of the first and second delay elements, the output of the trailing edge selection block of the video pulses is connected to the first inputs of the second subtraction unit and the second element And, the output of the second delay element is connected to w to the second inputs of the second subtraction unit and the second element AND, the output of which is connected to the counting input of the second counter, the control input of which is connected to the output of the second subtraction unit and the second input of the second arithmetic block, the first input of which is connected to the output of the second counter, and the output with the first input of the adder , the second input of which is connected to the output of the first arithmetic block.
SU5026564 1992-02-10 1992-02-10 Device measuring perimeter of outline of image RU2042206C1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU5026564 RU2042206C1 (en) 1992-02-10 1992-02-10 Device measuring perimeter of outline of image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU5026564 RU2042206C1 (en) 1992-02-10 1992-02-10 Device measuring perimeter of outline of image

Publications (1)

Publication Number Publication Date
RU2042206C1 true RU2042206C1 (en) 1995-08-20

Family

ID=21596514

Family Applications (1)

Application Number Title Priority Date Filing Date
SU5026564 RU2042206C1 (en) 1992-02-10 1992-02-10 Device measuring perimeter of outline of image

Country Status (1)

Country Link
RU (1) RU2042206C1 (en)

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
1. Авторское свидетельство СССР N 989565, кл. G 06K 11/00, 1981. *
2. Авторское свидетельство СССР N 1352514, кл. G 06K 9/48, 1987. *
3. Авторское свидетельство СССР N 983729, кл. G 06K 9/48, 1980. *

Similar Documents

Publication Publication Date Title
US6084658A (en) Distance measuring apparatus
US4616931A (en) Process and device for the contact free determination of the movement of an object
RU2042206C1 (en) Device measuring perimeter of outline of image
RU2031443C1 (en) Device for measurement of geometrical parameters of plane figures
RU2043657C1 (en) Device for measuring geometric parameters of plain figures
SU1037064A1 (en) Device for measuring linear dimensions of moving objects
RU2116617C1 (en) Device determining distances
RU2806533C1 (en) Optical-electronic shooting target of modular type
JPH03235007A (en) Speckle length measuring instrument
RU2220402C2 (en) Gear measuring position and movement of object
SU1287205A2 (en) Device for reading graphic information
SU983729A1 (en) Device for measuring picture contour section length
JPS6121709Y2 (en)
SU1714632A1 (en) Device to determine the center of gravity coordinates of the object image
SU942075A1 (en) Device for reading-out graphic information from crt screen
RU2031442C1 (en) Device for selection of images of objects
SU1287183A1 (en) Device for determining extrema
RU2091708C1 (en) Gear measuring linear and angular movements
SU1105758A1 (en) Device for converting signals of photoelectric pickup
RU1779931C (en) Solar sensor
JPH07128018A (en) Binarization method
SU1218501A1 (en) Device for processing interference pattern
RU1805292C (en) Linear displacement metering device
SU1149288A1 (en) Device for reading and determining the area of contour images
SU1733927A1 (en) Digital optoelectric displacement transducer for serial counting