USRE42994E1 - Method for replacing parts of a digitally coded picture, and device for carrying out the method - Google Patents

Method for replacing parts of a digitally coded picture, and device for carrying out the method Download PDF

Info

Publication number
USRE42994E1
USRE42994E1 US10/367,303 US36730303A USRE42994E US RE42994 E1 USRE42994 E1 US RE42994E1 US 36730303 A US36730303 A US 36730303A US RE42994 E USRE42994 E US RE42994E
Authority
US
United States
Prior art keywords
picture
run length
sub
line
coded
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Lifetime
Application number
US10/367,303
Inventor
Marco Winter
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Thomson Licensing SAS
Thomson Licensing LLC
Original Assignee
Thomson Licensing SAS
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 Thomson Licensing SAS filed Critical Thomson Licensing SAS
Priority to US10/367,303 priority Critical patent/USRE42994E1/en
Assigned to THOMSON LICENSING LLC reassignment THOMSON LICENSING LLC ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: DEUTSCHE THOMSON-BRANDT GMBH
Assigned to DEUTSCHE THOMSON-BRANDT GMBH reassignment DEUTSCHE THOMSON-BRANDT GMBH ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: WINTER, MARCO
Application granted granted Critical
Publication of USRE42994E1 publication Critical patent/USRE42994E1/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/445Receiver circuitry for the reception of television signals according to analogue transmission standards for displaying additional information
    • H04N5/45Picture in picture, e.g. displaying simultaneously another television channel in a region of the screen
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/005Statistical coding, e.g. Huffman, run length coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window

