专利汇可以提供Complexity reduction of edge detection for edge based spatial prediction专利检索,专利查询,专利分析的服务。并且The present invention relates to improving the performance of the spatial prediction by reducing the complexity of edge detection for the sub-pel edge based prediction for encoding and decoding of a current image block. In particular, the coding type and/or the coded values of at least one block adjacent to the current block are evaluated. Based thereon it is decided whether an edge detection based on gradient calculation is performed. According to whether the at least one adjacent block includes an edge or not, a type of spatial prediction and/or prediction direction may be selected at the encoder or at the decoder.,下面是Complexity reduction of edge detection for edge based spatial prediction专利的具体信息内容。
The present invention relates to efficient low complexity selecting of an appropriate type of spatial prediction to be applied during encoding or decoding of an image or video.
Spatial interpolation has been employed in many applications. In particular, spatial interpolation forms an essential part of many image and video coding and processing applications. In hybrid image or video coding algorithms, spatial prediction is typically employed for determining a prediction for an image block based on the pixels of already encoded/decoded blocks. On the other hand, spatial interpolation may also be used as a part of post processing the decoded image or video signal, in particular for error concealment.
The majority of standardized video coding algorithms are based on hybrid video coding. Hybrid video coding methods typically combine several different lossless and lossy compression schemes in order to achieve the desired compression gain. Hybrid video coding is also the basis for ITU-T standards (H.26x standards such as H.261, H.263) as well as ISO/IEC standards (MPEG-X standards such as MPEG-1, MPEG-2, and MPEG-4). The most recent and advanced video coding standard is currently the standard denoted as H.264/MPEG-4 advanced video coding (AVC) which is a result of standardization efforts by joint video team (JVT), a joint team of ITU-T and ISO/IEC MPEG groups.
A video signal input to an encoder is a sequence of images called frames, each frame being a two-dimensional matrix of pixels. All the above-mentioned standards based on hybrid video coding include subdividing each individual video frame into smaller blocks consisting of a plurality of pixels. Typically, a macroblock (usually denoting a block of 16 x 16 pixels) is the basic image element, for which the encoding is performed. However, various particular encoding steps may be performed for smaller image elements, denoted subblocks or simply blocks and having the size of, for instance, 8 x 8, 4 x 4, 16 x 8, etc.
Macroblocks predicted using temporal prediction are called inter-encoded and macroblocks predicted using spatial prediction are called intra-encoded. The type of prediction for a video frame can be set by the user or selected by the video encoder so as to achieve a possibly high compression gain. In accordance with the selected type of prediction, an intra/inter switch 175 provides corresponding prediction signal to the subtractor 105. The prediction signal using temporal prediction is derived from the previously encoded images, which are stored in a memory 140. The prediction signal using spatial prediction is derived from the values of boundary pixels in the neighboring blocks of the same frame, which have been previously encoded, decoded, and stored in the memory 140. The memory unit 140 thus operates as a delay unit that allows a comparison between current signal values to be encoded and the prediction signal values generated from previous signal values. The memory 140 can store a plurality of previously encoded video frames. The difference between the input signal and the prediction signal, denoted prediction error signal or residual signal, is transformed resulting in coefficients, which are quantized 110. Entropy encoder 190 is then applied to the quantized coefficients in order to further reduce the amount of data in a lossless way. This is mainly achieved by applying a code with code words of variable length wherein the length of a code word is chosen based on the probability of its occurrence.
Intra-encoded images (called also I-type images or I frames) consist solely of macroblocks that are intra-encoded, i.e. intra-encoded images can be decoded without reference to any other previously decoded image. The intra-encoded images provide error resilience for the encoded video sequence since they refresh the video sequence from errors possibly propagated from frame to frame due to temporal prediction. Moreover, I frames enable a random access within the sequence of encoded video images. Intra-fame prediction uses a predefined set of intra-prediction modes. Some of the intra-prediction modes predict the current block using the boundary pixels of the neighboring blocks already encoded. Other intra-prediction modes, as template matching for example, use a search area made of already encoded pixels belonging to the same frame to find a best matching prediction block. The predefined set of intra-prediction modes includes some directional spatial intra-prediction modes. The different modes of directional spatial intra-prediction refer to different directions of the applied two-dimensional prediction. This allows efficient spatial intra-prediction in the case of various edge directions. The prediction signal obtained by such an intra-prediction is then subtracted from the input signal by the subtractor 105 as described above. In addition, spatial intra-prediction mode information is entropy encoded and provided together with the encoded video signal.
In the H.264/MPEG-4 AVC intra coding scheme, the spatial prediction is performed for subblocks of sizes 4 x 4, 8 x 8 or 16 x 16 pixels in order to reduce spatial redundancy. Intra-fame prediction uses a predefined set of intra-prediction modes, which basically predict the current block using the boundary pixels of the neighboring blocks already coded. The different types of directional spatial prediction refer to different edge directions, i.e. the direction of the applied two-dimensional extrapolation as illustrated in
Within the video encoder 100, a decoding unit is incorporated for obtaining a decoded video signal. In compliance with the encoding steps, the decoding steps include inverse quantization and inverse transformation 120. The decoded prediction error signal differs from the original prediction error signal due to the quantization error, called also quantization noise. A reconstructed signal is then obtained by adding 125 the decoded prediction error signal to the prediction signal. In order to maintain the compatibility between the encoder side and the decoder side, the prediction signal is obtained based on the encoded and subsequently decoded video signal which is known at both sides the encoder and the decoder. Due to the quantization, quantization noise is superposed to the reconstructed video signal. Due to the block-wise coding, the superposed noise often has blocking characteristics, which result, in particular for strong quantization, in visible block boundaries in the decoded image. In order to reduce these artifacts, a deblocking filter 130 is applied to every reconstructed image block.
In order to be decoded, inter-encoded images require previously encoded and subsequently decoded (reconstructed) image(s). Temporal prediction may be performed uni-directionally, i.e., using only video frames ordered in time before the current frame to be encoded, or bidirectionally, i.e., using also video frames following the current frame. Uni-directional temporal prediction results in inter-encoded images called P frames; bi-directional temporal prediction results in inter-encoded images called B frames. In general, an inter-encoded image may comprise any of P-, B-, or even I-type macroblocks. An inter-encoded macroblock (P- or B- macroblock) is predicted by employing motion compensated prediction 160. First, a best-matching block is found for the current block within the previously encoded and decoded video frames by a motion estimator 165. The best-matching block then becomes a prediction signal and the relative displacement between the current block and its best match is signalized as motion data in the form of three-dimensional (one temporal, two spatial) motion within the bitstream comprising also the encoded video data. In order to optimize the prediction accuracy, motion vectors may be determined with a spatial sub-pixel resolution e.g. half pixel or quarter pixel resolution. This is enabled by an interpolation filter 150.
For both, the intra- and the inter-encoding modes, the differences between the current input signal and the prediction signal are transformed and quantized by the unit 110, resulting in the quantized coefficients. Generally, an orthogonal transformation such as a two-dimensional discrete cosine transformation (DCT) or an integer version thereof is employed since it reduces the correlation of the natural video images efficiently. After the transformation, low frequency components are usually more important for image quality than high frequency components so that more bits can be spent for coding the low frequency components than the high frequency components. In the entropy coder, the two-dimensional matrix of quantized coefficients is converted into a one-dimensional array. Typically, this conversion is performed by a so-called zig-zag scanning, which starts with the DC-coefficient in the upper left corner of the two-dimensional array and scans the two-dimensional array in a predetermined sequence ending with an AC coefficient in the lower right corner. As the energy is typically concentrated in the left upper part of the two-dimensional matrix of coefficients, corresponding to the lower frequencies, the zig-zag scanning results in an array where usually the last values are zero. This allows for efficient encoding using run-length codes as a part of/before the actual entropy coding. H.264/MPEG-4 AVC employs scalar quantization 110, which can be controlled by a quantization parameter (QP) and a customizable quantization matrix (QM). One of 52 quantizers is selected for each macroblock by the quantization parameter. In addition, quantization matrix is specifically designed to keep certain frequencies in the source to avoid losing image quality. Quantization matrix in H.264/MPEG-4 AVC can be adapted to the video sequence and signalized together with the video data.
The H.264/MPEG-4 AVC includes two functional layers, a Video Coding Layer (VCL) and a Network Abstraction Layer (NAL). The VCL provides the encoding functionality as briefly described above. The NAL encapsulates information elements into standardized units called NAL units according to their further application such as transmission over a channel or storing in storage. The information elements are, for instance, the encoded prediction error signal or other information necessary for the decoding of the video signal such as type of prediction, quantization parameter, motion vectors, etc. There are VCL NAL units containing the compressed video data and the related information, as well as non-VCL units encapsulating additional data such as parameter set relating to an entire video sequence, or a Supplemental Enhancement Information (SEI) providing additional information that can be used to improve the decoding performance.
In order to improve the image quality, a so-called post filter 280 may be applied at the decoder side 200. The H.264/MPEG-4 AVC standard enables sending of post filter information for such a post filter via the SEI message. The post filter information is determined at the encoder side by means of a post filter design unit 180, which compares the locally decoded signal and original input signal. In general, the post filter information is an information allowing decoder to set up an appropriate filter. It may include directly the filter coefficients or another information enabling setting up the filter. The filter information, which is output by the post filter design unit 180 is also fed to the entropy coding unit 190 in order to be encoded and inserted into the encoded signal.
The prediction signal is obtained from either a temporal or a spatial prediction 260 and 270, respectively, which are switched 275 in accordance with a received information element signalizing the prediction applied at the encoder. The decoded information elements further include the information necessary for the prediction such as prediction type in the case of intra-prediction and motion data in the case of motion compensated prediction. Depending on the current value of the motion vector, interpolation of pixel values may be needed in order to perform the motion compensated prediction. This interpolation is performed by an interpolation filter 250. The quantized prediction error signal in the spatial domain is then added by means of an adder 225 to the prediction signal obtained either from the motion compensated prediction 260 or intra-frame prediction 270. The reconstructed image may be passed through a deblocking filter 230 and the resulting decoded signal is stored in the memory 240 to be applied for temporal or spatial prediction of the following blocks. The post filter information is fed to a post filter 280, which sets up a post filter accordingly. The post filter is then applied to the decoded signal in order to further improve the image quality.
In video coding, intra-coded blocks within both spatially and temporally predicted images serve for refreshing the video sequence and stopping the error propagation. However, the efficiency of the spatial encoding is lower then the performance of the temporal encoding, which leads to a lower overall compression gain as well as to high variations of the resulting bitrate. In order to increase the coding efficiency,
The aim of the present invention is to provide a spatial prediction with improved accuracy and/or with reduced complexity.
This is achieved by the subject matter of the independent claims.
Advantageous embodiments of the invention are subject to the dependent claims.
It is the particular approach of the present invention to decide whether an adjacent block to the current block to be predicted contains an edge that may provide an additional prediction direction based on the coding type and/or coding values of the adjacent block if possible, or based on gradient calculation otherwise. According to the decision, the type of spatial prediction of the current block is selected.
In accordance to an aspect of the present invention, a method is provided spatially predicting the values at each pixel position of a block of pixels in an image. The method further comprises the step of deciding whether to calculate a vertical and/or a horizontal gradient for at least one pixel of an adjacent block based on a type of coding and/or coded values of the adjacent block. When it is decided that the vertical and/or horizontal gradient is to be calculated, the vertical and horizontal gradient is calculated for at least one pixel of the adjacent block and based on the result of calculation it is determined whether the adjacent block includes an edge. Based on the result of the edge determination for at least one pixel of at least one adjacent block, a type of the spatial prediction and/or a direction of the spatial prediction is selected to be applied for encoding of the current block and the selected spatial prediction is applied accordingly.
When it is decided that the vertical and/or horizontal gradient is not to be calculated for all the pixels of all the adjacent blocks where edge detection could be performed, preferably, a mode predicting the block with a uniform value is chosen as the type of the spatial prediction mode for the current block.
In accordance to another aspect of the present invention, a method is provided spatially predicting the values at each pixel position of a block of pixels in an image. The method further comprises the step of deciding whether to calculate a vertical and/or a horizontal gradient for at least one pixel of an adjacent block based on a type of coding and/or coded values of the adjacent block. When it is decided that the vertical and/or horizontal gradient is to be calculated, the vertical and horizontal gradient is calculated for at least one pixel of the adjacent block and based on the result of calculation it is determined whether the adjacent block includes an edge. Based on the result of the edge determination, a direction of the spatial prediction is selected to be applied for decoding of the current block and the selected spatial prediction is applied accordingly.
In accordance with still another aspect of the present invention, an apparatus is provided for spatially predicting the values at each pixel position of a block of pixels in an image. The apparatus further comprises a judging unit for deciding whether to calculate a vertical and/or a horizontal gradient for at least one pixel of an adjacent block based on a type of coding and/or coded values of the adjacent block; a gradient calculator for, when it is decided that the vertical and/or horizontal gradient is to be calculated, calculating vertical and horizontal gradient for at least one pixel of the adjacent block. The apparatus further comprises an edge determination unit for determining whether the adjacent block includes an edge based on the result of calculation, and a prediction design unit for selecting, based on the result of the edge determination, a type of the spatial prediction and/or a direction of the spatial prediction to be applied to the current block. The spatial predictor is configured to apply the selected spatial prediction accordingly.
Advantageously, the type of coding includes at least one of: prediction mode indicating whether spatial or temporal prediction has been applied to the adjacent block and/or specifying the particular prediction method, or values of transformation coefficients of the adjacent block transformed in frequency domain; and the coded values of the adjacent block are coefficients obtained by a linear transformation of the adjacent block into frequency domain.
Preferably, decision whether to calculate the vertical and/or horizontal gradient is based on evaluating at least one of the conditions:
The condition posed on AC coefficients above is only an example. The present invention may also work with a more strict condition which requires also predefined AC coefficients other then the two lowest ones, to be zero. Especially for larger sizes of the adjacent block, such stricter conditions may be beneficial. In general, the DC/AC frequency coefficients may be obtained by any transformation into frequency domain, such as DCT, Fourier-based transformation (fast, discrete, integer, etc.), Karhunen-Loeve, or any other.
Preferably, the decision whether to calculate a vertical and/or a horizontal gradient is negative when at least one of the conditions is fulfilled. The above conditions are only examples, and, in general, other conditions based on the coding type and/or coded values such as transformation coefficients may be applied.
Advantageously, the selecting a type and/or a direction of spatial prediction is performed for encoding the current block with the selected type of spatial prediction, the selected spatial prediction being one of prediction by a uniform value for the entire current block, prediction along one of fixed predefined edge directions, or prediction along the direction determined by the gradient calculation.
Furthermore, the step of selecting a direction of the spatial prediction is advantageously performed for decoding the current block, the current block being decoded by using spatial prediction along the selected direction.
The vertical and/or horizontal gradient is preferably calculated for a plurality of pixels in the adjacent block, the pixels being in proximity of the boundary of the adjacent block, the boundary being adjacent to the current block, the calculation being performed by convolution of the plurality of pixels with Sobel mask. In particular, it is not necessary to calculate the gradient for all pixels of the adjacent block. By calculating the gradient only for a subset of pixels in the adjacent block, the complexity is reduced. Moreover, the rows and/or columns directly adjacent to the current block are not suitable for application of a Sobel mask (or other gradient detecting mask) since the mask would only partially overlap the adjacent block. Therefore, preferably, the second and/or third nearest row or column of pixels adjacent to the current clock are used to calculate the gradient. However, the present invention is not limited thereto and other pixels in the adjacent block may be used as well.
In accordance with still another aspect of the present invention, a computer program product is provided comprising a computer-readable medium having a computer-readable program code embodied thereon, wherein the program code is adapted to carry out the above described method.
The above and other objects and features of the present invention will become more apparent from the following description and preferred embodiments given in conjunction with the accompanying drawings, in which:
The problem underlying the present invention is based on the observation that the sub-pel edge detection based prediction requires performing of rather complex calculations for detecting the edges in the adjacent blocks. However, there are cases where no edge is present in the adjacent block and the edge detection calculations are still performed. Moreover, even if an edge is present in the adjacent block, it is possible that the direction of this edge accurately matches one of fixedly predefined directions available for the fixed directional spatial interpolation.
The present invention enables deciding whether the calculation of gradient is necessary for a particular adjacent block or not. Based on this decision, the calculation of gradient is only performed when necessary. In particular, based on certain types of coding and coded values of the adjacent block it may be determined whether an edge is present in the adjacent block or not. Moreover, it may also be determined if an edge is present in the adjacent block that can be accurately predicted by one of predefined fixed directional modes. The directional modes are selectable fixed predefined directions in which the prediction may be performed.
In order to increase the prediction performance of the intra-prediction, an improved intra prediction is employed. In particular, the improved intra-prediction relies on edge detection and calculates an intersection between a block boundary (or a plurality of them) and the edge detected as dominant. The intersection may be on a sub-pel position and the interpolation is performed based on such a sub-pel position. A corresponding example intra-prediction method is disclosed, for instance, in
In general, edges in an image may be detected by determining a gradient vector field of the image. A gradient vector is larger on an edge and is perpendicular thereto. One of the most popular approaches to detecting the gradient field is convolution of the image with the vertical and horizontal Sobel operator, given by the following masks:
In particular, a vertical gradient vector coordinate Gx and a horizontal gradient vector coordinate Gy in a particular pixel p(x, y) are then obtained by filtering the pixel p(x, y) with the vertical Sx and the horizontal Sy Sobel mask, respectively.
Many applications employ Sobel operator for obtaining the gradient field. However, the present invention is not limited to detecting the gradient field by means of the Sobel operator. In general, any edge detection mechanism may be employed that provides the field gradient. For instance, masks with other sizes than Sobel operator may be used such as 2x2 or 4x4, or even larger masks may be used. The selection of the particular mask depends on the desired results. Employing larger masks may add on precision of the edge detection and suppress detection of small local edges, but on the other hand, it increases the computational complexity. Alternatively, masks other than Sobel mask may be used for edge detection, such as Scharr operator, or operators based on higher derivatives.
After obtaining the vertical Gx and the horizontal Gy coordinates of the gradient G, for a plurality of pixels of blocks surrounding the block to be predicted, a dominant gradient may be determined. A dominant edge vector E with its horizontal and vertical coordinates Ex and Ey, respectively, is perpendicular on the gradient vector G. Correspondingly, the sizes of the horizontal Ex and vertical Ey components of the dominant edge vector E correspond to the sizes of horizontal Gy and vertical Gx gradient, respectively (for instance, Ex=-Gy, Ey=Gx for a counter-clock rotation). Typically, the dominant edge for a current block is determined to be an edge with a maximum norm out of edges that intersect the current block. However, other methods may be used as well, for instance, taking a weighting average of the edges, or the edge direction detected for a majority of pixels, etc. It should be noted that the calculation of gradient is not necessarily performed for the entire adjacent blocks. In general, it is advantageous to select a sub-set of pixels near to the boundaries to the block to be interpolated and calculating the gradient only for these pixels. This approach reduces the number of operations necessary for convolution of the adjacent blocks with the edge detection masks. Moreover, for the prediction, only the edges entering the block to be predicted are of importance, thus edge detection near to the boundaries also reduces the risk of detecting a useless edge.
In order to preserve the sharpness, position and direction of the edge as far as possible, the current pixel 440 is extrapolated along the edge direction based on the values of both full-pel pixels 410 and 420. In this particular example, the current pixel 440 is predicted as:
wherein w1 and w2 are weights, which are preferably determined based on the distance of the full-pel pixels 410 and 420 from the intersection point 450. It is assumed that the point (0,0) lies near to the top left corner of the block to be predicted. For instance, the weights w1 and w2 may be calculated as:
wherein δx is distance between the X coordinate of the current pixel 440 and the intersection 450. The operator denotes the "floor" operation, which returns for a real operand its nearest smaller integer (in this example equal to 1). The operator denotes the "ceil" operation, which returns for a real operand its nearest greater integer (in this example equal to 2). As can be seen in
and thus, the distance δx may be calculated as:
In general, for each pixel of the block to be predicted, the distance δx from the x coordinate of the pixel to be predicted to the intersection point to be interpolated between the edge and the row of pixels of the top neighboring block is computed. Based on the calculated distance δx then the current pixel p(x,y) is predicted as p(x, y)=p(x-δx,0), which means that the current pixel 440 is extrapolated as value of the interpolated sub-pel position 450.
The above example has been described for an edge 430 entering the block to be predicted from the top side.
Another example of a possible edge direction is shown in
During encoding of an image, a decision is made for a current block, which kind of coding is to be applied thereto. Spatial prediction may be selected for a block being a part ob en entire image which is coded without temporal prediction, or for a block positioned within a temporally predicted image. I-blocks within P- and/or B- frames may be inserted randomly to refresh the sequence. However, their selection may also be a result of rate-distortion optimization. In the following it is assumed for simplicity that the current block is decided to be coded using spatial prediction. However, the following approach may also be a part ob the rate-distortion optimization for supporting the decision about the coding mode of the current block.
For the current block three types of spatial interpolation may be selected: fixed directions prediction as described in the background section, DC mode in which the current block is predicted by a uniform value, or the sub-pel edge detection based directional prediction described above. In order to select for the current block the appropriate spatial prediction, a rate distortion optimization approach can be used to determine the cost of encoding the current block with an intra prediction mode using one of the fixed predefined directions or one of DC prediction or sub-pel edge based prediction. To determine, for one given block, if the DC prediction or the sub-pel edge based prediction is more appropriate, it is necessary to determine the edges entering the current block in order to judge whether an interpolation along such edges would define a valuable additional directional prediction mode. In order to detect edges, typically the above described gradient field calculation is applied to the pixels of the blocks adjacent to the current block. In order to reduce the complexity, the gradient may be calculated only for a subset of pixels in the neighboring blocks. Preferably, pixels near to the boundaries to the current block are used as shown in
However, there are cases in which the presence and/or the orientation of the edge may be determined without explicitly calculating the gradient field. Therefore, according to the present invention, the gradient calculations are skipped in cases where the prediction mode of the adjacent block and/or the information obtained from the encoded adjacent block may provide hints toward the presence and/or direction of edges. At the time where the decision about the type of spatial prediction for the current block is made at the encoder, the adjacent blocks are already encoded and thus, the information about their coding type as well as the coded values are available. Especially if the adjacent block is encoded spatially, the results of coding may provide indications in respect of its edges.
In particular, the gradient calculations are skipped for pixels belonging to a block encoded with the DC prediction mode. If the block is encoded in the DC prediction mode, it is likely that such a block is essentially smooth. Therefore, it is assumed that there is no edge and thus, no gradient calculations are necessary. This is indicated in
If the prediction mode of the adjacent block is a fixed directional prediction, one of the fixed direction selected for the prediction of the adjacent block may be accurate or not. If the fixed direction accurately predicts the edge in the adjacent block 640, then the prediction residuals are low. Thus, alternatively, or in addition, in accordance with the preset invention, the gradient calculations are skipped for a block that has the low frequency AC coefficients with zero value. In particular, if DCT coefficients AC01 and AC10 are zero as shown in the transformed block 630 as black-white coefficients, then the gradient calculations are skipped as well.
If the prediction mode of the adjacent block is the fixed directional prediction or the sub-pel edge based prediction, the gradient calculations are skipped if the edge along which the adjacent block is predicted does not cross the current block 660. If the edge does not cut the current block, it cannot be used for its prediction and therefore, calculating the gradients becomes obsolete. If one of the surrounding blocks was predicted with a prediction direction that does not cross any pixel of the block to be predicted (for example horizontal direction for the top neighbor), the gradients are not calculated for the pixels of that block.
Furthermore, if one of the surrounding blocks has only zero transformation coefficients (for instance, DCT coefficients or KLT coefficients), the gradients are not calculated for the pixels of that block, except for the case the adjacent block is predicted with the sub-pel edge prediction mode. In particular, in case of the DC transformation, the gradient calculation is also skipped if all AC coefficients are zero, regardless to the value of DC. If all AC DCT coefficients are all zero, the block is substantially smooth, meaning that no edge is present. If all transformation coefficients of KLT transformed block are zero, the block is substantially smooth, meaning that no edge is present. Similar condition may be applied for any other frequency domain transformation.
Generally, the gradients should be calculated for the pixels of the blocks predicted with the edge prediction mode or one of the template matching modes.
The present invention provides the advantage of complexity reduction by performing edge detection only if necessary at both encoder and decoder. The above criteria are very simple and based on already encoded (at the encoder) and decoded (at the decoder) information. Gradients are not calculated at pixel positions where there is no edge or where the standard prediction modes are efficient to predict the edge. In that case, the edge direction is not needed. The present invention prevents unnecessary loss in coding efficiency which could be caused by the sub-pel based edge based prediction performed for each neighbouring block.
The possibilities listed previously are examples only. Generally, every possibility using the coding information of the surrounding blocks (prediction mode, levels of the non-zero coefficients) can be used to determine if the block is likely to contain an interesting edge for the edge prediction mode of the block to be predicted.
After performing the decision for each of the available (already encoded/decoded) adjacent blocks whether or not to calculate the gradients, the gradients are calculated for the adjacent blocks, for which they are necessary as shown in step 880. Having the information about edges for each adjacent block, the prediction mode for the current block may be decided.
Part (b) of
Part (c) of
Summarizing, the gradient calculation provides a basis for detecting whether an edge is present in the block or not and for determining the direction and magnitude of the edge. The selection of the spatial prediction mode for the current block (fixed directional prediction or one of DC prediction or sub-pel edge based prediction) is then performed based on rate distortion decision. The decision between DC prediction or sub-pel edge based prediction is performed based on the information for each of the adjacent blocks. In general, the spatial prediction mode may be selected by evaluating all available adjacent blocks. Alternatively, only a subset of these blocks may be taken. for instance, only the left and the top neighbouring blocks may be employed.
The present invention is applicable to both encoder and decoder. Other than encoder, the decoder cannot decide automatically the prediction mode for the current block. The prediction mode of the current block is typically signalized within the bitstream including the coded image/video data. The calculating of the gradients is only necessary in case the prediction mode for the current block is the sub-pel edge based prediction or the DC prediction. However, also in this case, the gradient calculation for some of the adjacent blocks may be avoided similarly as described above for the encoder, for example as with reference to
For simplicity, all the above examples have been described for a block of 4x4 pixels. However, the present invention is not limited to such blocks. In general, any other square and rectangular sizes of blocks such as 8x8, 16x16, 8x16, 4x8, etc. may be predicted as described above.
Moreover, the above examples have been described mainly for deployment in image or video encoders and decoders. However, the present invention may readily be applied for other image processing tasks in which spatial extrapolation or interpolation based on egde detection is required if the coding type and the coded values of adjacent blocks are available. For instance, the extrapolation/interpolation based on edge detection according to the present invention may be used for post-processing such as error concealment.
Looking at the
In the above examples it has been assumed that an image is encoded and/or decoded in a raster scan of blocks. This assumption causes that the adjacent blocks available for prediction are always the blocks on the top of the block to be predicted and a block left from the block to be predicted. However, the present invention will also work for different scans as long as there is at least one block already encoded/decoded adjacent to the block to be predicted and as long as there is an edge cutting the block to be predicted and passing the adjacent block.
The above examples were described for a single block of pixels. Indeed, an image subdivided into a plurality of blocks may be encoded using different encoding methods for each of the blocks. Error concealment may also be applied to single blocks. However, the present invention may also be applied to encode an entire image or frame of a video sequence.
The processing described in each of embodiments can be simply implemented in an independent computer system, by recording, in a recording medium, a program for implementing the configurations of the video coding method and the video decoding method described in each of embodiments. The recording media may be any recording media as long as the program can be recorded, such as a magnetic disk, an optical disk, a magnetic optical disk, an IC card, and a semiconductor memory.
Hereinafter, the applications to the video coding method and the video decoding method described in each of embodiments and systems using thereof will be described.
However, the configuration of the content providing system ex100 is not limited to the configuration shown in
The camera ex113, such as a digital video camera, is capable of capturing video. A camera ex116, such as a digital video camera, is capable of capturing both still images and video. Furthermore, the cellular phone ex114 may be the one that meets any of the standards such as Global System for Mobile Communications (GSM), Code Division Multiple Access (CDMA), Wideband-Code Division Multiple Access (W-CDMA), Long Term Evolution (LTE), and High Speed Packet Access (HSPA). Alternatively, the cellular phone ex114 may be a Personal Handyphone System (PHS).
In the content providing system ex100, a streaming server ex103 is connected to the camera ex113 and others via the telephone network ex104 and the base station ex109, which enables distribution of images of a live show and others. In such a distribution, a content (for example, video of a music live show) captured by the user using the camera ex113 is coded as described above in each of embodiments, and the coded content is transmitted to the streaming server ex103. On the other hand, the streaming server ex103 carries out stream distribution of the transmitted content data to the clients upon their requests. The clients include the computer ex111, the PDA ex112, the camera ex113, the cellular phone ex114, and the game machine ex115 that are capable of decoding the above-mentioned coded data. Each of the devices that have received the distributed data decodes and reproduces the coded data.
The captured data may be coded by the camera ex113 or the streaming server ex103 that transmits the data, or the coding processes may be shared between the camera ex113 and the streaming server ex103. Similarly, the distributed data may be decoded by the clients or the streaming server ex103, or the decoding processes may be shared between the clients and the streaming server ex103. Furthermore, the data of the still images and video captured by not only the camera ex113 but also the camera ex116 may be transmitted to the streaming server ex103 through the computer ex111. The coding processes may be performed by the camera ex116, the computer ex111, or the streaming server ex103, or shared among them.
Furthermore, the coding and decoding processes may be performed by an LSI ex500 generally included in each of the computer ex111 and the devices. The LSI ex500 may be configured of a single chip or a plurality of chips. Software for coding and decoding video may be integrated into some type of a recording medium (such as a CD-ROM, a flexible disk, and a hard disk) that is readable by the computer ex111 and others, and the coding and decoding processes may be performed using the software. Furthermore, when the cellular phone ex114 is equipped with a camera, the image data obtained by the camera may be transmitted. The video data is data coded by the LSI ex500 included in the cellular phone ex114.
Furthermore, the streaming server ex103 may be composed of servers and computers, and may decentralize data and process the decentralized data, record, or distribute data.
As described above, the clients may receive and reproduce the coded data in the content providing system ex100. In other words, the clients can receive and decode information transmitted by the user, and reproduce the decoded data in real time in the content providing system ex100, so that the user who does not have any particular right and equipment can implement personal broadcasting.
Aside from the example of the content providing system ex100, at least one of the video coding apparatus and the video decoding apparatus described in each of embodiments may be implemented in a digital broadcasting system ex200 illustrated in
Next, a device such as a television (receiver) ex300 and a set top box (STB) ex217 decodes the received multiplexed data, and reproduces the decoded data.
Furthermore, a reader/recorder ex218 (i) reads and decodes the multiplexed data recorded on a recording media ex215, such as a DVD and a BD, or (i) codes video signals in the recording medium ex215, and in some cases, writes data obtained by multiplexing an audio signal on the coded data. The reader/recorder ex218 can include the video decoding apparatus or the video coding apparatus as shown in each of embodiments. In this case, the reproduced video signals are displayed on the monitor ex219, and can be reproduced by another device or system using the recording medium ex215 on which the multiplexed data is recorded. It is also possible to implement the video decoding apparatus in the set top box ex217 connected to the cable ex203 for a cable television or to the antenna ex204 for satellite and/or terrestrial broadcasting, so as to display the video signals on the monitor ex219 of the television ex300. The video decoding apparatus may be implemented not in the set top box but in the television ex300.
The television ex300 further includes: a signal processing unit ex306 including an audio signal processing unit ex304 and a video signal processing unit ex305 that decode audio data and video data and code audio data and video data, respectively; and an output unit ex309 including a speaker ex307 that provides the decoded audio signal, and a display unit ex308 that displays the decoded video signal, such as a display. Furthermore, the television ex300 includes an interface unit ex317 including an operation input unit ex312 that receives an input of a user operation. Furthermore, the television ex300 includes a control unit ex310 that controls overall each constituent element of the television ex300, and a power supply circuit unit ex311 that supplies power to each of the elements. Other than the operation input unit ex312, the interface unit ex317 may include: a bridge ex313 that is connected to an external device, such as the reader/recorder ex218; a slot unit ex314 for enabling attachment of the recording medium ex216, such as an SD card; a driver ex315 to be connected to an external recording medium, such as a hard disk; and a modem ex316 to be connected to a telephone network. Here, the recording medium ex216 can electrically record information using a non-volatile/volatile semiconductor memory element for storage. The constituent elements of the television ex300 are connected to each other through a synchronous bus.
First, the configuration in which the television ex300 decodes multiplexed data obtained from outside through the antenna ex204 and others and reproduces the decoded data will be described. In the television ex300, upon a user operation through a remote controller ex220 and others, the multiplexing/demultiplexing unit ex303 demultiplexes the multiplexed data demodulated by the modulation/demodulation unit ex302, under control of the control unit ex310 including a CPU. Furthermore, the audio signal processing unit ex304 decodes the demultiplexed audio data, and the video signal processing unit ex305 decodes the demultiplexed video data, using the decoding method described in each of embodiments, in the television ex300. The output unit ex309 provides the decoded video signal and audio signal outside, respectively. When the output unit ex309 provides the video signal and the audio signal, the signals may be temporarily stored in buffers ex318 and ex319, and others so that the signals are reproduced in synchronization with each other. Furthermore, the television ex300 may read multiplexed data not through a broadcast and others but from the recording media ex215 and ex216, such as a magnetic disk, an optical disk, and a SD card. Next, a configuration in which the television ex300 codes an audio signal and a video signal, and transmits the data outside or writes the data on a recording medium will be described. In the television ex300, upon a user operation through the remote controller ex220 and others, the audio signal processing unit ex304 codes an audio signal, and the video signal processing unit ex305 codes a video signal, under control of the control unit ex310 using the coding method described in each of embodiments. The multiplexing/demultiplexing unit ex303 multiplexes the coded video signal and audio signal, and provides the resulting signal outside. When the multiplexing/demultiplexing unit ex303 multiplexes the video signal and the audio signal, the signals may be temporarily stored in the buffers ex320 and ex321, and others so that the signals are reproduced in synchronization with each other. Here, the buffers ex318, ex319, ex320, and ex321 may be plural as illustrated, or at least one buffer may be shared in the television ex300. Furthermore, data may be stored in a buffer so that the system overflow and underflow may be avoided between the modulation/demodulation unit ex302 and the multiplexing/demultiplexing unit ex303, for example.
Furthermore, the television ex300 may include a configuration for receiving an AV input from a microphone or a camera other than the configuration for obtaining audio and video data from a broadcast or a recording medium, and may code the obtained data. Although the television ex300 can code, multiplex, and provide outside data in the description, it may be capable of only receiving, decoding, and providing outside data but not the coding, multiplexing, and providing outside data.
Furthermore, when the reader/recorder ex218 reads or writes multiplexed data from or on a recording medium, one of the television ex300 and the reader/recorder ex218 may decode or code the multiplexed data, and the television ex300 and the reader/recorder ex218 may share the decoding or coding.
As an example,
Although the optical head ex401 irradiates a laser spot in the description, it may perform high-density recording using near field light.
Although an optical disk having a layer, such as a DVD and a BD is described as an example in the description, the optical disk is not limited to such, and may be an optical disk having a multilayer structure and capable of being recorded on a part other than the surface. Furthermore, the optical disk may have a structure for multidimensional recording/reproduction, such as recording of information using light of colors with different wavelengths in the same portion of the optical disk and for recording information having different layers from various angles.
Furthermore, a car ex210 having an antenna ex205 can receive data from the satellite ex202 and others, and reproduce video on a display device such as a car navigation system ex211 set in the car ex210, in the digital broadcasting system ex200. Here, a configuration of the car navigation system ex211 will be a configuration, for example, including a GPS receiving unit from the configuration illustrated in
Next, an example of a configuration of the cellular phone ex114 will be described with reference to
When a call-end key or a power key is turned ON by a user's operation, the power supply circuit unit ex361 supplies the respective units with power from a battery pack so as to activate the cell phone ex114.
In the cellular phone ex114, the audio signal processing unit ex354 converts the audio signals collected by the audio input unit ex356 in voice conversation mode into digital audio signals under the control of the main control unit ex360 including a CPU, ROM, and RAM. Then, the modulation/demodulation unit ex352 performs spread spectrum processing on the digital audio signals, and the transmitting and receiving unit ex351 performs digital-to-analog conversion and frequency conversion on the data, so as to transmit the resulting data via the antenna ex350.
Also, in the cellular phone ex114, the transmitting and receiving unit ex351 amplifies the data received by the antenna ex350 in voice conversation mode and performs frequency conversion and the analog-to-digital conversion on the data. Then, the modulation/demodulation unit ex352 performs inverse spread spectrum processing on the data, and the audio signal processing unit ex354 converts it into analog audio signals, so as to output them via the audio output unit ex356.
Furthermore, when an e-mail in data communication mode is transmitted, text data of the e-mail inputted by operating the operation key unit ex366 and others of the main body is sent out to the main control unit ex360 via the operation input control unit ex362. The main control unit ex360 causes the modulation/demodulation unit ex352 to perform spread spectrum processing on the text data, and the transmitting and receiving unit ex351 performs the digital-to-analog conversion and the frequency conversion on the resulting data to transmit the data to the base station ex110 via the antenna ex350. When an e-mail is received, processing that is approximately inverse to the processing for transmitting an e-mail is performed on the received data, and the resulting data is provided to the display unit ex358.
When video, still images, or video and audio in data communication mode is or are transmitted, the video signal processing unit ex355 compresses and codes video signals supplied from the camera unit ex365 using the video coding method shown in each of embodiments, and transmits the coded video data to the multiplexing/demultiplexing unit ex353. In contrast, during when the camera unit ex365 captures video, still images, and others, the audio signal processing unit ex354 codes audio signals collected by the audio input unit ex356, and transmits the coded audio data to the multiplexing/demultiplexing unit ex353.
The multiplexing/demultiplexing unit ex353 multiplexes the coded video data supplied from the video signal processing unit ex355 and the coded audio data supplied from the audio signal processing unit ex354, using a predetermined method.
Then, the modulation/demodulation unit ex352 performs spread spectrum processing on the multiplexed data, and the transmitting and receiving unit ex351 performs digital-to-analog conversion and frequency conversion on the data so as to transmit the resulting data via the antenna ex350.
When receiving data of a video file which is linked to a Web page and others in data communication mode or when receiving an e-mail with video and/or audio attached, in order to decode the multiplexed data received via the antenna ex350, the multiplexing/demultiplexing unit ex353 demultiplexes the multiplexed data into a video data bit stream and an audio data bit stream, and supplies the video signal processing unit ex355 with the coded video data and the audio signal processing unit ex354 with the coded audio data, through the synchronous bus ex370. The video signal processing unit ex355 decodes the video signal using a video decoding method corresponding to the coding method shown in each of embodiments, and then the display unit ex358 displays, for instance, the video and still images included in the video file linked to the Web page via the LCD control unit ex359. Furthermore, the audio signal processing unit ex354 decodes the audio signal, and the audio output unit ex357 provides the audio.
Furthermore, similarly to the television ex300, a terminal such as the cellular phone ex114 probably have 3 types of implementation configurations including not only (i) a transmitting and receiving terminal including both a coding apparatus and a decoding apparatus, but also (ii) a transmitting terminal including only a coding apparatus and (iii) a receiving terminal including only a decoding apparatus. Although the digital broadcasting system ex200 receives and transmits the multiplexed data obtained by multiplexing audio data onto video data in the description, the multiplexed data may be data obtained by multiplexing not audio data but character data related to video onto video data, and may be not multiplexed data but video data itself.
As such, the video coding method and the video decoding method in each of embodiments can be used in any of the devices and systems described. Thus, the advantages described in each of embodiments can be obtained. Furthermore, the present invention is not limited to embodiments, and various modifications and revisions are possible without departing from the scope of the present invention.
Video data can be generated by switching, as necessary, between (i) the video coding method or the video coding apparatus shown in each of embodiments and (ii) a video coding method or a video coding apparatus in conformity with a different standard, such as MPEG-2, MPEG4-AVC, and VC-1.
Here, when a plurality of video data that conforms to the different standards is generated and is then decoded, the decoding methods need to be selected to conform to the different standards. However, since to which standard each of the plurality of the video data to be decoded conform cannot be detected, there is a problem that an appropriate decoding method cannot be selected.
In order to solve the problem, multiplexed data obtained by multiplexing audio data and others onto video data has a structure including identification information indicating to which standard the video data conforms. The specific structure of the multiplexed data including the video data generated in the video coding method and by the video coding apparatus shown in each of embodiments will be hereinafter described. The multiplexed data is a digital stream in the MPEG2-Transport Stream format.
Each stream included in the multiplexed data is identified by PID. For example, 0x1011 is allocated to the video stream to be used for video of a movie, 0x1100 to 0x111F are allocated to the audio streams, 0x1200 to 0x121 F are allocated to the presentation graphics streams, 0x1400 to 0x141F are allocated to the interactive graphics streams, 0x1B00 to 0x1B1F are allocated to the video streams to be used for secondary video of the movie, and 0x1A00 to 0x1 A1 F are allocated to the audio streams to be used for the secondary video to be mixed with the primary audio.
Each of the TS packets included in the multiplexed data includes not only streams of audio, video, subtitles and others, but also a Program Association Table (PAT), a Program Map Table (PMT), and a Program Clock Reference (PCR). The PAT shows what a PID in a PMT used in the multiplexed data indicates, and a PID of the PAT itself is registered as zero. The PMT stores PIDs of the streams of video, audio, subtitles and others included in the multiplexed data, and attribute information of the streams corresponding to the PIDs. The PMT also has various descriptors relating to the multiplexed data. The descriptors have information such as copy control information showing whether copying of the multiplexed data is permitted or not. The PCR stores STC time information corresponding to an ATS showing when the PCR packet is transferred to a decoder, in order to achieve synchronization between an Arrival Time Clock (ATC) that is a time axis of ATSs, and an System Time Clock (STC) that is a time axis of PTSs and DTSs.
Each of the multiplexed data information files is management information of the multiplexed data as shown in
As shown in
The multiplexed data to be used is of a stream type included in the PMT. Furthermore, when the multiplexed data is recorded on a recording medium, the video stream attribute information included in the multiplexed data information is used. More specifically, the video coding method or the video coding apparatus described in each of embodiments includes a step or a unit for allocating unique information indicating video data generated by the video coding method or the video coding apparatus in each of embodiments, to the stream type included in the PMT or the video stream attribute information. With the configuration, the video data generated by the video coding method or the video coding apparatus described in each of embodiments can be distinguished from video data that conforms to another standard.
Furthermore,
As such, allocating a new unique value to the stream type or the video stream attribute information enables determination whether or not the video decoding method or the video decoding apparatus that is described in each of embodiments can perform decoding. Even when multiplexed data that conforms to a different standard, an appropriate decoding method or apparatus can be selected. Thus, it becomes possible to decode information without any error. Furthermore, the video coding method or apparatus, or the video decoding method or apparatus can be used in the devices and systems described above.
Each of the video coding method, the video coding apparatus, the video decoding method, and the video decoding apparatus in each of embodiments is typically achieved in the form of an integrated circuit or a Large Scale Integrated (LSI) circuit. As an example of the LSI,
For example, when coding is performed, the LSI ex500 receives an AV signal from a microphone ex117, a camera ex113, and others through an AV IO ex509 under control of a control unit ex501 including a CPU ex502, a memory controller ex503, a stream controller ex504, and a driving frequency control unit ex512. The received AV signal is temporarily stored in an external memory ex511, such as an SDRAM. Under control of the control unit ex501, the stored data is segmented into data portions according to the processing amount and speed to be transmitted to a signal processing unit ex507. Then, the signal processing unit ex507 codes an audio signal and/or a video signal. Here, the coding of the video signal is the coding described in each of embodiments. Furthermore, the signal processing unit ex507 sometimes multiplexes the coded audio data and the coded video data, and a stream IO ex506 provides the multiplexed data outside. The provided multiplexed data is transmitted to the base station ex107, or written on the recording media ex215. When data sets are multiplexed, the data should be temporarily stored in the buffer ex508 so that the data sets are synchronized with each other.
Although the memory ex511 is an element outside the LSI ex500, it may be included in the LSI ex500. The buffer ex508 is not limited to one buffer, but may be composed of buffers. Furthermore, the LSI ex500 may be made into one chip or a plurality of chips.
Furthermore, although the control unit ex510 includes the CPU ex502, the memory controller ex503, the stream controller ex504, the driving frequency control unit ex512, the configuration of the control unit ex510 is not limited to such. For example, the signal processing unit ex507 may further include a CPU. Inclusion of another CPU in the signal processing unit ex507 can improve the processing speed. Furthermore, as another example, the CPU ex502 may serve as or be a part of the signal processing unit ex507, and, for example, may include an audio signal processing unit. In such a case, the control unit ex501 includes the signal processing unit ex507 or the CPU ex502 including a part of the signal processing unit ex507.
The name used here is LSI, but it may also be called IC, system LSI, super LSI, or ultra LSI depending on the degree of integration.
Moreover, ways to achieve integration are not limited to the LSI, and a special circuit or a general purpose processor and so forth can also achieve the integration. Field Programmable Gate Array (FPGA) that can be programmed after manufacturing LSIs or a reconfigurable processor that allows re-configuration of the connection or configuration of an LSI can be used for the same purpose. In the future, with advancement in semiconductor technology, a brand-new technology may replace LSI. The functional blocks can be integrated using such a technology. The possibility is that the present invention is applied to biotechnology.
When video data generated in the video coding method or by the video coding apparatus described in each of embodiments is decoded, compared to when video data that conforms to a conventional standard, such as MPEG-2, MPEG4-AVC, and VC-1 is decoded, the processing amount probably increases. Thus, the LSI ex500 needs to be set to a driving frequency higher than that of the CPU ex502 to be used when video data in conformity with the conventional standard is decoded. However, when the driving frequency is set higher, there is a problem that the power consumption increases.
In order to solve the problem, the video decoding apparatus, such as the television ex300 and the LSI ex500 is configured to determine to which standard the video data conforms, and switch between the driving frequencies according to the determined standard.
More specifically, the driving frequency switching unit ex803 includes the CPU ex502 and the driving frequency control unit ex512 in
Furthermore, along with the switching of the driving frequencies, the power conservation effect can be improved by changing the voltage to be applied to the LSI ex500 or an apparatus including the LSI ex500. For example, when the driving frequency is set lower, the voltage to be applied to the LSI ex500 or the apparatus including the LSI ex500 is probably set to a voltage lower than that in the case where the driving frequency is set higher.
Furthermore, when the processing amount for decoding is larger, the driving frequency may be set higher, and when the processing amount for decoding is smaller, the driving frequency may be set lower as the method for setting the driving frequency. Thus, the setting method is not limited to the ones described above. For example, when the processing amount for decoding video data in conformity with MPEG 4 -AVC is larger than the processing amount for decoding video data generated by the video coding method and the video coding apparatus described in each of embodiments, the driving frequency is probably set in reverse order to the setting described above.
Furthermore, the method for setting the driving frequency is not limited to the method for setting the driving frequency lower. For example, when the identification information indicates that the video data is generated by the video coding method and the video coding apparatus described in each of embodiments, the voltage to be applied to the LSI ex500 or the apparatus including the LSI ex500 is probably set higher. When the identification information indicates that the video data conforms to the conventional standard, such as MPEG-2, MPEG4-AVC, and VC-1, the voltage to be applied to the LSI ex500 or the apparatus including the LSI ex500 is probably set lower. As another example, when the identification information indicates that the video data is generated by the video coding method and the video coding apparatus described in each of embodiments, the driving of the CPU ex502 does not probably have to be suspended. When the identification information indicates that the video data conforms to the conventional standard, such as MPEG-2, MPEG4-AVC, and VC-1, the driving of the CPU ex502 is probably suspended at a given time because the CPU ex502 has extra processing capacity. Even when the identification information indicates that the video data is generated by the video coding method and the video coding apparatus described in each of embodiments, in the case where the CPU ex502 has extra processing capacity, the driving of the CPU ex502 is probably suspended at a given time. In such a case, the suspending time is probably set shorter than that in the case where when the identification information indicates that the video data conforms to the conventional standard, such as MPEG-2, MPEG4-AVC, and VC-1. Accordingly, the power conservation effect can be improved by switching between the driving frequencies in accordance with the standard to which the video data conforms. Furthermore, when the LSI ex500 or the apparatus including the LSI ex500 is driven using a battery, the battery life can be extended with the power conservation effect.
There are cases where a plurality of video data that conforms to different standards, is provided to the devices and systems, such as a television and a mobile phone. In order to enable decoding the plurality of video data that conforms to the different standards, the signal processing unit ex507 of the LSI ex500 needs to conform to the different standards. However, the problems of increase in the scale of the circuit of the LSI ex500 and increase in the cost arise with the individual use of the signal processing units ex507 that conform to the respective standards.
In order to solve the problem, what is conceived is a configuration in which the decoding processing unit for implementing the video decoding method described in each of embodiments and the decoding processing unit that conforms to the conventional standard, such as MPEG-2, MPEG4-AVC, and VC-1 are partly shared. Ex900 in
Furthermore, ex1000 in
As such, reducing the scale of the circuit of an LSI and reducing the cost are possible by sharing the decoding processing unit for the processing to be shared between the video decoding method in the present invention and the video decoding method in conformity with the conventional standard.
Summarizing, the present invention relates to improving the performance of the spatial prediction by reducing the complexity of edge detection for the sub-pel edge based prediction for encoding and decoding of a current image block. In particular, the coding type and/or the coded values of at least one block adjacent to the current block are evaluated. Based thereon it is decided whether an edge detection based on gradient calculation is performed. According to whether the at least one adjacent block includes an edge or not, a type of spatial prediction and/or prediction direction may be selected at the encoder or at the decoder.
标题 | 发布/更新时间 | 阅读量 |
---|---|---|
题目内容识别方法、装置、可读存储介质及计算机设备 | 2020-05-13 | 1 |
基于图像处理算法的社交系统 | 2020-10-31 | 0 |
基于空间引导滤波的图像细节增强方法 | 2021-06-02 | 0 |
利用计算机图像处理技术检测熔喷超细纤维主体直径方法 | 2021-09-23 | 2 |
在刷新时最小化功耗的具有温度感测设备的半导体存储器 | 2022-01-10 | 1 |
基于轮廓线的图像变形技术 | 2021-03-21 | 0 |
一种基于聚类算法的图像边缘拟合B样条生成方法 | 2021-08-06 | 1 |
一种利用图像处理和先验知识提取断裂构造信息方法 | 2021-08-08 | 2 |
用于驱动电光显示器的方法 | 2021-03-05 | 2 |
Automatic barcode reader | 2022-12-01 | 1 |
高效检索全球专利专利汇是专利免费检索,专利查询,专利分析-国家发明专利查询检索分析平台,是提供专利分析,专利查询,专利检索等数据服务功能的知识产权数据服务商。
我们的产品包含105个国家的1.26亿组数据,免费查、免费专利分析。
专利汇分析报告产品可以对行业情报数据进行梳理分析,涉及维度包括行业专利基本状况分析、地域分析、技术分析、发明人分析、申请人分析、专利权人分析、失效分析、核心专利分析、法律分析、研发重点分析、企业专利处境分析、技术处境分析、专利寿命分析、企业定位分析、引证分析等超过60个分析角度,系统通过AI智能系统对图表进行解读,只需1分钟,一键生成行业专利分析报告。