Claims
- 1. A surface inspection apparatus comprising:
a camera comprising a line sensor which scans an inspection object in a main scanning direction to obtain image data; sub-scanning means for moving the camera and the inspection object with respect to each other in a sub-scanning direction crossing at right angles to the main scanning direction; and calculation means for subjecting the image data output from the camera to calculation processing to inspect a surface state of the inspection object, wherein the calculation means comprises:
image data string generation means for adding the image data of two main scanning lines adjacent to each other in the sub-scanning direction to generate an image data string; and judgment means for using the image data string to inspect the surface state of the inspection object.
- 2. The surface inspection apparatus according to claim 1, wherein the image data string generation means adds the image data of pixels in the same position in the main scanning direction in the image data of two main scanning lines adjacent to each other in the sub-scanning direction.
- 3. The surface inspection apparatus according to claim 2, wherein the image data string generation means adds the image data of four pixels adjacent to one another in the sub-scanning direction and main scanning direction in the image data of two main scanning lines adjacent to each other in the sub-scanning direction to obtain the image data.
- 4. The surface inspection apparatus according to claim 1, wherein the image data string generation means comprises:
a line memory in which the image data output from the camera for at least one main scanning line is stored; and an adder which adds the image data of an input/output of the line memory to obtain the image data string.
- 5. The surface inspection apparatus according to claim 1, wherein the image data string generation means adds the image data of four pixels adjacent to one another in the sub-scanning direction and main scanning direction in the image data of two main scanning lines adjacent to each other in the sub-scanning direction to generate a first image data string, adds the image data of two pixels adjacent to each other in a first direction which is oblique with respect to the sub-scanning direction in the image data of two main scanning lines adjacent to each other in the sub-scanning direction to generate a second image data string, and adds the image data of two pixels adjacent to each other in a second direction which is oblique with respect to the sub-scanning direction in the image data of two main scanning lines adjacent to each other in the sub-scanning direction to generate a third image data string.
- 6. The surface inspection apparatus according to claim 5, wherein the image data string generation means comprises:
a line memory in which the image data output from the camera for at least one main scanning line is stored; a first adder which adds the image data of an input of the line memory and image data preceding to the input of the line memory by one main scanning line; a second adder which adds the image data of the input of the line memory and image data preceding to the input of the line memory by (one main scanning line+one pixel); and a third adder which adds the image data of the input of the line memory and image data preceding to the input of the line memory by (one main scanning line−one pixel).
- 7. The surface inspection apparatus according to claim 1, wherein the judgment means comprises
accumulation means for adding the image data in a block including a plurality of pixels continuous in the main scanning direction in the image data string to calculate added data in the block; correlation means for calculating a correlated value of the in-block added data of the blocks adjacent to each other in the main scanning direction; and means for judging the correlated value with a threshold value.
- 8. The surface inspection apparatus according to claim 7, wherein the judgment means shifts the block in the main scanning direction by each pixel to repeat the in-block addition and correlation calculation.
- 9. The surface inspection apparatus according to claim 1, wherein the sub-scanning means moves the inspection object in the sub-scanning direction with respect to the camera.
- 10. The surface inspection apparatus according to claim 1, wherein the sub-scanning means moves the camera in the sub-scanning direction with respect to the inspection object.
- 11. The surface inspection apparatus according to claim 1, wherein the sub-scanning means moves a lens of the camera in the sub-scanning direction with respect to the line sensor.
- 12. The surface inspection apparatus according to claim 1, wherein the sub-scanning means moves a lens and image sensor of the camera in the sub-scanning direction with respect to the inspection object.
- 13. A surface inspection method using a camera comprising a line sensor which scans an inspection object in a main scanning direction to obtain image data, the method comprising:
a step of moving the camera and inspection object with respect to each other in a sub-scanning direction crossing at right angles to the main scanning direction; a step of adding the image data of two main scanning lines adjacent to each other in the sub-scanning direction in the image data output from the camera to generate an image data string; and a step of using the image data string to inspect a surface state of the inspection object.
- 14. The surface inspection method according to claim 13, wherein the inspection step comprises:
an accumulation step of adding the image data in a block including a plurality of pixels continuous in the main scanning direction in the image data string to calculate added data in the block; a correlation step of calculating a correlated value of the in-block added data of the blocks adjacent to each other in the main scanning direction; and a step of judging the correlated value with a threshold value.
Priority Claims (2)
Number |
Date |
Country |
Kind |
2001-207321 |
Jul 2001 |
JP |
|
2001-214340 |
Jul 2001 |
JP |
|
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This is a Continuation Application of PCT Application No. PCT/JP02/06856, filed Jul. 5, 2002, which was not published under PCT Article 21(2) in English.
Continuations (1)
|
Number |
Date |
Country |
Parent |
PCT/JP02/06856 |
Jul 2002 |
US |
Child |
10383830 |
Mar 2003 |
US |