Encoding device, method and electronic device

The encoding device improves image quality by dividing images into blocks, setting motion vectors to zero in areas with no movement, and adjusting encoding parameters to increase skip mode frequency, addressing the issue of electrical noise-induced inefficiencies in video encoding.

JP2024149190AInactive Publication Date: 2024-10-18CANON KK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023062915
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-07
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing video encoding technologies face challenges in maintaining image quality when electrical noise from cameras superimposes on video data, leading to increased code generation in areas with no movement, which deteriorates image quality and reduces encoding efficiency, especially at low bit rates.

Method used

An encoding device that divides images into blocks and calculates encoding costs for intra, inter, and skip modes, using block matching to set motion vectors to zero in areas with no movement, and adjusts encoding parameters to increase the frequency of skip mode usage, thereby reducing redundant code and improving image quality.

Benefits of technology

The solution effectively reduces data in areas with no movement, allowing more code allocation to moving areas, thereby enhancing image quality at low bit rates and reducing the impact of electrical noise.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024149190000001_ABST
    Figure 2024149190000001_ABST
Patent Text Reader

Abstract

To increase a frequency of occurrence of a skip mode in motionless portions regardless of electric noise influence, to improve image quality with a low coding bit rate.SOLUTION: An encoding device divides an image into multiple blocks to encode each block by prediction coding. In inter prediction, the encoding device determines evaluation values of multiple prediction differences between the blocks to be encoded and regions detected by block matching in each of search regions set in a reference image. The search regions are regions set around start and end points of a prediction vector. When the difference of the evaluation values of the prediction differences is equal to or smaller than a threshold, a motion vector of a block to be encoded is set to 0, and a second coding cost is calculated using the motion vector. In calculating the cost of a skip mode, when the motion vector is 0, a value is set as an adjustment value so as to be smaller than when the motion vector is not 0.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an encoding device and method, and an electronic device, and in particular to a predictive encoding technique. [Background technology]

[0002] In recent years, video systems that combine cameras and playback devices to enable communication over a network have become widely used for crime prevention and surveillance purposes, video conferencing systems, video chat using personal computers (PCs) and smartphones, and so on.

[0003] These video systems sometimes need to transmit large amounts of video data at low bit rates, such as transmitting HD resolution video at 30 fps at 512 kbps. In such cases, when transmitting video over the network, the video data needs to be compressed to significantly reduce the amount of data, which can result in a significant degradation of image quality.

[0004] On the other hand, these video systems often use cameras with a fixed viewpoint, and in such cases, the coded data of static areas such as the background can be significantly reduced by using the skipped macroblock defined in the H.264 standard (see Non-Patent Document 1). Hereinafter, the coding mode in which coding is performed using the skipped macroblock is referred to as the "skip mode."

[0005] The skip mode is a technique that generates a motion vector for the skip mode (hereinafter referred to as a "skip vector") from the motion vector of an adjacent coded block, and uses a predicted block based on the skip vector as a decoded block as is. When using the skip mode, only the skip application flag (mb_skip_flag in the H.264 standard) needs to be stored in the coding stream as syntax, and the prediction residual data does not need to be stored in the stream, so the coded data can be significantly reduced.

[0006] Patent Document 1 also discloses a technique for adopting a skip mode for a portion where there is no motion. First, the difference between the block to be coded and the origin position in the reference image, and the difference between the block to be coded and the position where the motion vector is detected in the reference image are evaluated to see if they are equal to or smaller than a predetermined threshold. If each difference is equal to or smaller than a predetermined threshold and the skip vector is 0, the skip mode is adopted.

[0007] For areas with no motion, the motion vector detection results in 0 for most of the blocks contained therein (hereafter referred to as the "origin position"), so it is expected that the skip vector will also be generated as 0. Also, since the shape of an area with no motion does not change over time, no degradation in image quality will occur even if a predicted block generated using a skip vector = 0 is used as is.

[0008] In this way, by adopting skip mode, it is possible to significantly reduce the amount of coded data in areas where there is no movement, and more coding can be allocated to areas where there is movement, which is expected to result in an improvement in the image quality of the entire video. [Prior art documents] [Patent documents]

[0009] [Patent Document 1] JP 2013-157662 A [Non-patent literature]

[0010] [Non-Patent Document 1] ITU-T Recommendation H.264 Advanced video coding [Non-Patent Document 2] Ministry of Land, Infrastructure, Transport and Tourism, Minister's Secretariat, Technical Research Division, Telecommunications Office "Telecommunications Equipment Unified Equipment Specification" [Non-Patent Document 3] H.265 / HEVC Textbook, Supervised by Sakae Ohkubo, co-edited by Teruhiko Suzuki, Masayuki Takamura, and Ken Nakajo, published October 21, 2013 Summary of the Invention [Problem to be solved by the invention]

[0011] However, depending on the image sensor installed in the camera used in the video system, electrical noise from the device may be superimposed on the image, and a numerical difference may occur between the encoding target frame and the reference frame even in a background with absolutely no movement. Therefore, in all of the multiple blocks included in the motionless area, different motion vectors are detected, although it is expected that the motion vector will be the origin position.

[0012] If skip mode is not used, extra syntax code related to motion vectors will be generated in each of the blocks included in the no-motion area, resulting in a large amount of code even in the no-motion area. On the other hand, if skip mode is used, the motion of adjacent blocks will be inherited due to the generation of the skip vector, so the blocks included in the no-motion area will have the same motion vector. As a result, the no-motion area may appear to be moving, such as flickering or twitching.

[0013] Furthermore, when implementing an algorithm for evaluating and adopting the skip mode, the algorithm may be implemented so that the skip mode is evaluated and adopted only when the motion vector detection result and the skip vector are close to each other.

[0014] However, in the generation of decimal precision pixels in the process of detecting motion vectors, a filter process using multiple pixels is used, and the processing load is very heavy, so it is considered to use the decimal precision pixels generated in the process of detecting motion vectors for the evaluation of skip vectors. In such a case, even in areas where there is no movement, the vectors between adjacent blocks may differ due to the influence of electrical noise, and the detection result of the motion vector and the skip vector may not be close to each other. As a result, the frequency of using the skip mode in areas where there is no movement decreases, and the amount of generated code increases.

