US20010041013A1 - Dynamic image encoding method and apparatus - Google Patents
Dynamic image encoding method and apparatus Download PDFInfo
- Publication number
- US20010041013A1 US20010041013A1 US09/127,610 US12761098D US2001041013A1 US 20010041013 A1 US20010041013 A1 US 20010041013A1 US 12761098 D US12761098 D US 12761098D US 2001041013 A1 US2001041013 A1 US 2001041013A1
- Authority
- US
- United States
- Prior art keywords
- precedent
- dynamic image
- image encoding
- screen
- frame memory
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/20—Analysis of motion
- G06T7/223—Analysis of motion using block-matching
- G06T7/238—Analysis of motion using block-matching using non-full search, e.g. three-step search
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10016—Video; Image sequence
Definitions
- the present invention relates to a dynamic image encoding method and an apparatus therefor, and in particular to a dynamic image encoding method and an apparatus therefor which apply a hierarchical motion vector detection method.
- a variety of motion vector detection methods have been proposed to simultaneously achieve both of the expansion of a motion vector detection area (range) and the reduction of the operation amount.
- One of the methods is the hierarchical motion vector detection method.
- the first stage (process) of the motion vector detection reduced screens are generated in each of a current picture and a reference picture for the motion vector detection and then motion vectors are detected between the reduced screens. Then, as the second stage detection between screens with normal resolution, the detection is executed by centering around the area which results from the first stage detection.
- each macro block (d) as a second stage detection unit a vector search for a second stage detection area (e) is executed to obtain a second vector (f). Both of the result vectors (c) and (f) at the first and the second stage are added to obtain a final result vector (g).
- FIG. 7 One example of such a motion vector detection process which is realized in the form of hardware is shown in FIG. 7, in which a preprocessor 1 which executes a wave shaping of an inputted picture data, a frame memory 3 utilizing an SDRAM which can also be a DRAM and make a high-speed access with a large capacity, a motion vector detection processor 4 , and an encoder 5 are mutually connected with a bus 10 .
- the motion vector detection processor 4 is composed of a current picture RAM 41 which stores a current picture data, a reference picture RAM 42 which stores a reference picture data, an arithmetic portion 43 which performs predetermined operations for the data stored in the RAM's 41 , 42 as local memories (cashes), and a determination portion (judging unit) 44 which determines or judge the vector resulting from of the operations to be sent to the encoder 5 .
- a vector search area serves as a parameter which controls the encoding characteristics of the encoder. For the achievement of the widest area search it is necessary to read the reference picture areas in the widest area from the frame memory 3 in the RAM 42 .
- a reduced screen has to be read from a frame memory in a local memory for the first stage process.
- a normal-sized picture some pixels are thinned out in the frame memory and read in the local memory.
- the frame memory is an SDRAM
- sequential address data of four or eight words are read out at a burst by only one readout command, so that reading out only the thinned-out pixels extremely worsens the memory access efficiency.
- FIG. 8 provides a filtering/thinning-out processor 2 for executing a space filtering and a pixel thinning out process between the RAM's 41 , 42 and the frame memory 3 .
- the normal-sized screen (a) in FIG. 6 is read in the RAM 42 by bypassing the filtering/thinning-out processor 2 .
- a process schedule of the hierarchical motion vector detection will be described in the following.
- the encoding process by the encoder 5 is executed for each macro block.
- the top rank of the screen is processed first and the following ranks are then processed to complete the bottom rank.
- the process is executed from left to right.
- vector values which are gained in the process units QMB 1 , QMB 2 , QMB 3 , and QMB 4 at the first stage are used for the second stage process of four ranked macro blocks in the first process unit QMB, and are then saved in the RAM's 41 , 42 . Subsequently, the first stage process of the next right area will be executed in the same manner.
- the second stage process is executed within this big macro block QMB 1 for four macro blocks MB 1 -MB 4 per a macro block unit MB.
- the following motion vector detection processes are executed in the order of the big macro block QMB 2 +macro blocks MB 5 -MB 8 , and so on.
- the problem is that the reference picture data at the first stage which is desired to be stored in the RAM's 41 , 42 are overwritten and extinguished with the data at the second stage process because the processes at the first and the second stage are required to be alternately done.
- the first stage process must be again executed despite of the same first stage process being not required to be done essentially because the big macro blocks QMB 1 , QMB 2 , QMB 3 , and QMB 4 have the same data.
- a dynamic image encoding method comprises the steps of; executing a precedent process sequentially for one rank of a reduced screen obtained by thinning out an input screen, storing a result of the precedent process in the frame memory; executing a subsequent process between input screens sequentially for macro blocks in the reduced screen having provided the result of the precedent process; and repeating the precedent and the subsequent process.
- a motion vector detection process is executed between reduced screens for which a filtering/thinning-out process is executed between normal-sized input screens, and then as a subsequent process (the second stage process), a motion vector detection process is executed between normal-sized screens in each macro block based on the result of the precedent process, whereby the hierarchical motion vector detection method is applied.
- the precedent process is sequentially executed for one rank of the reduced screen, and then the subsequent process is sequentially executed between the input screens for the macro blocks in the reduced screen from which the result of the precedent process is obtained.
- the precedent and the subsequent process are repeated.
- the filtering/thinning-out process of the input screen may be executed to store pixel data of the reduced screen in the frame memory so that the precedent process may be executed for the reduced screen.
- an encoding process may be executed in synchronization with the subsequent process. By generating and writing staff bits in a memory within a term of the precedent process the encoding process may be executed efficiently.
- the encoding process may be executed asynchronously between adjacent ones of the precedent process, which can extend the encoding process term and correspond to a change of the precedent process term.
- a dynamic image encoding apparatus comprises a motion vector detection processor in which a precedent process is executed sequentially for one rank of a reduced screen obtained by thinning out an input screen, and after storing a result of the precedent process in the frame memory, a subsequent process is executed between input screens sequentially for macro blocks in the reduced screen having provided the result of the precedent, and the precedent and the subsequent process are repeated.
- the input screen in parallel with storing the input screen in the frame memory, the input screen may be filtered and thinned out to store pixel data of the reduced screen in the frame memory so that the precedent process may be executed for the reduced screen.
- the apparatus may be provided with an encoder which executes an encoding process in synchronization with the subsequent process, and during the precedent process the encoder may generate and write staff bits in a memory.
- the apparatus may be provided with a buffer memory to execute the encoding process asynchronously between adjacent ones of the precedent process.
- FIG. 1 is a block diagram showing an arrangement ( 1 ) of an apparatus which executes a dynamic image encoding method according to the present invention
- FIG. 2 is a diagram showing a hierarchical motion vector detection process schedule according to the present invention.
- FIG. 3 is a time chart showing a dynamic image encoding process schedule ( 1 ) according to the present invention
- FIG. 4 is a block diagram showing an arrangement ( 2 ) of an apparatus which executes a dynamic image encoding method according to the present invention
- FIG. 5 is a time chart showing a dynamic image encoding process schedule ( 2 ) according to the present invention.
- FIG. 6 is a block diagram showing an outline of a hierarchical motion vector detection method as generally known
- FIG. 7 is a block diagram showing a general arrangement of a one chip video encoder
- FIG. 8 is a block diagram showing an arrangement of a conventional dynamic image encoding apparatus
- FIG. 9 is a block diagram explaining sequential readin areas of the first stage reference picture
- FIG. 10 is a diagram showing an encoding order of a macro block in one screen
- FIG. 11 is a block diagram illustrating process units on a screen of the first and the second stage process.
- FIG. 12 is a diagram showing a conventional hierarchical motion vector detection process schedule.
- FIG. 1 shows an arrangement of the apparatus for the execution of the dynamic image encoding method according to the present invention.
- the filtering/thinning-out processor 2 is not provided in the motion vector detection processor 4 but is connected between the output of the preprocessor 1 and the common bus 10 .
- the input image data is sent to the filtering/thinning-out processor 2 in which the filtering and the thinning-out process are executed. Then, the reduced screen data after the filtering and the thinning-out process are written in another area of the frame memory 3 which is different from the area where the input screen data of a normal size is stored.
- the hierarchical motion vector detection processor 4 reads current picture data and reference picture data from the reduced screen data preliminarily stored in the frame memory 3 in the RAM's 41 , 42 , respectively whereby the first stage detection process is executed as mentioned above with reference to the prior art.
- the reduced screen data can be mapped in sequential areas of the RAM's 41 , 42 , which enables an efficient memory access in the SDRAM frame memory 3 .
- a process schedule is devised in order to increase the efficiency of readin access of the reference screen data at the first stage process.
- the first stage process is executed sequentially for one rank, and the result is reserved in the local memory.
- the second stage process is sequentially executed.
- the encoder 5 may have a bad influence because the encoding term of each macro block corresponding to the second stage process is shortened.
- a dynamic image encoding method and an apparatus therefor is arranged so that a precedent process is executed sequentially for one rank of a reduced screen obtained after thinning out an input screen to memorize the result, and then the subsequent process is sequentially executed between the input screens for macro blocks of the reduced screen having provided the result of the precedent process so that the precedent and the subsequent process are repeated. Therefore, it becomes possible to improve the memory access efficiency of a real time encoder which applies to a hierarchical motion vector process method and to make the products more competitive.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Processing Or Creating Images (AREA)
- Image Processing (AREA)
- Memory System (AREA)
Abstract
A dynamic image encoding method and an apparatus therefor which apply to a hierarchical motion vector detection process using an SDRAM frame memory. A precedent process is executed sequentially for one rank of a reduced screen obtained after thinning out an input screen to memorize the result, and then a subsequent process is executed sequentially between the input screens for macro blocks of the reduced screen having provided the result of the precedent process so that the precedent and the subsequent process are repeated.
Description
- 1. Field of the Invention
- The present invention relates to a dynamic image encoding method and an apparatus therefor, and in particular to a dynamic image encoding method and an apparatus therefor which apply a hierarchical motion vector detection method.
- In accordance with a recent advance of a semiconductor technology, a main function of a dynamic image real time encoder which was formed of a plurality of semiconductor chips has been achieved by only a single chip. In the case where the encoder is realized in the form of hardware, a method of realizing a motion vector detection process which requires a huge amount of operation is an important point to determine cost performance.
- 2. Description of the Related Art
- A variety of motion vector detection methods have been proposed to simultaneously achieve both of the expansion of a motion vector detection area (range) and the reduction of the operation amount. One of the methods is the hierarchical motion vector detection method. In this method, as the first stage (process) of the motion vector detection, reduced screens are generated in each of a current picture and a reference picture for the motion vector detection and then motion vectors are detected between the reduced screens. Then, as the second stage detection between screens with normal resolution, the detection is executed by centering around the area which results from the first stage detection.
- This method will be described referring to FIG. 6. For instance, assuming that with respect to a first stage detection area (a) of an input dynamic image of a normal screen size be, the reduced screen of 16×16 pixels obtained at the thinned-out ratio ({fraction (1/16)}) of 1:4 in length to breadth be a process unit (b) of the first stage vector detection, a common offset vector (c) to 4×4=16 macro blocks (occasionally abbreviated as MB) is detected in the first stage vector detection.
- Then, by each macro block (d) as a second stage detection unit a vector search for a second stage detection area (e) is executed to obtain a second vector (f). Both of the result vectors (c) and (f) at the first and the second stage are added to obtain a final result vector (g).
- In this method, the detection accuracy is somewhat lower compared with that in a full search, while the operation amount which is required for the same area detection process is remarkably reduced.
- One example of such a motion vector detection process which is realized in the form of hardware is shown in FIG. 7, in which a
preprocessor 1 which executes a wave shaping of an inputted picture data, aframe memory 3 utilizing an SDRAM which can also be a DRAM and make a high-speed access with a large capacity, a motionvector detection processor 4, and anencoder 5 are mutually connected with abus 10. The motionvector detection processor 4 is composed of acurrent picture RAM 41 which stores a current picture data, areference picture RAM 42 which stores a reference picture data, anarithmetic portion 43 which performs predetermined operations for the data stored in the RAM's 41, 42 as local memories (cashes), and a determination portion (judging unit) 44 which determines or judge the vector resulting from of the operations to be sent to theencoder 5. - Namely, in each macro block, pixel data in rectangular areas of the current picture and the reference picture are read from the
frame memory 3 in the local memories which are the internalcurrent picture RAM 41 and thereference picture RAM 42. Then, thearithmetic portion 43 executes the motion vector detection process, and the motion vector thus obtained is determined at thedetermination portion 44 to be sent to theencoder 5 for the encoding operation. - A vector search area serves as a parameter which controls the encoding characteristics of the encoder. For the achievement of the widest area search it is necessary to read the reference picture areas in the widest area from the
frame memory 3 in theRAM 42. - However, a bandwidth of the frame memory3 (a data transfer performance) becomes a bottleneck, which limits the search area. Therefore, how efficiently screen data on the
frame memory 3 can be accessed is important to make the vector search area wider and products more competitive. - In an arrangement of a hierarchical motion vector detection process such as shown in FIG. 7, a reduced screen has to be read from a frame memory in a local memory for the first stage process. Conventionally, from a normal-sized picture some pixels are thinned out in the frame memory and read in the local memory.
- However, if the frame memory is an SDRAM, sequential address data of four or eight words are read out at a burst by only one readout command, so that reading out only the thinned-out pixels extremely worsens the memory access efficiency.
- Even with a normal DRAM, if a bus width of the frame memory is larger (e.g. 32 bits) than 8 bits of the pixel data which are required to be read in, pixel data which are not required to read in single pixel data are also read in at the same time, which also worsens the efficiency. Moreover, there is a problem that a vector detection accuracy at the first stage decreases only by thinning out the normal-sized image due to the occurrence of a folded distortion.
- To solve such a problem, an arrangement has been proposed, as shown in FIG. 8, which provides a filtering/thinning-out
processor 2 for executing a space filtering and a pixel thinning out process between the RAM's 41, 42 and theframe memory 3. - In this arrangement, when the reduced screen area (b) at the first stage detection in FIG. 6 is read in the RAM's41, 42, sequential areas are once read in the filtering/thinning-out
processor 2 from theframe memory 3, and then the pixels are thinned out while executing the filtering process. - At the following second stage detection, the normal-sized screen (a) in FIG. 6 is read in the
RAM 42 by bypassing the filtering/thinning-outprocessor 2. - However, in the arrangement of FIG. 8, for reading in the reduced screens at the first stage detection, it is necessary to read in pixel data of area much wider than the size of the original and the reference picture which are originally required. For instance, in order to arrange the reduced screen thinned out at the ratio of 1:4 in length to breadth, 16 times the data amount is required because the surrounding pixels are necessary for the filtering process.
- With this method, the problem of memory access efficiency is not only solved but also may be worsened.
- Also, assuming that the first stage detection process be executed on the reduced screen thinned out at the ratio of 1:4 in length to breadth, the process unit at the first stage (a big macro block abbreviated as QMB) be 16×16 pixels on the reduced screen (i.e. 4 MB×4 MB=16 MB area in the normal-sized screen), and the search area be 16×16 pixels on the reduced screen, the screen size to be read in as the reference screen will be three times, i.e. 48×48, as shown in FIG. 9.
- Namely, ⅔ of reference picture areas QMB3 and QMB4 read in the current picture areas QMB1 and QMB2 of adjacent big macro blocks are overlapped. Therefore, by storing only the overlapped areas in the RAM's 41, 42, only the remaining ⅓ area RR has to be read in separately.
- A process schedule of the hierarchical motion vector detection will be described in the following. The encoding process by the
encoder 5 is executed for each macro block. In the encoding order as shown in FIG. 10, the top rank of the screen is processed first and the following ranks are then processed to complete the bottom rank. In each rank the process is executed from left to right. - Accordingly, as shown in FIG. 11, vector values which are gained in the process units QMB1, QMB2, QMB3, and QMB4 at the first stage are used for the second stage process of four ranked macro blocks in the first process unit QMB, and are then saved in the RAM's 41, 42. Subsequently, the first stage process of the next right area will be executed in the same manner.
- Specifically, as shown in FIG. 12, after the first stage process for the big macro block QMB1, the second stage process is executed within this big macro block QMB1 for four macro blocks MB1-MB4 per a macro block unit MB. Thus, the following motion vector detection processes are executed in the order of the big macro block QMB2+macro blocks MB5-MB8, and so on.
- However, the problem is that the reference picture data at the first stage which is desired to be stored in the RAM's41, 42 are overwritten and extinguished with the data at the second stage process because the processes at the first and the second stage are required to be alternately done. Namely, when the macro blocks in the next rank shown in FIG. 11 are processed after the second stage process for one rank of macro blocks MB1-MB18 has been executed, the first stage process must be again executed despite of the same first stage process being not required to be done essentially because the big macro blocks QMB1, QMB2, QMB3, and QMB4 have the same data.
- Accordingly, every time the first stage process is executed all of the reference area data must be reread in, resulting in inefficient memory access. If the reference picture memories are provided separately for the first and the second stage process, the problem will be solved, which leads to an increase of a hardware scale and electric power consumption.
- Thus, in the prior art, if the hierarchical motion vector detection method is realized in the form of hardware which uses the SDRAM as a frame memory, there is a problem that the access bandwidth of the SDRAM cannot be used efficiently to read out the reduced screen. Also, because of the process schedule in which the first and the second stage process are alternately executed, it is necessary to reread the area data of the overlapped reference picture at the first stage process every time, resulting in inefficient memory access.
- It is accordingly an object of the present invention to provide a dynamic image encoding method and an apparatus therefor which apply to a hierarchical motion vector detection process using a frame memory in which the frame memory can be efficiently accessed.
- In order to achieve the above-mentioned object, a dynamic image encoding method according to the present invention comprises the steps of; executing a precedent process sequentially for one rank of a reduced screen obtained by thinning out an input screen, storing a result of the precedent process in the frame memory; executing a subsequent process between input screens sequentially for macro blocks in the reduced screen having provided the result of the precedent process; and repeating the precedent and the subsequent process.
- Namely, in the present invention, as a precedent process (the first stage process), a motion vector detection process is executed between reduced screens for which a filtering/thinning-out process is executed between normal-sized input screens, and then as a subsequent process (the second stage process), a motion vector detection process is executed between normal-sized screens in each macro block based on the result of the precedent process, whereby the hierarchical motion vector detection method is applied.
- On the assumption of such a hierarchical motion vector detection method, the precedent process is sequentially executed for one rank of the reduced screen, and then the subsequent process is sequentially executed between the input screens for the macro blocks in the reduced screen from which the result of the precedent process is obtained. Thus, the precedent and the subsequent process are repeated.
- In this way, at the precedent process, only for the reduced screen at the left end of the screen all of the areas of a reference picture screen are read from the frame memory (e.g. in a motion vector detection processor). Then, only a new area appeared after shifting has to be read in. By devising the schedule of the precedent and the subsequent process, it becomes possible to avoid rereading in the first stage overlapped area. As a result, the efficiency of the memory access improves.
- Also, in parallel with the process of storing the input screen in the frame memory, the filtering/thinning-out process of the input screen may be executed to store pixel data of the reduced screen in the frame memory so that the precedent process may be executed for the reduced screen.
- Namely, by arranging the reduced screen for which the filtering/thinning-out process is preliminarily executed on sequential addresses of the frame memory, access is made possible which takes advantage of a characteristic of a frame memory such as an SDRAM or DRAM.
- Also, an encoding process may be executed in synchronization with the subsequent process. By generating and writing staff bits in a memory within a term of the precedent process the encoding process may be executed efficiently.
- Moreover, the encoding process may be executed asynchronously between adjacent ones of the precedent process, which can extend the encoding process term and correspond to a change of the precedent process term.
- To achieve the above-mentioned dynamic image encoding method according to the present invention, a dynamic image encoding apparatus according to the present invention comprises a motion vector detection processor in which a precedent process is executed sequentially for one rank of a reduced screen obtained by thinning out an input screen, and after storing a result of the precedent process in the frame memory, a subsequent process is executed between input screens sequentially for macro blocks in the reduced screen having provided the result of the precedent, and the precedent and the subsequent process are repeated.
- In this apparatus, in parallel with storing the input screen in the frame memory, the input screen may be filtered and thinned out to store pixel data of the reduced screen in the frame memory so that the precedent process may be executed for the reduced screen.
- Also, the apparatus may be provided with an encoder which executes an encoding process in synchronization with the subsequent process, and during the precedent process the encoder may generate and write staff bits in a memory.
- Moreover, the apparatus may be provided with a buffer memory to execute the encoding process asynchronously between adjacent ones of the precedent process.
- FIG. 1 is a block diagram showing an arrangement (1) of an apparatus which executes a dynamic image encoding method according to the present invention;
- FIG. 2 is a diagram showing a hierarchical motion vector detection process schedule according to the present invention;
- FIG. 3 is a time chart showing a dynamic image encoding process schedule (1) according to the present invention;
- FIG. 4 is a block diagram showing an arrangement (2) of an apparatus which executes a dynamic image encoding method according to the present invention;
- FIG. 5 is a time chart showing a dynamic image encoding process schedule (2) according to the present invention;
- FIG. 6 is a block diagram showing an outline of a hierarchical motion vector detection method as generally known;
- FIG. 7 is a block diagram showing a general arrangement of a one chip video encoder;
- FIG. 8 is a block diagram showing an arrangement of a conventional dynamic image encoding apparatus;
- FIG. 9 is a block diagram explaining sequential readin areas of the first stage reference picture;
- FIG. 10 is a diagram showing an encoding order of a macro block in one screen;
- FIG. 11 is a block diagram illustrating process units on a screen of the first and the second stage process; and
- FIG. 12 is a diagram showing a conventional hierarchical motion vector detection process schedule.
- Throughout the figures, like reference numerals indicate like or corresponding components.
- An embodiment of a dynamic image encoding method and an apparatus therefor according to the present invention will now be described referring to the attached drawings.
- FIG. 1 shows an arrangement of the apparatus for the execution of the dynamic image encoding method according to the present invention. In this embodiment, it is different from the prior art shown in FIG. 8 that the filtering/thinning-
out processor 2 is not provided in the motionvector detection processor 4 but is connected between the output of thepreprocessor 1 and thecommon bus 10. - An operation of this dynamic image encoding apparatus will be described in the following.
- First of all, in parallel with the process of writing input image data in the
frame memory 3, the input image data is sent to the filtering/thinning-out processor 2 in which the filtering and the thinning-out process are executed. Then, the reduced screen data after the filtering and the thinning-out process are written in another area of theframe memory 3 which is different from the area where the input screen data of a normal size is stored. - The hierarchical motion
vector detection processor 4 reads current picture data and reference picture data from the reduced screen data preliminarily stored in theframe memory 3 in the RAM's 41, 42, respectively whereby the first stage detection process is executed as mentioned above with reference to the prior art. In this case, the reduced screen data can be mapped in sequential areas of the RAM's 41, 42, which enables an efficient memory access in theSDRAM frame memory 3. - Also, as shown in FIG. 2, a process schedule is devised in order to increase the efficiency of readin access of the reference screen data at the first stage process. First of all, the first stage process is executed sequentially for one rank, and the result is reserved in the local memory. Then, the second stage process is sequentially executed.
- For instance, as mentioned above, if 16×16 pixel area of the reduced screen (180×120 pixels) thinned out at the ratio of 1:4 with respect to normal input screen of 720×480 pixels is assumed to be a process unit (a big macro block), in the screen shown in FIG. 11 the first stage process is executed 12 times (≈180/16) sequentially about the big macro blocks QMB1, QMB2, QMB3, . . . , and QMB12. Then the second stage process is executed sequentially for 45 (≈720/16)×4=180 macro blocks (MB1-MB12). Thus, about the following big
macro blocks QMB 13 . . . , the same process is repeated - In this process, since the reference pictures necessary for the first stage process are overlapped in adjacent ones of the big macro block, the big macro block at the left end has only to read in all of the reference picture area while the other eleven big macro blocks have only to read in a new area appeared after shifting (see the area RR shown in FIG. 9). This enables the efficiency of the memory access to be enhanced.
- The schedule of the entire encoding process which applies to the hierarchical motion vector detection process as above-mentioned will be described referring to FIG. 3.
- In the above-mentioned screen size of 720×480 pixels, if the 16×16 pixel area of the reduced screen (180×120 pixels) thinned out at the ratio of 1:4 is assumed to be a process unit (a big macro block) at the first stage process, the first stage process of one rank is executed 8 times(≈120/16) in order to complete the process for a single screen as inputted, as shown in FIG. 3 (2).
- Every time the second stage process for each macro block is completed as shown in FIG. 3 (3), (4), a final motion vector is obtained as shown in FIG. 3 (5) so that the encoding process is executed as shown in FIG. 3 (6).
- Therefore, in a term for which the first stage process of the motion vector detection is executed, the encoding process is not executed, providing a margin for a bandwidth of memory. As shown in FIG. 3 (6), if staff bits for encoding rate adjustment are generated at a burst by utilizing this term in the
encoder 5, a higher efficiency will be obtained. - Also, if the process term of the first stage is long enough compared with the second stage process term, the
encoder 5 may have a bad influence because the encoding term of each macro block corresponding to the second stage process is shortened. - Therefore, as shown in FIG. 4, if a
buffer 6 is installed between themotion vector detector 4 and theencoder 5 and vector values outputted from thevector detector 4 are sent to theencoder 5 after buffered and changed in speed, it becomes possible to conceal a dead zone of the first stage detection term and expand the encoding process term, as shown in the encoding schedule of FIG. 5 (7). - As described above, a dynamic image encoding method and an apparatus therefor according to the present invention is arranged so that a precedent process is executed sequentially for one rank of a reduced screen obtained after thinning out an input screen to memorize the result, and then the subsequent process is sequentially executed between the input screens for macro blocks of the reduced screen having provided the result of the precedent process so that the precedent and the subsequent process are repeated. Therefore, it becomes possible to improve the memory access efficiency of a real time encoder which applies to a hierarchical motion vector process method and to make the products more competitive.
Claims (12)
1. A dynamic image encoding method for executing a hierarchical motion vector detection process using a frame memory, comprising the steps of;
executing a precedent process sequentially for one rank of a reduced screen obtained by thinning out an input screen,
storing a result of the precedent process in the frame memory;
executing a subsequent process between input screens sequentially for macro blocks in the reduced screen having provided the result of the precedent process; and
repeating the precedent and the subsequent process.
2. A dynamic image encoding method as claimed in wherein in parallel with storing the input screen in the frame memory, the input screen is filtered and thinned out to store pixel data of the reduced screen in the frame memory so that the precedent process is executed for the reduced screen.
claim 1
3. A dynamic image encoding method as claimed in wherein an encoding process is executed in synchronization with the subsequent process.
claim 1
4. A dynamic image encoding method as claimed in wherein during the precedent process staff bits are generated and written in a memory.
claim 1
5. A dynamic image encoding method as claimed in wherein during the precedent process staff bits are generated and written in a memory.
claim 2
6. A dynamic image encoding method as claimed in wherein the encoding process is executed asynchronously between adjacent ones of the precedent process.
claim 3
7. A dynamic image encoding apparatus which executes a hierarchical motion vector detection process using a frame memory, comprising;
a motion vector detection processor in which a precedent process is executed sequentially for one rank of a reduced screen obtained by thinning out an input screen, and after storing a result of the precedent process in the frame memory, a subsequent process is executed between input screens sequentially for macro blocks in the reduced screen having provided the result of the precedent, and the precedent and the subsequent process are repeated.
8. A dynamic image encoding apparatus as claimed in , further comprising a filtering/thinning-out processor in which in parallel with storing the input screen in the frame memory, the input screen is filtered and thinned out to store pixel data of the reduced screen in the frame memory so that the motion vector detection processor executes the precedent process for the reduced screen.
claim 7
9. A dynamic image encoding apparatus as claimed in , further comprising an encoder for executing an encoding process in synchronization with the subsequent process.
claim 7
10. A dynamic image encoding apparatus as claimed in wherein the encoder generates and writes staff bits in a memory during the precedent process.
claim 9
11. A dynamic image encoding apparatus as claimed in , further comprising a buffer memory for executing the encoding process asynchronously between adjacent ones of the precedent process.
claim 9
12. A dynamic image encoding apparatus as claimed in , further comprising a buffer memory for executing the encoding process asynchronously between adjacent ones of the precedent process.
claim 10
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5923598A JP3560804B2 (en) | 1998-03-11 | 1998-03-11 | Moving image encoding method and apparatus |
JP10-059235 | 1998-03-11 |
Publications (1)
Publication Number | Publication Date |
---|---|
US20010041013A1 true US20010041013A1 (en) | 2001-11-15 |
Family
ID=13107532
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US09/127,610 Granted US20010041013A1 (en) | 1998-03-11 | 1998-07-31 | Dynamic image encoding method and apparatus |
US09/127,610 Expired - Lifetime US6307969B1 (en) | 1998-03-11 | 1998-07-31 | Dynamic image encoding method and apparatus |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US09/127,610 Expired - Lifetime US6307969B1 (en) | 1998-03-11 | 1998-07-31 | Dynamic image encoding method and apparatus |
Country Status (2)
Country | Link |
---|---|
US (2) | US20010041013A1 (en) |
JP (1) | JP3560804B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6442203B1 (en) * | 1999-11-05 | 2002-08-27 | Demografx | System and method for motion compensation and frame rate conversion |
US20060188021A1 (en) * | 2005-02-24 | 2006-08-24 | Sanyo Electric Co., Ltd. | Motion vector detecting device |
US10129543B2 (en) | 2016-03-28 | 2018-11-13 | Fujitsu Limited | Image compressing device and image compressing method |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000308064A (en) * | 1999-04-22 | 2000-11-02 | Mitsubishi Electric Corp | Motion vector detecting device |
JP2007116293A (en) * | 2005-10-19 | 2007-05-10 | Hitachi Ltd | Data storage method and information processor employing the same |
JP2008061162A (en) * | 2006-09-04 | 2008-03-13 | Fujitsu Ltd | Motion vector search apparatus and motion vector search method |
US8570393B2 (en) * | 2007-11-30 | 2013-10-29 | Cognex Corporation | System and method for processing image data relative to a focus of attention within the overall image |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2586686B2 (en) | 1990-04-19 | 1997-03-05 | 日本電気株式会社 | Motion picture motion information detecting apparatus and motion compensation inter-frame predictive coding apparatus for moving picture |
EP0823818B1 (en) * | 1991-08-13 | 2002-01-09 | Canon Kabushiki Kaisha | Image transmission apparatus |
JP3135692B2 (en) | 1992-08-28 | 2001-02-19 | 株式会社日立製作所 | Hierarchical video signal encoding apparatus and method |
US5592226A (en) * | 1994-01-26 | 1997-01-07 | Btg Usa Inc. | Method and apparatus for video data compression using temporally adaptive motion interpolation |
DE69533870T2 (en) * | 1994-10-19 | 2005-05-25 | Matsushita Electric Industrial Co., Ltd., Kadoma | Device for image decoding |
-
1998
- 1998-03-11 JP JP5923598A patent/JP3560804B2/en not_active Expired - Fee Related
- 1998-07-31 US US09/127,610 patent/US20010041013A1/en active Granted
- 1998-07-31 US US09/127,610 patent/US6307969B1/en not_active Expired - Lifetime
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6442203B1 (en) * | 1999-11-05 | 2002-08-27 | Demografx | System and method for motion compensation and frame rate conversion |
US20060188021A1 (en) * | 2005-02-24 | 2006-08-24 | Sanyo Electric Co., Ltd. | Motion vector detecting device |
US8019000B2 (en) * | 2005-02-24 | 2011-09-13 | Sanyo Electric Co., Ltd. | Motion vector detecting device |
US10129543B2 (en) | 2016-03-28 | 2018-11-13 | Fujitsu Limited | Image compressing device and image compressing method |
Also Published As
Publication number | Publication date |
---|---|
US6307969B1 (en) | 2001-10-23 |
JPH11262015A (en) | 1999-09-24 |
JP3560804B2 (en) | 2004-09-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100440522B1 (en) | Image decoder and image memory overcoming various kinds of delaying factors caused by hardware specifications specific to image memory by improving storing system and reading-out system | |
EP0895216B1 (en) | Image storage device and access method | |
US6133923A (en) | Method and apparatus for texture data | |
US6307969B1 (en) | Dynamic image encoding method and apparatus | |
US7039242B2 (en) | Image processing device and image processing method | |
US6560686B1 (en) | Memory device with variable bank partition architecture | |
US5796412A (en) | Image data storing method and processing apparatus thereof | |
US5585824A (en) | Graphics memory apparatus and method | |
EP0959428B1 (en) | Image processing apparatus, special effect apparatus and image processing method | |
US5977996A (en) | Storage device for storing hierarchically coded data and access method thereof | |
EP1353510A2 (en) | Image processing apparatus and image processing method | |
US6803918B1 (en) | Image processing apparatus | |
US7583270B2 (en) | Image processing apparatus | |
US4707690A (en) | Video display control method and apparatus having video data storage | |
US5577193A (en) | Multiple data registers and addressing technique therefore for block/flash writing main memory of a DRAM/VRAM | |
JP2647348B2 (en) | Clipping plane data storage system and method | |
JP3646839B2 (en) | Digital oscilloscope | |
JPH08275181A (en) | Decoder for dynamic image data | |
JPH10162131A (en) | Image processor | |
JPH08202324A (en) | Picture data storage controller | |
JP3011297B2 (en) | High-speed image processing device | |
JP2519821B2 (en) | Image processing device | |
JPH09182072A (en) | Image compression device | |
JPH09218820A (en) | Image processor and mapping method for image memory | |
JPH076087A (en) | Method for accessing frame buffer |