Definitions

  • the invention relates to a method for replacing parts of a digitally coded picture and to a device for carrying out the method for replacing parts of a digitally coded picture, in particular a video picture.
  • the invention is based on a method for replacing parts of a digitally coded picture.
  • sub-picture decoding devices in film playback devices, for example a DVD playback device, for displaying e.g. subtitles on the screen of a television set.
  • DVD playback devices of this type are currently commercially available and contain the abovementioned sub-picture decoding devices.
  • the DVD standard (Version 1.0) provides a number of explanations concerning such sub-picture decoding devices, which are designated as sub-picture decoders therein. All of the sub-pictures to be displayed are stored in a special format. In this case, the data of the individual pixels are stored in compressed form in a so-called sub-picture unit (SPU).
  • SPU sub-picture unit
  • the object of the invention is to specify a method for replacing parts of a digitally coded picture which enables specific replacements to be made even in the compressed pixel data of the previously described sub-pictures, with the result that the majority of the pixel data can remain unchanged and it is not necessary to provide a completely new sub-picture unit in the memory.
  • the method according to the invention has the advantage over the method known from the prior art that sub-picture units having compressed pixel data can be altered at least in parts, with the result that changes to the sub-picture can be effected without the necessity of providing a completely new sub-picture unit in a memory e.g. of a film playback device. Furthermore, it becomes possible for additional pixel data easily to be attached to the replaceable part of the sub-picture, or be inserted, without completely new coding of the pixels of the picture being necessary.
  • each picture is divided into two fields that are interleaved in one another. This is also taken into account in the production of sub-picture units according to the DVD standard.
  • a sub-picture is likewise divided into two fields.
  • the pixel data (PXD) of the lines of each field are stored in separate memory areas.
  • PXD pixel data
  • it is very advantageous for the method for replacing parts of the digitally coded picture if the field which is currently being decoded and displayed is signalled and a replacement of parts of the lines of the picture is allowed only in that field which is currently not being decoded and displayed. Memory access conflicts and incorrect displays are thereby prevented from the outset.
  • FIG. 1 shows the display of a sub-picture on the screen of a television receiver
  • FIG. 2 shows the storage format of a sub-picture unit
  • FIG. 3 shows a diagrammatic illustration of the rules for run length coding of the pixel data of a line of a sub-picture
  • FIG. 4 shows 4 examples of run length coding employed in picture parts to be replaced
  • FIG. 5 shows a diagrammatic illustration of a replacement of a sub-area of the compressed pixel data of a sub-picture
  • FIG. 6 shows a rough block diagram of the device according to the invention.
  • FIG. 7 shows a flow diagram for a program for controlling the device according to the invention.
  • FIG. 1 A television receiver having a sub-picture decoding device for displaying or inserting sub-pictures on the screen of the television receiver.
  • a television receiver is illustrated in FIG. 1 and designated by the reference symbol 10 .
  • a main picture showing a mountain landscape is displayed on the screen of the television receiver.
  • a sub-picture, which is provided with the reference symbol 11 is additionally displayed in the top right corner on the screen of the television receiver.
  • This sub-picture 11 serves to display the current programme location number.
  • the first programme location is illustrated. In the event of a switch-over to a different channel, the associated programme location would be displayed as sub-picture 11 .
  • the sub-picture 11 is displayed with the aid of a sub-picture decoding device, which is explained in more detail below.
  • This sub-picture decoding device largely corresponds to a sub-picture decoding device as disclosed in the DVD standard (Version 1.0). In this regard, therefore, reference is made to this standard in supplementary fashion.
  • FIG. 2 gives a rough illustration of the data format of a so-called sub-picture unit (SPU).
  • the reference number 20 designates a data field for a header (SPUH) of the sub-picture unit.
  • the reference number 21 designates a data field for the compressed pixel data of a first field of the sub-picture (PXDTF), and the reference number 22 correspondingly designates a data field for the compressed pixel data (PXDBF) of the second field of the sub-picture.
  • PXDTF first field of the sub-picture
  • PXDBF compressed pixel data
  • the reference number 23 designates a data field for a display control sequence table (SP_DCSQT). So-called display control command sequences (SP_DCSQ) are stored in the data field 23 .
  • the individual display control commands will not be discussed in detail in this patent application because they are individually explained with a high degree of accuracy in the DVD standard (Version 1.0) and these display control command sequences have no further involvement in
  • run length coding is carried out for this purpose. This run length coding method is explained in more detail below with reference to FIG. 3 .
  • the run length coding operates such that a respective line of a field of the sub-picture to be displayed is run length-coded.
  • the first rule for run length coding is as follows:
  • the second rule for run length coding reads as follows:
  • the third rule for run length coding reads as follows:
  • the fourth rule for run length coding reads as follows:
  • the fifth rule for run length coding reads as follows:
  • the sixth rule for run length coding reads as follows:
  • the invention is intended to enable replacement of individual picture areas of the sub-picture by other picture patterns.
  • a modified form of the run length coding is employed.
  • the run length coding method according to the invention likewise complies with the above-described rules of run length coding, but the freedom of permitting in some instances non-optimized run length codes for exchangeable picture areas is utilized. This results in run length codes having a defined length for the picture areas to be exchanged, which can then be exchanged more easily. This procedure is explained in more detail with reference to FIG. 4 .
  • run length coding is always effected such that the resulting run length coding words for each line have a number of 16 bits, so that two bytes of memory space are required therefor.
  • the replacement of parts of the compressed pixel data area is illustrated in more detail in FIG. 5 .
  • the assumption here is that the memory address at which the replaceable area starts is known for each line of the sub-picture unit.
  • the control unit which performs the replacement must therefore be programmed from the outset in such a way that it retrieves the replaceable parts in the memory.
  • the reference number 40 designates a first replaceable area.
  • the numbers illustrated correspond to the hexadecimal numbers which have been chosen for the run length coding of the writing character 0 in accordance with FIG. 4 .
  • the reference number 41 now corresponds to a second replaceable area.
  • the hexadecimal numbers for the representation of the writing character 1 in accordance with FIG. 4 are specified in this area.
  • the reference number 50 designates a sub-picture decoding device. This may be a commercially available sub-picture decoding device as described e.g. in the DVD standard (Version 1.0).
  • the reference number 51 designates a first memory device; this memory device is represented for example by a volatile memory (RAM).
  • the sub-picture units (SPU) which are to be decoded by the sub-picture decoding device 50 are stored in the said memory.
  • the memory device 51 may also be part of the sub-picture decoding device 50 ; it is then integrated in the sub-picture decoding device 50 .
  • the reference number 52 designates a control unit. This may be a commercially available microcomputer, for example.
  • the control unit 52 serves to perform the replacement of parts of a sub-picture, as described above. For this purpose, it accesses the first memory unit 51 via the data/address/control bus 55 . The method of operation of the control unit 52 will be explained in even more detail below.
  • the reference number 53 designates a second memory device. Stored therein is a table which, for all possible printable writing characters, has the associated hexadecimal numbers for the run length-coded pixel data. The corresponding hexadecimal numbers for various writing characters were portrayed in FIG. 4 .
  • the memory device 53 can be designed for example as a non-volatile memory (EPROM). All of the components 50 - 53 are connected to one another via the data/address/control bus 55 .
  • EPROM non-volatile memory
  • the reference symbol 54 designates a keypad unit. Only the keys for the 10 numbers 0-9 are illustrated. It is possible, of course, to provide still further keys on the keypad device.
  • the keypad device 54 is connected to the control unit 52 via a data bus 56 .
  • the reference symbol 57 designates input lines which lead to the sub-picture decoding device 50 , on the one hand, and to the control unit 52 , on the other hand.
  • a field sync signal is transmitted via these input lines. Using this signal, the connected units identify which field is currently activated and consequently being displayed on the screen of the television receiver.
  • the method of operation of the control unit 52 is explained in more detail below with reference to the flow diagram in FIG. 7 .
  • the flow diagram serves the purpose of replacement of a sub-area of a sub-picture unit which is located in the first memory device 51 .
  • the reference number 60 designates the program start.
  • interrogation 61 the control unit 52 checks whether one of the numbers on the keypad device 54 has been pressed for a new programme location selection for the television set. If not, the program waits until such a switch-over operation is identified.
  • the interrogation 61 may also be designed as an interrupt.
  • step 62 selection of the associated hexadecimal numbers for the respective number to be replaced ensues in a manner corresponding to the new programme location.
  • the hexadecimal numbers for the first field are accepted into the control unit 52 .
  • interrogation 63 an interrogation is carried out in which a check is made to see whether the signal bit BF in the memory location 49 in the flag register 58 of the control unit 52 is set due to the arrival of the corresponding field sync signal via the input line 57 . If that is not the case, then the program continues to wait for the setting of this signal bit. As soon as the signal bit for the second field is set, the program moves on to program step 64 .
  • the replacement of the hexadecimal numbers for the new programme location selection then takes place in program step 64 .
  • the control unit 52 accesses the first memory device 51 .
  • the control unit 52 is programmed in such a way that it replaces exactly the correct memory locations with the values which have been taken from the table in the second memory device 53 .
  • the control unit 52 accepts the associated hexadecimal numbers for the second field from the table in the second memory device 53 .
  • interrogation 66 a check is made to see whether the signal bit TF in memory location 59 of the flag register 58 for the first field is already set. The program waits in a loop until this signal bit TF is set.
  • the replacement of the corresponding hexadecimal numbers in the first memory device 51 takes place as the next program step 67 .
  • the control unit 52 again accesses the memory.
  • the control unit 52 is again programmed automatically in such a way that the correct hexadecimal values are replaced.
  • the programme is then ended in program step 68 .
  • the replacement of data in the pixel data area therefore always takes place precisely in the inactive field, thereby reliably avoiding access conflict to the memory and/or a mixed display of writing characters on the screen.
  • the method described here is suitable for exchanging parts of a sub-picture to be displayed within the compressed pixel data area.
  • the field of application of the sub-picture decoding device is extended.
  • the sub-picture decoding device can then also be used for example for display menus which simplify operation of the corresponding device.
  • Such display menus are also referred to as on-screen displays.
  • the replacement of individual writing characters by the operator is possible in a simple manner.
  • the insertion of individual text characters also becomes possible because the insertion positions in the compressed pixel data can easily be recognized on account of the special run length coding employed here.
  • a complicated image processing unit with a frame store can consequently be dispensed with.
  • the area to be exchanged does not necessarily have to have the shape of a rectangle. It is also possible to exchange any desired other shape, formed by pixels. However, for each line it is then necessary always to produce a fixed number of data bytes for the run length code in order that exchange becomes possible.
  • the most complicated writing character which is also intended to be authorized to replace other writing characters, ultimately determines how many data bytes have to be allocated in each case for the run length code. This then governs how the individual lines of all the writing characters are to be coded.
  • the method can also be used when overlapping pixel data areas (PXD) are permitted e.g. for scrolling. However, it must then be ensured that the respective pixel data areas to be altered do not belong to the overlapping areas.
  • PXD overlapping pixel data areas
  • replaceable area does not necessarily have to be a writing character.
  • Graphics characters or other graphical elements of a picture can also be exchanged in the same way.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Image Processing (AREA)