[0015] As described above, the coding efficiency in the static portion is deteriorated, so the amount of code allocated to the portion with motion is reduced accordingly, and especially when the coding bit rate is low, the amount of code allocated to the portion with motion is almost zero. As a result, it becomes necessary to keep the amount of data within the range of the coding bit rate, and for example, compressing the data by increasing the quantization step size will significantly deteriorate the image quality of the moving image.

[0016] Even in the technology described in Patent Document 1, the skip vector is likely to not become 0 due to the influence of electrical noise, so the frequency with which the skip mode is employed is likely to decrease.

[0017] The present invention has been made in consideration of the above problems, and aims to increase the frequency of skip mode occurrence in static areas, even when there is the effect of electrical noise, and to improve image quality when the encoding bit rate is low. [Means for solving the problem]

[0018] In order to achieve the above object, a coding device of the present invention divides an image to be coded into a plurality of blocks and codes each block by predictive coding, the coding device having an intra-prediction evaluation means for calculating a first coding cost by intra-prediction, an inter-prediction evaluation means for calculating a second coding cost by inter-prediction and a motion vector, a skip mode evaluation means for calculating a third coding cost by a skip mode, coding means for performing coding in a prediction mode corresponding to the smallest cost among the first to third coding costs, and a setting means for setting an adjustment value used in calculation of the third coding cost to the skip mode evaluation means, and the inter-prediction evaluation means performs block mapping in each of a plurality of search areas set in a reference image when calculating the second coding cost. and determining a plurality of evaluation values ​​of prediction differences between a plurality of areas detected by a matching process and a block to be coded, the plurality of search areas being an area set around an origin position corresponding to the block to be coded and an area set around an end position of a prediction vector calculated based on a motion vector of an already coded block in the image to be coded, the motion vector being a starting point of the prediction vector and an inter-prediction evaluation means setting the motion vector to 0 and recalculating the second coding cost using the motion vector when a difference between the evaluation values ​​of the plurality of prediction differences is equal to or smaller than a predetermined threshold value, and the setting means setting, as the adjustment value, a value such that the third coding cost is smaller when the motion vector is replaced with 0 than when it is not replaced. Effect of the Invention

[0019] According to the present invention, even when there is the effect of electrical noise, it is possible to increase the frequency of occurrence of skip mode in areas where there is no movement, thereby improving image quality when the encoding bit rate is low. [Brief description of the drawings]

[0020] [Figure 1] 1 is a block diagram showing an example of the configuration of an imaging device to which an image encoding device according to a first embodiment of the present invention is applied. [Diagram 2] FIG. 2 is a block diagram showing the configuration of a prediction unit according to the first embodiment. [Diagram 3] 5A to 5C are views showing an example of block matching processing according to the first embodiment. [Figure 4] 5 is a flowchart showing a prediction process according to the first embodiment. [Diagram 5] 13A to 13C are diagrams showing an example of block matching processing by coarse-to-fine search according to the second embodiment. [Figure 6] FIG. 11 is a block diagram showing an example of the configuration of an imaging apparatus to which an image encoding apparatus according to a second embodiment is applied. [Figure 7] FIG. 11 is a block diagram showing the configuration of a prediction unit according to a second embodiment. [Figure 8] 10 is a flowchart showing a prediction process according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0021] Hereinafter, the embodiments will be described in detail with reference to the attached drawings. Note that the following embodiments do not limit the invention according to the claims. Although the embodiments describe a number of features, not all of these features are essential to the invention, and the features may be combined in any manner. Furthermore, in the attached drawings, the same reference numbers are used for the same or similar configurations, and duplicated descriptions are omitted.

[0022] <First embodiment> A first embodiment of the present invention will be described. In the embodiment described below, an imaging device capable of transmitting captured images via a network will be described as an example of an electronic device to which the image encoding device according to the present invention can be applied. Examples of such imaging devices include web cameras that connect to a PC via USB, cameras installed in laptop PCs, smartphones, game consoles, and cameras installed in video conference equipment.

[0023] ●Device configuration Fig. 1 is a block diagram showing an example of the functional configuration of an imaging device to which an image encoding device according to the first embodiment is applied. Note that Fig. 1 focuses on the functional configuration related to encoding, but the imaging device of this embodiment also includes components that are included in general imaging devices, such as various sensors and a power supply unit, regardless of whether they are shown in the figure.

[0024] The lens 101 is an imaging optical system that forms an optical image of a subject on an imaging plane of an imaging unit 102. The imaging unit 102 photoelectrically converts the optical image formed on the imaging plane using an imaging element having a plurality of pixels, and converts it into an electrical signal (image signal) that represents the image. The imaging unit 102 also A / D converts the image signal, and supplies it to a development processing unit 103 as image data.

[0025] The development processing unit 103 applies predetermined image processing to the image data, such as noise removal, color interpolation (demosaicing), defective pixel correction, white balance adjustment, camera shake correction, peripheral light amount correction, gamma correction, color correction, enlargement / reduction, color conversion to YUV format, etc. The development processing unit 103 can execute various processes executed on captured images in general cameras, such as subject detection, autofocus control of the lens 101, and generation of evaluation values ​​used for automatic exposure control, but details will be omitted. The development processing unit 103 then supplies the image data converted into YUV format after image processing to the image encoding circuit 104.

[0026] The image encoding circuit 104 is a hardware circuit such as an ASIC or FPGA that encodes image data in YUV format in a predetermined manner and generates encoded data with a reduced amount of data. The image encoding circuit 104 packetizes the encoded data for IP transmission and transmits the packets via the network via the IP transmission unit 105.

[0027] The IP transmission unit 105 transmits the packet data sent from the image encoding circuit 104 to the network. The IP transmission unit 105 may access the network via a wired method such as a LAN cable, or may access the network via a wireless method such as Wi-Fi or 5G. Alternatively, the IP transmission unit 105 may be an interface that connects to a terminal such as a PC or a smartphone via a USB cable or the like, and network access may be left to the terminal.

[0028] The control unit 106 has one or more CPUs and memories. The non-volatile memory stores programs, various setting values, GUI data, etc. The CPU loads the programs into a work area of ​​the memory and executes them, controlling the operation of each unit to realize various functions of the imaging device.

[0029] The control unit 106 also accesses a setting register of the image encoding circuit 104 to set operation parameters. The control unit 106 also accesses the setting register to set a skip weight value used in a prediction unit 109, which will be described later.

