The present application claims priority from Japanese application JP2006-346927 filed on Dec. 25, 2006, the content of which is hereby incorporated by reference into this application.
The present invention relates to an image processing apparatus which has recording and reproducing functions.
Related arts belonging to the technical field of the present application include, for example, JP-A-08-046959, JP-A-2005-151173, JP-A-2006-245867, JP-A-10-191255, and JP-A-2006-237846. These Publications are briefly explained as their abstracts which follow.
JP-A-08-046959 is explained as its abstract which follows.
PURPOSE: To attain the improvement of efficiency in work for executing high definition processing in encoded data of animation.
CONSTITUTION: A plurality of encoders 2, 3 and 4 which respectively and simultaneously compress and encode the common moving image, respectively generate the reference pictures of same code quantity and generate non-reference pictures with respectively different code quantity and a composite part 8 which connects encoding data optionally selected from encoding data which is obtained by the respective encoders 2, 3 and 4 by picture group unit and stores it to a data storing medium 9 as a last output stream are provided. The compression encoding of the moving image is made to be acceptable for only one time execution by appearance and work which requires human intervention comes to be only work for selecting optional encoding data from encoding data obtained by the respective encoders 2, 3 and 4 so that the improvement of work efficiency is realized.
JP-A-2005-151173 is explained as its abstract which follows.
PROBLEM TO BE SOLVED: To realize a method of reproducing both coded data of the same moving picture contents in collaboration with each other: one coded at a high bit rate and recorded in a first recorder and the other coded at a low bit rate and recorded in a second recorder.
SOLUTION: A decoder 104 reproduces coded data recorded in a first recorder 102. When it stops reproducing thereafter, a controller 105 writes the time stamp of a packet next to the last reproduced packet in the header of the coded data as a reproduction start point, together with this write time in the header as an update time of the reproduction start point. The controller 105 operates to synchronize the reproduction start time of coded data recorded in a second recorder 103 and the update time of the reproduction start point with the first recorder 102.
JP-A-2006-245867 is explained as its abstract which follows.
PROBLEM TO BE SOLVED: To provide an image recording/reproducing apparatus which can control a storage capacity by a user without recompressing a recorded video signal to the utmost.
SOLUTION: The image recording reproducer has two or more of encoders encoding the video signal at severally different bit rates, and recording the encoded video signal on a recording medium. The image recording reproducer further has a means for deleting an image data recorded through either encoder during a recording on the recording medium or after the completion of the recording.
JP-A-10-191255 is explained as its abstract which follows.
PROBLEM TO BE SOLVED: To provide an image processing apparatus with a simple arrangement, which can previously prevent the disturbance of output owing to the damage of data by compressing, encoding and recording input data at a first bit rate and a second bit rate lower than the first bit rate.
SOLUTION: The apparatus compresses/encodes input data at a first bit rate and at a second bit rate lower than the first bit rate to be recorded in a recording medium (5). Thus, in a production mode, when the data compressed/encoded at the first bit rate is damaged, the apparatus can decompose, decode and output the data compressed/encoded at the second bit rate and can previously prevent the disturbance of an output generated by the data damage. As a result, with a simple arrangement, the apparatus can previously prevent the disturbance of the output caused by the data damage.
JP-A-2006-237846 is explained as its abstract which follows.
PROBLEM TO BE SOLVED: To provide an image processing apparatus which can control the optimum code amount in accordance with a recording medium.
SOLUTION: The apparatus is provided with an input means for inputting motion image data, coding means for coding the motion image data, first recording means for recording the coded motion image data outputted from the coding means into a first recording medium, second recording means for recording the coded motion image data outputted from the coding means into a second recording medium, selecting means for selecting any one of the first recording medium and the second recording medium to cause the selected medium to record the coded motion image data, coding amount control means for controlling amount of the generated codes of the coded motion image data to be outputted from the coding means, and changing means for changing the control procedures by the coding amount control means in response to a result of selection of the selecting means.
Two pass encode is known as a method of compressing and recording an image. In the 2 pass encode, an image is once encoded, and again encoded on the basis of rate control information or the like obtained by the first encoding to enhance the quality of the image.
In the prior arts, however, it is required to store original image data to be compressed, and thus a large scale of apparatus becomes necessary. For this reason, it is hard to employ the 2 pass encode in such a camera that is, in many cases, carried with the user and its miniaturization is demanded.
In recent image compression, meanwhile, it is also possible to record an image at a high bit rate and an image at a low bit rate at the same time. In this case, the 2 pass encode can be employed while eliminating the need of storing the original data of the low-bit-rate image as a compression target because the original data of the high-bit-rate image can be used simultaneously as the original data of the low-bit-rate image.
To this end, such an image processing apparatus of a simple arrangement is demanded that can use a plurality of media and can record a high quality of image even at a low bit rate.
It is therefore an object of the present invention to provide an image processing apparatus which can record a high quality of image.
The above object is attained, as an example, by simultaneously recording an image at a high bit rate and an image at a low bit rate and generating a high-quality image of a low bit rate in a manner that a part of the low-bit-rate image is replaced with the high-bit-rate image or the high-bit-rate image is re-encoded, and recording the high-quality image of a low bit rate thus obtained.
Details of the present invention are as set forth in claims.
In accordance with the present invention, an image processing apparatus can obtain a high quality of image. As an example, the apparatus can record a high quality of image of a low bit rate, reduce the capacity of a medium for an image to be recorded therein, and also can prolong a recording time with a higher image quality.
Problems, arrangements, and effects other than the aforementioned problem, arrangement, and effects of the present invention will be explained in embodiments which follow.
Other objects, features and-advantages of the invention will become apparent from the following description of the embodiments of the invention taken in conjunction with the accompanying drawings.
Embodiments of the present invention will be explained with reference to the accompanying drawings.
In the drawing, digital image data output from the image device 4 is stored in the memory 8 via the memory controller 7. The stored digital image data is read out from the memory 8 at predetermined timing, and then supplied to the first and second encoders 5 and 6 respectively. An image output of the first encoder 5 is compressed with a low bit rate, applied to the stream controller 10, once stored in the buffer memory 13, and then written in the first recording medium 11. At the same time as the above, an image output of the second encoder 6 is compressed with a high bit rate, once stored in the buffer memory 13 under control of the stream controller 10 as in the case of the first encoder output, and then recorded in the second recording medium 12. The CPU 9 stores a generated code amount from the first encoder 5 into the rate control information holder 50 as rate control information for control of the generated code amount, determines at the image degradation determiner 51 an image degradation position on the basis of the rate control information, and stores the image degradation position therein. Explanation will next be made as to the operation of the apparatus after recording the image. The stream controller 10 reads out the compressed image data recorded in the first recording medium and the compressed image data recorded in the second recording medium at the same time. When the read-out image degradation position is not the aforementioned detected image degradation position, the stream controller 10 again writes the compressed image data recorded in the first recording medium in the first recording medium 11 without processing the data. When the read-out position is the aforementioned image degradation position, the stream controller 10 replaces it with the compressed image data read out from the second recording medium, and records it in the first recording medium 11. As a result, an image degradation part in the low-bit-rate image recorded in the first recording medium 11 is replaced with an image of a high bit rate, thus enabling recording of a high quality of image. In this connection, when the aforementioned replacement is carried out, for example, on a GOP (Group Of Picture) basis, a higher quality of image can be obtained. This manner is shown in
Generally speaking, Q parameter information means a quantization coefficient in the units of macro block (16×16 pixels). The larger the quantization coefficient is, the larger the number of quantization steps is, and the more the image quality is degraded. The Q parameter information is information of a macro block unit, so that, when the determination of image quality degradation is made by averaging information of a picture of a GOP, the quantity of information can be made small.
In the GOP arrangement of
The present embodiment has been carried out by recording the output of the second encoder 6 in the second recording medium 12 in the form of fully compressed image data. However, such an arrangement is also possible as to record only part of the image data corresponding to the aforementioned detected image degradation position information, and read it from the second recording medium 12 when the position is the replacement position of the compressed image data recorded by the first encoder 5, and replace the compressed image data recorded by the first encoder 5 with the output of the second recording medium 12. Although the above explanation has been made in connection with the case where low bit rate data is recorded in the first recording medium 11 and high bit rate data is recorded in the second recording medium 12, it goes without saying that the recording relation therebetween can be exchanged.
The present embodiment is substantially the same as the first embodiment until input data is recorded in the first and second recording media. Thus explanation of the present embodiment until the data is recorded therein is omitted, and explanation will start from reading out the recorded data. The rate control information, which includes the Q parameter information and stuffing information, is stored in the rate control information holder 50. The image quality degradation position is detected by the image degradation determiner 51 and stored therein on the basis of information stored in the rate control information holder. Explanation will then be made as to the operation of the apparatus after the image is recorded. Data recorded in the first and second media 11 and 12 at the same time are read out, so that the compressed image data read out from the second recording medium is supplied to the codec 14 via the stream controller 10. The stream controller 10 controls the timing of data output by performing buffering operation using the buffer memory 13. The codec 14 expands the compressed image data to generate decoded image data. The image data is stored in the memory 8 and read out into the first encoder 5 at predetermined timing under control of the memory controller 7. The first encoder again encodes the image data for image quality improvement on the basis of the rate control information holding image data about the image quality degradation position detected in the record mode. The re-encoded data is supplied to the stream controller 10 and is replaced with the compressed stream read out from the first recording medium. As a result, as in the first embodiment, a high quality of image can be recorded with a low bit rate.
Explanation will then be made as to image quality improvement upon the re-encoding. The image quality improvement upon the re-encoding is carried out based on the rate control information previously stored. For example, by allocating a high code amount allocated in re-encoding mode to one of pictures in the GOP unit having a high average of Q parameter values or by allocating a small code amount to one of pictures having a large stuffing amount; a high quality of compressed image can be obtained. When the Q parameter value is referred to in the units of macro block or in the units of a plurality of macro blocks and the code amount and code amount allocation is made in the units of macro block or in the units of a plurality of macro blocks, a higher quality of compressed image can be recorded. Although the above explanation has been made in connection with the case where the stuffing information is stored in the record mode in the present embodiment, the stuffing information can also be stored in a decode mode prior to the re-encode mode.
In accordance with the present embodiment, a high quality of image can be recorded while avoiding an increase in the bit rate and keeping a low bit rate, as in the first embodiment.
The present embodiment is similar to the second embodiment until data is recorded in the first recording medium, that is, until an image of a low bit rate and of an SD size (e.g., 720×480) is recorded or the image degradation position information and rate control information are stored in the CPU. Meanwhile, an HD size of compressed image data is recorded in the second recording medium. Data read out from the second recording medium is input to the codec 14 via the second recording medium 12 and is stored in the memory 8 via the memory controller 7 as an HD (e.g., 1920×1080) size of image. An HD size of video data read out from the memory 8 at predetermined timing is down converted to an SD size by the size converter 15. A video signal down-converted to the SD size is re-encoded for image quality improvement on the basis of the rate control information holding image data of the image quality degradation position detected by the first encoder in the record mode. The re-encoded data is supplied to the stream controller 10, where the data is replaced with a compressed stream read out from the first recording medium. Even in the present embodiment, the operation of the apparatus in the re-encode mode is the same as in the embodiment of
With the aforementioned arrangement, similarly to the second embodiment, the present embodiment can record an image at a low bit rate.
In the present embodiment, the first encoder 5 generates a compressed image of a low bit rate and a compressed image of a high bit rate on a time division basis to be recorded in the first and second recording media 11 and 12 respectively. An example of recording timing will be explained by referring to
In accordance with the present embodiment, a high quality of image of a low bit rate can be recorded with a small circuit scale.
In the present embodiment, the first encoder 5 generates an image of a high bit rate and an image of a low bit rate on a time division basis and these images are recorded in the first and second media 11 and 12 respectively, as in the fourth embodiment. At this time, the operation of recording the rate control information of the high quality of low-bit-rate image in the CPU 9 at the same time and the operation of generating a high quality of low-bit-rate compressed image by re-encoding are similar to those in the second, third, and fourth embodiments.
As has been explained above, the present embodiment can record a high quality of compressed image of a low bit rate and after recording, the present embodiment also can attain the recording operation without involving a high quality of converting operation.
In the present embodiment, only a single recording medium is provided, the first encoder 5 generates an image of a high bit rate and an image of a low bit rate on a time division basis and these images are recorded in the recording medium 11 as in the fourth embodiment. At this time, the operation of recording the rate control information of the low-bit-rate image in the CPU 9 at the same time and the operation of generating the high quality of compressed image of low bit rate by re-encoding are substantially the same as those in the second, third, fourth, and fifth embodiments. The recording medium 11 in the present embodiment is required to have a high speed operation, since the medium requires simultaneous recording of two compressed streams, simultaneous reading thereof when a high-quality of compressed image of a low bit rate by re-encoding after the recording is generated, and treating of the two streams. Further, since two compressed streams are recorded, a large capacity is required from a viewpoint of its capacity.
In accordance with the present embodiment, since it is required to have only a single recording medium, the embodiment can record a small and high quality of compressed image of a low bit rate.
In the present embodiment, the codec 14 generates a compressed image of a low bit rate and a compressed image of a high bit rate on a time division basis, the rate control information of the low-bit-rate image is recorded in the CPU 9 and at the same time, the images are recorded in the recording media 11 and 12 respectively. Thereafter, reading of the recorded compressed stream is carried out in such a manner as mentioned in the other embodiments. However, in the re-encode mode, the codec 14 performs decoding and encoding operations on a time division basis.
As has been explained above, in accordance with the present embodiment, compression and expansion can be implemented only by the codec 14, a circuit scale can be made small and a high quality of compressed image of a low bit rate can be recorded with a low cost.
The present embodiment is substantially the same as the embodiment of
In the present embodiment, since the user can confirm an image quality and then the confirmed part can be subjected to the image quality improving operation, a compressed image highly satisfied by the user can be generated. Although such an arrangement that the user can specify an image quality degradation position has been obtained from the embodiment of
As has been explained in the foregoing, the present embodiment can record a high quality of image data of a low bit rate and compressed voice or audio data as a single stream conforming to a compression standard.
Although explanation has been made in connection with the case where only a single piece of compression voice or audio data is generated in the present embodiment, two pieces of compression data may be generated similarly to image data. In this case, two voice codecs can be prepared. When the voice codec 33 is operated on a time division basis, however, the above can be implemented while eliminating the need of increasing its hardware. Further, the present embodiment has been arranged to once record the low-bit-rate compressed image data and the high-bit-rate compressed image data as system streams respectively. When only the low-bit-rate compressed image data is recorded as a system stream and the high-bit-rate compressed image data is recorded as only image data as an example, however, the present embodiment may be arranged with the MUX/DEMUX 22 and the selector 23 removed.
The compression/expansion system includes a motion picture compression format such as MPEG-1, MPEG-2, MPEG-4 or H.264. However, the present invention is not limited to the specific compression system, but any compression system may be effectively applied to any of the embodiments of the present invention, as a matter of course.
The present invention is not limited to the aforementioned embodiments, but the invention may include various types of modifications thereof. For example, the foregoing embodiments have been detailed for the purpose of easy understanding of the present invention, and thus the invention is not necessarily limited to the embodiments including the entire arrangements. That is, part of the arrangement of one of the embodiments may be replaced with the arrangement of the other embodiment, or the arrangement of one of the embodiments may be added to the arrangement of the other embodiment.
Number | Date | Country | Kind |
---|---|---|---|
2006-346927 | Dec 2006 | JP | national |