A microcomputer system for color video picture processing

Similar documents
Part 1: Introduction to Computer Graphics

TV Character Generator

* This configuration has been updated to a 64K memory with a 32K-32K logical core split.

These are used for producing a narrow and sharply focus beam of electrons.

Types of CRT Display Devices. DVST-Direct View Storage Tube

Computer Graphics: Overview of Graphics Systems

2.4.1 Graphics. Graphics Principles: Example Screen Format IMAGE REPRESNTATION

Large 5 X 7 Dot Matrix Alphanumeric Displays 17.3/26.5 mm Character Heights Technical Data

Part 1: Introduction to computer graphics 1. Describe Each of the following: a. Computer Graphics. b. Computer Graphics API. c. CG s can be used in

Comp 410/510. Computer Graphics Spring Introduction to Graphics Systems

CS2401-COMPUTER GRAPHICS QUESTION BANK

Large 5 X 7 Dot Matrix Alphanumeric Displays 17.3/26.5 mm Character Heights Technical Data

A dedicated data acquisition system for ion velocity measurements of laser produced plasmas

2.2. VIDEO DISPLAY DEVICES

Table of Contents. 2 Select camera-lens configuration Select camera and lens type Listbox: Select source image... 8

Elements of a Television System

DESIGN AND DEVELOPMENT OF A MICROCONTROLLER BASED PORTABLE ECG MONITOR

Visual Color Matching under Various Viewing Conditions

Computer Graphics. Introduction

The Cathode Ray Tube

High Performance Raster Scan Displays

Overview of All Pixel Circuits for Active Matrix Organic Light Emitting Diode (AMOLED)

Overview of Graphics Systems

Computer Graphics Hardware

Pivoting Object Tracking System

Understanding PQR, DMOS, and PSNR Measurements

Software Package WW 9038 for the Sound Intensity Analysing System Type 3360 or the Digital Frequency Analyzer Type 2131

V6118 EM MICROELECTRONIC - MARIN SA. 2, 4 and 8 Mutiplex LCD Driver

TABLE OF CONTENTS. Instructions:

The software concept. Try yourself and experience how your processes are significantly simplified. You need. weqube.

AE16 DIGITAL AUDIO WORKSTATIONS

Tutorial 3 Normalize step-cycles, average waveform amplitude and the Layout program

Lecture 2 Video Formation and Representation

COMPUTER TECHNOLOGY. A vector graphic CRT display system

E X P E R I M E N T 1

LE062XF DCC Decoder for Atlas N Scale Locomotives

Please feel free to download the Demo application software from analogarts.com to help you follow this seminar.

Design of VGA Controller using VHDL for LCD Display using FPGA

How to Manage Color in Telemedicine

Environmental Controls Laboratory

High-Definition, Standard-Definition Compatible Color Bar Signal

Computer Graphics. Raster Scan Display System, Rasterization, Refresh Rate, Video Basics and Scan Conversion

The software concept. Try yourself and experience how your processes are significantly simplified. You need. weqube.

Monitor and Display Adapters UNIT 4

Computer Graphics : Unit - I

Stimulus presentation using Matlab and Visage

Downloads from:

Section 001. Read this before starting!

Lab 5 Linear Predictive Coding

SELECTING A HIGH-VALENCE REPRESENTATIVE IMAGE BASED ON IMAGE QUALITY. Inventors: Nicholas P. Dufour, Mark Desnoyer, Sophie Lebrecht

AP Statistics Sec 5.1: An Exercise in Sampling: The Corn Field

Digital Logic Design: An Overview & Number Systems

Press Publications CMC-99 CMC-141

CATHODE RAY OSCILLOSCOPE. Basic block diagrams Principle of operation Measurement of voltage, current and frequency

Display Devices & its Interfacing

Subtitle Safe Crop Area SCA

Watchman. Introduction: Door Lock Mobile MAX

Full Disclosure Monitoring

ECE532 Digital System Design Title: Stereoscopic Depth Detection Using Two Cameras. Final Design Report

B. TECH. VI SEM. I MID TERM EXAMINATION 2018

PTIK UNNES. Lecture 02. Conceptual Model for Computer Graphics and Graphics Hardware Issues

THE OPERATION OF A CATHODE RAY TUBE

Using Audiotape to Collect Data Outside the Lab: Kinematics of the Bicycle*

DELTA MODULATION AND DPCM CODING OF COLOR SIGNALS

m RSC Chromatographie Integration Methods Second Edition CHROMATOGRAPHY MONOGRAPHS Norman Dyson Dyson Instruments Ltd., UK

RECOMMENDATION ITU-R BT.1201 * Extremely high resolution imagery

Man-Machine-Interface (Video) Nataliya Nadtoka coach: Jens Bialkowski