[0030] Next, the configuration of the image encoding circuit 104 will be described. Frame buffer 107 stores image data in YUV format sent from development processing unit 103. The stored image data is sent to block division unit 108. Frame buffer 107 also stores locally decoded images sent from deblocking filter unit 118. The stored locally decoded images are sent to prediction unit 109 and compensation unit 117. It is assumed that frame buffer 107 is configured from DRAM.

[0031] The block division unit 108 extracts and reads pixel data of a required block size (hereinafter referred to as "block pixel data") from the image data stored in the frame buffer 107, and stores the data in an internal temporary storage memory. The block pixel data stored in the temporary storage memory is sent to a prediction unit 109. It is assumed that the temporary storage memory is composed of an SRAM.

[0032] The prediction unit 109 calculates the difference between the block pixel data sent from the block division unit 108 and the predicted pixel data generated based on the prediction, and sends the difference data to the orthogonal transformation unit 110 and at the same time sends the prediction information to the compensation unit 117. For prediction, an intra-frame prediction based on pixel values ​​around the block or an inter-frame prediction based on a frame at a time different from a current frame (a frame to be encoded) is generally used. In this case, intra-frame prediction and inter-frame prediction are performed using a prediction method common to the video system defined by the H.264 standard, and the prediction information sent to the compensation unit 117 uses prediction information common to the video system defined by the H.264 standard. The prediction unit 109 also generates a skip mode flag for forcibly applying the skip mode, and sends it to the orthogonal transformation unit 110. Details of the prediction unit 109 will be described later.

[0033] The orthogonal transform unit 110 applies an orthogonal transform (for example, a discrete cosine transform) to the difference data to generate transform coefficients, and outputs the transform coefficients to the quantization unit 111. Furthermore, when a skip mode flag is sent from the prediction unit 109, the orthogonal transform unit 110 sets all the transform coefficients to 0 and outputs them to the quantization unit 111.

[0034] The quantization unit 111 weights the quantization parameter (quantization step size) for each block output by the quantization control unit 112 using a scaling list for each transform coefficient, and then quantizes the transform coefficient. The scaling list can be set by the control unit 106. The quantization unit 111 outputs the quantized transform coefficient to the variable length coding unit 114 for creating coded data, and also to the inverse quantization unit 115 for creating a locally decoded image.

[0035] The quantization control unit 112 determines the quantization step size for each block based on the amount of generated code of the block previously processed, which is sent from the variable-length coding unit 114, and the target amount of code set by the amount of code control unit 113, and outputs the quantization step size to the quantization unit 111. The code amount control unit 113 calculates a target code amount based on the virtual buffer and sets it in the quantization control unit 112, and controls the code amount while simulating input and output of coded data to the virtual buffer every time an image is coded.

[0036] The variable length coding unit 114 performs zigzag scanning, alternate scanning, etc. on the quantized transform coefficients sent from the quantization unit 111, variable-length codes the transform coefficients, and sends the generated coded data to the stream generation unit 119. At this time, if the quantized transform coefficients sent from the quantization unit 111 are all 0, the variable length coding unit 114 performs coding in accordance with the skip mode. In addition, the variable length coding unit 114 calculates the amount of generated code for each block, and outputs it to the quantization control unit 112 and the code amount control unit 113.

[0037] The inverse quantization unit 115 inverse quantizes the transform coefficients output by the quantization unit 111 to generate transform coefficients for local decoding, and outputs the generated transform coefficients to the inverse orthogonal transformation unit . The inverse orthogonal transform unit 116 applies the inverse transform (inverse discrete cosine transform) of the orthogonal transform applied by the orthogonal transform unit 110 to the transform coefficients to generate a difference image, and outputs the generated difference image to the compensation unit 117.

[0038] The compensation unit 117 reads out the decoded locally decoded image stored in the frame buffer 107, generates a predicted image in accordance with the prediction information sent from the prediction unit 109, and adds the predicted image to the difference image sent from the inverse orthogonal transformation unit 116 to generate a compensated image. The compensated image is sent to the deblocking filter unit 118.

[0039] The deblocking filter unit 118 is a filter for smoothing discontinuous distortion at the boundary of the target block. The deblocking filter unit 118 applies a deblocking filter to the compensated image sent from the compensation unit 117 to generate a locally decoded image and sends it to the frame buffer 107.

[0040] The stream generating unit 119 generates a coded stream by adding parameters (coding information) required for decoding to the coded data sent from the variable length coding unit 114. The stream generating unit 119 also packetizes the coded stream for IP transmission, and transmits the packets via the network via the IP transmitting unit 105. Note that the packetization is performed in accordance with standards such as MPEG2-TS and MMT.

[0041] Configuration of prediction unit 109 FIG. 2 is a block diagram showing the configuration of the prediction unit 109. The intra prediction assessment unit 201 performs intra prediction on the block pixel data to be coded sent from the block division unit 108, using the locally decoded image sent from the frame buffer 107. The intra prediction assessment unit 201 tries a number of intra prediction modes defined by the standard, calculates the intra coding cost for each, and selects the intra prediction mode with the smallest intra coding cost. The intra coding cost is calculated by the following formula (1).

[0042] Intra coding cost = distortion evaluation value + intra coding amount evaluation value ... (1)

[0043] The distortion evaluation value is calculated using the difference between pixel data of a block to be coded and pixel data of a predicted block by intra prediction. For example, SAD (Sum of Absolute Difference), SATD (Sum of Absolute Transformed Difference), or SSE (Sum of Squared Errors of Prediction) is used for the calculation. The intra coding amount evaluation value is an evaluation of syntax overhead related to intra prediction, and may be an intra prediction mode. Note that the distortion evaluation value and the intra coding amount evaluation value may be calculated after being weighted by register settings.

[0044] The inter prediction evaluation unit 202 performs block matching processing on the block pixel data to be coded sent from the block division unit 108 with the locally decoded image sent from the frame buffer 107, and detects the closest position.

[0045] Here, the motion estimation of the inter prediction evaluation unit 202 will be described with reference to Fig. 3. Fig. 3 is a diagram showing an example of searching for a position that is approximate to a current block 302 corresponding to pixel data of a block to be encoded in a current image 301 from search windows 305, 308 located in a reference image 303. The amount of calculation involved in the block matching process for finding a value that is most approximate to the current block from the reference image in inter prediction is very large. Therefore, in the image encoding device of this embodiment, the amount of calculation is reduced by the method shown in Fig. 3.

