Superimposing apparatus

Abstract: There is an apparatus for superimposing a video signal stored in a memory (5) into a video signal which was photographed. A plurality of video signals have been stored in the memory (5). Further, predetermined control codes have been stored between the video signals or every 2 n addresses in the memory. By reading out the control codes, the head or end of each video signal is detected and the video signal is selected.

Description: The present invention relates to a video signal processing apparatus which is suitable to superimpose a title or the like into a video signal which was photographed by a video camera. An apparatus for superimposing a title or the like into a video signal obtained by photographing an object by a video camera is disclosed in EP-A-0 326 327, US-A-4 608 603 and in the article "Title System For VTRs", 1989 National Convention Record of the Institute of Television Engineers of Japan, pages 199 to 200. According to the above system, a title stored in a memory is superimposed into the video signal obtained by photographing an object by a camera. According to the above conventional technique, since a memory capacity of one field is assigned to one title picture, a using efficiency of the memory capacity is low and many titles cannot be stored. It is an object of the invention to provide a video camera which is suitable to superimpose many titles by efficiently using memory capacities for the titles. To accomplish the above object, according to the invention, a memory capacity corresponding to the size of each title picture is assigned to each title picture. Further, by adding a control code to the last data of each title, a plurality of titles having different data amounts can be superimposed into the video signal. The data of the titles which were read out of the memory are sequentially superimposed into the video signals, and when the control code added to the final end of each title data is detected, the superimposing process of the title is finished and the renewal of the read out address value of the memory is stopped. Due to this, in the case where the sizes of the title pictures on the display screen differ, the memory capacity corresponding to the size of each title picture can be assigned. Thus, the memory can be efficiently used and many title pictures can be stored. Figs. 1 and 5 are circuit block diagrams of embodiments of the invention; Fig. 2 is a diagram showing a combination of memory data in the embodiment of Fig. 1; Fig. 3 is a diagram showing an example of a title picture which is displayed according to the embodiment of Fig. 1; Fig. 4 is a memory map diagram in which the title picture of Fig. 3 was converted into the data; and Fig. 6 is a memory map diagram of a memory in an embodiment of Fig. 5. An embodiment of the present invention will be described hereinbelow with reference to Figs. 1 to 4. Fig. 1 is a circuit block diagram of the embodiment. Reference numeral 1 denotes a lens; 12 an image pickup device; 2 a signal processing circuit; 3 a sync signal generating circuit; 4 a memory control circuit; 5 a memory; 7 a matrix circuit; 8 a switching circuit; 9 an encoder; 10 a picture recording apparatus; and 11 a code detecting circuit. In Fig. 1, data of a plurality of title pictures have previously been stored in the memory 5. The data of the title picture comprises: chrominance signals (signals R₁, G₁, and B₁ of three bits indicative of red, green, and blue) to designate the color of the title on a pixel unit basis; and a signal key of one bit indicative of the position of the title portion on the display screen. The signal Key is set to "1" in the title portion and "0" in the portions other than the title and changes in the edge portions of the title picture. A video signal is extracted by the image pickup device 12 from a photo signal which passed through the lens 1 and is supplied to the signal processing circuit 2. The signal processing circuit 2 is driven by a sync signal which is generated from the sync signal generating circuit 3 and outputs a luminance signal Y and two color difference signals (R-Y) and (B-Y). Those signals are supplied to the encoder 9 through the switching circuit 8 and converted into the video signals which can be recorded. After that, a picture corresponding to the video signals is recorded by the picture recording apparatus 10. On the other hand, the sync signal from the sync signal generating circuit 3 is also supplied to the memory control circuit 4. An address signal is output to the memory 5 at a desired timing for superimposing the title synchronously with the photographed video signal. The title data R₁, G₁, B₁, and Key are read out of the memory 5 in accordance with the address signal. Among them, the chrominance signals R₁, G₁, and B₁ are led to the matrix circuit 7 and converted into the luminance signal Y and two color difference signals (R-Y) and (B-Y). After that, those signals are supplied to the switching circuit 8. The switching circuit 8 uses the signal Key which was read out of the memory 5 as a switching signal and is connected to the upper side in the diagram when the signal Key is set to "1" and to the lower side when the signal Key is set to "0". By the above operations, when the signal Key is set to "1", that is, in the title portion, the data of the title is output from the switching circuit 8. When the signal Key is set to "0", that is, in the portions other than the title portion, the photographed video signal is output from the switching circuit 8. The signal from the switching circuit 8 is supplied to the picture recording apparatus 10 through the encoder 9, so that the title can be inserted into the photographed picture and recorded. The control of the memory 5 will be further described in detail. The code detecting circuit 11 receives the memory data R₁, G₁, B₁, and Key which were read out of the memory 5 as input signals. When a predetermined code is detected, a command corresponding to the detected code is output to the memory control circuit 4. Fig. 2 shows combinations of the values of the memory data R₁, G₁, B₁, and Key of four bits, the colors of the titles each of which is superimposed in correspondence to such a combination, and the command which is output to the memory control circuit 4. When the signal Key is set to "1", the chrominance signals of eight colors are superimposed into the video signal in accordance with a combination of the signals R₁, G₁, and B₁. When the signal Key is set to "0", a control code is assigned. In this case, the signals R₁, G₁, and B₁ indicative of the color of the title are set to the values irrespective of the color of the title. However, since the signal Key is at the "0" level, the control code does not exert any influence on the photographed video signal. The control code is used to control addresses in the memory 5. It is assumed that control codes have been written in the addresses in the memory 5 corresponding to the pixels at a left upper edge a, a right edge b, and a right lower edge c of the title picture, respectively. Fig. 3 shows an example of the title picture. One frame expresses one pixel. A hatched portion denotes a title portion of yellow. A portion without a hatched region indicates a portion which is not the title. That is, a character "A" is superimposed in yellow into the video signal. Reference characters a, b, and c are written at the left upper edge, right edge, and right lower edge of the title, respectively. Reference numerals ℓ₁ to ℓ₁₆ indicate title data of scanning lines. Fig. 4 shows memory data of four bits of the title in Fig. 3. An axis of abscissa denotes an address direction. In the diagram, the data on the right side than the data ℓ₁₆ is another title data (not shown). By the control of the memory control circuit 4, the memory address value begins to change at a timing corresponding to the left upper edge a of the inserting title synchronously with the sync signal from the sync signal generating circuit 3. Until the control code indicative of the right edge b of the title is detected by the code detecting circuit 11, the title data are sequentially read out and superimposed. When the control code indicative of the right edge b of the title is detected, the change of the memory address value is stopped by the control of the memory control circuit 4 and the address is held until the timing corresponding to the left edge of the title on the next scanning line. By repeating the operations similar to those mentioned above hereinafter, the title data of the scanning lines are sequentially read out and superimposed. When the control code indicative of the right lower edge c of the title is detected, the display of one title is finished. In the case where the above title is also continuously displayed even in the next field, after completion of the display of the title, the memory address is returned, for instance, for a vertical blanking period of time until the control code indicative of the left upper edge a as a display start point of the title data is detected. The title to be displayed is selected by a control signal from a control signal input terminal 13. For example, for the vertical blanking period of time, the memory address is changed and the number of detecting times of the control code representative of the left upper edge a of the title is counted, so that the display title can be selected. According to the embodiment, for a plurality of titles having different shapes and sizes, the memory capacity which is necessary for each title can be assigned to each title. Therefore, the memory capacities can be efficiently used and a number of titles can be stored into the memory having a predetermined capacity. Another embodiment of the invention will now be described with reference to Figs. 5 and 6. In Fig. 5, reference numeral 14 denotes an address counter control circuit; 15 indicates a counter for generating upper addresses; and 16 counter for generating lower addresses. In Fig. 5, the same parts and components as those shown in the embodiment of Fig. 1 are designated by the same reference numerals. Fig. 6 shows an example of memory data. An axis of abscissa indicates five bits of the lower addresses. An axis of ordinate represents upper addresses which are higher than the lower addresses. A hatched portion indicates a memory address in which the control code has been written. A portion other than the hatched region represents an address in which data of the title has been written. In the embodiment, it is assuemd that the control codes have been written in the memory spaces in the memory 5 at a period of the 2 n addresses (n is a positive integer). In the embodiment, explanation will be made on the assumption that n = 5, that is, the control codes have been inserted at a period of 32 addresses. However, the invention is not limited to such an example. An identification code to identify each title, a code indicative of the head or end data of each title, and the like are added as control codes. In Fig. 5, the counter 16 is an address counter to generate addresses of lower five bits. The counter 15 is an address counter to generate addresses of the sixth bit and subsequent bits. It is assumed that one title data has a data amount of 32 x m addresses (m is a positive integer) in which the data of 32 addresses is set as the minimum unit. For a period of time when the title is being displayed, the two counters 15 and 16 operate as a single coupled counter and sequentially read out the data from the memory 5. The parts and components designated by the same reference numerals as those shown in the embodiment of Fig. 1 execute the similar operations even in the embodiment and their descriptions are omitted. After completion of the display of the title, in the case of continuously displaying the same title even in the next field, it is necessary to return the memory address to the start address of the title until a timing to start the title display in the next field. At this time, for instance, the two address counters 15 and 16 are controlled by the control of the control circuit 14 of the address counters for the vertial blanking period. Thus, the values of the five bits of lower addresses are fixed to "0" and the values of the upper addresses decrease. Therefore, only the data in the addresses in which the control codes were written are continuously read out from the memory 5. The readout control code is supplied to the code detecting circuit 11 and until the head address of the title is detected, the count value of the counter 15 changes. On the other hand, even in the case of selecting another title, in a manner similar to the above, for instance, for the vertical blanking period of time, the values of five bits of the lower addresses are fixed to "0", the values of the upper addresses are increased or decreased, the control codes are read out, and the values of the upper addresses change until the head address of a desired title is detected. According to the embodiment, since the control codes have been superimposed at a period of 2 n addresses, the circuit scale to search the title can be reduced. The invention is suitable for an apparatus to superimpose a plurality of titles. According to the invention, since a plurality of titles having different shapes and sizes can be efficiently stored into the memory of a predetermined capacity, a video camera suitable to superimpose a number of titles can be realized.