1 Your computer screen

Color Reproduction Complex

Practical Application of the Phased-Array Technology with Paint-Brush Evaluation for Seamless-Tube Testing

Multiband Noise Reduction Component for PurePath Studio Portable Audio Devices

An Efficient SOC approach to Design CRT controller on CPLD s

NYS Court of Claims. Courtroom Technology Reference Guide. Buffalo

SPECIFICATION NO NOTE

The Micropython Microcontroller

Industrial Technology

Technology of high-speed storage for target signal based on ARM7 + double NAND memory

UNIVERSITY OF CAMBRIDGE INTERNATIONAL EXAMINATIONS General Certificate of Education Ordinary Level. Paper 1 October/November hours 30 minutes

L14 - Video. L14: Spring 2005 Introductory Digital Systems Laboratory

ITS-I. Test station for evaluation of image quality of image intensifier tubes. Fig. 1. Photo of the ITS-I test station: a)photo, b)block diagram

VMIX104. Alpha-blend. text and graphics. onto. live video

Chapter 1. Introduction to Digital Signal Processing

DISPLAY TECHNOLOGIES. Group 6: Steve Lenhart, Ryan King, Ramsey Akl, and Andrew Scheib

CMPE 466 COMPUTER GRAPHICS

Television History. Date / Place E. Nemer - 1

NENS 230 Assignment #2 Data Import, Manipulation, and Basic Plotting

Chapter 2 Circuits and Drives for Liquid Crystal Devices

> f. > œœœœ >œ œ œ œ œ œ œ

SUMMIT LAW GROUP PLLC 315 FIFTH AVENUE SOUTH, SUITE 1000 SEATTLE, WASHINGTON Telephone: (206) Fax: (206)

Page 1) 7 points Page 2) 16 points Page 3) 22 points Page 4) 21 points Page 5) 22 points Page 6) 12 points. TOTAL out of 100

Real-Time PCR System TC

Design of Fault Coverage Test Pattern Generator Using LFSR

Clarification for 3G Coverage Obligation Verification Data

THE OPERATION OF A CATHODE RAY TUBE

7thSense Design Delta Media Server

4. ANALOG TV SIGNALS MEASUREMENT

ENERGY STAR Program Requirements Product Specification for Televisions. Eligibility Criteria Version 5.3

SPECIFICATION NO Model 207 Automatic GTAW Welding System

Supporting Information

Transcription:

A microcomputer system for color video picture processing by YOSHIKUNI OKAWA Gifu University Gifu, Japan ABSTRACT A color picture processing system is proposed. It consists of a microcomputer and a color video recorder. A picture is taken by a portable videotape recorder and a camera on cassette tapes in the field and brought back to the laboratory where the processing computer is installed. The scenes are replayed on the videotape player on the monitor TV screen, from which signals are stolen by three A-D converters (one each for R, G, and B) and stored in the memory of the microcomputer. The software package provides several commands which make it possible to process images on the CRT screen by man-machine interaction. A functional description of the commands is stated in some detail. One example of the application of this system is briefly described. 713

