摘要:
A transcoder that controls the amount of generated codes of an output stream toward a target bit rate without degradation of image quality. The transcoder decodes a first stream and encodes the decoded image again to thereby output a second stream. The transcoder calculates a distortion evaluation value from the image obtained by decoding the first stream and an image obtained by decoding the second stream. Assuming that a ratio between the distortion evaluation value and a total target distortion evaluation value is determined as a target distortion ratio, a target setting bit rate of a second stream in the period can be obtained by multiplying a total target bit rate of the second stream by the target distortion ratio. Alternatively, the target setting bit rate can be obtained by adjusting the target distortion ratio with an appropriate function and adding the target distortion ratio to the total target bit rate of the second stream.
摘要:
If the number of frames in a GOP of an input stream is not less than 15, the GOP is determined as a control unit time. If the number of frames in the GOP is less than 15, the following GOP is connected thereto until the number of frames becomes not less than 15 and the connected GOPs are determined as a control unit time. After correcting the control unit time, the average input bit rate Sn in each control unit time is obtained, and by using information on the input stream including the average input bit rate Sn, a quantization step value of an output stream is calculated.
摘要:
An apparatus and method to detect a line segment or arc using Hough transform. A Hough transform unit performs contour extraction on brightness image data to generate contour image data, with pixels having a pixel value of 0 to 255, performs the Hough transform on points in the contour image data, and counts additional values represented by pixel values of points in the contour image data in a Hough table. The Hough transform unit performs contour extraction on first to third component data to generate first to third contour data with pixels having a pixel value of 0 to 255, performs the Hough transform on points in the first to third contour data, and counts additional values represented by pixel values of points in the first to third contour data in the Hough table. The detection unit comprehensively evaluates the counts to detect a line segment or arc.
摘要:
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 symbol generation part serially inputs a data string of quantization data. If quantization data of non-zero coefficient is inputted, respective information on an absolute value, a zero run and a sign of the non-zero coefficient are stored in registers. When quantization data of the next non-zero coefficient is inputted, the respective information on the absolute value, the zero run and the sign stored in the registers are updated. At that time, the contents of the registers which have been stored immediately before the input are outputted as symbol data of the immediately preceding non-zero coefficient.
摘要:
An image compression apparatus performs quantization of DC component data, low-pass component data and high-pass component data which are generated by frequency conversion of still image data. An extracting part extracts additional data and coding object data which is to be entropy coded, from quantization data. An entropy coding part performs entropy coding of the coding object data stored in a coding object data memory. An additional data processing part generates a flex bit from the additional data. A pattern information generation part acquires the coding object data directly from the extracting part, to generate pattern information indicating whether the coding object data is zero or not. A bit stream generation part outputs the pattern information, the coding object data and the flex bit in a predetermined order, to output a bit stream.
摘要:
An imaging device made of a single-chip type including a RGB Bayer pattern color filter is where pixel signals outputted from the imaging device are inputted through a signal processing part to an image processing part. A correlation judgment part judges a correlation between the pixel signals, and an interpolation processing part 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 are determined based on the correlation result, and a filtering process is performed on the pixel signals subjected to the pixel interpolation.
摘要:
A symbol generation part serially inputs a data string of quantization data. If quantization data of non-zero coefficient is inputted, respective information on an absolute value, a zero run and a sign of the non-zero coefficient are stored in registers. When quantization data of the next non-zero coefficient is inputted, the respective information on the absolute value, the zero run and the sign stored in the registers are updated. At that time, the contents of the registers which have been stored immediately before the input are outputted as symbol data of the immediately preceding non-zero coefficient.