COMPUTER-READABLE STORAGE MEDIUM, IMAGE RECOGNITION APPARATUS, IMAGE RECOGNITION SYSTEM, AND IMAGE RECOGNITION METHOD
First Claim
1. A computer-readable storage medium having stored thereon an image recognition program causing a computer of an information processing apparatus to function as:
- image acquisition means for acquiring an image;
difference calculation means for calculating a difference between a pixel value of a first pixel in the image and a pixel value of a second pixel, the second pixel placed a predetermined number of pixels away from the first pixel;
threshold calculation means for calculating an edge determination threshold on the basis of;
the pixel value of the first pixel or a pixel value of a pixel near the first pixel when the difference is equal to or greater than a predetermined value; and
the pixel value of the second pixel corresponding to the first pixel or a pixel value of a pixel near the second pixel; and
edge pixel detection means for detecting an edge pixel corresponding to an edge present between the first pixel and the second pixel, by comparing the edge determination threshold with a pixel value of each pixel placed between the first pixel and the second pixel.
1 Assignment
0 Petitions
Accused Products
Abstract
First, a difference between a pixel value of a first pixel in an image and a pixel value of a second pixel is calculated, the second pixel placed a predetermined number of pixels away from the first pixel. Then, when the difference is equal to or greater than a predetermined value, an edge determination threshold is calculated on the basis of: the pixel value of the first pixel or a pixel value of a pixel near the first pixel; and the pixel value of the second pixel or a pixel value of a pixel near the second pixel. Then, an edge pixel corresponding to an edge present between the first pixel and the second pixel is detected by comparing the edge determination threshold with a pixel value of each pixel placed between the first pixel and the second pixel.
15 Citations
17 Claims
-
1. A computer-readable storage medium having stored thereon an image recognition program causing a computer of an information processing apparatus to function as:
-
image acquisition means for acquiring an image; difference calculation means for calculating a difference between a pixel value of a first pixel in the image and a pixel value of a second pixel, the second pixel placed a predetermined number of pixels away from the first pixel; threshold calculation means for calculating an edge determination threshold on the basis of;
the pixel value of the first pixel or a pixel value of a pixel near the first pixel when the difference is equal to or greater than a predetermined value; and
the pixel value of the second pixel corresponding to the first pixel or a pixel value of a pixel near the second pixel; andedge pixel detection means for detecting an edge pixel corresponding to an edge present between the first pixel and the second pixel, by comparing the edge determination threshold with a pixel value of each pixel placed between the first pixel and the second pixel. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. An image recognition apparatus comprising:
-
image acquisition means for acquiring an image; difference calculation means for calculating a difference between a pixel value of a first pixel in the image and a pixel value of a second pixel, the second pixel placed a predetermined number of pixels away from the first pixel; threshold calculation means for calculating an edge determination threshold on the basis of;
the pixel value of the first pixel or a pixel value of a pixel near the first pixel when the difference is equal to or greater than a predetermined value; and
the pixel value of the second pixel corresponding to the first pixel or a pixel value of a pixel near the second pixel; andedge pixel detection means for detecting an edge pixel corresponding to an edge present between the first pixel and the second pixel, by comparing the edge determination threshold with a pixel value of each pixel placed between the first pixel and the second pixel.
-
-
15. An image recognition method comprising:
-
an image acquisition step of acquiring an image; a difference calculation step of calculating a difference between a pixel value of a first pixel in the image and a pixel value of a second pixel, the second pixel placed a predetermined number of pixels away from the first pixel; a threshold calculation step of calculating an edge determination threshold on the basis of;
the pixel value of the first pixel or a pixel value of a pixel near the first pixel when the difference is equal to or greater than a predetermined value; and
the pixel value of the second pixel corresponding to the first pixel or a pixel value of a pixel near the second pixel; andan edge pixel detection step of detecting an edge pixel corresponding to an edge present between the first pixel and the second pixel, by comparing the edge determination threshold with a pixel value of each pixel placed between the first pixel and the second pixel.
-
-
16. An image recognition system comprising:
-
image acquisition means for acquiring an image; difference calculation means for calculating a difference between a pixel value of a first pixel in the image and a pixel value of a second pixel, the second pixel placed a predetermined number of pixels away from the first pixel; threshold calculation means for calculating an edge determination threshold on the basis of;
the pixel value of the first pixel or a pixel value of a pixel near the first pixel when the difference is equal to or greater than a predetermined value; and
the pixel value of the second pixel corresponding to the first pixel or a pixel value of a pixel near the second pixel; andedge pixel detection means for detecting an edge pixel corresponding to an edge present between the first pixel and the second pixel, by comparing the edge determination threshold with a pixel value of each pixel placed between the first pixel and the second pixel.
-
-
17. An image recognition system including an image recognition apparatus and a marker, the image recognition apparatus comprising:
-
a capturing section for capturing the marker; image acquisition means for acquiring an image from the capturing section; difference calculation means for calculating a difference between a pixel value of a first pixel in the image and a pixel value of a second pixel, the second pixel placed a predetermined number of pixels away from the first pixel; threshold calculation means for calculating an edge determination threshold on the basis of;
the pixel value of the first pixel or a pixel value of a pixel near the first pixel when the difference is equal to or greater than a predetermined value; and
the pixel value of the second pixel corresponding to the first pixel or a pixel value of a pixel near the second pixel; andedge pixel detection means for detecting an edge pixel corresponding to an edge present between the first pixel and the second pixel, by comparing the edge determination threshold with a pixel value of each pixel placed between the first pixel and the second pixel.
-
Specification