WO2006100820A1 - 画像符号化記録読出装置 - Google Patents
画像符号化記録読出装置 Download PDFInfo
- Publication number
- WO2006100820A1 WO2006100820A1 PCT/JP2006/300302 JP2006300302W WO2006100820A1 WO 2006100820 A1 WO2006100820 A1 WO 2006100820A1 JP 2006300302 W JP2006300302 W JP 2006300302W WO 2006100820 A1 WO2006100820 A1 WO 2006100820A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- encoding
- encoded
- original image
- storage 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/79—Processing of colour television signals in connection with recording
- H04N9/80—Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
- H04N9/82—Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback the individual colour picture signal components being recorded simultaneously only
- H04N9/8205—Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback the individual colour picture signal components being recorded simultaneously only involving the multiplexing of an additional signal and the colour video signal
- H04N9/8227—Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback the individual colour picture signal components being recorded simultaneously only involving the multiplexing of an additional signal and the colour video signal the additional signal being at least another television signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/117—Filters, e.g. for pre-processing or post-processing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/119—Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/132—Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/146—Data rate or code amount at the encoder output
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/154—Measured or subjectively estimated visual quality after decoding, e.g. measurement of distortion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/172—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/61—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/80—Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
- H04N19/82—Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation involving filtering within a prediction loop
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/85—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
- H04N19/86—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving reduction of coding artifacts, e.g. of blockiness
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/79—Processing of colour television signals in connection with recording
- H04N9/80—Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
- H04N9/804—Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components
- H04N9/8042—Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components involving data reduction
Definitions
- the present invention relates to an image encoding / recording / reading apparatus that records and records image data of a broadcast program, for example, and outputs the recorded encoded stream at an encoding rate according to the application.
- content data including images and sounds is produced and recorded in a predetermined memory, and read and used when requested.
- encode and compress the amount of content data and lower the I / O rate of the memory!
- the use of the encoded data of the content recorded and accumulated in this way includes recording on another recording medium such as a DVD, broadcasting, or stream distribution via a transmission path. Therefore, there is a need to be able to handle a single piece of content data for multiple uses.
- the image code recording / reading apparatus needs to give a transmission rate corresponding to each application to the code data read from the memory.
- the code key data read from the storage memory is decoded using a decoding unit, and the added code key unit again performs a decoding at a rate lower than the original code rate. You can select the output with a sign.
- the image encoding / recording / reading apparatus that handles images of broadcast programs, two programs that can be encoded and recorded at one time (normally only one program) can be recorded simultaneously. There are also things. In such an apparatus that records two programs at the same time, two encoding units are used to simultaneously encode different yarns and generate encoded streams, which are recorded together in the same storage memory. deep.
- the encoded stream recorded in the storage memory is decoded or decoded again at a lower rate.
- the process of recording the force with a sign is performed. Therefore, when one program is not recorded, only one encoding unit is used, and the remaining code units are not used.
- Patent Document 1 JP-A-9 74559 (FIGS. 1 and 2)
- the conventional image encoding / recording / reading apparatus is configured as described above, but does not have a function for improving the image quality according to the application when performing encoding again.
- an image code recording / reading apparatus capable of simultaneously recording a plurality of programs does not perform powerful recording of one program, and sometimes other code keys are not used, resulting in an inefficient configuration. There was a problem such as
- the present invention has been made to solve the above-described problems.
- An image of one program is encoded and stored in the form of an encoded stream, and the encoded stream is read out during reproduction.
- the purpose of the present invention is to provide an image encoding / recording / reading device that gives an encoding rate according to the application to the data to be output and can achieve high image quality or maintain image quality.
- the image encoding / recording / reading apparatus encodes the encoding-target original image according to a predetermined encoding method, records it in the storage memory, and reads out from the storage memory.
- an image encoding / recording / reading device that outputs an encoded stream in a form suitable for a use, an original image encoded stream is generated by encoding the original image to be encoded, and at the same time, the original image to be encoded
- a local decoded image to be used for motion compensation prediction is generated, a difference image between the local decoded image and the original image to be encoded is acquired, and the obtained difference image is Encoding to generate a differential image encoded stream, and recording the generated original image encoded stream and the differential image stream in the storage memory, and the above-described original image encoding read from the storage memory
- An image decoding unit that decodes each of the stream and the difference image encoded stream to generate an original image decoded image and a difference decoded image, and then adds the
- FIG. 1 is a block diagram showing a configuration of an image code recording / reading device according to Embodiment 1 of the present invention.
- FIG. 2 is a block diagram showing a configuration example of a first code key unit according to Embodiment 1 of the present invention.
- FIG. 3 is an explanatory diagram showing a difference image generation operation by a difference unit according to the first embodiment of the present invention.
- FIG. 4 is an explanatory diagram showing an example of bit width reduction at the time of differential image coding performed by the coding unit according to Embodiment 1 of the present invention.
- FIG. 5 is an explanatory diagram showing a determination operation for reducing the amount of coded information according to the first embodiment of the present invention.
- FIG. 6 is an explanatory diagram showing an example of a sign key of a differential image invalid section according to Embodiment 1 of the present invention.
- FIG. 7 is an explanatory diagram showing the relationship between the actual amount of information and image quality during real-time VBR control.
- FIG. 8 is an explanatory diagram showing an improvement in image quality during non-real-time VBR control according to Embodiment 1 of the present invention.
- FIG. 9 shows a frame in which the difference value of the difference image according to Embodiment 1 of the present invention is partially set to “0”.
- FIG. 10 is a block diagram showing a configuration of an image code recording / reading device according to Embodiment 2 of the present invention.
- FIG. 11 is an explanatory diagram showing a generated information amount of a frame according to Embodiment 2 of the present invention.
- FIG. 12 A block diagram showing a configuration of an image code recording / reading device according to Embodiment 3 of the present invention.
- FIG. 13 is a block diagram showing the configuration of an image code recording / reading device according to Embodiment 4 of the present invention.
- FIG. 14 An explanatory diagram showing a state transition of the remaining amount of the storage memory according to the fourth embodiment of the present invention.
- FIG. 15 is an explanatory view showing a screen example of program information recorded in a storage memory according to Embodiment 4 of the present invention.
- FIG. 16 is an explanatory diagram showing an example of a method for signing a difference image according to the fourth embodiment of the present invention.
- FIG. 17 is an explanatory diagram showing an example of the amount of information assigned to each frame at the time of signing of the difference image according to the fourth embodiment of the present invention.
- FIG. 18 is an explanatory diagram showing an example of a frame of a differential image in which isolated points, human faces, and the like exist.
- FIG. 19 is an explanatory diagram showing the relationship between the encoding block boundaries of the original image encoding and the difference image encoding.
- FIG. 20 is a block diagram showing a configuration of an image code recording / reading device according to Embodiment 5 of the present invention.
- FIG. 21 is a block diagram showing the configuration of an image code recording / reading device according to Embodiment 6 of the present invention.
- FIG. 22 is an explanatory diagram showing an encoded frame and a decoded frame processed within one frame period according to Embodiment 6 of the present invention.
- FIG. 23 A block diagram showing the configuration of the image code recording / reading device according to the seventh embodiment of the present invention.
- FIG. 24 is a block diagram showing a configuration of an image code recording / reading device according to an eighth embodiment of the present invention.
- FIG. 1 is a block diagram showing the configuration of an image code recording / reading apparatus according to Embodiment 1 of the present invention.
- the image encoding / recording / reading apparatus shown in FIG. 1 generates encoded streams by encoding content data of different images input simultaneously, and records them together in the same storage memory. It has a configuration for recording one of the encoded streams selected from the memory on an external recording disk.
- this Embodiment 1 is applied to the image code recording / reading apparatus, and the explanation focuses on the recording and reading processing of only one program.
- This image coding recording / reading device includes a real-time VBR (variable bit rate) image coding unit (image coding unit) 2, a non-real-time VBR image coding unit 3, a control unit 4, and a storage unit.
- Memory 5 is provided.
- the image content data is input in the signal format of either original image data (hereinafter referred to as an original image) or an encoded stream obtained by encoding and compressing the original image.
- the output of the apparatus is an encoded stream (hereinafter referred to as an added image encoded stream), and is used for recording on a removable external disk 19 as an example.
- the decoding units 6 and 7 are means for decoding each when the input to the image encoded recording / reading apparatus is an encoded stream.
- the selectors 8 and 9 are means for selecting whether the decoded images by the decoding units 6 and 7 are original images.
- the encoding unit (first encoding unit) 10 receives an input image (original image 1 or decoding unit 6 from the decoding unit 6). These are hereinafter referred to as encoding target original images. ) To generate an encoded stream (hereinafter referred to as an original image encoded stream). Also
- the sign key unit 10 has a function of outputting local decoded images for use in motion compensation prediction in the display order.
- the delay frame memory 12 is a means for giving a delay amount for matching a temporal frame position to the locally decoded image from the code key unit 10 given to the difference unit 13 to the code key target original image.
- the difference unit 13 is a means for taking the difference between the delayed original image to be encoded and the locally decoded image from the encoding unit 10 and generating the difference image.
- the selector 14 is means for selecting the generated difference image and the encoding target original image of another channel from the selector 9.
- the encoding unit (second encoding unit) 1 1 is a means for performing encoding on an encoding target original image of a channel different from the normal encoding unit 10, but in the present invention, It is also means for encoding a difference image generated by the difference unit 13 to generate a difference image encoded stream.
- control unit 4 is means for acquiring information on the operation result as auxiliary information from each unit of the image encoding / recording / reading apparatus and setting the mode of each unit.
- the storage memory 5 is a storage means for recording and reading each encoded stream of the original image and the difference image and auxiliary information acquired from each unit by the control unit 4.
- each of the decoding units 15, 16 and the encoding unit 18 is the same as the decoding units 6, 7 and the encoding unit 10 of the real-time VBR image encoding unit 2. It can be.
- the decoding unit (first decoding unit) 15 is a means for reading the original image code stream from the storage memory 5 and decoding it.
- the decoding unit (second decoding unit) 16 is means for reading and decoding the differential image encoded stream from the storage memory 5.
- the decoding and adding unit 17 is a means for adding the difference decoded image to the original decoded image decoded by the decoding units 15 and 16 to generate an added image.
- the code key unit (third code key unit) 18 is a means for encoding the added image to generate an added image encoded stream and outputting it to the external disk 19.
- the code key unit (first coding unit) 10 of the first embodiment has a function of outputting a locally decoded image for use in motion compensated prediction.
- Figure 2 shows an example of applying the code 2 method.
- the input image is held in the S frame memory 20 for several frames.
- the frame for executing the sign key is read from the memory 20. This readout is performed in units of code blocks (in the case of MPEG-2, referred to as macroblocks), and the motion compensation prediction unit 32 applies the read frame to the read frame based on the reference image held in the frame memory 33. Perform motion compensation prediction.
- the intra Z inter determination unit 31 compares the result of motion compensation prediction with the input code block and determines whether it is intra (intra-frame) encoding or inter (inter-frame) encoding. When the encoding target picture is an I picture, the intra code is selected.
- the selector 22 selects the image power obtained by performing the inter-frame difference in the difference unit 21 or the input code key block itself from the memory 20 based on the determination result of the intra Z inter code key.
- the output of the selector 22 is converted into DCT coefficients by a DCT (Discrete Cosine Transform) calculation unit 23 and then quantized by a quantization unit 24.
- DCT Discrete Cosine Transform
- the result of quantization by the quantization unit 24 is temporarily stored in the buffer 26 as an encoded stream obtained by converting the result into a variable length code by the variable length encoding unit 25.
- the encoded stream is output from the noffer 26.
- the quantized result is subjected to inverse quantization processing by the inverse quantization unit 27 and then subjected to inverse DCT operation by the inverse DCT operation unit 28.
- the selector 30 selects either the output of the inverse DCT calculation unit 28 or the addition result between frames performed by the frame addition unit 29 based on the determination result of the intra Z inter determination unit 31.
- the output of the selector 30 is held in the frame memory 33 and is used as a reference image for motion compensation prediction of the next code frame. Further, the locally decoded images held in the frame memory 33 are output in the order of display as the locally decoded images according to the first embodiment.
- the first VBR code is performed on the image of the one program in real time and recorded in the storage memory 5.
- the second VBR encoding is performed in non-real time after the encoded stream is decoded. If the average encoding rate of the encoded stream to be recorded on 19 is the same, the encoded stream to be recorded on the external disk 19 If the average encoding rate of the recording stream is smaller, the image quality of the encoded stream to be recorded is improved.
- the original image 1 converted from analog to digital in the case of analog broadcasting, or encoded in the case of digital broadcasting.
- encoded stream 1 code rate: RO
- the decoding unit 6 When the encoding stream 1 is input, the decoding unit 6 generates a decoded image.
- the selector 8 selects the original image 1 and the decoded image. In the case of this input example, only the output image (encoding target original image) from the selector 8 is encoded in the flow displayed by the bold line in the figure.
- the encoding target image from the selector 8 is input to the encoding unit 10 and the delay frame memory 12.
- the encoding target original image input to the encoding unit 10 is VBR encoded at an average rate Rl ( ⁇ RO), and is recorded in the storage memory 5 as an original image encoded stream.
- Rl average rate
- the local code image used for motion compensation prediction is output from the code key unit 10 to the difference unit 13.
- the encoding target image input to the delay frame memory 12 is phase-adjusted with the locally decoded image.
- the difference unit 13 generates a difference image between the phase-encoded encoding target image and the locally decoded image of the code key unit 10 and passes the selector 14 to the code key unit 11. Is input.
- the encoding unit 11 encodes the difference image and records the generated difference image encoded stream in the storage memory 5.
- the control unit 4 acquires information on the processing results of each unit, records it as auxiliary information in the storage memory 5, reads out the auxiliary information according to the application, and reads out the image code. Operates to control each part of the device.
- the quantization scale average value, the total amount of generated information, and the amount of motion vector information obtained when the decoding unit 6 performs decoding There are parameters such as. Also, the quantile scale average value for each frame obtained when the encoding target original image is encoded by the encoding unit 10, the total amount of generated information, the amount of motion vector information, and the locally decoded image and the encoding target original There are parameters such as the sum of absolute values of the pixel values of the difference image from the image. In addition, there are parameters such as the quantization scale average value in units of frames, the total amount of generated information, and the amount of motion vector information obtained when the difference image is encoded by the encoding unit 11. these parameters are used to predetermine the target information amount of all frames in the time direction when encoding is performed in the non-real-time VBR image encoding unit 3.
- the bit width (number of effective bits) of the difference image is 9 bits, but the bit width of the pixel that performs the encoding is determined to be 8 bits according to the standards such as MPEG-2, so it must be converted to 8 bits. There is. Therefore, the sign key unit 11 truncates the number of effective bits, for example, the lower 4 bits, as shown in FIG. 4, when converting to 8 bits. By reducing the number of effective bits in this way, the dynamic range can be reduced and the code amount can be reduced.
- a difference image may be encoded after setting a threshold and making a determination! ⁇ .
- the encoding unit 11 is effective when the average quantization scale for each frame from the encoding unit 10 acquired by the control unit 4 or the sum of absolute differences between pixels from the difference unit 13 is larger than the threshold. On the other hand, it is determined whether the difference image of each frame is valid or invalid as an encoding target so that it is invalidated when it is small. The encoding unit 11 encodes the difference image only for the frames determined to be valid here.
- the encoded frame identifier (frame number) is encoded with the differential image code. It is necessary to record in storage memory 5 in combination with the stream. In view of the complexity of control, it is desirable to code all frames.
- the encoding unit 11 directly encodes the difference image for the frame determined to be valid, while the frame determined to be invalid.
- the pixel value of all the difference images may be set to “0” to perform the force sign ⁇ . In this case, it is not necessary to assign a frame identification number.
- all frames are coded with forward-predicted P pictures as shown in FIG.
- the motion vector may be forcibly set to “0”, and all DCT coefficients may be forcibly set to “0”. in this way By doing so, the amount of information for invalid frames can be significantly reduced. You can change the amount of encoded information of the difference image by changing the threshold value that is used as a criterion for determining whether the Z is valid or not.
- real-time VBR encoding is performed on an image input to the image encoding / recording / reading apparatus at a predetermined average rate, and the encoded stream is recorded in the storage memory 5.
- the amount of information generated in the input image is determined according to the degree of difficulty in encoding the image. For this reason, the amount of information necessary to maintain an average constant image quality over the entire image (frame) in the time direction at a predetermined average rate is not necessarily given, but is actually given by real-time VBR control.
- the amount of information is usually considered to be a curve as shown in Fig. 7 (a).
- the relative image quality is considered to be a curve as shown in FIG. 7 (b).
- the image quality is sufficient to maintain a certain level of image quality.
- the image quality is thought to deteriorate.
- the sum of absolute differences obtained from the difference unit 13 at this time is assumed to draw a curve as shown in FIG. 7 (b).
- the auxiliary information power stored in advance in the storage memory 5 can be obtained for the image information input later in time. It should be possible to assign an amount of information to each frame to obtain an average image quality over the entire image (frame).
- the encoding unit 10 of the real-time VBR image encoding unit 2 performs the first encoding on the encoding target original image and records it, and then performs non-real-time VBR It is assumed that the image code key unit 3 executes the second code key at a rate equal to or less than the first encoding rate on the image obtained by decoding the recorded original image coded stream. ing.
- the decoding units 15 and 16 and the encoding unit 18 are the same types as the decoding units 6 and 7 and the encoding unit 10 used in the real-time VBR image encoding unit 2, respectively, and the real-time VBR image Since the non-real-time VBR image code key unit 3 is operated when the code key unit 2 is not operating, it can be shared.
- the decoding unit 15 first reads and decodes the original image encoded stream generated and recorded by the encoding unit 10 of the real-time VBR image encoding unit 2 from the storage memory 5. Similarly, the decoding unit 16 reads out the differential image encoded stream generated and recorded by the encoding unit 11 of the real-time VBR image encoding unit 2 from the storage memory 5 and decodes it. Next, the original image decoded image decoded by the decoding unit 15 and the difference decoded image decoded by the decoding unit 16 are frame-added by the decoding addition unit 17. Addition is performed after the bit position of the difference image is restored.
- the VBR code key is subjected to the second time by the code key unit 18 with respect to the added image obtained by the decoding and adding unit 17.
- the average code rate R2 at this time is equal to or less than the first average encoding rate R1.
- control unit 4 encodes the difference image only for a frame that is determined to be encoded to reduce the amount of code information of the difference image during real-time VBR encoding.
- the frame identifier for the encoded frame is read from the storage memory 5, and the decoding and adding unit 17 is controlled to add only the differential decoded image of the frame corresponding to the identifier.
- the added image encoded stream resulting from the second VBR encoding is output to the external disk 19 and recorded at an average rate R2 ( ⁇ R1).
- the image quality of the encoded stream recorded on the external disk 19 is better throughout the time than the image quality of the encoded stream recorded in the storage memory 5. It is possible to achieve a low rate with an average high image quality or equivalent image quality.
- the sign key unit 11 detects that the absolute value of the difference pixel value between pixels in the frame of the difference image is smaller than a certain threshold value, or exists in the frame of the difference image.
- a difference pixel value that is outside the area that the viewer's eyes are gazing at, such as a face is detected, the corresponding difference pixel value is forcibly set to “0” so that the sign of the difference image is also applied. It may be.
- the image format image size
- the decoding unit 16 decodes the differential image encoded stream read from the storage memory 5
- the decoding size of the differential decoded image is restored to the original size and the decoding addition unit 17 It is also possible to add at.
- the present invention is not limited to this, but is also applicable to H.261, MPEG-1, MPEG-4, and H.264. It is also applicable.
- the code key unit 10 and the code key unit 11 must always have the same code key method. There is no need to use.
- non-real-time VBR image code A plurality of configurations of unit 3 are provided, and decoding of the encoded stream of the original image and the difference image, addition of the decoded image and encoding of the added image are respectively performed in a time division manner or divided in the screen. You may make it perform. In this case, since decoding and re-encoding can be performed at high speed, processing time can be reduced.
- an encoding target image is encoded to generate an original image encoded stream, and at the same time, motion is generated from the encoding target image.
- a local decoded image used for compensated prediction is generated, a difference image between the local decoded image and the encoding target image is acquired, and the obtained difference image is encoded to generate a differential image encoded stream.
- Both the original image encoded stream and the difference image are recorded in the storage memory, and the non-real-time VBR image encoding process is performed, and both the code of the target image and the difference image read from the storage memory are read.
- FIG. 10 is a block diagram showing a configuration of an image encoding / recording reading apparatus according to Embodiment 2 of the present invention.
- the image code key recording / reading device includes a real-time VBR image code key unit 41, a non-real time VBR image coding unit 42, a control unit 43, and a storage memory 44.
- the decoding units 45, 46, and 47 are means for decoding each when the input to the image encoding / recording / reading apparatus is an encoded stream.
- the selectors 48, 49, 50 are means for selecting whether the decoded image or the original image decoded by the decoding units 45, 46, 47.
- the selectors 51 and 52 are means for selecting whether the output force selector 49 or 50 of the selector 48 is output.
- the encoding units 53, 54, and 55 are means for performing encoding in different encoding modes on the original image to be encoded input simultaneously.
- the decoding unit 56 and the encoding unit 57 are respectively connected to the decoding unit 45 and the encoding unit 53 of the real-time VBR image encoding unit 41. Since the non-real-time VBR image encoding unit 41 is operated when the real-time VBR image encoding unit 41 is not operating, the same type can be shared.
- the control unit 43 is a means for setting a mode in each unit of the image encoding / recording / reading apparatus and acquiring information associated with the processing operation of each unit.
- the storage memory 44 is a storage means for recording the encoded stream and information obtained by the control unit 43 and reading them out.
- the external disk 58 is a removable recording medium for recording the encoded stream generated by the encoding unit 57.
- the selector 48 uses a decoded image card obtained by decoding the input encoded stream by the decoding unit 45 or a digital original image as an encoding target original image. select.
- the original image to be encoded from the selector 48 is directly input to the encoding unit 53 and simultaneously transmitted to the other encoding units 54 and 55 via the selectors 51 and 52. Is also entered.
- the encoding unit 53 performs variable rate image encoding so that the set average rate R1 ( ⁇ RO), and records the generated original image encoding stream in the storage memory 44.
- the encoding units 54 and 55 encode the original image to be encoded in different encoding modes from each other and different from the encoding unit 53.
- the generated original image encoded stream is stored in the storage memory 44. Not recorded.
- the sign key mode for example, the quantum key scale is fixed and the same value for all frames, but in the sign key unit 54, the interval between P pictures (M value) ) Is set to “3” and code prediction using a B picture of bidirectional prediction is performed (this is assumed to be encoding mode 1). On the other hand, in the code key 55, the interval between P pictures (M value) Use ⁇ 1 '', i.e. B picture This is not the case when sensible coding is performed (this is called coding mode 2).
- the setting of each code key mode of the encoding units 54 and 55 is performed by the control unit 43 at the time of code key input.
- the control unit 43 also encodes the set encoding modes, the total amount of generated information and the amount of motion vector information, etc. of the entire frame obtained from the encoding units 53, 54, and 55. It is recorded in the storage memory 44 as information on the key.
- the generated original image encoded stream is recorded in the storage memory 44, and the amount of generated information of the frames at the time of encoding by the encoding units 54 and 55 and the operation of the encoding unit 57 to be described later are determined.
- the relationship between the amount of target information to be used will be described with reference to FIG.
- Fig. 11 (a) shows the amount of information generated in units of frames by the sign part 54 with M value "3"
- the lower part of Fig. 11 (a) shows the sign amount with M value "1".
- the sum of the amount of information generated in each code part is obtained for each three frames, and the smaller sum is selected between the two corresponding parts, and the coding part shown in Fig. 11 (b) is selected.
- Determine an M value of 57 The sign key unit 57 obtains a target information amount to be allocated to each frame in the entire image when sign sign is performed based on the generated information amount of the frame associated with each M value thus obtained.
- the decoding unit 56 reads out the original image encoded stream previously generated and recorded by the encoding unit 53 from the storage memory 44 and decodes it. Then, an original image decoded image is obtained.
- the original image decoded image from the decoding unit 56 is encoded by the encoding unit 57 at a lower average encoding rate R2 ( ⁇ R1) than when encoded by the encoding unit 53.
- the control unit 43 determines the amount of information generated between the encoding mode 1 of the encoding unit 54 and the encoding mode 2 of the encoding unit 55 in a predetermined frame unit (3 frames in this example).
- the amount of generated information for each predetermined frame unit is small! /, And the M value of the one is applied to the encoding by the encoding unit 57. Further, the control unit 43 uses the total generated information amount and motion vector information amount in the encoded information recorded in the storage memory 44, that is, information on all frames in the time direction. In this case, the control unit 43 adds the total in the code mode when the entire image to be encoded by the encoding unit 57 is switched in advance to the M value with the smaller amount of generated information for each predetermined frame unit. Based on the amount of information generated, the target information amount to be allocated to all frames is determined. The encoding unit 57 allocates this target information amount. The encoded frame is subjected to encoding, and the generated encoded stream is output to the external disk 58 and recorded.
- one code key target original image is coded in different code key modes in a plurality of code key portions, respectively.
- Only the original image encoded stream generated by one of the encoding units is recorded in the storage memory, and each encoding mode used at the same time and each encoding unit of each of the plurality of encoding units operate.
- the obtained encoded information including the total amount of generated information and the amount of motion vector information in units of frames is recorded in the storage memory, and the original image recorded in the storage memory is recorded in the non-real-time VBR image code.
- the encoded stream is decoded by the decoding unit, and the generated original picture decoded image is in the code mode where the coding information power is also selected by the same type code unit as the one code unit. And sign By assigning a predetermined target information amount based on the information to all frames in the time direction and performing re-encoding, and outputting the generated original image encoded stream, the first encoding is performed. Even when re-encoding at an average encoding rate that is lower than that at the time of encoding, it is possible to minimize image quality degradation by determining the optimal mode (M value in this case). . Note that the encoding units 53, 54, and 55 in this example need to have the same encoding method.
- FIG. 12 is a block diagram showing a configuration of an image encoding / recording reading apparatus according to Embodiment 3 of the present invention.
- the image code recording / reading apparatus includes decoding units 61, 62, 63, selectors 64 to 68, 74, code code units 69, 70, 71, a control unit 72, and a storage memory 73.
- the decoding units 61, 62, and 63 are means for decoding when the input to the image code recording / reading apparatus is an encoded stream.
- the selectors 64, 65, 66 are means for selecting whether the decoded images are original images by the decoding units 61, 62, 63.
- the selector 67 is a means for selecting the output power of the selector 64 or the output of the selector 65.
- the selector 68 is a means for selecting whether the output of the selector 64 is the output of the selector 66.
- the encoding units 69, 70, 71 perform encoding according to a predetermined encoding method on one input target image! It is a means for generating each original image coding stream.
- the control unit 72 has a monitor for each part of the image code recording / reading apparatus. This is a means for setting a mode and acquiring information from each unit.
- the storage memory 73 is a storage means for recording and reading each original image encoded stream and information acquired by the control unit 72 from each unit.
- the selector 74 is means for selecting which encoded stream is to be read from a plurality of original image encoded stream records recorded in the storage memory 73.
- a selector 64 selects a decoded image obtained by decoding the input encoded stream by the decoding unit 61 or a digital original image.
- the output of the selector 64 (the original image to be encoded) is input to the encoding unit 69 and simultaneously to the encoding unit 70 and 71 via the selectors 67 and 68, as indicated by the thick line in FIG. Is also entered.
- the encoding unit 69, 70, 71 encodes one encoding target original image according to each mode set by the control unit 72, and stores each generated original image encoded stream for storage. Record in memory 73.
- the code key at this time is a real-time VBR image code key.
- an image format (image size) A and an average rate R1 As modes set for each code key section, for example, for the code key section 69, an image format (image size) A and an average rate R1, and for the code key section 70, an image is set.
- the encoding unit 71 In the format B and the average rate R2, the encoding unit 71 is set to encode with the image format C and the average rate R3.
- the selector 74 selects the optimum medium power of the three types of encoded streams or the required one according to the remaining capacity of the external disk 75 and the user-powered settings. Select and record.
- a delay of several frames may be provided between the encoding units 69, 70, and 71 with respect to the frame to be encoded.
- the encoding unit 69 performs encoding after several frames after the encoding unit 69 performs encoding, and after several frames, the encoding unit 71 performs the encoding process. Do this.
- the encoding unit 70 uses the encoding result of the encoding unit 69
- the encoding unit 71 uses the encoding result of the encoding unit 69 and 70.
- the code unit 71 that encodes at the lowest rate R 3 is the code of the encoding units 69, 70.
- the decoding information obtained from the decoding unit 61 is used in each of the encoding units 69, 70, and 71.
- the amount of information allocated to each frame to be encoded can be optimized within the range of the real-time VBR code.
- At least a pair of encoding is performed with respect to one program image (original image to be encoded) with different image formats and different code rates.
- Each original image encoded stream is generated, and each generated original image encoded stream is recorded in a storage memory, and a plurality of original image encoded streams recorded in the storage memory is selected according to the use. Since the original image encoded stream of the selected image format and encoding rate is selected and output, the original image encoded stream maintaining the image quality and the high-quality original image encoded stream are selected and used. It becomes possible to do. Further, when recording on the external disk 75, the processing can be performed at a higher speed than when the encoding is performed again in non-real time.
- FIG. 13 is a block diagram showing a configuration of an image code recording / reading apparatus according to Embodiment 4 of the present invention.
- the same functional parts as those in FIG. 1 of the first embodiment are denoted by the same reference numerals.
- This image code recording / reading apparatus includes an image encoding unit (image encoding unit) 80, an image decoding unit (image decoding unit) 81, a control unit 82, and a storage memory 83.
- the image code key unit 80 has the same configuration as the real-time VBR image code key unit 2 shown in FIG.
- the storage memory 83 is a storage unit of the same type as the storage memory 5 shown in FIG. 1 of the first embodiment, but is characterized by data storage management as will be described later.
- the image decoding unit 81 has a configuration in which the encoding unit 18 is removed from the real-time VBR image encoding unit 2 shown in FIG. 1 of Embodiment 1, and monitors the added image obtained by the decoding addition unit 17. To obtain a reproduced image.
- the operations and features described in the first embodiment are the same as those in the fourth embodiment. It can be obtained similarly by composition. Conversely, the features described in the fourth embodiment can be applied to the first embodiment.
- the image encoding unit 80 generally performs the same operation as the real-time VBR image encoding unit 2 in the first embodiment. That is, the code key unit (first code key unit) 10 encodes the encoding target original image to generate an original image encoded stream. Further, a difference image between the local decoded image generated by the encoding unit 10 and the original image to be encoded is acquired by the difference unit 13, and the encoding unit (second encoding unit) 11 encodes the difference image. To generate a differential image coding stream. Both encoded streams of the original image and the difference image are stored in the storage memory 83.
- the image decoding unit 81 generally performs the same operation as that up to the decoding addition unit 17 in the non-real-time VBR image coding unit 3 in the first embodiment. That is, the decoding unit (first decoding unit) 15 decodes the original image encoded stream read from the storage memory 83 to generate an original image decoded image. The read difference image encoded stream is decoded by a decoding unit (second decoding unit) 16 to generate a differential decoded image. The generated decoded original image and differential decoded image are added by the decoding / adding unit 17, and the added image is output to the monitor 96 and displayed.
- This difference decoded image is obtained by encoding the encoding distortion resulting from encoding the original image to be encoded by the encoding unit 10 and decoding it by the decoding unit 16 and decoding the original image.
- the added image is close to the original image to be encoded before encoding. That is, it is possible to reproduce with higher image quality than when the original decoded image is reproduced without adding the differential decoded image.
- the differential image encoded stream stored in the storage memory 83 is appropriately deleted as follows according to the remaining recordable amount of the storage memory 83.
- Fig. 14 shows the state transition of the remaining amount in the storage memory 83.
- state 1 represents a state in which nothing is recorded in the storage memory 83
- A represents its total capacity.
- State 2 represents the state where several programs are recorded.
- B is the accumulated amount of the original image encoded stream
- C is the difference image encoded stream Is the accumulated amount.
- the remaining capacity of the recordable area to inform the user is the capacity excluding only the accumulated amount of the original image encoded stream, that is, the capacity excluding only the A force B in the state 2.
- the next state 3 represents a state in which a large number of programs have been recorded and the remaining amount has become extremely low.
- the capacity indicated by D is deleted from the differential image encoded stream.
- the capacity of the differential image encoded stream decreases and the recordable capacity (the white part of the cylinder) increases.
- the recordable remaining amount of the storage memory 83 is indicated by the state 4
- only the original image encoded stream is stored for the newly recorded program and is stored in the second encoding unit. In this case, the differential image encoded stream is not generated. Thereafter, the differential image encoded stream is appropriately deleted according to the recordable capacity. Eventually, only the original image encoding stream will be recorded for the total capacity A.
- the order of the difference image encoded stream to be erased includes the size of the difference image encoded stream, the elapsed time from the date when the program was recorded, and the recording time when the encoding target original image is encoded.
- Mode average quantization scale value when encoding original image and differential image, power elapsed time when played last time, number of playbacks, program genre, SZN ratio improvement rate when using differential image It will be decided based on this. For example, if a method of erasing a difference image coded stream of a certain capacity in order from the largest capacity is erased, the number of streams to be erased can be reduced.
- the difference image encoded stream is deleted from the mode in which the recording time mode when the encoding target original image is encoded is higher, the degradation caused by not adding the difference decoded image. It will be erased from the small one. If it depends on the number of times played, the elapsed time of power when it was played last time, etc., the viewing frequency of the program can be known. Therefore, the viewing frequency is low, and the difference image encoded stream power of the program can be deleted. Also, the order of the difference image encoded stream to be erased is the order determined by the user.
- the differential image encoded stream is an auxiliary encoded stream for high-quality reproduction to the last, and therefore, when the remaining amount of the storage memory 83 becomes low, etc. Are handled as appropriate. This is a reminder to the user.
- the remaining capacity of the recordable area means that there is no problem even if the capacity is the total capacity excluding only the capacity of the original image encoded stream.
- the original image encoded stream remains even if the differential image encoded stream is deleted, normal image quality reproduction can be performed without any problem. That is, when a differential image encoded stream exists in the storage memory 83, when the original image encoded stream is decoded'reproduced, the differential image encoded stream is simultaneously decoded and the differential decoded image is decoded.
- High-quality playback is performed by adding to the image.
- the decoding unit 15 decodes only the original image encoded stream, Output and play instead of the added image. This is normal image quality playback in the recording mode specified by the user, so there is no disadvantage to the user due to the absence of the differential image stream.
- the original image encoded stream and the difference image encoded stream are managed together in units of programs.
- the corresponding differential image encoded stream is also edited in the same manner. It must be erased. At this time, if the difference image stream cannot be edited due to the encoding mode or the like, the difference image encoded stream is deleted. Further, as shown in FIG. 15, the difference image stream is recorded in the storage memory.
- the content of the playback image quality may be displayed on a screen that informs the user of certain program information. That is, when a differential image encoded stream for a recorded program is accumulated, a display indicating that high-quality playback output is possible (marked with a circle), while there is no differential image encoded stream. In the case of ⁇ , display that it can reproduce and output only normal image quality (X mark).
- Figure 16 shows the encoding of the original image to be encoded and the picture code type. A method of performing encoding by changing the above will be described. For example, as in MPEG-2, the I picture that performs intra-screen coding, the P picture that performs inter-screen prediction in one direction, and the B picture that performs inter-screen prediction in both directions, the resulting code distortion and perceptible noise Different types.
- the quantization matrix may be different from the encoding time of the encoding target original image so as to be optimal in the encoding of the difference image.
- FIG. 17 shows an example of the amount of information assigned to each frame when the difference image code is input.
- FIG. 17 (a) shows the quantization scale average value of each frame when the encoding unit 10 encodes the encoding target original image, or the difference image between the encoding target original image and the locally decoded image. This represents the change in the sum of absolute values of.
- An amount of change information corresponding to the fluctuation range of the quantization scale average value or the absolute value sum of the difference images with respect to a predetermined threshold value is obtained.
- the amount of change information is set to a value that increases or decreases with a predetermined value as a reference, and the information that is assigned to each frame when the sign key unit 11 codes the difference image. Amount.
- the larger the quantization scale value the worse the image quality.
- the absolute value sum of the pixels of the difference image substantially corresponds to the SZN ratio.
- a large sum of absolute differences is equivalent to a low SZN ratio, meaning that the image quality is poor. Therefore, a frame with a large average quantization scale or difference sum of absolute values of the original image to be encoded is considered to have poor image quality, and when encoding a differential image, much information is available for that frame. Assign an amount. This greatly improves the image quality of the added image when the image decoding unit 81 adds the differential decoded image to the original decoded image, that is, the reproduced image.
- the image decoding unit 81 can reduce the difference in image quality caused by the difference in the genre of the added image when the differential decoded image is calored with the original decoded image, that is, the reproduction image genre.
- the image decoding unit 81 determines the difference decoded image corresponding to such a difference image. If it is added to the original decoded image, noise that did not originally exist will be generated. Therefore, in the addition process of the difference decoded image and the original image decoded image in the decoding / adding unit 17, the average quantization value of the frame of the difference image is set to a certain threshold or the average quantization of the frame at the time of encoding of the original image. For frames that are larger than the scale value, the original decoded image is not added. As a result, the generation of the noise component can be prevented.
- pixels called isolated points having very little correlation with surrounding pixels may occur in the difference image.
- This isolated point is often present in a relatively flat portion that was originally present in the original image to be encoded or is considered to be a noise component generated by encoding the original image. If such isolated points and noise are directly encoded, the efficiency of the code is reduced.
- the difference image includes an area where the viewer's eyes are easily gazed, such as a human face.
- FIG. 18 shows an example of a differential image frame in which these isolated points and human faces exist. Therefore, in the second code part, signal components that are not visually effective, such as isolated points and noise, are removed by filtering, and then the differential image is coded.
- FIG. 19 shows the relationship between the encoding block boundaries when encoding the original image to be encoded and encoding the difference image in the image encoding unit 80.
- the difference When encoding a split image, the encoding block boundary and the boundary position of the original image to be encoded are shifted by several pixels in the horizontal direction and several lines in the vertical direction, that is, the boundary of the code block is not overlapped. And sign y.
- the code ⁇ that is obtained by dividing a frame into blocks, noise that looks like a block called block distortion may be generated by performing the code ⁇ .
- the difference image is encoded, the distortion at the block boundary caused by the sign of the original image can be canceled by shifting the block boundary.
- FIG. 19 shows the relationship between the encoding block boundaries when encoding the original image to be encoded and encoding the difference image in the image encoding unit 80.
- the number of pixels in the horizontal direction and the number of lines in the vertical direction are the same in the original image and the difference image, but the number of pixels and lines in the difference image are increased.
- the entire original image can be included.
- the difference image portion outside the area of the original image is set to a fixed value such as black or gray.
- the pixel value of a difference image obtained by subtracting the difference between the original image and the locally decoded image that uses an 8-bit pixel value as a code object is 9 bits.
- the method of shifting the 9-bit pixel value to 8 bits or less by reducing the information amount of the differential image encoded stream has been described in FIG. 4 of the first embodiment.
- this is the difference between the original image and the locally decoded image, most of the pixels are considered to be within the range represented by 8 bits. Therefore, instead of performing such a bit shift, limit processing is performed on the pixel value as shown in the following equations (1) and (2).
- S is the pixel difference value
- Pmax is the maximum value represented by 8 bits, or the maximum value specified by the sign standard
- Pmin is the minimum value or sign standard represented by 8 bits. The minimum value specified in.
- the number of pixels corresponding to the expression (1) or (2) is calculated in the frame, and when the number is larger than a predetermined threshold, the pixel of the frame.
- bit shift processing and, on the other hand, to perform a limit process when it is below the threshold.
- the shift amount is stored in the storage memory 83 together with the frame number.
- User data for each frame It is necessary to multiplex it to the data.
- decoding is performed in the image decoding unit 81, addition may be performed after performing a bit shift in the reverse direction based on the stored or multiplexed information.
- the image decoding unit 81 adds the original decoded image obtained by decoding the original image encoded stream and the differential decoded image obtained by decoding the differential image encoded stream, the same frame is used. It must be. For this purpose, the time code of the GOP header of each encoded stream is matched, and is multiplexed on the picture header of each frame, and the frame is synchronized by using a temporal reference method. The decoded image and the difference decoded image are added. In addition, frame synchronization is achieved by using a method of multiplexing the synchronization signal with the user data or a method of multiplexing the synchronization information with the VOBU (Video Object Unit) specified in the DVD recorder standard. It is also possible to add the decoded image and the differential decoded image.
- VOBU Video Object Unit
- the power that has been described here regarding the case where MPEG-2 is applied as an example of the coding scheme is not limited to this.
- H.261, MPEG-1, MPEG-4, and H.264 are also applicable.
- the same code key method is not necessarily applied to the code key unit 10 and the code key unit 11. There is no need to use it.
- the management and erasure method of the differential image encoded stream can be realized by applying the management and erasing method of the encoded stream of the original image performed by the current DVD recorder or the like.
- the image encoding unit generates the original image encoded stream by encoding the encoding target original image, and at the same time, from the encoding target original image.
- a local decoded image used for motion compensation prediction is generated, a difference image between the local decoded image and the original image to be encoded is acquired, and the obtained difference image is encoded to generate a differential image encoded stream.
- the generated original image encoded stream and difference image stream are recorded in the storage memory, and the image decoding unit decodes each of the original image encoded stream and the difference image encoded stream read from the storage memory to decode the original image.
- the difference decoded image is added to the original decoded image to generate the added image, thereby maintaining the output image with high image quality. It can be. Storage By using a free area that is not originally used by the product memory, it is possible to perform high-quality playback that exceeds the normal image quality! /, So use the storage memory effectively. That's right.
- the differential image encoded stream used for high image quality is appropriately deleted according to the remaining amount of the recordable area of the storage memory. For this reason, it is not possible to record an original image encoded stream for a time shorter than the original recording time. That is, the user can use all of the initial recording time in the storage memory for the original image encoded stream. Even if the difference image encoding stream is deleted, the original image encoding stream in the recording mode set by the user remains in the storage memory, so that the original image quality set by the user can be obtained. It can be regenerated and does not cause any disadvantage to the user.
- the differential image encoded stream exists in the storage memory, as shown in the first embodiment, when re-encoding is performed for recording on a small-capacity external disk, the original image By performing encoding on the added image obtained by adding the differential decoded image to the decoded image, it is possible to minimize image quality deterioration at a low rate.
- FIG. 20 is a block diagram showing a configuration of an image encoding / recording reading apparatus according to Embodiment 5 of the present invention.
- the same functional parts as those in FIG. 12 of the third embodiment are denoted by the same reference numerals.
- This image code recording / reading apparatus includes a decoding unit 114 in addition to the configuration shown in FIG.
- the decoding unit 114 decodes the one selected by the selector 74 from the plurality of original image encoded streams obtained by encoding one original image to be encoded stored in the storage memory 73. And means for obtaining an original image decoded image.
- the original image decoded image is different from the configuration of the third embodiment in that it is given to the monitor 115 and displayed. Therefore, the operation of each unit excluding decoding unit 114 is the same as that described in the third embodiment. Further, the feature of the fifth embodiment obtained from the configuration before the decoding unit 114 can also be applied to the third embodiment.
- the encoding unit 69 uses the recording time mode (encoding average rate) set by the user for the original image to be encoded of the program. Encoding is performed. For example, if you set to record in user-powered time recording mode (mode that can record about 4 hours on 4.7 GB on one side of a DVD disc: also called LP mode in the DVD recorder catalog), the code section 69 In this mode, encoding is performed and the generated original image encoded stream is stored in the storage memory 73.
- the selector 67 selects the output of the selector 64 and gives it to the sign key unit 70.
- the selector 68 also gives the output of the selector 64 to the sign key unit 71.
- the encoding unit 70 can record a higher-quality recording mode than the recording mode set by the user, such as a 2-hour recording mode (also referred to as SP mode), or 4 Code encoding is performed in another mode not described in a catalog or the like in which the average encoding rate is higher than that in the time recording mode, and the generated original image encoded stream is stored in the storage memory 73.
- the original image encoded stream generated by the encoding unit 70 is an original image encoded stream with higher image quality than that by the encoding unit 69.
- the encoding unit 71 performs encoding on the encoding target original image of the same program in a recording mode different from that of the encoding units 69 and 70, and generates a high-quality original image code.
- the stream is stored in the storage memory 73.
- handling of the high-quality original image code stream generated by the code stream units 70 and 71 is the same as the method for the differential image coding stream described in the fourth embodiment. Done in the way.
- the high-quality original image encoded stream stored in the storage memory 73 is appropriately deleted according to the remaining amount of the recordable area of the storage memory 73. That is, the high-quality original image encoded stream may be omitted and is treated as an auxiliary stream.
- the encoded stream is decoded by the decoding unit 114 and generated.
- the decoded original picture is given to the monitor 115 and displayed.
- the decoding unit 114 decodes the original image encoded stream in the recording mode designated by the user and decodes the original image. The image is given to the monitor 115 and displayed.
- the information display indicating whether or not the image quality can be reproduced is the same as that in the case of the differential image encoded stream described in the fourth embodiment.
- the high-quality original image encoded stream according to the fifth embodiment itself is a code obtained by encoding the target original image. You can display it as it is. Therefore, there is no processing to add to the original decoded image as in the case of the differential image encoded stream in the fourth embodiment! Therefore, only one decoding unit 11 4 is required for the reproduction system. In addition, there is no need for a mechanism for synchronizing synchronization in units of frames.
- the encoding unit 69 performs encoding after several frames after encoding is performed by the encoding unit 69, and the encoding unit 71 performs encoding after several frames. Make sure to do it.
- the encoding unit 70 uses the encoding result of the encoding unit 69, and the encoding unit 71 uses the encoding result of the encoding unit 69 and 70.
- the code key unit 70 performs the code key in the high-quality recording mode after several frames after the code key unit 69 performs the code key in the recording mode set by the user. It is possible to optimize the allocation of information to each frame and the selection of modes, and to achieve higher image quality.
- the encoding unit 69 first performs encoding in the high-quality recording mode, and after several frames, encoding is performed in the recording mode set by the user in the encoding unit 70. At this time, the frame code information obtained from the encoding unit 69 that has previously performed encoding is used. As a result, the amount of information for each frame Optimization can be achieved in allocation and mode selection, and extreme image quality degradation can be prevented even at low rates.
- a plurality of encoding units 69, 70, and 71 perform code encoding for the same program in the same recording mode set by the user. May be.
- each of the encoding units 69, 70, and 71 encodes one encoding target original image with the same image format and the same encoding rate, such as a P picture interval and a quantization matrix.
- the different key parameters are used to perform the encoding, and the generated original image encoded stream is recorded in the storage memory 73.
- the original image code recorded in the storage memory 73 Compare the average value of the quantization scale or the SZN ratio of the original image, and leave only the original image encoded stream determined to have the best image quality, and store the other original image encoded streams for storage. It may be deleted from 73. By doing so, it is possible to use an original image encoded stream having an optimum image quality when encoding is performed in the same recording mode set by the user.
- an original image encoding stream is encoded by encoding one encoding target image in the recording time mode and the image format set by the user.
- an original image encoded stream having a higher image quality than that of the above-mentioned encoding is generated for the same encoding target image in a higher-quality and higher-resolution mode than the above-described encoding, and each original image is generated.
- the storage memory is originally used to store the empty, empty, and empty areas for storing the high-quality original image encoded stream.
- the storage memory can be used effectively.
- the high-quality original image encoded stream is appropriately deleted according to the remaining area of the recordable area of the storage memory, the original recording time for the high-quality original image encoded stream can be increased.
- the entire initial recording time of the storage memory can be used for recording the original image encoded stream in the recording mode set by the user.
- the original image encoded stream of the recording mode set by the user since the original image encoded stream of the recording mode set by the user remains, it is possible to reproduce the original image quality set by the user, which is not disadvantageous to the user.
- the original image encoded stream exists in the storage memory, as shown in the first embodiment, when re-encoding is performed for recording on a small-capacity external disk, a high-quality image is obtained. Decoding the original image encoded stream and performing the encoding on the original image decoded image can minimize image quality degradation at a low rate.
- FIG. 21 is a block diagram showing a configuration of an image code recording / reading device according to the sixth embodiment of the present invention.
- This image code key recording / reading apparatus includes an image code key unit 120, an image decoding unit 121, a control unit 122, and a storage memory 123.
- the decoding unit 124 is a means for decoding an encoded stream when the input to the image encoding / recording / reading apparatus is an encoded stream.
- the selector 125 selects an original image input separately from the decoded image decoded by the decoding unit 124 as an encoding target original image, and also selects the selected encoding target original image force frame memory (first image).
- Frame memory is a means for selecting a difference image from 129.
- the encoding unit 126 is a unit that performs encoding on the input original image to be encoded.
- the code key unit 126 has a function of outputting local decoded images to be used for motion compensation prediction in the display order, similarly to the code key unit 10 shown in FIG. 1 of the first embodiment.
- the delay frame memory 127 is a means for giving to the input image a delay amount for matching the local decoded image from the encoding unit 126 given to the difference unit 128 with the temporal frame position.
- the difference unit 128 is means for taking a difference between the delayed code key target original image and the locally decoded image from the code key unit 126 and generating the difference image.
- the frame memory 129 is a means for holding the difference image generated by the difference unit 128 for several frames.
- the control unit 122 is means for acquiring information on the operation result as auxiliary information from each unit of the image encoding / recording reading apparatus and setting the mode of each unit.
- the storage memory 123 is a storage means for recording and reading the encoded stream of each of the original image and the difference image and the auxiliary information acquired by the control unit 122.
- the decoding unit 130 can be the same as the decoding unit 124 of the image encoding unit 120.
- the decoding unit 130 is means for reading the original image encoded stream and the differential image encoded stream from the storage memory 123 and decoding them.
- the frame memory (second frame memory) 131 is means for holding the original image decoded image decoded by the decoding unit 130 for several frames.
- the decoding and adding unit 132 is a means for adding the differential decoded image decoded by the decoding unit 130 to the original image decoded image from the frame memory 131 and giving the added image to the monitor 133 for display.
- An original image encoded stream and a differential image encoded stream are generated and recorded in the storage memory 123, respectively, and further, when played back, the original image encoded stream and the differential image encoded stream are read from the storage memory 123.
- the operations of reading out and decoding each of them, and adding and displaying the decoded original decoded image and differential decoded image are almost the same as the operations described in the fourth embodiment.
- the above operation is performed using a plurality of encoding units and decoding units.
- one encoding unit and one decoding unit are provided. It differs in the point to use it in.
- the decoding unit 130 is capable of decoding a plurality of frames within one frame period.
- Figure 22 shows the relationship between the code frame and the decoded frame that are processed within one frame period.
- the encoding unit 126 encodes the original image to be encoded in the first half of one frame period and encodes the difference image in the second half as shown in FIG. Encoding.
- the original image encoded stream generated by the encoding performed in the first half is recorded in the storage memory 123, and the local decoding generated simultaneously when the encoding unit 126 encodes the original image to be encoded.
- the images are output in the display order.
- the difference unit 128 generates a difference image from the output local decoded image and the encoding target original image whose frame phase is matched by the delay frame memory 127. This difference image is held in the frame memory 129 for several frames.
- the difference image is read from the frame memory 129 and is supplied to the code key unit 126 via the selector 125.
- the differential image is encoded, and the generated differential image encoded stream is recorded in the storage memory 123.
- the selector 125 for switching the image (original image to be encoded or difference image) input to the encoding unit 126 for the first half and the second half of one frame period is synchronized with the timing.
- Control for outputting the difference image from the frame memory 129 and control for individually recording the original image encoded stream and the difference image encoded stream in the storage memory 123 are performed by the control unit 122.
- the decoding unit 130 decodes the original image encoded stream read from the storage memory 123 to generate an original image decoded image.
- the generated original image decoded image is held in the frame memory 131 in order to perform delay alignment for addition with the differential decoded image generated in the second half.
- the decoding unit 130 generates a differential decoded image by decoding the differential image encoded stream read from the storage memory 123 in the latter half of one frame period.
- the generated differential decoded image is added to the original decoded image generated and delayed by the decoding addition unit 132, and the obtained added image is given to the monitor 133 and displayed.
- control for reading out the original image coding stream and the difference image coded stream from the storage memory 123 and addition with the decoded difference decoded image are performed in the first half and the second half of one frame period, respectively. Therefore, control for reading the original decoded image from the frame memory 131 is performed by the control unit 122.
- the difference image encoded stream recorded in the storage memory 123 may be deleted according to the remaining amount of the storage memory 123.
- the encoding key unit 126 may not generate the difference image encoded stream according to the remaining amount of the storage memory 123.
- the decoding unit 130 stores only the original image encoded stream.
- the image decoding unit 121 may use only the decoded original image decoded image as a reproduction output of the image decoding unit 121 instead of the added image. It is assumed that the original image encoded stream and the difference image encoded stream stored in the storage memory 123 are managed together for each program.
- the remaining capacity of the recordable storage memory 123 that informs the user is the capacity obtained by dividing the total capacity of the storage memory 123 by only the stored amount of the original image encoded stream.
- the order of erasure of the differential image encoded stream that is erased according to the remaining capacity of the storage memory 123 is the size of the differential image encoded stream, the recorded date, and the original image paired with the differential image.
- Recording time mode, encoding target original image and average quantization scale value when differential image is encoded, elapsed time since last playback, number of playbacks, program genre or SZN ratio when using differential image It is determined based on information indicating the improvement rate of the user, or determined by the user's selection.
- the difference image encoded stream stored in the storage memory 123 is deleted in conjunction with the corresponding original image encoded stream when the corresponding original image encoded stream is edited and deleted. At this time, the difference image stream is edited. If it is impossible, delete it.
- the encoding unit 126 may encode the difference image in a different encoding mode than when the encoding target original image is encoded.
- the mode for encoding the difference image is a picture code type, a P picture interval, a quantization scale value, or a quantization matrix.
- the encoding unit 126 may encode the difference image by changing the encoding start position in the screen from when the encoding target original image is encoded.
- the encoding unit 126 may encode the difference image according to the amount of information assigned to each frame determined based on the absolute value sum of each frame of the difference image.
- the code key unit 126 uses the amount of information allocated to each frame of the difference image determined based on the average value of the quantization scale of each frame when the code key target original image is keyed. It may be possible to encode the difference image.
- the sign key unit 126 may sign the difference image based on the information amount allocated to each frame of the difference image determined based on the genre information of the program.
- the encoding unit 126 may encode the difference image after reducing the number of effective bits of the difference value. Also, instead of reducing the number of effective bits of the difference value, the difference value exceeding the range that can be expressed by the predetermined number of bits to be encoded is replaced with the maximum value or the minimum value that can be expressed by the predetermined number of bits. You can also sign the difference image.
- the sign key unit 126 When encoding the difference image, the sign key unit 126 counts the number of difference values exceeding the range that can be expressed by a predetermined number of bits for performing the sign key, and the number of the difference values is calculated. When the value is larger than a predetermined threshold, bit shift is performed. When the number of the difference values is smaller than the predetermined threshold, the maximum value or the minimum value that can be expressed by the predetermined number of bits without performing bit shift. Let's replace it with.
- the sign key unit 126 stores auxiliary information in the storage memory 123 indicating the frame power obtained by performing bit shift on the difference value or the frame replaced with the maximum value or the minimum value that can be expressed by a predetermined number of bits.
- the auxiliary information may be multiplexed with the user data of the differential image encoded stream.
- the encoding unit 126 encodes the difference image based on the information amount in the frame allocated based on the information in the region in the frame that the viewer's eyes watch when the encoding target original image is encoded. Even so,
- the sign key unit 126 may signify the difference image after removing signal components such as isolated points and noise that are not visually effective by filtering.
- the encoding unit 126 When encoding the difference image, the encoding unit 126 encodes the encoding block where the encoding block boundary and the boundary position of the original image to be encoded are shifted by several pixels in the horizontal direction and several lines in the vertical direction. Let's do the sign ⁇ for.
- the decoding / adding unit 132 performs quantization of the frame when the quantization scale average value of the frames of the difference image at the time of encoding is applied to the same frame of the predetermined threshold or encoding target original image. If it is larger than the average value of the scale, do not add the difference decoded image to the original decoded image.
- the decoding and adding unit 132 is a time code described in accordance with the GOP header of the original image encoded stream and the difference image encoded stream, a synchronization signal multiplexed with user data, or specified by the DVD recorder standard.
- the original image decoded image and the difference decoded image are added by synchronizing the frames based on the synchronization signal described in the VOBU.
- the sixth embodiment has a function of encoding a plurality of frames within one frame period.
- the encoding target original image is The encoded image is encoded and an original image encoded stream is generated and recorded in the storage memory, and the locally decoded images used for motion compensation prediction at the time of encoding are output in the display order, and the difference image is input.
- An encoding unit that encodes the difference image to generate a difference image encoded stream and records the encoded image in the storage memory, and the encoding target original image when the encoding target original image is input.
- a delay frame memory that delays by a predetermined amount, a difference image unit that obtains a difference image from the original decoding target image from the delay frame memory and a local decoded image of the encoding key, and a plurality of obtained difference images Frame retention
- the first frame memory, the original image to be encoded, and the difference image held in the first frame memory are alternately selected within one frame period and input to the code frame section and the delay frame memory.
- a decoding unit that decodes an original image encoded stream and a differential image stream that are alternately read from the storage memory, and a decoding unit that decodes each frame.
- a second frame memory for holding the original decoded image for several frames, and an added image generated by adding the differential decoded image decoded by the decoding unit to the original decoded image held in the second frame memory It consists of an adder. Therefore, even when there is only one encoding unit and one decoding unit, the original image can be encoded and decoded, and the differential image can be encoded. The image quality can be maintained in the same way.
- Embodiment 7 When the functions of the encoding unit and decoding unit shown in the sixth embodiment are performed by software using a microprocessor, the difference image encoded stream is changed according to the processing capability of the microprocessor and the load state at that time. It can also be considered to perform control that adaptively decides whether to generate or decode a differential image coding stream. [0074] Embodiment 7.
- FIG. 23 is a block diagram showing a configuration of an image encoding / recording reading apparatus according to Embodiment 7 of the present invention.
- a decoding unit 224 is a means for decoding when an input to the image encoding / recording / reading apparatus is an encoding stream.
- the selector 225 selects a decoded image decoded by the decoding unit 224 or a separately input original image as an encoding target original image, and stores the selected encoding target original image from the frame memory 229. It is a means to select an image.
- the code key unit 226 has a function of performing a code key for a plurality of frames within one frame period, and is a means for encoding the input original image to be encoded.
- the frame memory 229 is means for holding the encoding target original image for a plurality of frames when the encoding target original image is input.
- the control unit 222 is means for acquiring information on the operation result as auxiliary information from each unit of the image encoding / recording reading apparatus and setting the mode of each unit.
- the storage memory 223 is storage means for recording and reading a plurality of original image encoded streams and auxiliary information obtained by the control unit 222 as well.
- the selector 221 is means for selecting which encoded stream is to be read from a plurality of original image encoded streams recorded in the storage memory 223.
- the decoding unit 230 is a means for decoding the original image encoded stream read from the storage memory 223 and giving the generated original image decoded image to the monitor 233 for display.
- This image encoding / recording / reading device generates a plurality of original image encoded streams from an original image to be encoded relating to one program, stores them in the storage memory 223, and reproduces the original images according to the use.
- the operation of reading the encoded stream from the storage memory 223 and decoding it is substantially the same as the operation described in the third embodiment and the fifth embodiment.
- the above operation is performed using a plurality of code sections in order to generate a plurality of original image coding streams.
- the seventh embodiment is characterized in that it is performed using one encoding unit.
- the code key section 226 For the code key section 226, one that can code a plurality of frames within one frame period is used. Used. The operation of performing a plurality of frame codes within one frame period is as described in FIG. 22 of the sixth embodiment. However, in the case of the seventh embodiment, the encoding target original image is encoded in the first half of one frame period, and the encoding target original image read out from the frame memory 229 in the latter half is supported. Encoding is performed on the retained image.
- the encoding unit 226 performs encoding on the encoding target original image input in the first half of one frame period, and records the generated original image encoded stream in the storage memory 223.
- the sign is performed in the recording time mode (code sign average rate) and image format set by the user. Further, at this time, the same code target original image is given to the frame memory 229 and held for several frames.
- the code key target original image held in the frame memory 229 (this is referred to as a held image) is read, and the code key portion 226 is passed through the selector 225. Given to.
- the encoding unit 226 encodes this retained image and records the generated original image encoded stream in the storage memory 223.
- the encoding for the retained image is performed in a mode with higher image quality and higher resolution than that performed for the original image to be encoded in the first half of one frame period. Therefore, a high-quality original image encoded stream is generated and recorded.
- the control unit 222 controls the output of the retained image from the frame memory 229 in synchronization with the recording and the control for individually recording the original image encoded stream and the high-quality original image encoded stream in the storage memory 223. Done.
- the decoding unit 230 reads the original image encoded stream or the high-quality original image encoded stream.
- the original encoded image stream is decoded to generate a corresponding decoded original image.
- the obtained original picture decoded image is given to the monitor 233 and displayed.
- the high-quality original image encoded stream recorded in the storage memory 223 may be deleted according to the remaining amount of the storage memory 223.
- the high-quality original image encoded stream recorded in the storage memory 223 may not be generated according to the remaining amount of the storage memory.
- the recording time mode (encoding average rate) set by the user who speaks, the original image encoded stream in the image format May be selected for reproduction output instead of the high-quality original image encoded stream.
- the recording time mode (encoding average rate) set by the user, the original image encoded stream of the image format, and the high-quality original image encoded stream are managed together for each program.
- High-quality playback output is possible for programs in which the high-quality original image encoded stream is stored in the storage memory 223 on the screen that informs the program information recorded in the storage memory 223. On the other hand, for programs whose high-quality original image encoded stream is not stored in the storage memory 223, a display indicating that only normal-quality playback output is possible is displayed.
- the remaining capacity of the recordable storage memory 223 to inform the user is the recording time mode (encoding average rate) set by the user based on the total capacity of the storage memory 223 and the original image encoded stream of the image format.
- the capacity is obtained by dividing only the accumulated amount.
- the order of erasing the high-quality original image encoded stream that is erased according to the remaining capacity of the storage memory 223 is the quality of the high-quality original image encoded stream, the recording date, and the recording set by the user. Determined based on time mode, image format, powerful elapsed time of previous playback, number of playbacks, program genre, or information indicating the improvement rate of SZN ratio when decoding and playback of high-quality original image encoded stream To be determined by the user's force or the user's choice.
- the high-quality original image encoded stream stored in the storage memory 223 is the corresponding recording time mode (encoding average rate) and image format original image set by the user.
- the encoded stream is edited and erased, it is linked and edited and erased. At this time, if the original high-quality encoded image stream cannot be edited, it may be erased. .
- the other of the pair of encodings performs encoding with a delay of several frames, respectively, and the code information of the frame obtained from the one encoding performed previously is performed several frames later. It may be used with the encoded data.
- a frame memory that holds the encoding target original image for a plurality of frames, an encoding target original image, and A selector that alternately selects and outputs a retained image corresponding to the original image to be encoded from the frame memory within the one frame period, and a function of encoding a plurality of frames within the one frame period.
- the original image encoded stream is generated by performing encoding on the original image to be encoded in the recording time mode and image format set by the user.
- the stored image When the corresponding stored image is input from the selector camera, the stored image is encoded in a high-quality and high-resolution mode to generate a high-quality original image code. Generates a stream and records it in the storage memory, and decodes the original image encoded stream read from the storage memory or the high-quality original image encoded stream to generate the corresponding original decoded image
- the decoding part to perform is provided. Therefore, even when there is only one code key section, it is possible to generate a plurality of original image encoded streams having different image quality by encoding the original image, and the same effects as in the fifth embodiment can be obtained.
- FIG. 24 is a block diagram showing a configuration of an image code recording / reading device according to the eighth embodiment of the present invention.
- the image encoding / recording / reading apparatus includes a real-time image encoding unit 140, a non-real-time image encoding unit 141, a control unit 142, and a storage memory 143.
- the same function parts as those shown in FIG. 12 in the third embodiment are denoted by the same reference numerals.
- non-real-time image encoding unit 141 the same functional part as that shown in FIG.
- the control unit 142 is a means for setting a mode in each unit of the image encoding / recording reading apparatus and acquiring information associated with the processing operation of each unit.
- the storage memory 143 is a storage means for recording the original image encoding stream and information acquired by the control unit 142 and reading them out.
- the external disk 58 is a removable recording medium for recording the encoded stream generated by the encoding unit 57.
- the feature of the eighth embodiment is that the encoded stream generated by the encoding unit 57 can be recorded not only on the external disk 58 but also on the storage memory 143. is there.
- the image format set by the user and the recording time mode (encoding average rate) are encoded and recorded. Recording is performed with a high-definition image format or at a higher rate than the encoding average rate set by the user.
- the image encoded recording / reading apparatus performs recording and reproduction operations based on the intention of the user, and in a state (which is not used in appearance), has high definition, A high-rate original image encoded stream is decoded, and non-real-time decoded images are re-encoded using the code information acquired and recorded at the time of real-time encoding. In this re-encoding, the encoding is performed at the same image format and encoding rate average rate set by the user at the time of real-time encoding. The generated original image encoded stream is recorded in the storage memory 143 again.
- the code key information in the mode set by the user at the time of the real-time encoding key is compared with the code key information when the re-coding key is performed. And win in terms of image quality Only the original image encoded stream determined to be in the storage memory 143 is left in the storage memory 143, and the original image encoded stream determined to be inferior in image quality, and the setting higher than the user setting. The original image encoded stream obtained by encoding in the rate mode is deleted from the storage memory 143.
- the code key unit 69 performs code keying with the image format A and the code key average rate R1, generates an original image coded stream, and records it in the storage memory 143.
- the code key unit 70 performs code keying with the image format A and the coding average rate R2 (> R1), generates an original image coded stream, and records it in the storage memory 143.
- the non-real-time image encoding unit 141 reads the encoding from the storage memory 143.
- the original image encoded stream that has been encoded at the average rate R2 is read and decoded by the decoding unit 56.
- the encoding unit 57 performs encoding on the original decoded image generated by decoding at the encoding average rate R1.
- the information of all the frames recorded when encoding is performed in real time is read from the storage memory 143, and the encoding unit 57 performs allocation of the optimal amount of information to each frame and encodes the generated original data.
- the image encoding stream is recorded in the storage memory 143 again.
- the original image encoded stream recorded in the storage memory 143 is encoded with each of the original code rate R1 and the average code rate R2 obtained by encoding at the time of real-time encoding.
- the image quality is good in the original image encoded stream of the code key average rate R1, which is recorded in the storage memory 143 in real time and non-real time, respectively. Only the encoded stream is left, and the original image encoded stream with the average encoding rate R1 and the original encoded image stream with the encoding average rate R2 determined to have poor image quality are deleted.
- the sign key information for determining the image quality in this case is the frame information when sign sign is performed. An average value of quantization scale values in units of frames is used.
- the image format at the time of real-time encoding is different (for example, B), it is converted into the image format set by the user (A in this example) when encoding by the encoding unit 57.
- Force sign ⁇ is converted into the image format set by the user (A in this example) when encoding by the encoding unit 57.
- one encoding target original image is encoded with the image format and encoding average rate set by the user, and set by the user.
- the image format is higher-definition than the selected image format or the encoding rate is higher than the encoding average rate set by the user, and each obtained original image encoded stream is recorded in the storage memory,
- the original image encoded stream encoded at a high code average rate read from the storage memory is used.
- the first encoded signal is performed at the average code rate set by the user with respect to the original decoded image generated by decoding.
- Re-encode by optimally allocating information to each frame, record the original image encoded stream generated by re-encoding in the storage memory, and record it in one storage target recorded in the storage memory
- the original image encoded stream related to the original image only the encoded stream determined to have good image quality is left, and all of the original image encoded stream determined to have poor image quality is deleted. Since it is configured to read out the encoded stream that is determined to have good image quality recorded in the memory, it is possible to provide the encoded stream to the user during playback. .
- the image encoding / recording / reading apparatus provides an image having the same or higher image quality as the original image at the time of recording when the image is encoded and recorded and reproduced.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
Description
Claims
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007509151A JPWO2006100820A1 (ja) | 2005-03-22 | 2006-01-12 | 画像符号化記録読出装置 |
| US11/883,292 US20080310510A1 (en) | 2005-03-22 | 2006-01-12 | Image Coding, Recording and Reading Apparatus |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005-082114 | 2005-03-22 | ||
| JP2005082114 | 2005-03-22 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2006100820A1 true WO2006100820A1 (ja) | 2006-09-28 |
Family
ID=37023510
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/JP2006/300302 Ceased WO2006100820A1 (ja) | 2005-03-22 | 2006-01-12 | 画像符号化記録読出装置 |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US20080310510A1 (ja) |
| JP (1) | JPWO2006100820A1 (ja) |
| WO (1) | WO2006100820A1 (ja) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2010134238A1 (ja) * | 2009-05-19 | 2010-11-25 | パナソニック株式会社 | 映像記録装置 |
Families Citing this family (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8311120B2 (en) * | 2006-12-22 | 2012-11-13 | Qualcomm Incorporated | Coding mode selection using information of other coding modes |
| JP5300438B2 (ja) * | 2008-11-21 | 2013-09-25 | キヤノン株式会社 | 画像処理装置、画像処理方法及びプログラム |
| US8532174B2 (en) * | 2009-01-27 | 2013-09-10 | General Instrument Corporation | Method and apparatus for distributing video program material |
| JP5257215B2 (ja) * | 2009-04-16 | 2013-08-07 | ソニー株式会社 | 画像符号化装置と画像符号化方法 |
| US8694686B2 (en) | 2010-07-20 | 2014-04-08 | Lg Electronics Inc. | User profile based configuration of user experience environment |
| CN103098500B (zh) * | 2010-07-20 | 2016-10-12 | Lg电子株式会社 | 电子设备、电子系统和使用其提供信息的方法 |
| WO2012011630A1 (en) | 2010-07-20 | 2012-01-26 | Lg Electronics Inc. | Selective interaction between networked smart devices |
| GB2487200A (en) * | 2011-01-12 | 2012-07-18 | Canon Kk | Video encoding and decoding with improved error resilience |
| US8548848B1 (en) * | 2011-06-21 | 2013-10-01 | Google Inc. | Mobile interstitial ads |
| JP6191160B2 (ja) * | 2012-07-12 | 2017-09-06 | ノーリツプレシジョン株式会社 | 画像処理プログラムおよび画像処理装置 |
| US9813730B2 (en) * | 2013-12-06 | 2017-11-07 | Mediatek Inc. | Method and apparatus for fine-grained motion boundary processing |
| WO2016110943A1 (ja) | 2015-01-06 | 2016-07-14 | 日立マクセル株式会社 | 映像表示装置、映像表示方法、及び映像表示システム |
| US9860535B2 (en) * | 2015-05-20 | 2018-01-02 | Integrated Device Technology, Inc. | Method for time-dependent visual quality encoding for broadcast services |
| CN111866443A (zh) * | 2019-04-25 | 2020-10-30 | 黄河 | 视频流数据存储方法、装置、系统和存储介质 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11155102A (ja) * | 1997-11-20 | 1999-06-08 | Matsushita Electric Ind Co Ltd | ストリーム記録再生装置 |
| JP2000115701A (ja) * | 1998-09-29 | 2000-04-21 | Toshiba Corp | 記録装置及び再生装置並びに記録媒体 |
| JP2001094982A (ja) * | 1999-09-20 | 2001-04-06 | Nippon Telegr & Teleph Corp <Ntt> | 階層的画像符号化方法及びその装置と、その方法の実現に用いられるプログラム記録媒体と、階層的画像復号方法及びその装置と、その方法の実現に用いられるプログラム記録媒体 |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0846959A (ja) * | 1994-07-28 | 1996-02-16 | Toshiba Corp | 動画像編集装置 |
| JPH08331555A (ja) * | 1995-05-31 | 1996-12-13 | Sanyo Electric Co Ltd | 動画像圧縮装置、記録媒体、及び放送方法 |
| JP3191856B2 (ja) * | 1995-06-30 | 2001-07-23 | 日本ビクター株式会社 | 情報蓄積出力装置 |
| JP3659366B2 (ja) * | 1995-12-19 | 2005-06-15 | Kddi株式会社 | 階層符号化装置 |
| JP2000059787A (ja) * | 1998-08-14 | 2000-02-25 | Sony Corp | 画像符号化伝送装置および画像復号装置 |
| JP4593060B2 (ja) * | 2002-06-04 | 2010-12-08 | 三菱電機株式会社 | 画像符号化装置 |
-
2006
- 2006-01-12 JP JP2007509151A patent/JPWO2006100820A1/ja active Pending
- 2006-01-12 US US11/883,292 patent/US20080310510A1/en not_active Abandoned
- 2006-01-12 WO PCT/JP2006/300302 patent/WO2006100820A1/ja not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11155102A (ja) * | 1997-11-20 | 1999-06-08 | Matsushita Electric Ind Co Ltd | ストリーム記録再生装置 |
| JP2000115701A (ja) * | 1998-09-29 | 2000-04-21 | Toshiba Corp | 記録装置及び再生装置並びに記録媒体 |
| JP2001094982A (ja) * | 1999-09-20 | 2001-04-06 | Nippon Telegr & Teleph Corp <Ntt> | 階層的画像符号化方法及びその装置と、その方法の実現に用いられるプログラム記録媒体と、階層的画像復号方法及びその装置と、その方法の実現に用いられるプログラム記録媒体 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2010134238A1 (ja) * | 2009-05-19 | 2010-11-25 | パナソニック株式会社 | 映像記録装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| US20080310510A1 (en) | 2008-12-18 |
| JPWO2006100820A1 (ja) | 2008-08-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8817873B2 (en) | Image coding/recording apparatus and image coding/recording method | |
| US6323914B1 (en) | Compressed video recording device with integrated effects processing | |
| JP4005691B2 (ja) | 動画像符号化方法および動画像符号化装置 | |
| WO2006100820A1 (ja) | 画像符号化記録読出装置 | |
| JP2000278692A (ja) | 圧縮データ処理方法及び処理装置並びに記録再生システム | |
| US20040202249A1 (en) | Real-time MPEG video encoding method of maintaining synchronization between video and audio | |
| US6115076A (en) | Compressed video recording device with non-destructive effects addition | |
| JP2008283432A (ja) | 画像記録再生装置 | |
| JP2002199392A (ja) | 映像符号化方法および装置 | |
| JP3487205B2 (ja) | 画像データ編集装置 | |
| JPH08251582A (ja) | 符号化データ編集装置 | |
| JPH07203456A (ja) | 符号化装置と復号化装置と映像記録装置 | |
| JP4797974B2 (ja) | 撮像装置 | |
| JP4288897B2 (ja) | 符号化装置及び方法、プログラム、記録媒体 | |
| JP4724639B2 (ja) | 撮像装置 | |
| JP3800819B2 (ja) | 画像合成装置 | |
| JP3660514B2 (ja) | 可変レート動画像符号化方法および動画像編集システム | |
| JP4399794B2 (ja) | 画像符号化装置及び画像符号化方法 | |
| JPH11289515A (ja) | 画像信号処理装置及び方法、画像信号記録装置及び方法並びに記録媒体 | |
| JP2003023637A (ja) | 画像符号化方法および画像符号化装置 | |
| JP4193224B2 (ja) | 動画像符号化装置及び方法並びに動画像復号装置及び方法 | |
| JP3307367B2 (ja) | 可変転送レート符号化装置 | |
| JP4462559B2 (ja) | トリック再生用コンテンツ作成方法および装置、トリック再生用圧縮動画データ送出方法および装置、およびトリック再生用コンテンツ作成用プログラム | |
| JP2007142809A (ja) | 映像記録装置 | |
| KR100780844B1 (ko) | 다시점 화상 복호화기, 다시점 화상 데이터 처리 시스템,다시점 화상 데이터 처리 방법 및 이를 수행하는프로그램을 기록한 기록매체 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
| WWE | Wipo information: entry into national phase |
Ref document number: 2007509151 Country of ref document: JP |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 11883292 Country of ref document: US |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| NENP | Non-entry into the national phase |
Ref country code: RU |
|
| WWW | Wipo information: withdrawn in national office |
Country of ref document: RU |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 06702669 Country of ref document: EP Kind code of ref document: A1 |
|
| WWW | Wipo information: withdrawn in national office |
Ref document number: 6702669 Country of ref document: EP |