Abstract

A method for replacing parts of a digitally coded picture (11) is proposed. The digitally coded picture (11) may correspond to a sub-picture which is displayed on the screen of a television set (10). In the method, each line of the picture (11) is run length-coded. The replaceable parts of a line of the picture are run length-coded separately. The part which replaces the replaceable, original part of a line of the picture (11) is run length-coded in such a way that it has the same number of data units (data bytes) as the original part of this line of the picture (11). The replacement of the data for the run length coding words is carried out in a memory device (51). The replacement is possible in a simple manner by virtue of the fact that the original part of a line of the picture and the new part of the line of the picture have the same number of data units. Moreover, a device for carrying out the method is also proposed.

Description

The invention relates to a method for replacing parts of a digitally coded picture and to a device for carrying out the method for replacing parts of a digitally coded picture, in particular a video picture.
PRIOR ART
The invention is based on a method for replacing parts of a digitally coded picture. In video technology, it is known to provide so-called sub-picture decoding devices in film playback devices, for example a DVD playback device, for displaying e.g. subtitles on the screen of a television set. DVD playback devices of this type are currently commercially available and contain the abovementioned sub-picture decoding devices. The DVD standard (Version 1.0) provides a number of explanations concerning such sub-picture decoding devices, which are designated as sub-picture decoders therein. All of the sub-pictures to be displayed are stored in a special format. In this case, the data of the individual pixels are stored in compressed form in a so-called sub-picture unit (SPU).
INVENTION
A possible way of changing the stored pixel data (PXD) in order to produce an altered sub-picture is not provided in the standard already mentioned. This gives rise to the problem that if frequent changing of the sub-pictures is necessary for certain applications, all of the possible sub-pictures have to be stored individually in the memory, even if they differ only slightly from one another. This leads to an increased memory outlay for the sub-pictures.
The object of the invention, therefore, is to specify a method for replacing parts of a digitally coded picture which enables specific replacements to be made even in the compressed pixel data of the previously described sub-pictures, with the result that the majority of the pixel data can remain unchanged and it is not necessary to provide a completely new sub-picture unit in the memory.
The method according to the invention has the advantage over the method known from the prior art that sub-picture units having compressed pixel data can be altered at least in parts, with the result that changes to the sub-picture can be effected without the necessity of providing a completely new sub-picture unit in a memory e.g. of a film playback device. Furthermore, it becomes possible for additional pixel data easily to be attached to the replaceable part of the sub-picture, or be inserted, without completely new coding of the pixels of the picture being necessary.
Today's customary television standards such as NTSC and PAL employ the known line interlacing method. In this case, each picture is divided into two fields that are interleaved in one another. This is also taken into account in the production of sub-picture units according to the DVD standard. A sub-picture is likewise divided into two fields. The pixel data (PXD) of the lines of each field are stored in separate memory areas. In this case, it is very advantageous for the method for replacing parts of the digitally coded picture if the field which is currently being decoded and displayed is signalled and a replacement of parts of the lines of the picture is allowed only in that field which is currently not being decoded and displayed. Memory access conflicts and incorrect displays are thereby prevented from the outset.
Advantageous measures for a device for replacing parts of a digitally coded picture are specified.
DRAWINGS
Exemplary embodiments of the invention are illustrated in the drawings and are explained in more detail in the following description.
In the figures:
FIG. 1 shows the display of a sub-picture on the screen of a television receiver;
FIG. 2 shows the storage format of a sub-picture unit;
FIG. 3 shows a diagrammatic illustration of the rules for run length coding of the pixel data of a line of a sub-picture;
FIG. 4 shows 4 examples of run length coding employed in picture parts to be replaced;
FIG. 5 shows a diagrammatic illustration of a replacement of a sub-area of the compressed pixel data of a sub-picture;
FIG. 6 shows a rough block diagram of the device according to the invention, and
FIG. 7 shows a flow diagram for a program for controlling the device according to the invention.
DESCRIPTION OF THE INVENTION
The invention is described using the example of a television receiver having a sub-picture decoding device for displaying or inserting sub-pictures on the screen of the television receiver. Such a television receiver is illustrated in FIG. 1 and designated by the reference symbol 10. A main picture showing a mountain landscape is displayed on the screen of the television receiver. A sub-picture, which is provided with the reference symbol 11, is additionally displayed in the top right corner on the screen of the television receiver. This sub-picture 11 serves to display the current programme location number. The first programme location is illustrated. In the event of a switch-over to a different channel, the associated programme location would be displayed as sub-picture 11.
The sub-picture 11 is displayed with the aid of a sub-picture decoding device, which is explained in more detail below. This sub-picture decoding device largely corresponds to a sub-picture decoding device as disclosed in the DVD standard (Version 1.0). In this regard, therefore, reference is made to this standard in supplementary fashion.
FIG. 2 gives a rough illustration of the data format of a so-called sub-picture unit (SPU). The reference number 20 designates a data field for a header (SPUH) of the sub-picture unit. The reference number 21 designates a data field for the compressed pixel data of a first field of the sub-picture (PXDTF), and the reference number 22 correspondingly designates a data field for the compressed pixel data (PXDBF) of the second field of the sub-picture. Finally, the reference number 23 designates a data field for a display control sequence table (SP_DCSQT). So-called display control command sequences (SP_DCSQ) are stored in the data field 23. The individual display control commands will not be discussed in detail in this patent application because they are individually explained with a high degree of accuracy in the DVD standard (Version 1.0) and these display control command sequences have no further involvement in the following text.
The pixel data in the data fields 21 and 22 determine the displayed pattern of the sub-picture. For each pixel of a line of the sub-picture, a data word two bits wide in this case specifies whether the pixel is a background pixel or a foreground pixel or whether the pixel is to be highlighted in a first manner or in a second manner. These four distinctions can be made using the two bits. Specifically, these binary values denote: 00=background pixel, 01=foreground pixel, 10=pixel displayed with highlighting 1, and 11=pixel displayed with highlighting 2.
It must be taken into account, however, that the individual pixel data are not stored in this pure form in the memory, but rather in compressed form. So-called run length coding is carried out for this purpose. This run length coding method is explained in more detail below with reference to FIG. 3.
Seven coding rules are stipulated for run length coding in the DVD standard described. The run length coding operates such that a respective line of a field of the sub-picture to be displayed is run length-coded. The first rule for run length coding is as follows:
  • 1. If one to three pixels having the same data word follow one another in the line, then the number of pixels is entered in the first two bits of the first run length coding word and the pixel data word is entered in the succeeding two bits. Four bits are then regarded as a unit. This is illustrated in the top part of FIG. 3. The reference number 30 designates the data field for the number of pixels, which data field has a storage space for two bits. The reference number 31, on the other hand, designates the data field for the type of pixels, that is to say the data word of the pixels. This data field likewise has a length of two bits.
