The present invention relates to a picture angle detection apparatus that detects the angle of a picture displayed based on a video signal, a scanning lines interpolation apparatus having the same and a picture angle detection method.
In order to convert interlaced-scanning video signals into progressive-scanning video signals or convert progressive-scanning video signals into enlarged or reduced video signals, an interpolation circuit that carries out scanning lines interpolation is used. In the interpolation circuit, the value of a pixel to be produced by the interpolation (hereinafter referred to as “interpolation pixel”) is calculated based on the values of pixels around the interpolation pixel. The angle of a picture having a diagonal edge or a thin diagonal line for example is detected based on the luminance distribution of surrounding pixels and the value of the interpolation pixel is calculated using pixels in the direction with a higher degree of correlation.
Japanese Patent Laid-Open No. 9-37214 discloses a progressive scanning lines interpolation apparatus that can carry out scanning lines interpolation in a picture having a diagonal edge.
The progressive scanning lines interpolation apparatus selects candidate sets of pixels for calculating the differential absolute value between pixel values from sets of original pixels located point-symmetrically around an interpolation pixel in order to convert an interlaced-scanning video signal into a progressive-scanning video signal. The differential absolute values between the values of the selected sets of pixels are each calculated. Then, based on the edge information of these sets of the original pixels, the differential absolute values are corrected, a set of original pixels whose corrected differential absolute value is minimum is detected, and the interpolation pixel is produced based on the detected set of original pixels.
In this way, a picture having a diagonal edge can be subjected to scanning lines interpolation.
The conventional progressive scanning lines interpolation apparatus however cannot determine whether the edge of the picture is a straight line shape or a curved shape such as an arc. Therefore, a picture having a curved edge such as an arc shape cannot be formed into a smooth picture by interpolation.
An object of the invention is to provide a picture angle detection apparatus that can accurately detect the angle and shape of a picture displayed based on a video signal.
Another object of the invention is to provide a scanning lines interpolation apparatus that can carry out interpolation suitable for the angle and shape of a picture displayed based on a video signal.
Further object of the invention is to provide a picture angle detection method that can accurately detect the angle and shape of a picture displayed based on a video signal
A picture angle detection apparatus for detecting the angle of a picture related to a pixel to be interpolated in each interpolation scanning line between scanning lines based on an input video signal according to one aspect of the invention comprises a binary pattern generater that binarizes the input video signal in a predetermined detection region including a plurality of scanning lines and the pixel to be interpolated to generate a binary pattern, a reference pattern generater that generates binary pictures having different directions as a plurality of reference patterns, a comparator that compares the binary pattern generated by the binary pattern generater with each of the plurality of reference patterns to detect the angle of the picture related to the pixel to be interpolated based on the comparison result, and a shape detector that detects the shape of the picture based on the combination of the angle of the picture detected by the comparator related to the pixel to be interpolated and angles of the picture detected in upper and lower interpolation scanning lines above and below the pixel.
In the picture angle detection apparatus according to the invention, the binary pattern generater binarizes an input video signal in a predetermined detection region to generate a binary pattern. The reference pattern generater generates binary pictures having different directions as a plurality of reference patterns. The comparator compares the binary pattern with each of the plurality of reference patterns to detect the angle of the picture related to the pixel to be interpolated based on the comparison result. The shape detector detects the shape of the picture based on the combination of the angle of the picture detected by the comparator related to the pixel to be interpolated and angles of the picture detected in the upper and lower interpolation scanning lines.
In this way, two-dimensional patterns are compared, and erroneous detection can be less than the case of using the differential value between two pixels, so that the angle of a diagonal edge of a picture can be detected accurately. Using the two-dimensional reference patterns, the angle to be detected is not limited to angles formed by straight lines connecting pixels in point-symmetry around the interpolation pixel, and angles between these angles can be detected. Consequently, the angles can be detected by smaller steps.
The approach to compare a binary pattern with a plurality of reference patterns for detecting the curved shape of a picture at a time would require an enormous number of reference patterns including at least three scanning lines. This could increase the scale of the circuit and could hardly be practical. In the picture angle detection apparatus according to the invention, local angles of a picture are detected in a small area for each pixel to be interpolated between interpolation scanning lines, and the shape of the picture is detected based on the combination of the detected angles above and below. In this case, the shape of the picture can be detected by partly improving the configuration for detecting the angle of the picture by comparing a binary pattern with a plurality of reference patterns.
Consequently, the detection of the shape of the picture does not delay the process of detecting the angle of the picture, and the angle and shape of the picture can be detected accurately without increasing the scale of the circuit.
Provided that the angle of the picture detected by the comparator related to the pixel to be interpolated is between the angle of the picture detected in the upper interpolation scanning line and the angle of the picture detected in the lower interpolation scanning line, and the absolute value of the angle of the picture detected in the upper interpolation scanning line is larger than the absolute value of the angle of the picture detected in the lower interpolation scanning line, the shape detector may output a shape detection signal indicating that the shape of the picture is convex toward the lower right, when the angle of the picture detected related to the pixel to be interpolated, and the angle of the picture detected in the upper interpolation scanning line and the angle of the picture detected in the lower interpolation scanning line are positive values, while the shape detector may output a shape detection signal indicating that the shape of the picture is convex toward the lower left, when the angle of the picture detected related to the pixel to be interpolated, and the angle of the picture detected in the upper interpolation scanning line and the angle of the picture detected in the lower interpolation scanning line are negative values. Meanwhile, provided that the angle of the picture detected by the comparator related to the pixel to be interpolated is between the angle of the picture detected in the upper interpolation scanning line and the angle of the picture detected in the lower interpolation scanning line, and the absolute value of the angle of the picture detected in the upper interpolation scanning line is smaller than the absolute value of the angle of the picture detected in the lower interpolation scanning line, the shape detector may output a shape detection signal indicating that the shape of the picture is convex toward the lower left, when the angle of the picture detected by the comparator related to the pixel to be interpolated, and the angle of the picture detected in the upper interpolation scanning line and the angle of the picture detected in the lower interpolation scanning line are positive values, while the shape detector may output a shape detection signal indicating that the shape of the picture is convex toward the upper right, when the angle of the picture detected related to the pixel to be interpolated, and the angle of the picture detected in the upper interpolation scanning line and the angle of the picture detected in the lower interpolation scanning line are negative values.
In this way, the direction in which the picture has a convex shape can be detected depending on the combination of the angle of the picture detected related to the pixel to be interpolated and angles detected in the upper and lower interpolation scanning lines.
When the shape detector detects that the shape of the picture is an arc, the detector may output a shape detection signal indicating the direction of the inside of the arc.
In this way, the direction of the arc in the picture having the arc shape can be determined based on the shape detection signal indicating the inside of the arc.
The binary pattern generater may include a threshold value calculation device that calculates a threshold value for binarization based on the luminance of a video signal in the detection region, and a binarizer that binarizes the input video signal using the threshold value calculated by the threshold value calculation device to generate the binary pattern.
In this way, the threshold value for binarization is calculated based on the luminance of the video signal in the detection region, and therefore the binary pattern can be generated without an externally set threshold value and irrespective of the luminance level of the video signal.
The picture angle detection apparatus may further comprise a determining device that determines whether or not the luminance distribution in the horizontal direction of scanning lines is in the form of a monotonous increase or decrease in the video signals in the detection region, and the comparator may not compare the binary pattern with each of the plurality of reference patterns when the luminance distribution is neither in the form of a monotonous increase nor a monotonous decrease.
When the luminance distribution in the horizontal direction of the scanning lines is not in the form of a monotonous increase or decrease in the video signal in the detection region, the binary pattern is not compared to each of the plurality of reference patterns, and the angle of the picture is not detected. In this way, erroneous detection caused by noise can be reduced.
The picture angle detection apparatus may further comprise a contrast detector that detects a contrast in the video signal in the detection region, and the comparator may not compare the binary pattern with each of the plurality of reference patterns when the contrast detected by the contrast detector is smaller than a predetermined value.
When the contrast in the video signal is low, the effect of interpolation processing with diagonally located pixels is small. Therefore, when the contrast in the video signal in the detection region is smaller than a predetermined value, the binary pattern is not compared with each of the plurality of reference patterns and the angle of the picture is not detected. In this way, the interpolation processing with diagonally located pixels that causes noises may be carried out only when there can be a great effect.
The plurality of reference patterns each include a first pixel row arranged in a scanning line above the pixel to be interpolated and a second pixel row arranged in a scanning line below the pixel to be interpolated, the first pixel row has one transition point from a first pixel value to a second pixel value, the second pixel row has one transition point from a first pixel value to a second pixel value, and the transition direction from the first pixel value to the second pixel value in the first pixel row and the transition direction from the first pixel value to the second pixel value in the second pixel row may be the same.
In this reference pattern, the pixel row in the upper scanning line and the pixel row in the lower scanning line both have a luminance change and a luminance gradient in the same direction. The reference pattern corresponds to a picture with a diagonal edge. Consequently, when the binary pattern is matched with a reference pattern, the angle of the diagonal edge can surely be specified.
A scanning lines interpolation apparatus according to another aspect of the invention comprises a picture angle detection apparatus that detects the angle and shape of a picture related to a pixel to be interpolated based on an input video signal, and an interpolation circuit that selects pixels to be used for interpolation based on the angle and shape detected by the picture angle detection apparatus, and calculates the value of the pixel to be interpolated using the selected pixels to generate an interpolation scanning line. The picture angle detection apparatus includes a binary pattern generater that binarizes the input video signal in a predetermined detection region including a plurality of scanning lines and a pixel to be interpolated in each scanning line to generate a binary pattern, a reference pattern generater that generates binary pictures having different directions as a plurality of reference patterns, a comparator that compares the binary pattern generated by the binary pattern generater with each of the plurality of reference patterns generated by the reference pattern generater to detect the angle of the picture related to the pixel to be interpolated based on the result of comparison, and a shape detector that detects the shape of the picture based on the combination of the angle of the picture detected by the comparator related to the pixel to be interpolated and the angles of the picture detected in upper and lower interpolation scanning lines.
In the scanning lines interpolation apparatus according to the invention, the angle detection apparatus surely detects the angle and shape of the picture related to the pixel to be interpolated based on an input video signal, and pixels to be used for interpolation are selected based on the angle and shape detected by the picture angle detection apparatus. Using the selected pixels, the interpolation circuit calculates the value of the pixel to be interpolated to generate an interpolation scanning line.
In this way, the pixels to be used for interpolation are selected depending on the shape of the picture, and therefore not only straight line shapes but also curved, diagonal edges may smoothly be interpolated.
Consequently, smooth interpolation suitable for the angle and shape of the picture displayed based on the video signal can be carried out.
When the shape detector detects that the shape of the picture is an arc, the detector may output a shape detection signal indicating the direction of the inside of the arc, and the interpolation circuit may select pixels to be used for interpolation from the inside of the arc based on the shape detection signal output from the shape detector and calculate the value of the pixel to be interpolated using the selected pixels to generate an interpolation scanning line.
In this way, the pixels to be used for interpolation are selected from the inside of the arc based on the shape detection signal indicating the direction of the inside of the arc, and the value of the pixel to be interpolated is calculated using the selected pixels. Therefore, smooth interpolation along the shape of the arc can be carried out.
When the shape detector detects that the shape of the picture is an arc, the detector may output a shape detection signal indicating the direction of the inside of the arc. The interpolation circuit may select positions shifted in the direction of the inside of the arc by 0.5 pixel from positions in the upper and lower scanning lines in the direction of the angle of the picture detected for the pixel to be interpolated and calculate the value of the pixel to be interpolated using the values of the pixels in the selected positions in order to generate an interpolation scanning line.
In this way, the pixels to be used for interpolation are selected from specified pixels within the inside of the arc based on the shape detection signal indicating the inside of the arc. The value of the pixel to be interpolated is then calculated using the selected pixels. Therefore, smooth interpolation along the shape of the arc can be carried out.
Furthermore, the pixels to be used for interpolation can be selected depending on the shape of the arc, and therefore not only straight line shapes but also diagonal edges of arc shapes may smoothly be interpolated.
A picture angle detection method for detecting the angle of a picture related to a pixel to be interpolated in each interpolation scanning line between scanning lines based on an input video signal according to further aspect of the invention comprises the steps of binarizing the input video signal in a predetermined detection region including a plurality of scanning lines and the pixel to be interpolated to generate a binary pattern, generating binary pictures having different directions as a plurality of reference patterns, comparing the generated binary pattern with each of the generated plurality of reference patterns to detect the angle of the picture related to the pixel to be interpolated based on the comparison result, and detecting the shape of the picture based on the combination of the detected angle of the picture related to the pixel to be interpolated and angles of the picture detected in upper and lower interpolation scanning lines above and below the pixel.
In the picture angle detection method according to the invention, an input video signal in a predetermined detection region is binarized to generate a binary pattern. Binary pictures having different directions are generated as a plurality of reference patterns. The binary pattern is compared with each of the plurality of reference patterns to detect the angle of the picture related to the pixel to be interpolated based on the comparison result. The shape of the picture is detected based on the combination of the angle of the detected picture related to the pixel to be interpolated and angles of the picture detected in the upper and lower interpolation scanning lines.
In this way, two-dimensional patterns are compared, and erroneous detection can be less than the case of using the differential value between two pixels, so that the angle of a diagonal edge of a picture can be detected accurately. Using the two-dimensional reference patterns, the angle to be detected is not limited to angles formed by straight lines connecting pixels in point-symmetry around the interpolation pixel, and angles between these angles can be detected. Consequently, the angles can be detected by smaller steps.
Local angles of a picture are detected in a small area for each pixel to be interpolated between interpolation scanning lines, and the shape of the picture is detected based on the combination of the detected angles above and below. In this case, the shape of the picture can be detected by partly improving the configuration for detecting the angle of the picture by comparing a binary pattern with a plurality of reference patterns.
Consequently, the detection of the shape of the picture does not delay the process of detecting the angle of the picture, and the angle and shape of the picture can be detected accurately without increasing the scale of the circuit.
FIGS. 3 to 6 are schematic diagrams each showing an example of reference patterns generated by the reference pattern generater shown in
The picture angle detection apparatus 10 shown in
The A/D converter 7 converts an analog video signal VA into a digital video signal VD1 for output. The video signal VD1 output from the A/D converter 7 is input into the line memory 1a and the binarizer 2 and the detection window video signal processor 5. The line memory 1a delays the video signal VD1 output from the A/D converter 7 by one scanning line for output. The video signal VD2 thus output from the line memory 1a is provided to the binarizer 2 and the detection window video signal processor 5.
In this example, the video signals VD1 and VD2 have 256 gray scale luminance levels. More specifically, the minimum luminance value for the video signals VD1 and VD2 is “0” and the maximum value is “255”.
The binarizer 2 binarizes the video signal VD1 output from the A/D converter 7 and the video signal VD2 output from the line memory 1a using an average luminance value LU applied from the detection window video signal processor 5 that will be described and outputs a binary pattern BI of “1” and “0”. The binary pattern BI has a size equal to that of the detection window.
Here, the detection window is for example a rectangular region including 7×2 pixels, seven pixels of which are from the video signal VD1 and the remaining seven pixels are from the video signal VD2, or a rectangular region including 15×2 pixels, 15 pixels of which are from the video signal VD1 and the remaining 15 pixels are from the video signal VD2. Note that in the following description, the size of the detection window is 9×2 pixels. In this case, the size of the binary pattern BI is also 9×2 pixels. The size of the detection window is not limited to these, which can be set arbitrarily within the scope of the invention.
The detection window video signal processor 5 sets a detection window for the input video signal VD1 and the video signal VD2 output from the line memory 1a, calculates the average luminance value of the video signals VD1 and VD2 in the detection window, and provides the resulting average luminance value LU to the binarizer 2 as a threshold value for binarization.
Note that according to the embodiment, the average luminance value of all the pixels in the detection window is used as the threshold for binarization. However, the average value between the maximum and minimum values of the pixels in the detection window or the middle number in the sequence of luminance values in the order of magnitude may be used as the threshold value. Alternatively, the average luminance value of a plurality of pixels whose values are close to the middle number in the sequence of luminance values in the order of magnitude may be used as the threshold value for binarization.
The detection window video signal processor 5 determines whether or not the horizontal luminance distribution of the video signals VD1 and VD2 in the detection window is in the form of a monotonous increase or decrease. When the distribution is not in the form of a monotonous increase or decrease, the minimum value “0” or the maximum value “255” may be provided to the binarizer 2 as a threshold value. Then, the binarizer 2 outputs a binary pattern BI of all “1” or “0”. In this case, the differential value between two adjacent pixels in the video signals VD1 and VD2 may be calculated sequentially, and if the differential values have the same sign, it could be determined that the distribution is in the form of a monotonous increase or decrease.
The detection window video signal processor 5 calculates the difference between the maximum and minimum luminance values of the video signals VD1 and VD2 in the detection window as a contrast. Then, when the calculated contrast is lower than a predetermined value, the minimum value “0” or the maximum value “255” is provided to the binarizer 2. In this way, the binarizer 2 outputs a binary pattern BI of all “1” or “0”.
The reference pattern generater 6 generates a plurality of reference patterns RA of “1” and “0” and applies the patterns to the angle detector 3. The reference patterns RA each have a size equal to that of the detection window.
The angle detector 3 compares the binary pattern BI provided from the binarizer 2 with each of the plurality of reference patterns RA provided from the reference pattern generater 6 and outputs the angle of a matched one of the reference patterns RA as angle information S1. The angle will later be described. Now, the comparison operation between the binary pattern BI and the reference patterns RA will be referred to as “pattern matching”.
As described above, if the luminance distributions of the video signals VD1 and VD2 in the detection window are both not in the form of a monotonous increase or decrease, a binary pattern BI of all “1” or “0” may be output from the binarizer 2. In this case, the angle information S1 is not output from the angle detector 3.
When the contrast in the video signals VD1 and VD2 in the detection window is lower than the predetermined value, a binary pattern BI of all “1” or “0” is output from the binarizer 2, and therefore the angle information S1 is not output from the angle detector 3.
When the contrast in the video signals VD1 and VD2 is low, the effect of interpolation using diagonally located pixels is small. In interpolation using diagonally located pixels, noises could be caused unless angles are not accurately detected. Therefore, when the effect is low, the angle information S1 is not output so that the interpolation using diagonally located pixels is not carried out.
The line memory 1b outputs angle information S2 delayed by one scanning line from the angle information S1 output from the angle detector 3 to the arc shape detector 4 and the line memory 1c. The line memory 1c applies angle information S3 delayed by one scanning line from the angle information S2 output from the line memory 1b to the arc shape detector 4.
Here, a scanning line including an interpolation pixel will be referred to as “interpolation scanning line”. The arc shape detector 4 outputs picture edge angle information T1 based on the combination of the angle information S3 of an interpolation scanning line one line above the object interpolation scanning line, the angle information S1 of an interpolation scanning line one line below the object interpolation scanning line, and the angle information S2 of the object interpolation scanning line. The arc shape detector 4 also recognizes the arc shape and outputs arc shape information T2. Note that the angle detection and the arc shape recognition will be detailed later.
In
In the example in
In
In
The reference patterns shown in FIGS. 3 to 6 are compared with the binary pattern BI output from the binarizer 2 at the angle detector 3, and the angle detector 3 outputs the angle information S1 of the reference pattern matched with the pattern BI.
In addition, as shown in FIGS. 3 to 6, in the reference patterns based on two-dimensional luminance distribution, not only angles between straight lines connecting pixels located in point-symmetrical positions around the interpolation pixel but also angles between these angles may be set. For example, angles 34° and 22° between 45°, 27°, and 18° can be set.
The binary pattern BI in
More specifically, the arc shapes are divided into five cases of combinations A, B, C, D, and E.
In Case A in
The arc shape detector 4 outputs the detected angle of the interpolation pixel as angle information T1. When an arc shape is recognized, the direction of the inside of the arc shape is output as arc shape information T2.
Similarly to Case A in
In Case B in
In the combination in Case C in
In the combination in Case D in
In Case E in
Note that the intermediate value is defined as any value between two values X and Y, and larger than X and smaller than Y when X<Y.
The reference position for a detected angle in the upper interpolation scanning line corresponds to a single point in the direction determined based on the detected angle of the interpolation pixel in the upper interpolation scanning line relative to the interpolation pixel. The reference position for the detected angle in the lower interpolation scanning line corresponds to a single point in the direction determined based on the detected angle of the interpolation pixel in the upper interpolation scanning line relative to the interpolation pixel.
The reference position for a detected angle in the upper interpolation scanning line may be a horizontal region (of a plurality of pixels) having a predetermined width including a point in the direction determined based on the detected angle of the interpolation pixel in the upper interpolation scanning line relative to the interpolation pixel. The reference position for a detected angle in the lower interpolation scanning line may be a horizontal region (of a plurality of pixels) having a predetermined width including a point in the direction determined based on the detected angle of the interpolation pixel in the lower interpolation scanning line relative to the interpolation pixel.
Note that the combinations of the detected angle of the interpolation pixel, and the detected angles in the upper and lower interpolation scanning lines as shown in
In the picture angle detection apparatus 10 according to the embodiment, the luminance distribution of the video signals VD1 and VD2 in the detection widow is converted into the binary pattern BI. Then, the binary pattern BI is compared for pattern matching with a plurality of preset reference patterns RA, so that the angle of a diagonal edge in a picture can be detected with a small scale circuit configuration.
In this way, the average luminance value in the detection window is used as the threshold value for binarization, and therefore a binary pattern BI including both “0” and “1” can always be produced regardless of the luminance level of the picture and without an externally set binary threshold value.
Since the pattern matching is carried out based on the two-dimensional luminance distribution, erroneous detection can be less than the case of using the differential value between two pixels, so that the angle of a diagonal edge of a picture can be detected accurately.
Using the reference patterns RA based on the two-dimensional luminance distribution, the angle to be detected is not limited to an angle formed by straight lines connecting pixels in point-symmetry around the interpolation pixel, and angles between these angles can be detected. Consequently, the angles can be detected at smaller intervals using the line memory 1a with a smaller capacity.
Since an arc shape can be recognized based on the combination of the detected angle of the interpolation pixel, and the detected angles of the upper and lower interpolation scanning lines, reference patterns that require three or more scanning lines are not necessary. Consequently, the angle of a picture can be detected and the arc shape can be recognized without increasing the circuit scale of the picture angle detection apparatus 10 or the calculation range by the apparatus.
In
The picture angle detection apparatus 10 has the same configuration as that of the picture angle detection apparatus 10 shown in
In the scanning lines interpolation apparatus 100 shown in
The interpolation circuit 20 in
The A/D converter 21 converts an analog video signal VA into a digital video signal VD1 for output. The video signal VD1 output from the A/D converter 21 is input into the line memory 22 and the interpolation pixel selection circuit 23. The line memory 22 delays the video signal VD1 output from the A/D converter 21 by one scanning line for output. The video signal VD2 thus output from the line memory 22 is provided to the interpolation pixel selection circuit 23.
Using the provided video signals VD1 and VD2, and the angle information T1 and the arc shape information T2 in the picture angle detection apparatus 10, the interpolation pixel selection circuit 23 selects an interpolation reference pixel P1 from the upper scanning line for output and an interpolation reference pixel P2 from the lower scanning line for output to the average value operation circuit 24.
The average value operation circuit 24 calculates and outputs the luminance value of the interpolation pixel based on the interpolation reference pixels P1 and P2.
The interpolation pixel selection circuit 23 selects these interpolation reference pixels so that edges in a picture can be smoothed by interpolation. The interpolation pixel selection circuit 23 performs selectively the operation for the case when the picture has a straight line shaped edge and the operation for the case when the picture has an arc shaped edge. When the picture has a straight line shaped edge, the interpolation pixel selection circuit 23 selects pixels in the shadowed part in FIGS. 3 to 6 from the upper and lower scanning lines as interpolation reference pixels. The center positions of the interpolation reference pixels are interpolation reference positions. Meanwhile, when the picture has an arc shaped edge, the interpolation pixel selection circuit 23 specifies positions in the direction relative to the interpolation pixel indicated by the angle information T1, and selects positions shifted horizontally within the inside of the arc shape as the interpolation reference positions based on the arc shape information T2.
With reference to
It has been confirmed through experiments that for a picture with an arc shape, the arc shape is most smoothly formed by interpolation when the positions 0.5 pixel shifted from the interpolation reference positions selected for the picture having a straight line shaped edge are selected as the interpolation reference positions.
The average value operation circuit 24 calculates the average luminance value of the pixels including the interpolation reference positions to determine the luminance value of the interpolation pixel. Although not shown, the average value operation circuit 24 includes a correlation operation circuit and may carry out interpolation operation corresponding to the correlation degree, i.e., the difference between the pixels including the interpolation reference positions. In this way, if the angle or arc shape is detected erroneously for some reason, a noise caused by interpolation can be reduced.
In FIGS. 10 to 12, IL1, IL2 and IL3 represent interpolation scanning lines. Also in the figures, AL, BL, CL, and DL represent scanning lines. In FIGS. 10 to 12, the values on the scanning lines AL, BL, CL, and DL represent the luminance values of the pixels. In
Here, IN is an interpolation pixel of interest. In this case, IL2 represents an object interpolation scanning line, BL is a scanning line above the interpolation scanning line, CL is a scanning line below the interpolation scanning line, IL1 is an upper interpolation scanning line and IL3 is a lower interpolation scanning line. In
In the example in
In the example in
Note that in
In comparison with the result in
In contrast, when the luminance values of the interpolation pixels are calculated based on the angle information and arc shape information of the picture as shown in
Note that in this example, the interpolation reference positions are shifted by 0.5 pixel when an arc shape is recognized, but the invention is not limited to this, and the shift amount can be set as required.
According to the embodiment, the binarizer 2 and the detection window video signal processor 5 correspond to a binary pattern generater, the reference pattern generater 6 to a reference pattern generater and the angle detector 3 to a comparator. The arc shape detector 4 corresponds to a shape detector. The detection window video signal processor 5 corresponds to a threshold value calculation device and a determination device, and the binarizer 2 corresponds to a binarizer.
Number | Date | Country | Kind |
---|---|---|---|
2002-131230 | May 2002 | JP | national |
2003-123406 | Apr 2003 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP03/05557 | 4/30/2003 | WO |