Claims: An apparatus for superimposing a second video signal which was read out of a memory upon a first video signal which was obtained by photographing an object, comprising: (a) a memory (5) in which at least two video signals to be superimposed have been stored and predetermined control codes have been stored between the video signals; (b) a code detecting circuit (11) for receiving the readout signal from the memory (5) and detecting the control codes; and (c) a memory control circuit (4) for controlling read addresses in the memory (5) in a manner such that upon superimposing, the video signals stored in the memory (5) are sequentially read out, and when the control code is detected by the code detecting circuit (11), the read out of the memory is stopped. An apparatus for superimposing a second video signal which was read out of a memory upon a first video signal which was photographed, comprising: (a) a memory (5) in which at least two video signals to be superimposed have been stored and predetermined control codes have been stored every 2 n (the nth power of 2) addresses, where n is a positive integer; (b) a code detecting circuit (11) for receiving the readout signals from the memory (5) and for detecting the control codes; (c) a first memory address generating circuit (16) for generating lower n bits in the address signal in the memory (5); (d) a second memory address generating circuit (15) for generating addresses of upper bits other than the lower n bits which are generated from the first memory address generating circuit in the address signal in the memory (5); and (e) a memory address control circuit (14) for controlling the first and second memory address generating circuit (16, 15) in a manner such that upon superimposing, the video signals stored in the memory (5) are sequentially read out, and in the case of selecting the video signal to be superimposed, values of the lower address signals of n bits as outputs of the first memory address generating circuit (16) are fixed, and further, upper address values as outputs of the second memory address generating circuit (15) are changed, thereby continuously reading out only the control codes stored every 2 n (the nth power of 2) addresses and selecting a desired video signal.

Inventors: AIZAWA IWAO TOTSUKA HAIRAIZU, HORIUCHI TADASU, AIZAWA, IWAO TOTSUKA HAIRAIZU 1037, HORIUCHI, TADASU
Applicants: HITACHI LTD, HITACHI, LTD.
Application year: 1991
Main classification: H04N5
IPC codes: G09G1, H04N5, G09G5