The second rule for run length coding reads as follows:
  • 2. If 4 to 15 pixels having the same data word follow one another, then a 0 is entered in the first two bits of a run length word, and the number of pixels is entered in the next four bits, and the type of pixels is again entered in the last two bits. This results in a run length coding word having a length of 8 bits corresponding to the second part of FIG. 3.
The third rule for run length coding reads as follows:
  • 3. If 16 to 63 pixels having the same value follow one another, then a 0 is entered in the first four bits of the run length coding word and the number of pixels is entered in the next six bits that follow. The type of pixels is again entered in the last two bits. This produces a run length coding word having a length of 12 bits. This is illustrated in the middle part of FIG. 3.
The fourth rule for run length coding reads as follows:
  • 4. If 64 to 255 pixels having the same value follow one another, then a 0 is entered in the first six bits of the run length coding word, and the number of pixels is entered in the following eight bit positions, and the type of pixels is entered in the next two bits. This produces a run length coding word having a width of 16 bits, which is illustrated at the penultimate position in FIG. 3.
The fifth rule for run length coding reads as follows:
  • 5. If the same type of pixels runs right to the end of the line, then a 0 is entered in the first 14 bit positions and the type of following pixels is entered in the last two bit positions. This again produces a run length coding word having a width of 16 bits, which is regarded as a unit. This word is illustrated in the last part of FIG. 3.
