Abstract:
To carry out de-interlacing of digital images there is provided a spatial-type de-interlacing process to be applied to a digital image (FRM) for obtaining a spatial reconstruction (Tsp). Furthermore, to said digital image (FRM) there are also applied one or more temporal-type de-interlacing processes for obtaining one or more temporal reconstructions (Tub, Tuf, Tbb and Tbn), and said spatial reconstruction (Tsp) and said one or more temporal reconstructions (Tub, Tuf, Tbb and Tbn) are sent to a decision module (D). Said decision module applies a cost function (var) to said spatial reconstruction (Tsp) and said temporal reconstructions (Tub, Tuf, Tbb and Tbn) and chooses from among said spatial reconstruction (Tsp) and said temporal reconstructions (Tub, Tuf, Tbb and Tbn) the one that minimizes said cost function (var). Preferential application is to display systems, in particular displays of a cathode-ray type, liquid-crystal type, and plasma type which use a mechanism of progressive scan.
Abstract:
In order to generate, starting from an input MPEG bitstream (IS), an output MPEG bitstream (OS) having at least one entity chosen among syntax, resolution, and bitrate modified with respect to the input bitstream (IS), first portions and second portions are distinguished in the input bitstream (IS), which respectively substantially do not affect and do affect the variation in bitrate. When at least one between the syntax and the resolution is to be modified, the first portions of the input bitstream (IS) are subjected (104) to the required translation, then transferring (134) said first portions subjected to syntax and/or resolution translation to the output bitstream (OS). When the resolution is left unaltered, the second portions are transferred (138) from the input bitstream (IS) to the output bitstream (OS) in the substantial absence of processing operations. When the resolution is changed, the second portions of the input bitstream (IS) are subjected (108 to 130) to a filtering in the domain of the discrete cosine transform (DCT).
Abstract:
Motion estimation in video signals (10) organized in successive frames divided into macroblocks is carried out by means of the identification of motion vectors. In a first identification phase, starting from a current motion vector, a best motion vector predictor is identified, being chosen from a set of candidates. The best predictor thus identified is then subjected to a second refining phase. The aforesaid set of candidates is identified by selecting vectors belonging to macroblocks close to the said current vector within the current frame and the preceding frame. Preferably, the refining phase comprises the definition of a grid of n points centred on the central position to which the best motion vector points and the distance of the points of the grid from the said centre is defined as a function of the matching error (typically consisting of an SAD function) defined in the first identification phase. Application to the IPB and APM operating modes of the H.263+ video standard is envisaged.
Abstract:
A coprocessor circuit for processing image data in digital form, including:
a motion vector controller block (10) for generating, starting from said image data, motion vector (MV) values including predictor data and macroblock data relating to a current macroblock of said image data to be estimated, said prediction data and macroblock data being adapted to be stored at respective memory addresses, an address generator block (101) for extracting said respective addresses from said motion vector (MV) values, a predictor fetch block (102) for retrieving said predictor data based on respective addresses extracted by said address generator block (101), a current macroblock fetch and distengine block (104) for retrieving said macroblock data based on respective addresses extracted by said address generator block (10) and for processing said macroblock data according to a given function, and a decision block (105) for collecting said retrieved data as partial results and selecting the best result therefrom.
Abstract:
A method of estimating the motion field of a digital picture sequence comprises subdividing a current picture to examine in an integer number of macroblocks, for each macroblock of the current picture determining a search window centered on a macroblock of a preceding picture placed in the same position of the considered macroblock of the current picture, carrying out a motion estimation between the considered macroblock of the current picture and the macroblock most similar to it included in the window. At least a dimension of the search window is established in function of the corresponding dimension of the search window used for the preceding picture, the estimated motion field of the preceding picture and certain threshold values.
Abstract:
A method of measuring the activity of a macroblock of a picture in the direct cosine transform domain of values assumed by a selected component of the video signal comprises
a) separately storing in a memory blocks of data into which is divided a macroblock in the discrete cosine transform domain before quantization; b) reading from said memory the data of each of the blocks constituting said macroblock representing said selected component in the discrete cosine transform domain obtaining the respective coefficients; c) multipliying the absolute value of said coefficients by a selected mask of words of a number not exceeding the number of words constituting the block; d) summing the results of said moltiplications producing an activity coefficient for each of the blocks constituting said macroblock; e) calculating a first activity coefficient of the macroblock (actj) as the sum of said activity coefficients produced for each block; f) calculating a normalized activity value of the macroblock as the ratio between the sum of the double of said activity coefficient (actj) with a mean activity (mean_actj) relative to the preceding coded frame and the sum of the double of the coefficient mean_actj with the activity coefficient actj.
Abstract:
A method of recognizing a progressive or an interlaced content of video pictures during their processing in a coder, comprises the following operations on at least on one of the components (luminance or chrominance) of the video signal:
a) defining a macroblock belonging to a frame of the preceding picture having dimensions R*S pixels, a half of it (R/2)*S being placed on the Top field Tp and the other half on the Bottom field Bp ; b) for the chosen component of the video signal, calculating a first pair of coefficients (COEFF_1, COEFF_2) equivalent to
the sum, extended to all the columns and to all the even row of said macroblock, of the absolute values of the differences among the values assumed by said component of the video signal in the pixels of the same column and of consecutive rows belonging to the Top semi-frame and Bottom semi-frame, respectively, and the sum, extended to all the columns and to each fourth row of said macroblock, of the absolute values of the differences among the values assumed by said component of the video signal in the pixels of the same column and of consecutive rows of the same parity belonging to the Top semi-frame and Bottom semi-frame respectively;
c) verifying whether the first one of the coefficients of said pair is greater than or equal to a prefixed first real positive number of times (a) of the second coefficient, incrementing a first counter (CONT_1) at each positive verification; d) incrementing a second counter (NUM_MACROBLOCK) at each macroblock so tested; e) calculating for each row of each Top semi-frame a second pair of coefficients (COEFF_3, COEFF_4) equivalent to
for each row the sum, extended to all the columns of each semi-frame of the absolute values of the differences among the values assumed by said component of the video signal in pixels of the Bottom semi-frame of the preceding picture and of the Bottom semi-frame of the current picture, belonging to the row following the considered row and to the same column, and the sum, extended to all the columns of each semi-frame of the absolute values of the differences among the values assumed by said component of the video signal in pixels of the same column and, respectively, of said row of the Top semi-frame of the preceding picture and the row following the considered row, belonging to the Bottom semi-frame of the current picture, respectively;
f) verifying whether the second coefficient of said second pair is grater than or equal to a second prefixed real positive number of times (β) the first coefficient of said second pair, incrementing a third counter (CONT_2) at each positive verification; g) incrementing a fourth counter (NUM_RIGHE) at each row so tested; verifying whether the content of the first counter (CONT_1) is greater than or equal to a third prefixed real positive number of times (γ) the content of second counter (NUM_MACROBLOCK) and whether, at the same time, the content of the third counter (CONT 2) is greater than or equal to a fourth prefixed real positive number of times (δ) the content of the fourth counter (NUM_RIGHE): if so, considerating the frame composed of said Top and Bottom semi-frame an interlaced one, if not a progressive one.
Abstract:
An RGB digital video signal destined to be displayed on a display such as a liquid crystal display (LCD) is converted from the RGB colour space to the YUV colour space. The signal converted into the YUV colour space is subjected to at least a processing operation selected among a sub-sampling operation (24) and a data compression operation (26). The signal is then stored in a memory and the signal read from said memory (12) is then subjected to at least a return operation (28, 30) complementary to the aforesaid processing operation (24, 26). The signal subjected to the aforesaid return operation is lastly reconverted from the YUV colour space to the RGB colour space, thus being susceptible to be displayed on the display.