RU1816326C - Video controller - Google Patents
Video controllerInfo
- Publication number
- RU1816326C RU1816326C SU4852494A RU1816326C RU 1816326 C RU1816326 C RU 1816326C SU 4852494 A SU4852494 A SU 4852494A RU 1816326 C RU1816326 C RU 1816326C
- Authority
- RU
- Russia
- Prior art keywords
- input
- register
- output
- delay
- counter
- Prior art date
Links
Landscapes
- Television Signal Processing For Recording (AREA)
Abstract
Изобретение относитс к автоматике и вычислительной технике. Его использование в средствах предварительной обработки видеоизображени позвол ет повысить быстродействие за счет устранени помех в виде мелких объектов на исходном изображении . Видеоконтроллер содержит регистр состо ний 1, цифроаналоговый преобразователь 7, видеокамеру 9, компаратор 10, блок пам ти изображени 14, селектор импульсов 15, счетчик номера элемента в строке 16, формирователь порогового уровн 27 и контроллер шины микроЭВМ 28. Благодар введению детектора изменени уровн сигнала 11, регистра номера элемента в строке 17, тактового генератора 18, элемента И 20. элементов ИЛИ 19, 22,23 триггера 21 и формировател задержки записи координат перепада ркости 29 в видеоконтроллере реализуетс алгоритм работы, при котором в пам ть записываютс лишь те сегменты изображени , размеры которых не меньше заданных. 1 з.п.ф-лы. 3 ил.The invention relates to automation and computer engineering. Its use in video pre-processing means allows to increase the speed by eliminating interference in the form of small objects in the original image. The video controller contains a state register 1, a digital-to-analog converter 7, a video camera 9, a comparator 10, an image memory unit 14, a pulse selector 15, an element number counter in line 16, a threshold level generator 27 and a microcomputer bus controller 28. Thanks to the introduction of a signal level change detector 11, the register of the element number in line 17, the clock generator 18, the And element 20. The OR elements 19, 22, 23 of the trigger 21 and the delay generator of the recording of the coordinates of the differential drop 29 in the video controller implements an algorithm for Only segments of the image whose sizes are not less than specified are written by memory to the memory. 1 wp 3 ill.
Description
0000
САCA
ОABOUT
Изобретение относитс к автоматике и вычислительной технике, конкретно к техническим средствам предварительной обработки видеоизображени и может быть использовано дл вычислени координат и идентификации движущихс объектов путем вычислени первых моментов, площадей и прочих признаков бинарных фигур на основе прин того универсального представлени видеоданных.The invention relates to automation and computer technology, specifically to technical means for pre-processing a video image and can be used to calculate coordinates and identify moving objects by calculating the first moments, areas and other features of binary figures based on the accepted universal representation of video data.
Целью предлагаемого технического решени вл етс повышение быстродействи путем устранени помех в виде мелких объектов на исходном изображении.The aim of the proposed technical solution is to increase speed by eliminating interference in the form of small objects in the original image.
На фиг. 1 представлена функциональна схема видеоконтроллера; на фиг. 2 - диаграмма формировани границ при записи кадра изображени в пам ть видеоконтроллера , где обозначено: а - сканирующа строка, б - тактовые импульсы, в - поле изображени , г - видеосигнал ид- представление данных в пам ти; на фиг. 3- блок- схема типичной программы работы ЭВМ с данным. видеоконтроллером.In FIG. 1 shows a functional diagram of a video controller; in FIG. 2 is a diagram of the formation of boundaries when recording an image frame in the memory of the video controller, where it is indicated: a - scanning line, b - clock pulses, c - image field, d - video signal and data representation in the memory; in FIG. 3- block diagram of a typical computer work program with data. video controller.
Функциональна схема видеоконтроллера включает: регистр состо ни 1, регистр порога 2, селектор адреса 3, регистр кода задержки 4, регистр адреса 5, регистр данных 6, цифроаналоговый преобразователь (ЦАП) 7, счетчик задержки 8, видеокамеру 9, компаратор 10, детектор изменени уровн сигнала 11, содержащий триггер дл синхронной фиксации изменений компараторам элемент ИСКЛЮЧАЮЩЕЕ ИЛИ, триггер управлени счетчиком задержки 12, счетчик адреса 13, блок пам ти изображени 14, селектор синхроимпульсов 15 и счетчик номера элемента в строке 16, которые нар ду с непосредственным назначением, реализуют функцию формировател сигнала конец строки, регистр номера элемента в строке . 17, тактовый генератор 18, элемент ИЛ И 19, элемент И 20, триггер 21, элементы ИЛИ 22 и 23, шину микроЭВМ 24 (в данном конкретном варианте использована шина микро- ЭВМ Электроника-60, реализованна на микропроцессорном комплекте МПК588), внутреннюю шину адреса и управлени 25 и внутреннюю шину данных 26. Регистр порога 2 и ЦАП 7 образуют формирователь порогового уровн 27; селектор адреса 3, регистр адреса 5, регистр данных 6 и счетчик адреса 13 образуют контроллер шины микроЭВМ 28; регистр кода задержки 4, счетчик задержки 8 и триггер управлени счетчиком задержки 12 образуют формирователь задержки записи координат перепада ркости 29.The functional circuit of the video controller includes: state register 1, threshold register 2, address selector 3, delay code register 4, address register 5, data register 6, digital-to-analog converter (DAC) 7, delay counter 8, video camera 9, comparator 10, change detector signal level 11, containing a trigger for synchronously recording changes to comparators, an EXCLUSIVE OR element, a delay counter control trigger 12, address counter 13, an image memory unit 14, clock pulses 15 and an element number counter in line 16, which with direct assignment, they realize the function of a signal conditioner, end of line, register of element number in line. 17, clock generator 18, element И И 19, element И 20, trigger 21, elements OR 22 and 23, microcomputer bus 24 (in this particular embodiment the micro-computer bus Electronics-60 was used, implemented on microprocessor set MPK588), internal bus addresses and controls 25 and internal data bus 26. The threshold register 2 and the DAC 7 form a threshold level former 27; address selector 3, address register 5, data register 6 and address counter 13 form a microcomputer bus controller 28; a delay code register 4, a delay counter 8, and a control trigger for the delay counter 12 form a delay driver for recording the coordinates of the differential drop 29.
Селектор адреса служит дл св зи регистра состо ни 1, регистра порога 2, регистра кода задержки 4, регистра адреса 5 и регистра данных 6 с ЭВМ, реализованной на базе МПК588, через/шину МПК 588 в соответствии с ее интерфейсом. Каждый изThe address selector serves to communicate the state register 1, threshold register 2, delay code register 4, address register 5 and computer data register 6 implemented on the IPC588 base via the IPC bus 588 in accordance with its interface. Each of
перечисленных регистров имеет на шине МПК 588 свой адрес. Селектор адреса принимает текущий адрес с шины МПК 588 и дешифрирует его. Если он соответствует одному из указанных регистров, то селекторof the listed registers has its address on the IPC 588 bus. The address selector receives the current address from the IPC bus 588 and decrypts it. If it matches one of the specified registers, then the selector
адреса разрешает запись (или чтение) данных со стороны шины МПК 588 в указанный регистр.addresses allows writing (or reading) data from the IPC bus 588 to the specified register.
Регистры адреса 5 и данных б предназначены дл осуществлени св зи ЭВМ с па5 м тью видеоконтроллера, когда он находитс в режиме хранени . При этом, дл чтени или записи информации, в регистр адреса записываетс требуемый адрес и признак (запись/чтение), а регистрThe registers of address 5 and data b are intended for communicating with a computer with the memory module 5 when it is in storage mode. At the same time, for reading or writing information, the required address and sign (write / read) are recorded in the address register, and the register
0 данных 6 служит источником или приемником информации.0 data 6 serves as a source or receiver of information.
Объединение выходов регистра адреса 5 и счетчика адреса 13 в шину адреса и управлени 25, а также объединение выхо5 дов регистра номера элемента в строке 17, блока пам ти 14 и регистра данных 6 в шину данных 26 возможно благодар использованию элементов с трем состо ни ми на выходе .The combination of the outputs of the address register 5 and the address counter 13 in the address and control bus 25, as well as the combination of the outputs of the element number register in line 17, memory unit 14 and data register 6 in the data bus 26 is possible due to the use of elements with three states output.
0 Видеоконтроллер работает следующим образом.0 The video controller operates as follows.
В исходном состо нии видеоконтроллер находитс в режиме хранени наход щегос в его пам ти кадра изображени .In the initial state, the video controller is in the storage mode of the image frame located in its memory.
5 Дл записи в пам ть видеоконтроллера текущего кадра в регистр состо ни 1 заноситс код включени , который поступает на вход 21. Задним фронтом ближайшего кадрового синхроимпульса сигнал включени .5 To write to the memory of the video controller of the current frame, the on-code is entered into state register 1, which is fed to input 21. The trailing edge of the closest frame clock signal is turned on.
0 передаетс на выход триггера 21 и запускает тактовый генератор 18, который и инициирует преобразование и запись текущего кадра изображени в блок пам ти 14. Передним фронтом следующего кадрового синх5 роимпульса, посредством элементов И 20 и ИЛИ 19, формируетс сигнал сброса, по которому в регистр состо ни 1 заноситс признак готовности, сбрасываетс сигнал включени и устанавливаетс в исходное со0 сто ние счетчик адреса 13. Признак готовности свидетельствует о переходе видеоконтроллера в режим хранени .0 is transmitted to the output of trigger 21 and starts the clock generator 18, which initiates the conversion and recording of the current image frame in the memory unit 14. The leading edge of the next frame sync 5 pulse, using the elements AND 20 and OR 19, generates a reset signal, according to which the register state 1, the readiness indicator is entered, the power-on signal is reset, and the address counter 13 is reset. The readiness indicator indicates that the video controller has entered storage mode.
Поступающий с видеокамеры 9 видеосигнал преобразуетс компаратором 10 вThe video signal coming from the video camera 9 is converted by the comparator 10 to
5 бинарное представление. Порог компара- ции содержитс в виде кода в регистре порога 2 и формируетс посредством цифроаналогового преобразовател 7, Видеосигнал также поступает на вход селекто- ра синхроимпульсов 15, который5 binary representation. The comparation threshold is contained as a code in the register of threshold 2 and is generated by a digital-to-analog converter 7. The video signal is also fed to the input of the clock selector 15, which
предназначен дл выделени из видеосигнала кадровых и строчных синхроимпульсов .is intended to extract frame and horizontal sync pulses from a video signal.
В момент запуска тактового генератора 18, счетчик задержки 8 находитс в режиме параллельной записи и содержит число из регистра кода задержки 4, При изменении уровн видеосигнала переключаетс компаратор 10 и детектор изменени уровн сигнала 11 формирует импульс, которым переписывает содержимое счетчика номера элемента в строке 16 в регистр номера элемента в строке 17 и инвертирует состо ние триггера 1.2, что приводит к переводу счетчика задержки 8 в режим последовательного счета, так как в счетчике задержки реализован декрементный режим, то его содержимое начинает уменьшатьс по импульсам от тактового генератора 18. Если за врем , равное числу тактов, записанных в регистре кода задержки 4, уровень видеосигнала не изменитс , то счетчик задержки досчитает до нул и на его выходе по витс импульс, который сбросит триггер 12 и инициирует запись содержимого регистра номера элемента в строке 17, в котором в данный момент находитс абсцисса границы сегмента (строки 2 и 3 на фиг.2), в блок пам ти 14 по адресу, наход щемус в счетчике адреса 13. При этом, после записи, содержимое счетчика адреса 13 инкремен- тируетс . Если же уровень видеосигнала изменитс до того, как счетчик задержки 8 достигает до нул , то импульсом от детектора изменений 11 триггера 12 будет возвращен в исходное состо ние, а счетчик задержки 8- переведен в режим параллельной записи и в него снова запишетс число из регистра кода задержки 4. В этом случае импульса на выходе счетчика задержки 8 не возникает и абсцисса границы сегмента (строка 1 на фиг.2) не запишетс в блок пам ти 14.At the time of starting the clock generator 18, the delay counter 8 is in parallel recording mode and contains a number from the register of the delay code 4. When the video signal level changes, the comparator 10 switches and the signal level change detector 11 generates a pulse, which overwrites the contents of the element number counter in line 16 to the register of the element number in line 17 and inverts the state of trigger 1.2, which leads to the transfer of the delay counter 8 to the sequential count mode, since the decrement mode is implemented in the delay counter, then its contents begin to decrease in pulses from the clock generator 18. If the video signal level does not change in a time equal to the number of clocks recorded in the register of delay code 4, then the delay counter will count to zero and the pulse that will reset trigger 12 is outputted and initiates the recording of the contents of the register of the element number in line 17, which currently contains the abscissa of the segment boundary (lines 2 and 3 in FIG. 2), in the memory unit 14 at the address located in the address counter 13. Moreover, after records, counter contents Dres 13 inkremen- tiruets. If the video signal level changes before delay counter 8 reaches zero, then the pulse from change detector 11 of trigger 12 will be returned to its original state, and delay counter 8 will be transferred to parallel recording mode and the code register number will be written to it again delays 4. In this case, a pulse at the output of the delay counter 8 does not occur and the abscissa of the segment boundary (line 1 in Fig. 2) is not recorded in the memory unit 14.
Процесс записи кадра видеоизображени в пам ть показан на фиг.2. В данном случае задержка равна двум тактовым импульсам . Так как длина верхнего сегмента первой строки равна одному тактовому импульсу , то этот сегмент не заноситс в пам ть . Длина же нижнего сегмента во второй и третьей строках больше двух, и данный сегмент записываетс в пам ть.The process of recording a video frame in memory is shown in FIG. In this case, the delay is equal to two clock pulses. Since the length of the upper segment of the first line is equal to one clock pulse, this segment is not stored in the memory. The length of the lower segment in the second and third lines is more than two, and this segment is recorded in the memory.
При представлении информации в пам ти , нулем обозначаетс конец текущей строки. По количеству нулей определ етс номер текущей строки в кадре, или, иначе говор , ордината элемента границы сегмента . Сигнал конец строки формируетс из строчной синхрометрии. При этом обнул етс счетчик номера элемента в строке 16.When presenting information in memory, zero indicates the end of the current line. The number of zeros determines the number of the current line in the frame, or, in other words, the ordinate of the segment border element. The end-of-line signal is generated from horizontal synchrometry. At the same time, the counter of the element number in line 16 is reset.
после чего его содержимое переписываетс в регистр номера элемента в строке 17 и далее - в блок пам ти 14.after which its contents are rewritten in the register of the element number on line 17 and then to the memory unit 14.
Программа работы ЭВМ с данным ви- 5 деоконтроллером, блок-схема которой приведена на фиг. 3, содержит: модуль 1 - запись в регистр кода задержки заданного минимально допустимого размера сегментов , модуль 2 - запись порога бинариза0 ции в регистр порога, модуль 3 - занесение в видеоконтроллер признака чтени текущего кадра, модуль 4 - ожидание конца чтени и преобразовани текущего кадра изображени в описанный выше формат, модуль 5The work program of the computer with this video deocontroller, a block diagram of which is shown in FIG. 3, contains: module 1 — write to the register of the delay code of the specified minimum allowable size of segments, module 2 — write the binarization threshold into the threshold register, module 3 — record the reading of the current frame in the video controller, module 4 — wait for the end of reading and convert the current frame images in the format described above, module 5
5 - считывание полученного кадра из пам ти видеоконтроллера и его обработка с целью решени поставленной задачи, модуль 6 - либо переход на считывание следующего кадра, либо окончание работы с видеоконт0 роллером.5 - reading the received frame from the memory of the video controller and processing it in order to solve the problem, module 6 - either switching to reading the next frame or completing work with the video controller.
В видеоконтроллере таким образом используетс принцип, позвол ющий на этапе дискретизации видеосигнала записывать в пам ть координаты границ только тех сег5 ментов, размеры которых не меньше заданных программно в регистре кода задержки 4. При этом ординатной граничной точки будет номер строки, а абсциссой - количество тактовых импульсов от начала текущейIn this way, the video controller uses the principle that allows recording at the sampling stage of the video signal only the coordinates of the segments of segments 5 whose sizes are not less than those programmed in the delay code register 4. In this case, the ordinate boundary point will be the line number and the abscissa will be the number of clock pulses from the beginning of the current
0 строки до момента изменени уровн видеосигнала .0 lines until the video signal level changes.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU4852494 RU1816326C (en) | 1990-07-18 | 1990-07-18 | Video controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU4852494 RU1816326C (en) | 1990-07-18 | 1990-07-18 | Video controller |
Publications (1)
Publication Number | Publication Date |
---|---|
RU1816326C true RU1816326C (en) | 1993-05-15 |
Family
ID=21528327
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU4852494 RU1816326C (en) | 1990-07-18 | 1990-07-18 | Video controller |
Country Status (1)
Country | Link |
---|---|
RU (1) | RU1816326C (en) |
-
1990
- 1990-07-18 RU SU4852494 patent/RU1816326C/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР Мг 568954, кл. G 06 К 9/00. 1972. Кэйсоку дзидо сэйгё гаакай ромбунсю, 1986, т.22,1st 2, стр. 199-204. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS5987569A (en) | Automatic continuous processing circuit of data | |
RU1816326C (en) | Video controller | |
JPS63243989A (en) | Memory controller | |
JPS62135881A (en) | Image display unit | |
US6628289B1 (en) | Rendering apparatus and method, and storage medium | |
JPH0435942B2 (en) | ||
SU746504A1 (en) | Extremum number determining device | |
US5948039A (en) | Vehicular navigation display system | |
SU1455363A1 (en) | Buffer storage | |
SU1658165A1 (en) | Device for interfacing information source to processor | |
SU1686451A1 (en) | Device for interfacing information source with processor | |
JPH079280Y2 (en) | Stack circuit | |
JP2936689B2 (en) | Trigger generator | |
SU1259260A1 (en) | Command access driver | |
SU1283850A2 (en) | Buffer storage | |
SU1193722A1 (en) | Device for displaying information | |
SU1462423A1 (en) | Buffer storage | |
SU1575190A1 (en) | Device for controlling dynamic memory | |
SU1300544A1 (en) | Device for displaying information on screen of cathode-ray tube (crt) | |
SU1201841A1 (en) | Interface for linking process control computer with peripheral units | |
SU780035A1 (en) | Device for regeneration of information for dynamic matrix storage unit | |
JP2617132B2 (en) | Direct memory access method | |
JPH0425958A (en) | Address counter control system | |
JP2786033B2 (en) | Time measuring device | |
JPS61285556A (en) | Memory writing system |