The sixth rule for run length coding reads as follows:
  • 6. If, on the basis of the run length coding, no integral byte division of the run length coding words is possible for the entire line, then, at the end of the line, four 0's are entered in the last bit positions.
The following is also used as the last rule for run length coding:
  • 7. The quantity of run length-coded data within a line shall correspond to 1440 bits or less.
Given simple picture contents, a large degree of compression is achieved by the run length coding. On the other hand, however, it has the effect that the defined positions of specific pixels in the picture can no longer be identified as easily in the associated data field 21 or 22 of the picture on account of the run length coding words having different lengths, which words can apply to different numbers of pixels.
The invention is intended to enable replacement of individual picture areas of the sub-picture by other picture patterns. In order to achieve this, a modified form of the run length coding is employed. The run length coding method according to the invention likewise complies with the above-described rules of run length coding, but the freedom of permitting in some instances non-optimized run length codes for exchangeable picture areas is utilized. This results in run length codes having a defined length for the picture areas to be exchanged, which can then be exchanged more easily. This procedure is explained in more detail with reference to FIG. 4.
In the case of the examples in FIG. 4, it is assumed that all of the exchangeable parts are printable characters which can be represented by the illustrated matrix of 6×7 pixels. What is involved, then, is a rectangular picture area that is to be exchanged. The printable characters 0, 1, 2, H are illustrated by way of example. Asterisks represent respective pixels that are to be coded as a foreground pixel, and dots represent the background pixels. The form in which the run length coding is to be carried out for each line of the printable characters is in each case specified on the right next to the respective line. The resulting data bytes for the run length code are then in each case specified in hexadecimal notation at the right-hand edge of the figure. It is clearly evident in the examples that two data bytes for the run length code are produced for each line of the respective writing character. This is independent of the respective content of the line. The fourth line with the printable character H is considered as an example. Instead of the optimized run length coding word 19H in hexadecimal notation corresponding to the fact that six foreground pixels follow one another, the run length coding is effected as if a foreground pixel followed a nearest foreground pixel. This is in turn followed by a further foreground pixel and the latter in turn by three further foreground pixels. As a result, the two hexadecimal data words 55H and 5DH are then produced. In other words, two data bytes are again produced for this line, as in the remaining lines, too. The abbreviation 1×PP denotes that one foreground pixel follows; correspondingly PP=Pattern Pixel. The abbreviation 4×BP stands for four successive background pixels; correspondingly BP=Background Pixel.
The further examples are illustrated in a self-explanatory manner in FIG. 4 and do not need to be individually explained in more detail here. What is essential is that run length coding is always effected such that the resulting run length coding words for each line have a number of 16 bits, so that two bytes of memory space are required therefor.
The replacement of parts of the compressed pixel data area is illustrated in more detail in FIG. 5. The assumption here is that the memory address at which the replaceable area starts is known for each line of the sub-picture unit. The control unit which performs the replacement must therefore be programmed from the outset in such a way that it retrieves the replaceable parts in the memory. In FIG. 5, the reference number 40 designates a first replaceable area. The numbers illustrated correspond to the hexadecimal numbers which have been chosen for the run length coding of the writing character 0 in accordance with FIG. 4. The reference number 41 now corresponds to a second replaceable area. The hexadecimal numbers for the representation of the writing character 1 in accordance with FIG. 4 are specified in this area. These numbers can now be replaced, as illustrated in the lower part of FIG. 5, for example by the numbers which represent the writing character 2. The further hexadecimal numbers illustrated specify run length codes for the representation of the edge areas of the sub-picture. The associated run length codes must in this case be chosen in such a way that each time a number of data bytes is produced such that a distinct boundary with respect to the exchangeable areas is produced.
The device which performs the replacement is explained below with reference to FIG. 6. In FIG. 6, the reference number 50 designates a sub-picture decoding device. This may be a commercially available sub-picture decoding device as described e.g. in the DVD standard (Version 1.0). The reference number 51 designates a first memory device; this memory device is represented for example by a volatile memory (RAM). The sub-picture units (SPU) which are to be decoded by the sub-picture decoding device 50 are stored in the said memory. The memory device 51 may also be part of the sub-picture decoding device 50; it is then integrated in the sub-picture decoding device 50. In the present case, however, this memory device is provided as an external component to the said sub-picture decoding device. The reference number 52 designates a control unit. This may be a commercially available microcomputer, for example. The control unit 52 serves to perform the replacement of parts of a sub-picture, as described above. For this purpose, it accesses the first memory unit 51 via the data/address/control bus 55. The method of operation of the control unit 52 will be explained in even more detail below. The reference number 53 designates a second memory device. Stored therein is a table which, for all possible printable writing characters, has the associated hexadecimal numbers for the run length-coded pixel data. The corresponding hexadecimal numbers for various writing characters were portrayed in FIG. 4. These associated hexadecimal numbers are located in the table of the memory device 53. The memory device 53 can be designed for example as a non-volatile memory (EPROM). All of the components 50-53 are connected to one another via the data/address/control bus 55.
The reference symbol 54 designates a keypad unit. Only the keys for the 10 numbers 0-9 are illustrated. It is possible, of course, to provide still further keys on the keypad device. The keypad device 54 is connected to the control unit 52 via a data bus 56.
The reference symbol 57 designates input lines which lead to the sub-picture decoding device 50, on the one hand, and to the control unit 52, on the other hand. A field sync signal is transmitted via these input lines. Using this signal, the connected units identify which field is currently activated and consequently being displayed on the screen of the television receiver.
The method of operation of the control unit 52 is explained in more detail below with reference to the flow diagram in FIG. 7. The flow diagram serves the purpose of replacement of a sub-area of a sub-picture unit which is located in the first memory device 51. The reference number 60 designates the program start. In interrogation 61, the control unit 52 checks whether one of the numbers on the keypad device 54 has been pressed for a new programme location selection for the television set. If not, the program waits until such a switch-over operation is identified. As an alternative, the interrogation 61 may also be designed as an interrupt. If a new programme location selection has been identified, then in program step 62 selection of the associated hexadecimal numbers for the respective number to be replaced ensues in a manner corresponding to the new programme location. First of all, the hexadecimal numbers for the first field are accepted into the control unit 52. Then, in interrogation 63, an interrogation is carried out in which a check is made to see whether the signal bit BF in the memory location 49 in the flag register 58 of the control unit 52 is set due to the arrival of the corresponding field sync signal via the input line 57. If that is not the case, then the program continues to wait for the setting of this signal bit. As soon as the signal bit for the second field is set, the program moves on to program step 64. The replacement of the hexadecimal numbers for the new programme location selection then takes place in program step 64. For this purpose, the control unit 52 accesses the first memory device 51. In this case, the control unit 52 is programmed in such a way that it replaces exactly the correct memory locations with the values which have been taken from the table in the second memory device 53. Afterwards, in program step 65, the control unit 52 accepts the associated hexadecimal numbers for the second field from the table in the second memory device 53. Subsequently, in interrogation 66, a check is made to see whether the signal bit TF in memory location 59 of the flag register 58 for the first field is already set. The program waits in a loop until this signal bit TF is set. If this signal bit TF has been set on account of the field sync signal, then the replacement of the corresponding hexadecimal numbers in the first memory device 51 takes place as the next program step 67. For this purpose, the control unit 52 again accesses the memory. On the basis of the knowledge as to which sub picture unit is being processed by the sub-picture decoding device 50, the control unit 52 is again programmed automatically in such a way that the correct hexadecimal values are replaced. The programme is then ended in program step 68. The replacement of data in the pixel data area therefore always takes place precisely in the inactive field, thereby reliably avoiding access conflict to the memory and/or a mixed display of writing characters on the screen.
The method described here is suitable for exchanging parts of a sub-picture to be displayed within the compressed pixel data area. As a result, the field of application of the sub-picture decoding device is extended. Specifically, the sub-picture decoding device can then also be used for example for display menus which simplify operation of the corresponding device. Such display menus are also referred to as on-screen displays. The replacement of individual writing characters by the operator is possible in a simple manner. The insertion of individual text characters also becomes possible because the insertion positions in the compressed pixel data can easily be recognized on account of the special run length coding employed here. A complicated image processing unit with a frame store can consequently be dispensed with.
A variety of modifications of the exemplary embodiments described here are possible and should also be regarded as being within the scope of the invention. Thus, for example, the area to be exchanged does not necessarily have to have the shape of a rectangle. It is also possible to exchange any desired other shape, formed by pixels. However, for each line it is then necessary always to produce a fixed number of data bytes for the run length code in order that exchange becomes possible. The most complicated writing character, which is also intended to be authorized to replace other writing characters, ultimately determines how many data bytes have to be allocated in each case for the run length code. This then governs how the individual lines of all the writing characters are to be coded. The method can also be used when overlapping pixel data areas (PXD) are permitted e.g. for scrolling. However, it must then be ensured that the respective pixel data areas to be altered do not belong to the overlapping areas.
Of course, the replaceable area does not necessarily have to be a writing character. Graphics characters or other graphical elements of a picture can also be exchanged in the same way.