[0046] First, the inter prediction evaluation unit 202 searches for a position that is close to the encoding target block 302 by block matching within a range (search area) indicated by a search window 305. This search window 305 indicates, as an example, a rectangular area of ​​a predetermined size centered on the same position (origin position) 304 as the encoding target block 302 in the reference image 303.

[0047] Furthermore, the inter prediction evaluation unit 202 searches for a position that is close to the encoding target block 302 from a range (search area) indicated by a search window 308 by block matching. As an example, the search window 308 indicates a rectangular area of ​​a predetermined size centered on an end point position 307 of a predicted vector 306 calculated based on the motion vectors of encoded blocks around the search window 305 in the reference image 303, with the origin position as the starting point. Note that the calculation of the predicted vector 306 complies with a method defined by a standard specification, such as the calculation method specified in Non-Patent Document 1. Note that the motion vectors of the encoded blocks around are written to the motion vector holding buffer 204 each time prediction of the block is completed.

[0048] The inter prediction evaluation unit 202 performs block matching processing while calculating the inter coding cost, and selects the position with the smallest inter coding cost as the motion vector detection position. The inter coding cost is calculated by the following formula (2).

[0049] Inter-coding cost = distortion evaluation value + inter-coding amount evaluation value ... (2)

[0050] The distortion evaluation value is calculated using the difference between the block to be coded and the block at the position indicated by the search position in the block matching process, and SAD, SATD, or SSE is used for the calculation, as in the intra prediction evaluation unit 201. The inter coding amount evaluation value is an evaluation of the overhead of the syntax related to inter prediction, and may be information on the difference between a motion vector and a predicted vector. Note that the distortion evaluation value and the inter coding amount evaluation value may be calculated after being weighted by register settings.

[0051] In the example of FIG. 3, of the search windows 305 and 308, for example, a detection position 309 in the search window 308 is selected as the motion vector detection position.

[0052] Furthermore, the inter-prediction evaluation unit 202 can forcibly replace a motion vector with 0. For example, the inter-prediction evaluation unit 202 evaluates the difference between the distortion evaluation values ​​calculated for the origin position 304 and the detection position 309, and replaces the motion vector with 0 if the difference is equal to or smaller than a predetermined threshold. It is assumed that the threshold for evaluating the difference is set in the inter-prediction evaluation unit 202 by the control unit 106 via a register setting.

[0053] By forcibly replacing the motion vector with 0, even if electrical noise from the image sensor is superimposed on a portion where there is no motion, the motion vector can be set to 0. Therefore, in a portion where there is no motion, the block to be coded can be prevented from being affected by motion caused by electrical noise propagated from an adjacent coded block.

[0054] In addition, when inter prediction is selected for predictive coding of the block pixel data to be coded, it is possible to prevent the generation of extra syntax codes related to motion vectors. In addition, when skip mode is selected, it is possible to suppress the phenomenon that a portion without motion appears to have motion, such as flickering or twitching.

[0055] Furthermore, the process of forcibly replacing the motion vector with 0 may be used only when the encoding bit rate of the image encoding device of this embodiment is equal to or lower than a predetermined bit rate value. In this case, the firm process of the control unit 106 determines whether the encoding bit rate setting is equal to or lower than a predetermined bit rate, and then generates flag information, and the control unit 106 sets the flag information in the inter prediction evaluation unit 202 by register setting.

[0056] In addition, the bit rate value used for comparison with the encoding bit rate may be set in accordance with the encoding bit rate specification of the IP camera in the specifications of the CCTV camera equipment described in Non-Patent Document 2, for example. As the specifications of the IP camera described in Non-Patent Document 2, the encoding bit rate in the case of FHD size and frame rate of 30 fps is defined as a maximum of 8 Mbps. In the image encoding device of this embodiment, the above bit rate may be scaled according to the image size and frame rate actually transmitted. For example, when transmitting a video with a 4K size and a frame rate of 60 fps, the image size is four times that of FHD and the frame rate is twice that of 30 fps, so that it is 8 x 4 x 2 = 64 Mbps. Therefore, when the encoding bit rate is set to 64 Mbps or less in the firmware processing of the control unit 106, the flag information is set to 1 and then set in the inter prediction evaluation unit 202, and the motion vector is forcibly replaced with 0.

[0057] The skip mode evaluation unit 203 calculates a skip mode cost for the current block to be coded sent from the block division unit 108, based on a skip vector calculated using motion vectors of neighboring coded blocks and the locally decoded image sent from the frame buffer 107. The skip mode cost is calculated by the following formula (3).

[0058] Skip mode cost = distortion evaluation value - skip weight value ... (3)

[0059] The distortion evaluation value is calculated in the same way as in the inter prediction evaluation unit 202. The skip weight value (adjustment value) is a parameter for adjusting the frequency of employing the skip mode set by register setting. If the skip weight value is set large, the skip mode cost is likely to be small relative to the intra coding cost and the inter coding cost, and the frequency of employing the skip mode increases. For example, when the coding bit rate is low and the block to be coded and the location pointed to by the skip vector are somewhat similar, it becomes possible to employ the skip mode even if the distortion evaluation value is larger than that of inter prediction.

[0060] In this way, by allowing a certain degree of distortion, it becomes possible to allocate the amount of code in the places where inter prediction is desired, and it is expected that the image quality of the entire video will improve. On the other hand, when the encoding bit rate is high, there is a margin of the amount of code even if the frequency of using the skip mode is reduced, and the amount of code allocated to inter prediction can be sufficiently secured, so there is no need to increase the skip weight value.

[0061] In addition, in the image coding device of this embodiment, in order to explicitly increase the frequency of employing the skip mode in a portion with no motion, the skip weight value when the skip vector is 0 is set to be larger than the skip weight value when the skip vector is not 0. In particular, when the coding bit rate is low, as described above, the motion vector in a portion with no motion is likely to be 0. Therefore, even if the coding target block is in a portion with no motion, the skip vector is likely to be 0.

[0062] In addition to the above, if the picture to be coded is a B-picture, the skip weight value may be set to a large value for other picture types. In general, in a GOP structure using three picture types, I / P / B, a B-picture has a shorter distance from the reference picture than a P-picture, so the motion vector of an object tends to be smaller. Therefore, it is considered that the effect on image quality is small even if the number of skip modes adopted is increased.

