摘要:
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.
摘要:
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.
摘要:
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.
摘要:
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.
摘要:
An image processor includes an encoder that performs encoding including quantization on an image signal and a controller that controls a quantization parameter for quantization. The controller determines a quantization parameter of a currently target macroblock as an increase or decrease from a reference value, and determines the increase or decrease based on a difference between a target amount of code for a predetermined number of macroblocks fewer than a total number of macroblocks within one frame and a generated amount of code of the predetermined number of macroblocks processed immediately before. The controller can further determine the increase or decrease, based on pixel information of the currently target macroblock such as an activity evaluation value.
摘要:
An image processing circuit inputs pixels of an RGB Bayer array therein. A chroma value calculation circuit calculates a chroma factor (KL) for evaluating the chroma of a surrounding area of a specified pixel. A correlation value calculation circuit calculates correlation values for gray image and color image. If the chroma factor (KL) is larger than a threshold value (TH1), a correlation judgment method for color image and a pixel interpolation method for color image are selected, if the chroma factor (KL) is not larger than a threshold value (TH1) and larger than a threshold value (TH2), a correlation judgment method using a correlation value obtained by overall judgment on the correlation values for gray image and color image and a pixel interpolation method for color image are selected, and if the chroma factor (KL) is not larger than a threshold value (TH2), a correlation judgment method for gray image and a pixel interpolation method for gray image are selected.
摘要:
A transcoder calculates a reference conversion factor on the basis of a ratio between a total target bit rate of a whole second stream and an total input bit rate of a whole first stream and calculates a coefficient of variation from the total target bit rate of the whole second stream and an average output bit rate of a converted second stream in the N period. Next, a quantization step conversion factor in the next (N+1) period is calculated by adding the coefficient of variation to the reference conversion factor. Then, a quantization step value of a second stream in the (N+1) period is calculated by multiplying a quantization step value of a first stream in the (N+1) period by the quantization step conversion factor.