Claims (14)

1. Method for replacing parts of a digitally coded picture, the method comprising the following steps:
a) run length-coding each line of the picture wherein each replaceable part of a line of the picture is run length-coded separately;
b) run length-coding the part which replaces the replaceable, original part of the line of the picture such that the associated run length coding words take up the same number of data units as the run length coding words of the original part of this line of the picture; and
c) replacing the data for the run length coding words in a memory device.
2. Method according to claim 1, wherein the digitally coded picture is a sub-picture and further comprising the step of displaying the digitally coded picture on the screen of a display device.
3. Method according to claim 2, further comprising the step of holding the digitally coded picture in the form of two fields, interleaved in one another, each having half the number of lines in the memory device.
4. Method according to claim 3, further comprising the steps of signaling the field which is being respectively decoded, and allowing replacement of parts of the lines only in that field which is currently not being decoded.
5. Method according to claim 1, further comprising the step of holding the digitally coded picture in the form of two fields, interleaved in one another, each having half the number of lines in the memory device.
6. Method according to claim 5, further comprising the steps of signaling the field which is being respectively decoded, and allowing replacement of parts of the lines only in that field which is currently not being decoded.
7. Device for replacing parts of a digitally coded picture, comprising:
a) a first memory device, in which run length coding words of lines of a picture can be stored, each replaceable part of a line of the picture being run length-coded separately,
b) a second memory device, in which the run length coding words of the correspondingly run length-coded parts of the lines of the picture for the replacement of the replaceable parts of the lines can be stored,
c) a control unit, which performs the replacement of the replaceable parts of the lines of the picture which are stored in the first memory device.
8. Device according to claim 7, in which the first memory device has separate memory areas for two fields of the picture which are interleaved in one another, and the second memory device has separate memory areas for the corresponding parts of the fields which are interleaved in one another.
9. Device according to claim 8, comprising a signaling device, which indicates which field of the picture (11) is currently being decoded.
10. Device according to claim 9, comprising control means, which prevent replacement of the replaceable parts of the lines of that field which is marked by the signaling device as being currently subjected to the decoding operation.
11. A machine readable storage device, in particular an optical disc, having recorded thereon a sub-picture unit for displaying sub-pictures when played back in a play back device, wherein the sub-picture unit includes the following:
a sub-picture unit header,
a pixel data field,
a display control sequence table,
wherein each line of the sub-picture is run length coded, and run length-coded pixel data is contained in the pixel data field, a sub-picture line is divided into a number of replaceable parts and the pixel data field contains a number of separately run-length-coded data fields for each replaceable part of the line.
12. The machine readable storage device according to claim 11, wherein each replaceable part of a line of the sub-picture is run length-coded separately to allow replacement of a replaceable part with run length coding words that take up the same number of data units as the run length coding words of the original part of this line of the sub-picture.
13. Method for digitally coding a picture, the method comprising the following steps:
dividing the lines of the picture into a number of replaceable parts,
run-length coding each line of the picture wherein each replaceable part of a line of the picture is run length-coded separately to allow replacement of the replaceable part with run length coding words that take up the same number of data units as the run length coding words of the original part of this line of the picture.
14. Method according to claim 13, wherein the picture is a sub-picture that can be displayed on a display device in addition to a main picture.
US10/367,303 1996-12-19 2003-02-14 Method for replacing parts of a digitally coded picture, and device for carrying out the method Expired - Lifetime USRE42994E1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US10/367,303 USRE42994E1 (en) 1996-12-19 2003-02-14 Method for replacing parts of a digitally coded picture, and device for carrying out the method

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
DE19653071 1996-12-19
DE19653071A DE19653071A1 (en) 1996-12-19 1996-12-19 Method for replacing parts of a digitally coded image and device for carrying out the method
US08/975,146 US6233021B1 (en) 1996-12-19 1997-11-20 Method for replacing parts of a digitally coded picture, and device for carrying out the method
US10/367,303 USRE42994E1 (en) 1996-12-19 2003-02-14 Method for replacing parts of a digitally coded picture, and device for carrying out the method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US08/975,146 Reissue US6233021B1 (en) 1996-12-19 1997-11-20 Method for replacing parts of a digitally coded picture, and device for carrying out the method