A System for Color Video Picture Processing 715 1. INTRODUCTION A computing system to process color video pictures is described. The system consists of (1) a 16-bit microprocessor, (2) a color videocassette tape player, (3) a color monitor TV, and (4) a color graphic display. We can record any scene onto videocassette tape by using a portable videotape recorder and a color TV camera. The scenes are replayed on the screen of a monitor TV. The signal voltages of red, green, and blue color components which drive the monitor TV are stolen and converted into three 8-bit digital signals and stored in the memory of the microcomputer. The scene will be processed digitally afterward by the software system provided by man-machine interaction. As an example of a possible application of the system, the efficiency of road signs is studied. Various colors of tapes are placed on roads. Scenes are recorded on cassette tape in the field, carried back to the laboratory, and processed by the computer. The numerical measure of the recognizability of a sign against its background is defined and computed for all of the recorded scenes. The best color and form of a guiding line is determined for each road condition. The cost of the proposed system is very low because microprocessors and color video picture recorders and players are produced massively by modern industry. A portable videotape recorder and a TV camera give mobility to the picture processing computer system. This computer will become a powerful tool in the field of digital color picture processing. 2. THE CONFIGURATION OF THE SYSTEM The system configuration is shown in the block diagram of Figure 1. The central processing unit is a microprocessor (Z- 8000) having 216 Kbyte of memory. A character display, a keyboard, a printer, and other usual computer peripherals are attached to the processor. The picture input device is either a videotape player or a color TV camera. If the TV camera is used as a picture-taking instrument, scenes within the laboratory room in which the computer system is installed can be processed by the system. We call this an online processing mode. For processing scenes outside the computer room, a combination of a TV camera and a portable videotape recorder is used. The outside scenes are recorded onto videocassette tapes. They are carried back to the computer room and replayed in the videotape player, whose pictures are displayed on the color monitor television set. This is called a timefreezing mode. Analogue signals are stolen from the driving circuit of the color television CRT tube. Red, blue, and green voltages are converted into three 8-bit digital form, which is stored in the memory of the computer by means of a DMA controller. In the time-freezing mode, for example, we can stop the scene or replay it in slow motion. Although these capabilities originate from the intrinsic function of the videotape player, our picture processing system can make efficient use of them. 3. THE COMMANDS OF THE CONTROL PROGRAM 3-1. Image Sampling Picture processing, in general, proceeds in a conversational fashion. A regular command form is -..c a prompt character from the control program > a command character [,possible parameters] (CR). ~--------,"" ( a carriage return code Various commands provided in the control program are described in the following: 1. A command to set a sampling window in a picture plane: > W,SX,SY,NX,NY (CR) The four command parameters SX, SY, NX, and NY assign a rectangular region in a picture plane, as shown in Figure 2. The parameters are key-input in a hexadecimal form and stored in the RAM area of the memory. This region will be sampled later. 2. A command to sample an image: > I (CR) The DMA controller is initialized and the image sampling is started by this command. One vertical line in a window is sampled in one frame of television pictures. Since there are 60 frames in a second, the sampling time is calculated by NX t = 60 (second) In general, the sampling time is directly dependent on the conversion time of the A-D converters used. If the speed of A-D conversion is increased, the sampling operation can be completed within 1/60 second.

716 National Computer Conference, 1982 D 00 0 Color graphic display Microcomputer 2-8000 ""ith 215 K byte of memory 1<----1 CRT disclay and keyboard and other peripherals Color Moni tor TV Figure I-The system configuration tape reco!'"der Color TV i SV I [ NX. J r NY 1 Sampling window 3-2. R, G, and B Display Commands The stored image must be called out from the memory and displayed on the screen of the color graphic display. The following commands are provided in the control program: (1) A command to erase the color graphic display screen. >E(CR) The screen of the graphic display is erased. (2) A command to display a cross-sectional figure of an image: As stated before, R, G, and B signais of an image are sampled in 8-bit digital form. That is, the representation at one picture element is 3 bytes in the computer. The color graphic display has only 8 colors (3 bits) at each picture position. There is a significant gap between sampled image and displaying capability. We must design commands to overcome this difficulty. First, we cut a three-dimensional distribution of an image in two pieces and make a cross-sectional distribution of the image. Three two-dimensional display lines are enough to display the image, which is easily shown on the CRT screen of the color graphic display. The command has the following form: Picture plane Figure 2-Sampling window (the picture in the window is taken into the computer memory) RT, GT, and BTare the threshold values in a hexadecimal form. Let us write sampled red, green, and blue brightness levels at a picture point (i,j) as R j, Gij, and B ij, respectively. Concerning the graphic display, if rij = 1, then a red spot is displayed on the (i,j) grid of CRT screen; and if rij = 0, a red spot does not appear at that point. The terms gij and b ij can be defined in the > H,h,v,F(CR) where H is the command character, (h,v) indicates the starting point in a picture plane, and F is a Freeman code to specify cutting direction. One example of the displayed results is shown in Figure 3. The three height lines consist of red, green, and blue color dots. But at a picture element where at least two out of three colors have the same intensity level, colors other than red, green, and blue are displayed, since the dots are overlapped. (3) A command to display a thresholded picture: If the sampled red, green, and blue brightness levels are thresholded at each picture element, the resulting image can be displayed on the screen of the color graphic display. The following command is provided for this purpose: > F,RT,GT,BT(CR) Figure 3--An example of a cross-sectional display of an image (originally, red, green, and blue dots were displayed)

A System for Color Video Picture Processing 717 No. 1 2 3 4 5 6 7 TABLE I-Standard color card used for the calibration Munsell color x y R G B 7R 4.5/16.4 0.600 0.320 128 80 72 4G 5.2/13.5 0.210 0.485 52 96 96 5.5B 4.7/11.7 0.145 0.205 36 80 128 1.5RP3.5/19.8 0.370 0.150 100 78 96 4BG3.5/12.8 0.120 0.335 40 78 84 7.5Y 8.5/13.9 0.450 0.500 160 120 64 N9 0.310 0.316 112 112 112 placed before the TV camera one by one; and r~d, green, and blue values were sampled into the processor (R, G, and, B column of Table I). The Xij and Yij values of the color cards are read from the Japanese Industrial Standard (JIS Z8721-1958), which are listed in the x and y columns of Table 1. If we write and same manner. Then the action of the command can be stated as follows: If R j > RT, then rij = 1, otherwise rij = O. If Gij > GT, then gij = 1, otherwise gij = O. If Bij > BT, then bij = 1, otherwise bij = O. It must be pointed out that the selection of the threshold values RT, GT, and BT changes the displayed figures. For example, if we set the threshold values very high, the image on the CRT screen becomes a black rectangle, whereas if we set the threshold low, a white rectangle will appear, regardless of the true shape and color of the object in the scene. 3-3. Display on the CIE plane At this point we must consider the color transformation that will convert the measured color vector (Rj, Gij, Bij) into CIEs (Xij, Yij, Zij) at each picture element. The transformation equation can, in general, be written as l' all a12 a13] [RijJ' XijJ' [ Yij _ a21 a22 a23 Gij Zij - a31 a32 a33 Bij where akl (k, 1 = 1,2,3) is an element of the conversion matrix and must be determined experimentally. Munsell's standard color cards, listed in Table I, were (brightness assumption) then the conversion matrix is determined by the least-squares method. The result is written as [ _ [_ ~ijj 0.46-0.21 _ 0.15] [Rj] Yij - 0.08 0.78 0.36 Gij 2ij -0.04-0.23 0.60 Bij y o :Munsell : Least square fit.6 G I.4 \8V W~.2 B"- ~ X 0.2.4.6.8 Figure 4-Deviation of the least-squares fitted points from their true points (a) (b) Figure 5-An example of color distributions on the ele's plane. (a) color distribution of a signal region; (b) color distribution of a background region.

718 National Computer Conference, 1982 microprocessor estimates the driving path and controls its trajectory. Experience has shown us that a monochromatic TV camera is not enough for recognizing objects in a real world: color seems to provide us with vital information. If we are to place guiding signs on the floor, there emerge several fundamental questions, such as what color is best for a sign, what form is best, and where to place the signs. Color distribution of a sign and its background are displayed on the color graphic dispiay (see Figure 5), using a command of the package. The background distribution is rather concentrated in the center region of the CIE plane. The signal has a long, thin distribution. We can define a measure S that indicates separability of a signal from its background, as Figure 6-Display of a color distribution of an image in the eie's coordinate system whose transformational matrix is seriously affected by lighting condition. Because of the least-squares fitting, (Xij, Yij, Zij) do not lie exactly on (Xij. Y ij, Zij). Their corresponding position pairs are shown in Figure 4. Our control program can handle a picture in the CIE color coordinate system. A typical two of the provided commands are briefly described in the following: 1. A command to display a distribution on the color plane: Figure 5 shows the resuiting dispiay of this command. The sampled Xij and Yij in a picture are plotted in the CIE's color plane. The command form is >K(CR) The six standard color points (R, Y, G, B, P, W) are displayed at their location by their color. 2. A command to display the color frequencies: Let us define a color frequency as M N Al = L L 8 (Xij - k) 8 (y ij - 1) i=lj=1 where 8(a) = 1, if a = 0, and 8(a) = 0, if a =1= 0. Its command fo~m is >J(CR) The J command displaysjkl on the CRT screen, as shown in Figure 6. 4. ONE EXAMPLE OF APPLICATIONS We want, in general, to design a software package that can cover a wider area, but no software can be designed without a concrete objective, especially in its infancy. Our motive for designing this software package will be briefly explained in the following paragraphs. We are studying automatic guidance of an electrically driven vehicle. A TV camera sees guidelines on the floor. The where subscripts sand b indicate signal and background, respectively, - is an average operation, and (]' is a standard deviation. If two distributions are well separated, then Stakes a large value. On the contrary, if the two are mixed, S becomes small. Now a thin tape is placed on the ground, and S is calculated. Then another tape is measured in the same manner. The tape with a larger S may be said to be more suitable for that background. Continuing like this, we can determine the best guiding signal for the specified background. 5. CONCLUSION A new color picture processing system is introduced. It makes full use of recently advanced videotape recording technology. It gives mobility to a computer vision system. A software package for color picture processing has been coded and tested. It aims at an interactive processing of color image recorded on cassette tapes. Although the commands now available in the control program cover only basic areas, they can be easily extended in any desired direction. If we consider the rapidly decreasing cost of microprocessors and videotape recorders, the proposed system may be said capable of being constructed at a very low price. It is already concluded by the researchers that picture processing by monochromatic images has met a severe limitation in its real applications, especially in object recognition. Human processes color images. If we drop the color factor in picture processing, then the computer can never equal human capability. It is unreasonable to want the same results from image processing by computers as by human vision without the essential information provided by color. But there are some problems in color picture processing. At least three times as much information must be stored in the memory as for black and white. The complexity of the resulting processing program will increase rapidly. The control program package described herein will serve as a core for color image processing and thus contribute to expanding computer power to a wider range of applications.