[0063] Also, if the distance between the image to be coded and the reference image is within a predetermined number of frames, the skip weight value may be set to a large value if the condition is not satisfied. For example, in a hierarchical reference structure such as that illustrated in the example of the prediction structure between reference pictures described in Non-Patent Document 3, if the image to be coded and the reference image are separated by only one frame, the motion vector of the object tends to be small. Therefore, even if the skip weight value is set to a large value so as to increase the number of skip modes to be adopted, it is considered that the effect on the image quality is small. Note that, when the distance between the image to be coded and the reference image is within a predetermined number of frames and the skip weight value is controlled, the predetermined number is set in the skip mode evaluation unit 203 by register setting from the control unit 106.

[0064] The prediction mode determination unit 205 compares the evaluation values ​​(costs) sent from the intra prediction evaluation unit 201, the inter prediction evaluation unit 202, and the skip mode evaluation unit 203, and determines the prediction mode with the smallest evaluation value as the prediction mode of the block to be coded. In addition, according to the determined prediction mode, a prediction residual is generated using the block to be coded sent from the block division unit 108 and the locally decoded image sent from the frame buffer 107, and sent to the orthogonal transformation unit 110. In addition, when the prediction mode determination unit 205 selects the skip mode, a skip mode flag is generated and sent to the orthogonal transformation unit 110. In addition, the prediction mode determination unit 205 sends to the motion vector holding buffer 204 a motion vector when the inter prediction is selected, a skip vector when the skip mode is selected, and information indicating that the reference is not possible when the intra prediction is selected.

[0065] The motion vector holding buffer 204 stores any one of a motion vector, a skip vector, and information indicating non-reference sent by the prediction mode determination unit 205. As described above, the motion vector holding buffer 204 outputs the stored motion vector for generation of a predicted vector in the inter prediction evaluation unit 202 and generation of a skip vector in the skip mode evaluation unit 203. Note that the motion vector holding buffer 204 is configured from an SRAM or a DRAM.

[0066] Prediction processing 4 is a flowchart showing the flow of prediction processing for block pixel data to be coded in the image coding device according to the first embodiment. Note that this prediction processing is repeatedly executed so as to be performed for all blocks to be coded.

[0067] First, in S401, the intra prediction evaluation unit 201 selects an intra prediction mode and calculates an intra coding cost. Next, in S402, the inter prediction evaluation unit 202 performs a block matching process to detect a motion vector and calculate an inter coding cost. Note that the process of S401 and the process of S402 may be performed in reverse order or in parallel.

[0068] In S403, the control unit 106 determines whether the encoding bit rate is set to a low bit rate or not, and if it is set to a low bit rate, the process proceeds to S404, and if it is not set to a low bit rate, the process proceeds to S406.

[0069] In S404, the inter-prediction evaluation unit 202 evaluates the distortion evaluation value between the origin position and the encoding target block, and the distortion evaluation value between the motion vector detection position and the encoding target block, and proceeds to S405 if the distortion evaluation values ​​are almost the same, and proceeds to S406 if they are different. Here, the distortion evaluation value is assumed to use, for example, SATD. Note that, as a method for determining whether the distortion evaluation values ​​calculated at the origin position and the motion vector detection position are almost the same, it is assumed to determine whether the difference between the distortion evaluation values ​​is equal to or less than a predetermined threshold.

[0070] In S405, the inter prediction evaluation unit 202 replaces the motion vector detected by block matching with 0, and recalculates the inter coding cost as if the motion vector were 0.

[0071] In S406, skip mode evaluation unit 203 generates a skip vector.

[0072] In S407, it is determined whether the encoding bit rate is set to a low bit rate and the skip vector is 0. If the conditions of a low bit rate and a skip vector of 0 are not met, the process proceeds to S408; if the conditions are met, the process proceeds to S409.

[0073] In S408, a first skip mode evaluation parameter for normal operation is set as a skip weight value used for calculating the skip mode cost. The first skip mode evaluation parameter may be a parameter that is generally used regardless of the encoding bit rate setting. For example, a parameter obtained experimentally using multiple patterns of moving images with various encoding bit rates, image sizes, frame rates, etc. may be used as the first skip mode evaluation parameter.

[0074] In S409, a skip weight value used in calculating the skip mode cost is set so that the skip mode cost is smaller than that set in S408. Then, in S410, the skip mode cost is calculated using the parameters set in S408 or S409.

[0075] In S411, it is determined whether the intra coding cost is smaller than the inter coding cost. If the intra coding cost is smaller than the inter coding cost, the process proceeds to S412, and if not, the process proceeds to S413.

[0076] In S412, it is determined whether the skip mode cost is smaller than the intra coding cost. If the skip mode cost is smaller than the intra coding cost, the process proceeds to S414. If not, the process proceeds to S415.

[0077] On the other hand, in S413, it is determined whether or not the skip mode cost is smaller than the inter coding cost. If the skip mode cost is smaller than the inter coding cost, the process proceeds to S414, and if not, the process proceeds to S416.

[0078] In S414, prediction processing according to skip mode is performed, and the prediction difference is sent to the orthogonal transform unit 110, and the prediction processing is terminated. In S415, prediction processing according to intra prediction is performed, and the prediction difference is sent to the orthogonal transform unit 110, and the prediction processing is terminated. In S416, prediction processing according to inter prediction is performed, and the prediction difference is sent to the orthogonal transform unit 110, and the prediction processing is terminated.

[0079] As described above, according to the first embodiment, even if there is an effect of electrical noise in a portion where there is no motion, it is possible to increase the frequency of occurrence of the skip mode, and it is possible to significantly reduce data in the portion where there is no motion. This allows more codes to be allocated to the portion where there is motion by the amount of data that can be reduced in the portion where there is no motion, and as a result, it is possible to improve image quality at low bit rates.

[0080] <Second embodiment> Next, a second embodiment of the present invention will be described. In the second embodiment, the block matching process performed by the inter prediction evaluation unit 202 in the first embodiment is divided into two stages: a coarse search using reduced pixels, and a fine search using integer pixels and decimal pixels. Such a coarse-fine search is a search method in which a wide range is roughly searched in the coarse search, and an approximate position is detected, and then a fine search is performed starting from the detected position to increase accuracy.