Publications (1)

Publication Number Publication Date
USRE42994E1 true USRE42994E1 (en) 2011-12-06

Family

ID=7815397

Family Applications (2)

Application Number Title Priority Date Filing Date
US08/975,146 Ceased US6233021B1 (en) 1996-12-19 1997-11-20 Method for replacing parts of a digitally coded picture, and device for carrying out the method
US10/367,303 Expired - Lifetime USRE42994E1 (en) 1996-12-19 2003-02-14 Method for replacing parts of a digitally coded picture, and device for carrying out the method

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US08/975,146 Ceased US6233021B1 (en) 1996-12-19 1997-11-20 Method for replacing parts of a digitally coded picture, and device for carrying out the method

Country Status (5)

Country Link
US (2) US6233021B1 (en)
EP (1) EP0849722B1 (en)
JP (1) JP3957845B2 (en)
CN (1) CN1160950C (en)
DE (2) DE19653071A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19855038A1 (en) * 1998-11-28 2000-05-31 Thomson Brandt Gmbh Method for image coding and decoding and method for constructing a partial image data unit for an electronic device and electronic device
DE19950490A1 (en) * 1999-10-20 2001-04-26 Thomson Brandt Gmbh Method for coding an image sequence and partial image data unit for use in an electronic device and data carrier
US6697124B2 (en) * 2001-03-30 2004-02-24 Koninklijke Philips Electronics N.V. Smart picture-in-picture
EP1418764A1 (en) * 2002-11-05 2004-05-12 STMicroelectronics S.A. Method and apparatus for transcoding sub-picture data, and video display system comprising such apparatus
CN1311677C (en) * 2004-03-12 2007-04-18 冯彦 Substitute method of role head of digital TV. program
CN103260067B (en) * 2013-05-15 2016-11-16 深圳国微技术有限公司 The processing method of a kind of view data and Conditional Access Module

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995035625A1 (en) 1994-06-17 1995-12-28 Thomson Consumer Electronics, Inc. On screen display arrangement for a digital video signal processing system
EP0725541A2 (en) 1995-02-03 1996-08-07 Kabushiki Kaisha Toshiba Image information encoding/decoding system
EP0734126A1 (en) 1995-03-23 1996-09-25 International Business Machines Corporation Two-stage compression with runlength encoding and lempel-ziv encoding
EP0741489A1 (en) 1992-11-26 1996-11-06 Mitsubishi Denki Kabushiki Kaisha Image encoding/decoding method
US6115529A (en) * 1996-06-29 2000-09-05 Samsung Electronics Co., Ltd. Sub-picture restoring method and apparatus in digital video disk system
US6144774A (en) * 1997-11-03 2000-11-07 Victor Company Of Japan, Ltd. Method and apparatus for compressing picture-representing data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0741489A1 (en) 1992-11-26 1996-11-06 Mitsubishi Denki Kabushiki Kaisha Image encoding/decoding method
WO1995035625A1 (en) 1994-06-17 1995-12-28 Thomson Consumer Electronics, Inc. On screen display arrangement for a digital video signal processing system
EP0725541A2 (en) 1995-02-03 1996-08-07 Kabushiki Kaisha Toshiba Image information encoding/decoding system
EP0734126A1 (en) 1995-03-23 1996-09-25 International Business Machines Corporation Two-stage compression with runlength encoding and lempel-ziv encoding
US6115529A (en) * 1996-06-29 2000-09-05 Samsung Electronics Co., Ltd. Sub-picture restoring method and apparatus in digital video disk system
US6144774A (en) * 1997-11-03 2000-11-07 Victor Company Of Japan, Ltd. Method and apparatus for compressing picture-representing data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
European Search Report dated Apr. 23, 1999.

