Image processing apparatus, image processing method, program of image processing method, and recording medium in which program of image processing method has been recorded
First Claim
Patent Images
1. An image processing apparatus for processing input image data and for outputting output image data, the image processing apparatus comprising:
- an edge detection unit for detecting, for pixels of the input image data, an edge gradient direction with the largest gradient of pixel values and an edge direction orthogonal to the edge gradient direction, setting a number of sampling points on a line in the edge direction, and generating sampling pixel values for the sampling points by interpolation;
an eigenvalue and eigenvector detection unit for detecting eigenvalues for the edge direction and the edge gradient direction, and calculating a reliability ratio of an edge in the edge direction with the eigenvalues;
an edge direction processing unit for smoothing the input image data in the edge direction, including the sampling pixel values, by filtering the pixel values, and outputting smoothed pixel values; and
an edge gradient direction processing unit for enhancing the input image data in the edge gradient direction and for outputting enhanced pixel values;
wherein the edge direction processing unit calculates a filtering range by multiplying the reliability ratio by an eigenvalue of the edge gradient direction, and changes a number of taps for the filtering based on the calculated filtering range.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention is applied, for example, to resolution conversion. An edge gradient direction v1 with the largest gradient of pixel values and an edge direction v2 orthogonal to the edge gradient direction v1 are detected. Edge enhancement and smoothing processing are performed in the edge gradient direction v1 and in the edge direction v2, respectively, to generate output image data D2.
-
Citations
8 Claims
-
1. An image processing apparatus for processing input image data and for outputting output image data, the image processing apparatus comprising:
-
an edge detection unit for detecting, for pixels of the input image data, an edge gradient direction with the largest gradient of pixel values and an edge direction orthogonal to the edge gradient direction, setting a number of sampling points on a line in the edge direction, and generating sampling pixel values for the sampling points by interpolation; an eigenvalue and eigenvector detection unit for detecting eigenvalues for the edge direction and the edge gradient direction, and calculating a reliability ratio of an edge in the edge direction with the eigenvalues; an edge direction processing unit for smoothing the input image data in the edge direction, including the sampling pixel values, by filtering the pixel values, and outputting smoothed pixel values; and an edge gradient direction processing unit for enhancing the input image data in the edge gradient direction and for outputting enhanced pixel values; wherein the edge direction processing unit calculates a filtering range by multiplying the reliability ratio by an eigenvalue of the edge gradient direction, and changes a number of taps for the filtering based on the calculated filtering range. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An image processing method for processing input image data and for outputting output image data, the image processing method comprising:
- using a computer to perform the steps of
detecting, for pixels of the input image data, an edge gradient direction with the largest gradient of pixel values and an edge direction orthogonal to the edge gradient direction for; setting a number of sampling points on a line in the edge direction; generating sampling pixel values for the sampling points by interpolation; detecting eigenvalues for the edge direction and the edge gradient direction, and calculating a reliability ratio of an edge in the edge direction with the eigenvalues; smoothing the input image data in the edge direction, including the sampling pixel values, by filtering the pixel values and outputting smoothed pixel values; enhancing the input image data in the edge gradient direction and outputting enhanced pixel values; calculating a filtering range by multiplying the reliability ratio by an eigenvalue of the edge gradient direction; and changing a number of taps for the filtering based on the calculated filtering range.
- using a computer to perform the steps of
-
8. A computer-readable recording medium storing a program for an image processing method performed by arithmetic processing means for processing input image data and for outputting output image data, the program for the image processing method comprising:
-
detecting, for pixels of the input image data, an edge gradient direction with the largest gradient of pixel values and an edge direction orthogonal to the edge gradient direction for; setting a number of sampling points on a line in the edge direction; generating sampling pixel values for the sampling points by interpolation; detecting eigenvalues for the edge direction and the edge gradient direction, and calculating a reliability ratio of an edge in the edge direction with the eigenvalues; smoothing the input image data in the edge direction, including the sampling pixel values, by filtering the pixel values and outputting smoothed pixel values; enhancing the input image data in the edge gradient direction and outputting enhanced pixel values; calculating a filtering range by multiplying the reliability ratio by an eigenvalue of the edge gradient direction; and changing a number of taps for the filtering based on the calculated filtering range.
-
Specification