[0081] In implementing motion search in inter prediction, a common implementation method is to cut out only the search window from the local decoded image and temporarily store it in an SRAM or flip-flop. However, since the circuit scale per bit of SRAM and flip-flops is large, expanding the range of the search window leads to an increase in the circuit scale, which affects the cost of the entire LSI. Therefore, in the second embodiment, a coarse-to-fine search is adopted and a reduced image is used as the search window, thereby expanding the search range while suppressing an increase in the number of bits of SRAM and flip-flops.

[0082] First, the coarse-to-fine search will be explained with reference to FIG. FIG. 5(a) shows an example in which a coarse search is performed by searching search windows 504, 505 located in a reduced reference image 502 for a position that is close to a reduced-encoding target block 503 in a reduced-encoding target image 501, and a detected position 506 is taken as the result of the coarse search.

[0083] FIG. 5(b) shows an example in which a fine search is performed by searching a position that is close to a block to be coded 509 in a target image 507 from a search window 510 located in a reference image 508, and a detected position 511 is taken as the result of the fine search.

[0084] A reduced encoding target image 501 and a reduced reference image 502 are respectively reduced in both the horizontal and vertical directions by half the encoding target image 507 and the reference image 508. The search windows 504 and 505 are set in the same manner as the search windows 305 and 308 shown in Fig. 3, but the predictive vector used in this case is half the predictive vector 306 shown in Fig. 3.

[0085] Moreover, the search window 510 in the fine search is set to the same size as the search window 505 in the coarse search, and is set based on the detection position 506 in the coarse search. In the example of FIG. 5, since the reduction ratio is 1 / 2, the coordinates obtained by multiplying the coordinates of the detection position 506 in the coarse search by two in the horizontal and vertical directions are set to the center position of the search window 510 in the fine search. For example, when the center coordinates of the detection position 506 in the coarse search are (x, y)=(400, 300), the center coordinates of the search window in the fine search are (x, y)=(800, 600). In this way, the searchable range can be expanded without expanding the range of the search window in the fine search.

[0086] ●Device configuration Fig. 6 is a block diagram showing an example of the functional configuration of an imaging device to which an image encoding device in the second embodiment is applied. The configuration shown in Fig. 6 is different from the configuration shown in Fig. 1 in that an image reducing unit 601 is added, and the processing in a block dividing unit 602 and a predicting unit 603 is different from that in the block dividing unit 108 and the predicting unit 109. The other configurations are the same as those shown in Fig. 1, so the same reference numbers are used and the description is omitted.

[0087] The image reducing unit 601 reduces the image data sent from the development processing unit 103 and the locally decoded image sent from the deblocking filter unit 118 to generate reduced images, and sends the generated reduced images to the frame buffer 107 .

[0088] The block division unit 602 extracts and reads pixel data of a block size required for the fine search from the image data stored in the frame buffer 107, and stores it in an internal temporary storage memory. The block division unit 602 also extracts and reads pixel data of a reduced block size required for the coarse search from the reduced image data stored in the frame buffer 107, and stores it in an internal temporary storage memory. The block pixel data stored in the temporary storage memory is sent to the prediction unit 109. It is assumed that the temporary storage memory is composed of an SRAM.

[0089] The prediction unit 603 calculates the difference between the pixel data of the encoding target block sent from the block division unit 602 and predicted pixel data generated based on prediction, and sends the difference data to the orthogonal transformation unit 110 and at the same time sends prediction information to the compensation unit 117. The prediction unit 603 also generates a skip mode flag for forcibly applying the skip mode in this embodiment, and sends it to the orthogonal transformation unit 110. The prediction unit 603 also receives reduced image data from the block division unit 602 and the frame buffer 107 in order to perform a coarse search in inter prediction. Details of the prediction unit 603 will be described later.

[0090] Configuration of prediction unit 603 Fig. 7 is a block diagram showing the configuration of a prediction unit 603 in the second embodiment. The configuration shown in Fig. 7 is different from the configuration shown in Fig. 2 in that the process in an inter-prediction evaluation unit 701 is different from that in the inter-prediction evaluation unit 202. The rest of the configuration is the same as the configuration shown in Fig. 2, so the same reference numbers are used and the description is omitted.

[0091] The inter prediction evaluation unit 701 performs a coarse search by performing block matching between the reduced encoding target block sent from the block division unit 602 and the reduced locally decoded image sent from the frame buffer 107, and detects the closest position. After that, the inter prediction evaluation unit 701 performs a fine search by performing block matching between the reduced encoding target block sent from the block division unit 602 and the locally decoded image sent from the frame buffer 107, based on the detection result of the coarse search, and detects the closest position.

[0092] In the coarse search and the fine search, the block matching process is performed while calculating the inter coding cost, and the position with the smallest inter coding cost is selected as the motion vector detection position. Note that the calculation of the inter coding cost is performed using the same method as that described in the inter prediction evaluation unit 202 of the first embodiment. Also, the operation of forcibly replacing the motion vector with 0, which was described in the inter prediction evaluation unit 202 of the first embodiment, is performed in the course of the coarse search in the inter prediction evaluation unit 701 of the second embodiment.

[0093] In the image reduction process, a process of reducing the number of pixels by adding and averaging pixels in a rectangular unit of a predetermined size is generally performed. For example, an image reduction process is performed in which the reduction ratio is 1 / 2 in both the horizontal and vertical directions by averaging in 2×2 rectangular units to one pixel. Here, the addition and averaging process given in the above example is also a low-pass filter process using a Haar filter. Therefore, the influence of noise superimposed on a portion where there is no movement can be reduced by the low-pass filter effect, and therefore the motion vector can be replaced with 0 more accurately than the inter prediction evaluation unit 202 of the first embodiment.

[0094] Furthermore, if the inter prediction evaluation unit 701 forcibly replaces a motion vector with 0 during the coarse search, the fine search in the subsequent stages is skipped.

[0095] Prediction processing 8 is a flowchart showing the flow of prediction processing for each block pixel data to be coded in the image coding device according to the second embodiment. Note that this prediction processing is repeatedly performed for all blocks to be coded.

[0096] In addition, the process of the flowchart shown in Fig. 8 does not have the processes of S402 to S404 compared to the process of Fig. 4 in the first embodiment, but instead has processes of S801 to S804 added. Since the other processes are similar to the processes shown in Fig. 4, the same reference numbers are used and the description will be omitted.