Also Published As

Publication number Publication date
EP0849722B1 (en) 2008-08-06
EP0849722A2 (en) 1998-06-24
DE19653071A1 (en) 1998-06-25
CN1188372A (en) 1998-07-22
EP0849722A3 (en) 1999-06-16
JP3957845B2 (en) 2007-08-15
US6233021B1 (en) 2001-05-15
CN1160950C (en) 2004-08-04
DE69738882D1 (en) 2008-09-18
JPH10200861A (en) 1998-07-31

Similar Documents

Publication Publication Date Title
US7647620B2 (en) Subtitling transmission system
EP1079610B1 (en) Moving-picture processing method, and apparatus therefor
KR20050086692A (en) Method and apparatus for coding/decoding items of subtitling data
US6993249B1 (en) Coding method for picture sequence or sub-picture unit
EP1034655B1 (en) Apparatus for generating a digital video picture
USRE42994E1 (en) Method for replacing parts of a digitally coded picture, and device for carrying out the method
EP0961504B1 (en) Method and apparatus for the recording of video and/or audio signals
KR100413869B1 (en) Apparatus and method for generating on-screen-display messages using line doubling
KR100413870B1 (en) Apparatus and method for generating on-screen-display messages using field doubling
EP1004986B1 (en) Picture coding and decoding method
KR100434675B1 (en) Apparatus and method for generating on-screen-display messages using true color mode
KR20000049170A (en) Apparatus and method for generating on-screen-display messages using one-bit pixels
MXPA99003535A (en) Apparatus and method for generating on-screen-display messages using field doubling

Legal Events

Date Code Title Description
AS Assignment

Owner name: DEUTSCHE THOMSON-BRANDT GMBH, GERMANY

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:WINTER, MARCO;REEL/FRAME:027142/0204

Effective date: 19970926

Owner name: THOMSON LICENSING LLC, FRANCE

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:DEUTSCHE THOMSON-BRANDT GMBH;REEL/FRAME:027142/0284

Effective date: 20111028

FPAY Fee payment

Year of fee payment: 12