摘要:
An image coding apparatus calculates the activity of each macroblock. All the macroblocks of block lines are set as intra-candidate macroblocks (intra-candidate MBs) which are candidates for intra coding. Every other macroblock is set as an intra-candidate MB in block lines. One of the intra-candidate MBs in each block line, which has the minimum activity, is determined as an intra macroblock of a frame. The macroblock determined as the intra MB is changed from the intra-candidate MB to an intra-forbidden macroblock. After changing the setting of the intra-candidate MBs, intra macroblocks are determined for a frame inputted subsequent to the frame.
摘要:
A correlation value calculation circuit calculates respective correlation values of each pixel for color image or for gray image in four directions. A selection circuit determines respective correlation values (Cv, Ch, CdA and CdB) in the four directions on the basis of a chroma evaluation value. A first correlation judgment circuit determines a correlation direction of a specified pixel from the correlation values (Cv, Ch, CdA and CdB). A first interpolation circuit performs color interpolation on the basis of the determined correlation direction. A color-interpolated image is enlarged by an enlargement circuit. A correlation direction interpolation circuit performs enlargement and interpolation of the correlation direction determined by the first correlation judgment circuit. A filter performs a filtering process for each of pixels of the enlarged image by using the interpolated correlation direction for enlargement.
摘要:
An image coding apparatus calculates the activity of each macroblock. All the macroblocks of block lines are set as intra-candidate macroblocks (intra-candidate MBs) which are candidates for intra coding. Every other macroblock is set as an intra-candidate MB in block lines. One of the intra-candidate MBs in each block line, which has the minimum activity, is determined as an intra macroblock of a frame. The macroblock determined as the intra MB is changed from the intra-candidate MB to an intra-forbidden macroblock. After changing the setting of the intra-candidate MBs, intra macroblocks are determined for a frame inputted subsequent to the frame.
摘要:
A scene change detection part detects a scene change based on a characteristic amount of an input image. A target code amount setting part executes correction by a correction code amount on a target code amount previously set for suppressing variation of an output code amount around the time of scene change. A quantization step value setting part sets a quantization step value based on the target code amount. That is to say, a transcoder 1 does not detect a scene change by previously reading an input image or by detecting variation of the output code amount.
摘要:
Correlation values in the vertical direction, horizontal direction and two diagonal directions are obtained in a pixel signal of RGB Bayer pattern. The correlation values are calculated using G signals. Between a first pair of the vertical and horizontal directions and a second pair of the two diagonal directions, one pair having a greater correlation difference is selected. Then, a direction having a stronger correlation is selected in the selected pair having a greater correlation difference, and pixel interpolation is performed in the selected direction. Alternatively, pixel interpolation is performed following assignment of weights in two directions of the selected pair having a greater correlation difference in accordance with the proportion of their correlations.
摘要:
The present invention relates to an interpolation method and a filtering method which utilize a correlation between pixel signals, and it is an object of the present invention to provide a sharp and high-quality image even if an error occurs in correlation degree judgment. To accomplish the above-mentioned object, an imaging device 10 is of a single-chip type, and includes a RGB Bayer pattern color filter 11, and an image is processed in a manner to be described below. Pixel signals outputted from the imaging device 10 are inputted through a signal processing part 20 to an image processing part 30. A correlation judgment part 31 judges a correlation between the pixel signals, and an interpolation processing part 32 performs a pixel interpolation process based on a correlation result. Thus, each pixel signal becomes a perfect signal having all R, G and B color components. Filter factors for a filter 34 are determined based on the correlation result, and a filtering process is performed on the pixel signals subjected to the pixel interpolation. The filter factors are determined so as to assist the pixel interpolation process best.
摘要:
Correlation values in the vertical direction, horizontal direction and two diagonal directions are obtained in a pixel signal of RGB Bayer pattern. The correlation values are calculated using G signals. Between a first pair of the vertical and horizontal directions and a second pair of the two diagonal directions, one pair having a greater correlation difference is selected. Then, a direction having a stronger correlation is selected in the selected pair having a greater correlation difference, and pixel interpolation is performed in the selected direction. Alternatively, pixel interpolation is performed following assignment of weights in two directions of the selected pair having a greater correlation difference in accordance with the proportion of their correlations.
摘要:
A region extraction device includes a segmentation unit for dividing an input image into a plurality of regions, a pixel number counting unit for determining the ratio of pixels of a predetermined value to all pixels of each of the plurality of regions, and a region extracting unit for extracting a region in which the ratio determined by the pixel number counting unit exceeds a first value. Among the plurality of regions into which the input image is divided, a region is extracted in which the ratio determined by the pixel number counting unit exceeds the first value, so that a specific region can be extracted accurately even if the values of pixels in the specific region to be extracted are scattered in a wide range.
摘要:
In a transcoder, a decoder decodes a stream and an encoder encodes the stream again. The encoder calculates the quantization step value by using an average period bit rate (ASn(M)) of a first stream or an average period bit rate (ACn(M)) of a second stream. Buffers store bit rates (Sn, Cn) of the first and second streams for M periods, respectively. The encoder uses the average period bit rate (ASn(M)) of the first stream or then average period bit rate (ACn(M)) of the second stream in any one of the periods M1, M2 and M3 among M periods.
摘要:
To detect a straight line using the Hough transform taking into consideration not only the number of points but also other properties of the straight line, the Hough transform unit performs a Hough transform on contour-enhanced binary image data. The Hough table stores a count after the Hough transform. The adjustment unit adjusts the count. The straight line detection unit detects a straight line based on the adjusted count. Additionally, to detect a straight line, independent of its direction or location in the image, for each straight line in the binary image data, the straight line calculation unit determines the intersections where that straight line cuts up the binary image data to calculate the intersection distance. The normalization unit divides the count stored in the Hough table by the intersection distance to normalize the count. The straight line detection unit detects a straight line based on the normalized count.