[0097] In S801, the inter prediction evaluation unit 701 performs a coarse search to detect a motion vector and simultaneously calculates an inter coding cost by the coarse search.

[0098] Next, in S802, the control unit 106 determines whether the encoding bit rate is set to a low bit rate or not. If it is set to a low bit rate, the process proceeds to S803, and if it is not set to a low bit rate, the process proceeds to S804.

[0099] In S803, the inter-prediction evaluation unit 701 compares the distortion evaluation value between the origin position and the encoding target block obtained in the course of the rough search with the distortion evaluation value between the motion vector detection position and the encoding target block. If these distortion evaluation values ​​are almost the same, the process proceeds to S405, and if they are different, the process proceeds to S804. Here, the distortion evaluation value is, for example, SATD. In addition, as a method for determining whether the distortion evaluation values ​​calculated at the origin position and the motion vector detection position are almost the same, it is determined whether the difference between the distortion evaluation values ​​is equal to or less than a predetermined threshold value.

[0100] In S405, the inter prediction evaluation unit 202 replaces the motion vector detected by the block matching using the rough search in S801 with 0, and at the same time recalculates the inter coding cost as if the motion vector were 0.

[0101] On the other hand, in S804, the inter prediction evaluation unit 701 performs a fine search based on the detection result of the coarse search to detect a motion vector, and calculates an inter coding cost.

[0102] As described above, according to the second embodiment, since the coarse-and-fine search is incorporated into the inter prediction, the low-pass filter effect in generating the reduced image required for the coarse search can be utilized. Therefore, the influence of electrical noise in the area where there is no motion can be reduced by the low-pass filter effect, and the frequency of occurrence of the skip mode can be increased. As a result, it is possible to greatly reduce data in the area where there is no motion, and more codes can be allocated to the area where there is motion by the amount of data reduction in the area where there is no motion, so that the image quality at a low bit rate can be improved.

[0103] <Other embodiments> The present invention may be applied to a system made up of a plurality of devices, or to an apparatus made up of a single device.

[0104] The present invention can also be realized by supplying a program for implementing one or more of the functions of the above-described embodiments to a system or device via a network or a storage medium, and having one or more processors in the computer of the system or device read and execute the program. It can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.

[0105] <Summary> The disclosure of this embodiment includes the following configuration.

[0106] (Item 1) A coding device that divides an image to be coded into a plurality of blocks and codes each block by predictive coding, an intra prediction evaluation means for calculating a first coding cost by intra prediction; an inter prediction evaluation means for calculating a second coding cost and a motion vector by inter prediction; a skip mode evaluation means for calculating a third coding cost in a skip mode; a coding means for performing coding using a prediction mode corresponding to the smallest cost among the first to third coding costs; a setting means for setting an adjustment value used in calculating the third coding cost in the skip mode evaluation means, the inter prediction evaluation means, when calculating the second coding cost, calculates evaluation values ​​of prediction differences between a plurality of areas detected by a block matching process in each of a plurality of search areas set in a reference image and a block to be coded; The plurality of search regions are a region set around an origin position corresponding to the block to be coded, and a region set around an end position of a predicted vector obtained based on a motion vector of an encoded block in the image to be coded, the predicted vector having the origin position as a start point, the inter prediction evaluation means, when a difference between evaluation values ​​of the plurality of prediction differences is equal to or smaller than a predetermined threshold, sets the motion vector to 0 and recalculates the second coding cost using the motion vector; The setting means sets, as the adjustment value, a value that makes the third coding cost smaller when the motion vector is replaced with 0 than when the motion vector is not replaced. 13. An encoding device comprising: (Item 2) The encoding device according to item 1, characterized in that the image to be encoded is one of three picture types, I / P / B, of a GOP structure, and the setting means sets, as the adjustment value, a value that makes the third encoding cost smaller when the image to be encoded is a B picture than when the image is an I picture or a P picture. (Item 3) The encoding device according to item 1 or 2, characterized in that the setting means sets, as the adjustment value, a value such that the third encoding cost becomes smaller as the time when the reference image was shot and the time when the image to be encoded is shot are closer to each other. (Item 4) a reduction means for reducing the size of the image to be encoded and the reference image; The inter prediction evaluation means calculates the second coding cost and the motion vector using the image reduced by the reduction means, and when a difference between the evaluation values ​​of the plurality of prediction differences is greater than a predetermined threshold, recalculates the second coding cost based on an evaluation value of a prediction difference between an area detected by a block matching process in a search area set in the reference image that is not reduced and the block to be coded, based on an area for which the second coding cost is calculated. The coding device described in any one of items 1 to 3, characterized in that (Item 5) The encoding device according to item 4, characterized in that, when the encoding bit rate of the encoding means is higher than a predetermined bit rate, the inter prediction evaluation means recalculates the second encoding cost based on an evaluation value of a prediction difference between an area detected by a block matching process and the block to be encoded in a search area set in the reference image that is not reduced based on the area for which the second encoding cost is calculated. (Item 6) The encoding device according to any one of items 1 to 5, characterized in that, when the encoding bit rate of the encoding means is equal to or lower than a predetermined bit rate, the inter prediction evaluation means performs a process of setting the motion vector to 0 and a process of recalculating the second encoding cost. (Item 7) An encoding device according to any one of items 1 to 6, an imaging means for capturing an image and outputting the image to the encoding device; 1. An electronic device comprising: (Item 8) 8. The electronic device according to item 7, further comprising an output unit for outputting the encoded data encoded by the encoding device. (Item 9) A coding method for dividing an image to be coded into a plurality of blocks and coding each block by predictive coding, comprising the steps of: an intra prediction evaluation step of calculating a first coding cost by intra prediction; an inter-prediction evaluation step of calculating a second coding cost and a motion vector by inter-prediction; a skip mode evaluation step of calculating a third coding cost in a skip mode; a setting step of setting an adjustment value used in calculating the third coding cost prior to the skip mode evaluation step; and a coding step of coding the image using a prediction mode corresponding to the smallest cost among the first to third coding costs, In the inter prediction evaluation step, when calculating the second coding cost, evaluation values ​​of prediction differences between a plurality of areas detected by a block matching process in each of a plurality of search areas set in a reference image and a block to be coded are obtained; The plurality of search regions are a region set around an origin position corresponding to the block to be coded, and a region set around an end position of a predicted vector obtained based on a motion vector of an encoded block in the image to be coded, the predicted vector having the origin position as a start point, In the inter prediction evaluation step, when a difference between evaluation values ​​of the plurality of prediction differences is equal to or smaller than a predetermined threshold, the motion vector is set to 0, and the second coding cost is recalculated using the motion vector; In the setting step, a value is set as the adjustment value such that the third coding cost is smaller when the motion vector is replaced with 0 than when the motion vector is not replaced. 13. An encoding method comprising: (Item 10) A program for causing a computer to function as each of the means of the encoding device according to any one of items 1 to 6. (Item 11) 11. A computer-readable storage medium storing the program according to item 10.

[0107] The invention is not limited to the above-described embodiments, and various modifications and variations are possible without departing from the spirit and scope of the invention. Accordingly, the following claims are appended to apprise the public of the scope of the invention. [Explanation of symbols]

[0108] 101: lens, 102: imaging unit, 103: development processing unit, 104: image encoding circuit, 105: IP transmission unit, 106: control unit, 107: frame buffer, 108, 602: block division unit, 109, 603: prediction unit, 110: orthogonal transformation unit, 111: quantization unit, 112: quantization control unit, 113: code amount control unit, 114: variable length coding unit, 115: inverse quantization unit, 116: inverse orthogonal transformation unit, 117: compensation unit, 118: deblocking filter unit, 119: stream generation unit, 201: intra prediction evaluation unit, 202, 701: inter prediction control unit, 203: skip mode evaluation unit, 204: motion vector holding buffer, 205: prediction mode determination unit, 601: image reduction unit

Claims

1. A coding device that divides an image to be coded into a plurality of blocks and codes each block by predictive coding, an intra prediction evaluation means for calculating a first coding cost by intra prediction; an inter prediction evaluation means for calculating a second coding cost and a motion vector by inter prediction; a skip mode evaluation means for calculating a third coding cost in a skip mode; a coding means for performing coding using a prediction mode corresponding to the smallest cost among the first to third coding costs; a setting means for setting an adjustment value used in calculating the third coding cost in the skip mode evaluation means, the inter prediction evaluation means, when calculating the second coding cost, calculates evaluation values ​​of prediction differences between a plurality of areas detected by a block matching process in each of a plurality of search areas set in a reference image and a block to be coded; The plurality of search regions are a region set around an origin position corresponding to the block to be coded, and a region set around an end position of a predicted vector obtained based on a motion vector of an encoded block in the image to be coded, the predicted vector having the origin position as a start point, the inter prediction evaluation means, when a difference between evaluation values ​​of the plurality of prediction differences is equal to or smaller than a predetermined threshold, sets the motion vector to 0 and recalculates the second coding cost using the motion vector; The setting means sets, as the adjustment value, a value that makes the third coding cost smaller when the motion vector is replaced with 0 than when the motion vector is not replaced.

13. An encoding device comprising:

2. The encoding device according to claim 1, characterized in that the image to be encoded is one of three picture types, I / P / B, of a GOP structure, and the setting means sets as the adjustment value a value that makes the third encoding cost smaller when the image to be encoded is a B picture than when the image is an I picture or a P picture.

3. The encoding device according to claim 1, characterized in that the setting means sets as the adjustment value a value such that the third encoding cost becomes smaller the closer the time when the reference image was photographed to the time when the image to be encoded was photographed.

4. a reduction means for reducing the size of the image to be encoded and the reference image; The encoding device according to claim 1, characterized in that the inter-prediction evaluation means calculates the second encoding cost and the motion vector using the image reduced by the reduction means, and when a difference between the evaluation values ​​of the multiple prediction differences is greater than a predetermined threshold, recalculates the second encoding cost based on an evaluation value of a prediction difference between an area detected by a block matching process in a search area set in the reference image that has not been reduced, and the block to be encoded, based on the area in which the second encoding cost was calculated.

5. The encoding device according to claim 4, characterized in that, when the encoding bit rate of the encoding means is higher than a predetermined bit rate, the inter prediction evaluation means further recalculates the second encoding cost based on an evaluation value of a prediction difference between an area detected by a block matching process and the block to be encoded in a search area set in the reference image that has not been reduced based on the area for which the second encoding cost was calculated.

6. The encoding device according to claim 1, characterized in that, when an encoding bit rate of the encoding means is equal to or lower than a predetermined bit rate, the inter-prediction evaluation means performs a process of setting the motion vector to 0 and a process of recalculating the second encoding cost.

7. An encoding device according to any one of claims 1 to 6, an imaging means for capturing an image and outputting the image to the encoding device; 1. An electronic device comprising:

8. 8. The electronic device according to claim 7, further comprising an output unit for outputting the encoded data encoded by the encoding device.

9. A coding method for dividing an image to be coded into a plurality of blocks and coding each block by predictive coding, comprising the steps of: an intra prediction evaluation step of calculating a first coding cost by intra prediction; an inter-prediction evaluation step of calculating a second coding cost and a motion vector by inter-prediction; a skip mode evaluation step of calculating a third coding cost in a skip mode; a setting step of setting an adjustment value used in calculating the third coding cost prior to the skip mode evaluation step; an encoding step of encoding the image using a prediction mode corresponding to the smallest cost among the first to third encoding costs; In the inter prediction evaluation step, when calculating the second coding cost, evaluation values ​​of prediction differences between a plurality of areas detected by a block matching process in each of a plurality of search areas set in a reference image and a block to be coded are obtained; The plurality of search regions are a region set around an origin position corresponding to the block to be coded, and a region set around an end position of a predicted vector obtained based on a motion vector of an encoded block in the image to be coded, the predicted vector having the origin position as a start point, In the inter prediction evaluation step, when a difference between evaluation values ​​of the plurality of prediction differences is equal to or smaller than a predetermined threshold, the motion vector is set to 0, and the second coding cost is recalculated using the motion vector; In the setting step, a value is set as the adjustment value such that the third coding cost is smaller when the motion vector is replaced with 0 than when the motion vector is not replaced.

13. An encoding method comprising:

10. A program for causing a computer to function as each of the means of the encoding device according to any one of claims 1 to 6.

11. A computer-readable storage medium storing the program according to claim 10.

Citation Information

Patent Citations

  • Moving image encoding method, moving image encoding device, and moving image encoding program

    JP2013157662A