Measuring device and program

JP7643007B2Active Publication Date: 2025-03-11FUJIFILM BUSINESS INNOVATION CORP
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2020175380
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-10-19
Publication Date
2025-03-11
Estimated Expiration
2040-10-19

AI Technical Summary

Benefits of technology

【0006】 請求項1の発明によれば、測定対象物を回転させてこの測定対象物のうちの測定の対象となっている部分の表面の傾きについての情報を得る場合に比べ、測定対象物のうちの測定の対象となっている部分の表面の傾きについての情報をより精度よく得られるようにすることができる。 請求項2の発明によれば、測定対象物を回転させずに、互いに異なる4つの方向から、測定対象物の特定箇所への光の照射を行うことができる。 請求項3の発明によれば、測定対象物を回転させずに、一方向における位置が互いに異なる複数箇所から特定箇所への光の照射を順に行うことができ、また、この一方向とは交差する方向における位置が互いに異なる複数箇所からこの特定箇所への光の照射を順に行うことができる。 請求項4の発明によれば、出力値の補正を行わない場合に比べ、測定対象物を支持する支持面と、この測定対象物の特定箇所へ向かう光とのなす角度に起因して、特定箇所の表面の傾きについての情報の取得精度が低下することを抑えることができる。 請求項5の発明によれば、受光部から出力された出力値を大きくしたり小さくしたりしない場合に比べ、測定対象物を支持する支持面と、この測定対象物の特定箇所へ向かう光とのなす角度に起因して、特定箇所の表面の傾きについての情報の取得精度が低下することを抑えることができる。 請求項6の発明によれば、光照射手段から出射される光の変動の把握に用いられる基準部材が設けられない場合に比べ、移動体に設けられた光照射手段から出射される光の変動に起因して、特定箇所の表面の傾きについての情報の取得精度が低下することを抑えることができる。 請求項7の発明によれば、光反射部材を設けない場合に比べ、測定対象物のうちの光照射手段からの光が照射される領域を拡げることができる。 請求項8の発明によれば、複数の光源が設けられていない場合に比べ、測定対象物を支持する支持面と、この測定対象物の特定箇所へ向かう光とのなす角度を大きくできる。 請求項9の発明によれば、共通の方向に沿って配置された第1の点光源列および第2点光源列を用いて、互いに異なる複数の方向から、測定対象物の特定箇所への光の照射を行うことができる。 請求項10の発明によれば、共通の方向に沿って配置された第1の点光源列および第2点光源列を用い、互いに異なる4つの方向から、測定対象物の特定箇所への光の照射を行うことができる。 請求項11の発明によれば、第1の点光源列および第2の点光源列の各々に含まれる点光源を点灯させるにあたり、1つの点光源を点灯させる場合に比べ、測定対象物のうちの光が照射される特定箇所を増やすことができる。 請求項12の発明によれば、出力値の補正を行わない場合に比べ、特定部分を通る垂線から一の点光源を見た場合の方位と、この垂線から他の点光源を見た場合の方位とのなす角度が180°以外となることに起因して傾きについての情報の取得精度が低下することを抑えることができる。 請求項13の発明によれば、測定対象物を回転させてこの測定対象物のうちの測定の対象となっている部分の表面の傾きについての情報を得る場合に比べ、測定対象物のうちの測定の対象となっている部分の表面の傾きについての情報をより精度よく得られるようにすることができる。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007643007000001
    Figure 0007643007000001
  • Figure 0007643007000002
    Figure 0007643007000002
  • Figure 0007643007000003
    Figure 0007643007000003
Patent Text Reader

Abstract

To make it possible to obtain more accurate information about surface inclination of a part of an object to be measured that is the object of measurement, as compared to rotating the object to be measured to get information about the surface inclination of the part of the object to be measured that is the object of measurement.SOLUTION: The measurement device is a measurement device including light irradiation means that irradiates an object to be measured with light, and a processor that controls the light irradiation means. The processor executes light irradiation to a specific point of the measurement object with light from a plurality of points at different positions with each other in one direction, and also to the specific point of the measurement object with light from a plurality of points at different positions with each other in a direction intersecting with the one direction.SELECTED DRAWING: Figure 8
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a measurement device, an information processing device, and a program. [Background technology]

[0002] Patent document 1 discloses a process in which the scanning distance of a line light source is set according to the characteristics of the object to be measured, the movement of the line light source and the photographing by an imaging unit are controlled, and the reflection characteristics of the object to be measured are estimated from multiple images taken by the imaging unit. Patent Document 2 discloses that an image processing unit acquires normal information of the surface of a subject using multiple captured images generated by capturing images of the subject under four or more light source conditions in which the light source positions are different from one another. Patent document 3 discloses a process in which the scanning distance of a line light source is set according to the characteristics of the object to be measured, the movement of the line light source and the photographing by an imaging unit are controlled, and the reflection characteristics of the object to be measured are estimated from multiple images taken by the imaging unit. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2014-240830 A [Patent Document 2] JP 2017-134561 A [Patent Document 3] JP 2019-105656 A Summary of the Invention [Problem to be solved by the invention]

[0004] In order to grasp the inclination of a portion constituting the surface of a measurement object, it may be necessary to irradiate this portion with light from multiple directions. In this case, by rotating the measurement object, light can be irradiated from multiple directions onto this portion. However, when the object to be measured is rotated, the position of the part to be measured may shift or the shape of this part may change, which may make it difficult to obtain accurate information about the surface inclination of the part to be measured. The object of the present invention is to obtain information about the surface inclination of the portion of a measurement object that is being measured more accurately than when the measurement object is rotated to obtain information about the surface inclination of the portion of the measurement object that is being measured. [Means for solving the problem]

[0005] The invention described in claim 1 is a measuring device comprising: a light irradiation means for irradiating light onto an object to be measured; a support surface for supporting the object to be measured; a light receiving unit for receiving reflected light from a specific point on the object to be measured and producing an output according to the intensity of the received reflected light; and a processor for controlling the light irradiation means and processing the output of the light receiving unit, wherein the processor irradiates the specific point with light from a plurality of points having different positions in one direction, and irradiates the specific point on the object to be measured with light from a plurality of points having different positions in a direction intersecting the one direction, and obtains information about the slope of the surface of the object to be measured based on the output of the light receiving unit based on the reflected light of the specific point in response to the irradiation of light by the light irradiation means from each of the plurality of points in one direction, and the output of the light receiving unit based on the reflected light of the specific point in response to the irradiation of light by the light irradiation means from each of the plurality of points in a direction intersecting the one direction. The invention described in claim 2 is the measurement device described in claim 1, in which the light irradiation means includes a first light source and a second light source that are positioned differently in the one direction, and a third light source and a fourth light source that are positioned differently in the intersecting direction. The invention described in claim 3 is the measurement device described in claim 2, wherein the processor sequentially turns on the first light source and the second light source to irradiate the specific location with light from multiple locations that are different from each other in the one direction, and sequentially turns on the third light source and the fourth light source to irradiate the specific location with light from multiple locations that are different from each other in the intersecting direction. The invention described in claim 4 is the measurement device described in claim 1, wherein the processor corrects the output value output from the light receiving unit when an angle between the light traveling from a first location included in the multiple locations whose positions in the one direction are different to each other and the support surface and an angle between the light traveling from a second location included in the multiple locations to the specific location and the support surface is different from an angle between the light traveling from a third location included in the multiple locations whose positions in the intersecting direction are different to each other and the support surface and an angle between the light traveling from a fourth location included in the multiple locations to the specific location and the support surface is different from an angle between the light traveling from a fourth location included in the multiple locations to the specific location and the support surface. The invention described in claim 5 is the measuring device described in claim 4, wherein the processor increases the output value output from the light receiving unit when the specific location is irradiated with light from the location between the first location and the second location which forms a smaller angle, and / or decreases the output value output from the light receiving unit when the specific location is irradiated with light from the location between the third location and the fourth location which forms a smaller angle, and / or decreases the output value output from the light receiving unit when the specific location is irradiated with light from the location between the third location and the fourth location which forms a smaller angle. The invention described in claim 6 is the measurement device described in claim 1, further comprising a moving body that moves in the one direction, the light irradiating means is provided on the moving body and arranged along the one direction, and light is irradiated by the light irradiating means provided on the moving body, and a reference member is further provided that is used to grasp fluctuations in the light emitted from the light irradiating means. The invention described in claim 7 is the measuring device described in claim 1, further comprising a light reflecting member on the side of at least one of a first location and a second location included in the plurality of locations whose positions in the one direction are different from each other, the side being located on the opposite side of the one location from the side where the other location is located, and / or a light reflecting member on the side of at least one of a third location and a fourth location included in the plurality of locations whose positions in the intersecting direction are different from each other, the side being located on the opposite side of the one location from the side where the other location is located, the side being located on the opposite side of the one location from the side where the other location is located, the light reflecting member that reflects light from the light source located at the one location toward the support surface and toward the one location. The invention described in claim 8 is the measurement device described in claim 1, wherein at least one of a first location and a second location included in the multiple locations whose positions in the one direction are different from each other is provided with multiple light sources whose positions in the one direction are different from each other, and / or at least one of a third location and a fourth location included in the multiple locations whose positions in the intersecting direction are different from each other is provided with multiple light sources whose positions in the intersecting direction are different from each other. The invention described in claim 9 is the measurement device described in claim 1, in which the light irradiation means includes a first point light source array and a second point light source array arranged along a common direction, and the processor sequentially turns on a first point light source included in the first point light source array and a second point light source included in the second point light source array to irradiate light to the specific location from multiple locations whose positions are different from each other in the one direction, and turns on a third point light source included in the first point light source array and a fourth point light source included in the second point light source array to irradiate light to the specific location from multiple locations whose positions are different from each other in the intersecting direction. The invention described in claim 10 is the measurement device described in claim 9, wherein the processor sequentially turns on the first point light source and the second point light source, which are located at different positions in the common direction, to irradiate the specific location with light from multiple locations which are located at different positions in the one direction, and sequentially turns on the third point light source, which is located closer to the second point light source than the first point light source in the common direction, and the fourth point light source, which is located closer to the first point light source than the second point light source in the common direction, to irradiate the specific location with light from multiple locations which are located at different positions in the intersecting direction. The invention described in claim 11 is the measurement device described in claim 1, in which the light irradiation means includes a first point light source array and a second point light source array arranged along a common direction, a plurality of specific locations are set, and the multiple specific locations are arranged so that their positions in the common direction are different from each other, and the processor sequentially turns on a plurality of point light sources included in the first point light source array and a plurality of point light sources included in the second point light source array, irradiating each of the multiple specific locations with light from a plurality of locations that are different from each other in one direction, and sequentially turns on a plurality of other point light sources different from the multiple point light sources included in the first point light source array and a plurality of other point light sources different from the multiple point light sources included in the second point light source array, irradiating each of the multiple specific locations with light from a plurality of locations that are different from each other in a direction intersecting the one direction. The invention described in claim 12 is the measuring device described in claim 9, wherein the processor corrects the output value output from the light receiving unit when the angle between the orientation when the first point light source is viewed from a perpendicular line to the support surface passing through the specific location and the orientation when the second point light source is viewed from the perpendicular line is other than 180°, and / or corrects the output value output from the light receiving unit when the angle between the orientation when the third point light source is viewed from a perpendicular line to the support surface passing through the specific location and the orientation when the fourth point light source is viewed from the perpendicular line is other than 180°. Claim 13The invention described in is a program executed by a computer provided in a measuring device having a light irradiation means for irradiating light onto an object to be measured, a support surface for supporting the object to be measured, a light receiving unit for receiving reflected light from a specific point on the object to be measured and producing an output according to the intensity of the received reflected light, and a computer for controlling the light irradiation means and processing the output of the light receiving unit, the program causing the computer to realize a function of irradiating light onto the specific point from a plurality of points having different positions in one direction, a function of irradiating light onto the specific point on the object to be measured from a plurality of points having different positions in a direction intersecting the one direction, and a function of acquiring information about the slope of the surface of the object to be measured based on the output of the light receiving unit based on the reflected light of the specific point in response to irradiation of light from each of the plurality of points in one direction by the light irradiation means, and the output of the light receiving unit based on the reflected light of the specific point in response to irradiation of light from each of the plurality of points in a direction intersecting the one direction. Effect of the Invention

[0006] According to the invention of claim 1, it is possible to obtain information about the surface inclination of the portion of the object being measured more accurately than when the object is rotated to obtain information about the surface inclination of the portion of the object being measured. According to the invention of claim 2, it is possible to irradiate light onto a specific location of the measurement object from four different directions without rotating the measurement object. According to the invention of claim 3, it is possible to sequentially irradiate light to a specific location from multiple locations that are different from one another in one direction without rotating the object to be measured, and it is also possible to sequentially irradiate light to this specific location from multiple locations that are different from one another in a direction intersecting this one direction. According to the invention of claim 4, it is possible to suppress a decrease in the accuracy of obtaining information about the inclination of the surface of a specific point due to the angle between the support surface that supports the object to be measured and the light that travels toward the specific point on the object to be measured, compared to the case where the output value is not corrected. According to the invention of claim 5, it is possible to suppress a decrease in the accuracy of obtaining information about the inclination of the surface of a specific point due to the angle between the support surface that supports the object to be measured and the light that is directed toward the specific point on the object to be measured, compared to a case in which the output value output from the light receiving unit is not increased or decreased. According to the invention of claim 6, it is possible to suppress a decrease in the accuracy of obtaining information about the surface inclination at a specific location due to fluctuations in the light emitted from the light irradiation means provided on the moving body, compared to a case in which a reference member used to grasp the fluctuations in the light emitted from the light irradiation means is not provided. According to the seventh aspect of the invention, the area of ​​the object to be measured that is irradiated with the light from the light irradiating means can be expanded, compared to the case where no light reflecting member is provided. According to the invention of claim 8, the angle between the support surface supporting the object to be measured and the light directed toward a specific point on the object to be measured can be made larger than when multiple light sources are not provided. According to the invention of claim 9, by using a first point light source array and a second point light source array arranged along a common direction, light can be irradiated onto a specific location on an object to be measured from a plurality of directions different from each other. According to the invention of claim 10, by using a first point light source array and a second point light source array arranged along a common direction, light can be irradiated onto a specific location on an object to be measured from four mutually different directions. According to the invention of claim 11, when turning on the point light sources included in each of the first point light source array and the second point light source array, the number of specific locations on the object to be measured to which light is irradiated can be increased compared to when turning on a single point light source. According to the invention of claim 12, compared to the case where the output value is not corrected, it is possible to suppress a decrease in the accuracy of obtaining information about tilt caused by the angle between the orientation when one point light source is viewed from a perpendicular line passing through a specific portion and the orientation when another point light source is viewed from this perpendicular line being other than 180°. Claim 13According to the invention, it is possible to obtain information about the surface tilt of the portion of the object being measured more accurately than when the object is rotated to obtain information about the surface tilt of the portion of the object being measured. [Brief description of the drawings]

[0007] [Figure 1] FIG. 1 is a diagram showing an overall configuration of an image reading apparatus. [Diagram 2] FIG. 2 is a diagram showing a configuration of a control unit. [Diagram 3] FIG. 2 is a diagram illustrating the configuration of a reading unit and the like. [Figure 4] 4 is a view of the reading unit as seen from the direction indicated by the arrow IV in FIG. 3. FIG. [Diagram 5] 13A and 13B are diagrams showing the light source being turned on. [Figure 6] FIG. 13 is a diagram showing the relationship between the incident angle and the normal angle. [Figure 7] 7(A) and (B) are views showing the reading unit and the measurement object as viewed from the direction indicated by the arrow VII in FIG. [Figure 8] 11A to 11D are diagrams showing a sequence of steps in a process for turning on a light source provided in a reading unit. [Figure 9] FIG. 13 is a diagram showing another example of the configuration of the reading unit. [Figure 10] FIG. 13 is a diagram showing another example of the configuration of the reading unit. [Figure 11] FIG. 13 is a diagram showing another example of the configuration of the scanner device. [Figure 12] 11A to 11D are diagrams showing a basic processing flow of the second embodiment. [Figure 13] 13A and 13B are diagrams showing other lighting states of the light source. [Figure 14] 13(C) and (D) are diagrams showing other lighting states of the light source. [Figure 15] FIG. 13 is a diagram showing a state in which a light source and a specific location are viewed from above. [Figure 16] 13(A) and 13(B) are diagrams illustrating a lighting process of a light source in a third embodiment. [Figure 17] 1. FIG. 1 is a diagram of a measurement target object on a support surface as viewed from the direction indicated by arrow XVII in FIG. [Figure 18] 18 is a diagram showing the heights of specific points of the first and second rows when viewed from the direction indicated by the arrow XVIII in FIG. 17. FIG. [Figure 19] 13A and 13B are diagrams for explaining a process executed when acquiring a main scanning direction component. [Figure 20] FIG. 13 is a diagram showing another example of the configuration of the reading unit. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings. FIG. 1 is a diagram showing the overall configuration of an image reading device 1. As shown in FIG. The image reading device 1 includes a scanner device 10 that obtains an image of a document by scanning the document, and a document feeder 20A that conveys the document to the scanner device 10.

[0009] The document feeder 20A is provided with a document stacking section 21 on which a stack of documents consisting of a plurality of documents is stacked. The document feeder 20A also has a discharged paper stacking section 22, which is provided below the document stacking section 21 and on which documents that have been read are stacked. Furthermore, the document feeder 20A is provided with a feed roll 23 for feeding out the documents on the document stacking section 21, and a handling mechanism 24 for handling the documents one by one.

[0010] Furthermore, in the transport path 25 along which the originals are transported, there are provided a transport roll 26 which transports the originals separated one by one toward a downstream roll, and a registration roll 27 which supplies the originals to the scanner device 10 while performing registration adjustment. Also provided are a chute 28 that assists in transporting the document being read by the scanner device 10, and out rolls 29 that transport the read document further downstream. Furthermore, there is provided an ejection roll 30 that ejects the document onto the ejection stacking section 22.

[0011] The scanner device 10 is provided with a housing 13 and a device frame 14 . On the device frame 14, there are attached a first platen glass 11A on which a stationary document is placed, and a second platen glass 11B which transmits light for reading the document transported by the document feeder 20A. Further, a guide member 68 that guides the document transported by the document feeder 20A is provided between the first platen glass 11A and the second platen glass 11B.

[0012] A white reference plate 71 is provided below the guide member 68. A reading unit 12 is provided inside the housing 13 for reading the document placed on the first platen glass 11A and the document transported by the document feeder 20A. Furthermore, a moving mechanism (not shown) is provided for moving the reading unit 12 in the left-right direction in the drawing. The moving mechanism is not particularly limited and may be configured by a known mechanism.

[0013] The reading unit 12, which is an example of a moving body, moves rightward below the first platen glass 11A when reading a document placed on the first platen glass 11A. When the document conveyed by the document feeder 20A is read, the reading unit 12 is disposed in a stationary state below the second platen glass 11B.

[0014] Inside the reading unit 12, there are provided a light source constituted by an LED or the like, an imaging optical system that collects light reflected from the document, and a sensor that receives the light collected by the imaging optical system. A hinge (not shown) for opening and closing the document feeder 20A is provided on the rear side of the image reading device 1, and in this embodiment, the document feeder 20A can be rotated toward the rear side of the image reading device 1.

[0015] When a document is placed on the first platen glass 11A, the user rotates the document feeder 20A to the rear side of the image reading device 1. Then, when the user places a document on the first platen glass 11A, the user rotates the document feeder 20A toward the front side of the image reading device 1, and returns the document feeder 20A to its original position. In this embodiment, thereafter, a start button (not shown) is pressed to start reading the document.

[0016] Furthermore, the image reading device 1 of this embodiment is provided with a control unit 60 that controls each unit of the image reading device 1. A display device 61 for displaying information is also provided in the image reading device 1. The display device 61 is configured by a known device such as a liquid crystal display.

[0017] FIG. 2 is a diagram showing the configuration of the control unit 60. As shown in FIG. The control unit 60 has a control unit 101 that controls the operation of the entire device, a storage unit 102 that stores data, etc., and a network interface 103 that realizes communication via a LAN (Local Area Network) cable or the like. Here, the control unit 101 portion can be regarded as an information processing device that processes information about the measurement object, which will be described later.

[0018] The control unit 101 has a CPU (=Central Processing Unit) 111 as an example of a processor, a ROM (=Read Only Memory) 112 in which basic software, a BIOS (=Basic Input Output System), etc. are stored, and a RAM (=Random Access Memory) 113 used as a work area. The control unit 101 is a so-called computer. The storage unit 102 is configured with a hard disk drive, a semiconductor memory, or the like. The control unit 101, the storage unit 102, and the network interface 103 are connected via a bus 104 and a signal line (not shown).

[0019] Here, the program executed by CPU 111 can be provided to image reading device 1 in a state where it is stored on a computer-readable recording medium such as a magnetic recording medium (magnetic tape, magnetic disk, etc.), an optical recording medium (optical disk, etc.), a magneto-optical recording medium, or a semiconductor memory. In addition, the programs executed by the CPU 111 are transmitted over a communication medium such as the Internet. may be provided to the image reading device 1 using the above.

[0020] In this embodiment, the term "processor" refers to a processor in a broad sense, and includes general-purpose processors (e.g., CPU: Central Processing Unit, etc.) and dedicated processors (e.g., GPU: Graphics Processing Unit, ASIC: Application Specific Integrated Circuit, FPGA: Field Programmable Gate Array, programmable logic device, etc.). In addition, the operations of the processor may not only be performed by one processor, but may be performed by multiple processors in physically separate locations working together. The order of the operations of the processor is not limited to the order described in this embodiment, and may be changed.

[0021] [Configuration of reading unit 12, etc.] FIG. 3 is a diagram for explaining the configuration of the reading unit 12 and the like. The reading unit 12, which is an example of a moving body, is provided with a light irradiating section 12A that functions as a part of a light irradiating means for irradiating a measurement object with light. The light irradiation unit 12A is provided with a light source. Specifically, in this embodiment, two point light source arrays, a first point light source array 16 and a second point light source array 18, are provided as the light source. The first point light source array 16 and the second point light source array 18 are arranged along a direction perpendicular to the paper surface in the figure. In other words, the first point light source array 16 and the second point light source array 18 are arranged along a common direction (the same direction).

[0022] The light irradiation unit 12A is provided with a control unit (not shown) for controlling the lighting of the first point light source array 16 and the second point light source array 18. The position of the control unit is not particularly important, and it may be provided on the main body side of the scanner device 10. In this embodiment, a signal is input from the CPU 111 to this control unit, and light is irradiated from the light irradiating section 12A onto the original.

[0023] The reading unit 12 is also provided with an imaging optical system 31 that collects light reflected from the document, and a sensor 32 that receives the light collected by the imaging optical system 31 . The reading unit 12 is a moving body, and moves in the direction indicated by the arrow 3A in the figure. The first platen glass 11A is made of a transparent glass plate formed into a plate shape. The first platen glass 11A is disposed in the horizontal direction. The first platen glass 11A supports the document from below.

[0024] More specifically, the first platen glass 11A has a flat support surface 11D facing upward, and supports the document from below using this support surface 11D. Note that the first platen glass 11A is not limited to a glass plate, and may be, for example, an acrylic plate. When an original is read by the scanner device 10, the original is supported by the support surface 11D and placed along a plane.

[0025] The image reading device 1 not only reads a typical document (obtains color information), but also obtains information about the inclination of the surface of each portion of the object to be read. In other words, the image reading device 1 of this embodiment can also be regarded as a measuring device, and the image reading device 1 can also measure the inclination of each part that constitutes the surface of the object to be read. The process for obtaining this surface slope information is described below. In the following description, the object to be read (target object) from which information about the inclination of the surface is obtained is referred to as a "measurement target object."

[0026] Here, the object to be measured is not particularly limited, and examples include paper, cloth, metal, resin, rubber, etc. The shape of the object to be measured is also not particularly limited. In the case of paper or cloth, it can be in a rolled shape. In this embodiment, in the case of a measurement object that can be rolled, by placing the measurement object on the first platen glass 11A, the measurement object is arranged in a plane along the support surface 11D.

[0027] The first point light source array 16 and the second point light source array 18 are arranged at different locations, and the light irradiating section 12A of this embodiment can irradiate the specific location 40 of the measurement object with light from a plurality of directions. In other words, in this embodiment, when a location on the measurement object where the inclination of the surface is to be grasped is regarded as a specific location 40, light can be irradiated onto this specific location 40 from a plurality of directions.

[0028] Each of the first point light source array 16 and the second point light source array 18 extends along a direction perpendicular to the paper surface of Fig. 3. In addition, each of the first point light source array 16 and the second point light source array 18 extends along a direction intersecting (orthogonal to) the movement direction of the reading unit 12. In each of the first point light source array 16 and the second point light source array 18, a plurality of white point light sources 98 constituted by LEDs (Light Emitting Diodes) or the like are arranged in the extension direction of the first point light source array 16 and the second point light source array 18. The first point light source array 16 and the second point light source array 18 may be configured with fluorescent lamps, rare gas fluorescent lamps, or the like.

[0029] Furthermore, the reading unit 12 is provided with the imaging optical system 31 and the sensor 32 as described above. The sensor 32 is a line sensor in which light receiving elements 32A, which are an example of a light receiving section, are arranged in a row. The light receiving elements 32A receive reflected light from a specific point 40 of the measurement object. The sensor 32 is disposed along a direction perpendicular to the plane of the paper in Fig. 3. In other words, the sensor 32 extends along a direction intersecting (orthogonal to) the direction of movement of the reading unit 12. In this embodiment, the light receiving elements 32A are arranged in a line in the extension direction of the sensor 32.

[0030] In this embodiment, the direction in which the first point light source array 16, the second point light source array 18, and the sensor 32 extend is referred to as the main scanning direction. Also, in this embodiment, the direction intersecting (perpendicular to) this main scanning direction (the movement direction in which the reading unit 12 moves) is referred to as the sub-scanning direction. When reading an object to be measured, the reading unit 12 moves in the sub-scanning direction at a predetermined speed, more specifically, in the direction indicated by an arrow 3A in the figure.

[0031] The imaging optical system 31 is composed of a reflecting mirror and an imaging lens, and forms an image on the light receiving element 32A of the sensor 32 of light reflected from a specific portion 40 (a portion to be read) of the measurement object. Each of the light receiving elements 32A receives reflected light imaged by the imaging optical system 31, and generates and outputs information corresponding to the intensity of the received reflected light (information about the intensity of the reflected light).

[0032] The sensor 32 is composed of a CCD linear image sensor, a CMOS image sensor, or the like, and outputs information regarding the intensity of the received light. The sensor 32 is provided with a plurality of light receiving elements 32A. In the sensor 32, the light receiving elements 32A are arranged in the main scanning direction. The sensor 32 is also provided with a color filter and generates an image signal that represents the color of the document or the object to be measured. In the image reading device 1 of this embodiment, an RGB value consisting of three values ​​such as RGB (165, 42, 42) is generated based on this image signal, and this RGB value is output from the image reading device 1. In other words, in this embodiment, color information, which is information about the color of a document or an object to be measured, is acquired by the image reading device 1, and this color information is output from the image reading device 1 in a data format (a predetermined data format) in which three values ​​are arranged.

[0033] The first point light source array 16 is located upstream of the specific location 40 to be read in the movement direction of the reading unit 12 (the movement direction when reading the object to be measured), and irradiates light toward the specific location 40 located downstream. The second point light source array 18 is located downstream of the specific spot 40 in the movement direction of the reading unit 12, and irradiates light toward the specific spot 40 located upstream.

[0034] In addition, in this embodiment, the angle (light incidence angle) θ1 between a perpendicular line 70 that is perpendicular to the support surface 11D and passes through the specific location 40 and the optical path R11 of the light traveling from the first point light source array 16 to the specific location 40 is 45°. In this embodiment, the angle (light incidence angle) θ2 between the perpendicular line 70 and the optical path R12 of the light traveling from the second point light source array 18 toward the specific location 40 is 45°. As a result, in this embodiment, the angle θ1 between the optical path R11 of the light traveling from the first point light source array 16 to the specific location 40 and the perpendicular line 70 is equal to the angle θ2 between the optical path R12 of the light traveling from the second point light source array 18 to the specific location 40 and the perpendicular line 70.

[0035] Fig. 4 is a diagram of the reading unit 12 as viewed from the direction indicated by the arrow IV in Fig. 3. Note that the imaging optical system 31 and the sensor 32 are omitted in Fig. 4. The reading unit 12 of this embodiment is provided with a third light source 83 and a fourth light source 84 in addition to the first point light source array 16 and the second point light source array 18 described above. Each of the third light source 83 and the fourth light source 84 is configured by, for example, an LED. Note that the light sources are not limited to LEDs, and other types of light sources other than LEDs may be used.

[0036] The third light source 83 and the fourth light source 84 are disposed at different positions in the main scanning direction. The third light source 83 is provided at one end 12E of the reading unit 12 in the longitudinal direction, and the fourth light source 84 is provided at the other end 12F of the reading unit 12 in the longitudinal direction. In addition, the third light source 83 and the fourth light source 84 are located between the first point light source array 16 and the second point light source array 18 in the sub-scanning direction.

[0037] (Normal angle acquisition process) In this embodiment, the angle of the normal to the surface of each specific portion 40 of the measurement object (hereinafter referred to as the "normal angle") is obtained. In other words, in this embodiment, the normal angle of each portion constituting the surface of the measurement object is obtained. To obtain the normal angle, first, the component of this normal angle in the sub-scanning direction (hereinafter referred to as the "sub-scanning direction component") is obtained, and then the component of this normal angle in the main scanning direction (hereinafter referred to as the "main scanning direction component") is obtained. In this embodiment, the normal angle is obtained based on the sub-scanning direction component and the main scanning direction component. In the following, first, the process of obtaining the sub-scanning direction component will be described, and then the process of obtaining the main scanning direction component will be described.

[0038] (Processing for obtaining sub-scanning direction components) To obtain the sub-scanning direction component, first, the CPU 111 outputs a control signal to a control unit that controls the light irradiation unit 12A, and causes the light irradiation to be performed in sequence from each of a plurality of directions onto the specific location 40. Specifically, the CPU 111 sequentially irradiates the specific spot 40 with light from a plurality of spots that are different from each other in a sub-scanning direction, which is an example of one direction. More specifically, the CPU 111 sequentially causes the first point light source array 16 and the second point light source array 18 to irradiate light onto a specific location 40, as shown in (A) and (B) of Figure 5 (a diagram showing the light source lighting state).

[0039] Then, the CPU 111 acquires information (sub-scanning direction component) about the inclination of the surface of the specific location 40 based on information about the light received by the light receiving element 32A when light is irradiated from the first point light source array 16 to the specific location 40 and information about the light received by the light receiving element 32A when light is irradiated from the second point light source array 18 to the specific location 40. In other words, the CPU 111 obtains information (sub-scanning direction component) about the inclination of the surface of the specific location 40 based on information output from the light receiving element 32A when light is irradiated onto the specific location 40 from one direction and information output from the light receiving element 32A when light is irradiated onto the specific location 40 from another direction that is opposite to the one direction.

[0040] The irradiation of the specific location 40 with light will now be described in detail. When irradiating light from the first point light source array 16 to a specific location 40, the CPU 111 moves the reading unit 12 to the right in the figure while turning on only the first point light source array 16, as shown in Figure 5 (A). In this case, light is irradiated onto the specific location 40 from the lower left direction in the figure.

[0041] In this embodiment, the specific location 40 moves sequentially in response to the movement of the reading unit 12. In this embodiment, the "specific portion 40" refers to a portion of the surface of the object to be measured. More specifically, the "specific portion 40" refers to a portion of the surface of the object to be measured that is read by one of the light receiving elements 32A of the multiple light receiving elements 32A provided in the sensor 32. In this embodiment, the one light receiving element 32A moves in response to the movement of the reading unit 12, and accordingly, the specific portion 40 which is the portion read by the one light receiving element 32A also moves sequentially.

[0042] Next, in this embodiment, as shown in Fig. 5(B), the CPU 111 moves the reading unit 12 to the right in the figure while turning on only the second point light source array 18. In this case, light is irradiated onto the specific location 40 from the lower right direction in the figure. In this way, when the first point light source array 16 and the second point light source array 18 are turned on in sequence, light is irradiated from a plurality of points onto the specific point 40 in sequence. Specifically, first, light is irradiated onto the specific point 40 from a position located in the lower left direction, and then light is irradiated onto the specific point 40 from a position located in the lower right direction.

[0043] In the present embodiment, the case has been described in which the first point light source array 16 and the second point light source array 18 are turned on in sequence when the reading unit 12 moves to the right in the figure. However, this is not limited to the above, and for example, the first point light source array 16 may be turned on when the reading unit 12 moves to the right in the figure, and the second point light source array 18 may be turned on when the reading unit 12 moves to the left in the figure. Furthermore, the order in which the light source arrays are turned on is not particularly important, and the second point light source array 18 may be turned on first, and then the first point light source array 16 may be turned on.

[0044] When light is irradiated from the first point light source array 16 onto the specific location 40, the CPU 111 obtains information on the light received by the light receiving element 32A that performs reading of the specific location 40. In addition, when light is irradiated from the second point light source array 18 onto the specific location 40, the CPU 111 obtains information on the light received by the light receiving element 32A. In other words, the CPU 111 obtains an output value output from the light receiving element 32A when the specific location 40 is irradiated with light from the first point light source array 16. The CPU 111 also obtains an output value output from the light receiving element 32A when the specific location 40 is irradiated with light from the second point light source array 18.

[0045] Then, the CPU 111 obtains the sub-scanning direction component based on the output value output from the light receiving element 32A when light is irradiated from the first point light source array 16 to the specific location 40 and the output value output from the light receiving element 32A when light is irradiated from the second point light source array 18 to the specific location 40. More specifically, the CPU 111 determines that the sub-scanning direction component is 0°, for example, when the output value output from the light receiving element 32A when light is irradiated from the first point light source array 16 to a specific location 40 is equal to the output value output from the light receiving element 32A when light is irradiated from the second point light source array 18 to a specific location 40.

[0046] More specifically, assuming a perpendicular line 70 (see FIG. 5(A)) that is perpendicular to the support surface 11D and passes through the specific point 40, if the above two output values ​​are equal, the CPU 111 outputs information indicating that the inclination of the normal 40X of the surface 40A of the specific point 40 relative to the perpendicular line 70 is 0°. Furthermore, if the two output values ​​are different, the CPU 111 outputs the inclination of the normal line 40X with respect to the perpendicular line 70 as a value other than 0°.

[0047] In this embodiment, for example, if the output value obtained when light is irradiated from the first point light source array 16 to a specific location 40 is greater than the output value obtained when light is irradiated from the second point light source array 18 to the specific location 40, the normal 40X is oriented in the direction indicated by the arrow 4E in Figure 5(A). Furthermore, in this embodiment, in this case, the CPU 111 obtains a specific angle (hereinafter referred to as the "normal angle") of the normal line 40X with respect to the perpendicular line 70 based on these two output values, and acquires this normal angle as a sub-scanning direction component.

[0048] Furthermore, for example, if the output value obtained when light is irradiated from the first point light source array 16 to the specific location 40 is smaller than the output value obtained when light is irradiated from the second point light source array 18 to the specific location 40, the normal 40X is oriented in the direction indicated by the arrow 4F in Figure 5(A). Furthermore, in this embodiment, in this case, the CPU 111 obtains a specific angle (normal angle) of the normal line 40X with respect to the perpendicular line 70 based on these two output values, and acquires this normal angle as a sub-scanning direction component.

[0049] (Acquisition process of normal angle (sub-scanning direction component)) The process of acquiring the normal angle (sub-scanning direction component) will now be described in detail. In this embodiment, as described above, the first point light source array 16 and the second point light source array 18 are turned on individually to obtain two scan images. More specifically, first, as described above, while the first point light source array 16 is turned on, the reading unit 12 is moved and light is irradiated onto each of the specific locations 40 from the lower left direction to obtain a scanned image of one eye. Next, with the second point light source array 18 turned on, the reading unit 12 is moved to irradiate each of the specific points 40 with light from the lower right direction, thereby obtaining two scanned images of the eyes. The two scanned images are then grayscaled in this embodiment.

[0050] The two scan images then produce the two output values ​​for the same pixel. Specifically, for the same specific location 40, both the output value output from the light receiving element 32A when light is irradiated from the first point light source array 16 and the output value output from this light receiving element 32A when light is irradiated from the second point light source array 18 are obtained.

[0051] More specifically, in this embodiment, one specific location 40 is read by one light receiving element 32A. In this embodiment, two output values ​​are obtained: an output value output from this one light receiving element 32A when light is irradiated from the first point light source array 16 to the specific location 40, and an output value output from this one light receiving element 32A when light is irradiated from the second point light source array 18 to the specific location 40.

[0052] More specifically, in this embodiment, two output values ​​are obtained for each identical pixel position (x, y) in each scanned image. In this embodiment, the output value obtained from one scanned image is defined as D_-45(x, y), and the output value obtained from the other scanner image is defined as D_45(x, y). Here, the numerical value "-45" indicates the incident angle of light from the first point light source array 16. Also, the numerical value "45" indicates the incident angle of light from the second point light source array 18.

[0053] Next, in this embodiment, the above output value (D_-45) obtained when light is irradiated from the first point light source array 16 is associated with the incident angle "-45°", and the above output value (D_45) obtained when light is irradiated from the second point light source array 18 is associated with the incident angle "+45°". Furthermore, in this embodiment, when the incident angle is ±180° with respect to the perpendicular line 70, the output value from the sensor 32 is zero, so an output value of "0" is associated with an incident angle of "-180°", and an output value of "0" is associated with an incident angle of "+180°".

[0054] Next, the CPU 111 performs fitting with the incident angle as an independent variable (eg, −180° to +180°) and the output value as a dependent variable (eg, 0 to 255). More specifically, CPU 111 performs fitting using a BRDF model (such as Cook-Torrance) or spline interpolation based on four incidence angles: -180°, -45°, +45°, and +180°, and four output values ​​corresponding to each of these four incidence angles.

[0055] More specifically, the CPU 111 performs, for example, a process of fitting a spline curve to the four output values. Next, a peak is extracted from the spline curve after fitting, and the independent variable (incident angle) corresponding to this peak is grasped as the incident angle on surface 40A of specific location 40 of interest. Then, the CPU 111 obtains the normal angle (sub-scanning direction component) of the surface 40A of the specific portion 40 based on the detected incident angle. The CPU 111 performs the above process for each of all the specific locations 40, and obtains the normal angle (sub-scanning direction component) for each specific location 40.

[0056] FIG. 6 is a diagram showing the relationship between the incident angle and the normal angle. In Fig. 6, the angle indicated by the symbol α indicates an example of the incident angle obtained based on the peak of the spline curve after fitting. Specifically, this example illustrates a case where an incident angle of 30° is obtained. When the CPU 111 grasps this incident angle of 30°, it obtains 15°, which is half of this incident angle, as the normal angle β of the surface 40A of the specific portion 40. In this example, the CPU 111 obtains this normal angle β (15°) as the sub-scanning direction component.

[0057] Here, when acquiring information about the inclination of surface 40A of specific point 40, for example, a mode in which light is irradiated onto specific point 40 from only one point can be considered. In this case, the inclination of surface 40A of specific point 40 can be tentatively grasped by receiving reflected light from specific point 40 and grasping the intensity of the received reflected light.

[0058] However, the intensity of the reflected light is affected by the color of the specific portion 40, and the intensity of the reflected light changes depending on the color of the specific portion 40, which may make it difficult to accurately grasp the inclination of the surface 40A of the specific portion 40. In contrast, when the specific point 40 is irradiated with light from two positions in turn as in the present embodiment, the influence of color is reduced and the inclination of the surface 40A of the specific point 40 can be obtained with greater accuracy.

[0059] (Main scanning direction component acquisition process) Next, the process of acquiring the main scanning direction component (the component of the normal angle in the main scanning direction) will be described. In the process of acquiring the main scanning direction components, the CPU 111 first outputs a control signal to a control unit that controls the light irradiation unit 12A, causing the specific location 40 to be irradiated with light from each of a plurality of directions in sequence.

[0060] 7(A) and (B) are views showing the reading unit 12 and the measurement object as viewed from the direction indicated by the arrow VII in FIG. In the process of obtaining the main scanning direction component, the CPU 111 sequentially turns on the third light source 83 and the fourth light source 84 as shown in FIGS. 7(A) and 7(B) to obtain the main scanning direction component. Specifically, the CPU 111 obtains information on the light received by the light receiving element 32A when light is irradiated from the third light source 83 to the specific location 40, and information on the light received by this light receiving element 32A when light is irradiated from the fourth light source 84 to the specific location 40, and obtains the main scanning direction component based on this information. In other words, in this case too, the CPU 111 obtains the main scanning direction component based on the output value output from the light receiving element 32A when light is irradiated from one location to the specific location 40 and the output value output from this light receiving element 32A when light is irradiated from another location to this specific location 40.

[0061] More specifically, the CPU 111 moves the reading unit 12 in the sub-scanning direction with only the third light source 83 turned on (see FIG. 7A). In this case, light is irradiated onto the specific location 40 shown in FIG. 7A from the lower right direction in the figure. 7B, the CPU 111 moves the reading unit 12 in the sub-scanning direction while turning on only the fourth light source 84. In this case, the specific location 40 is irradiated with light from the lower left direction in the figure. In this way, when acquiring the main scanning direction component, light is irradiated onto the specific location 40 from a plurality of locations.

[0062] It should be noted that only one specific location 40 is shown in FIGS. In this embodiment, light is similarly irradiated from the lower right direction and then from the lower left direction, sequentially, for each of a plurality of other specific locations 40 (not shown) located to the right of this one specific location 40 in the figure, and for each of a plurality of other specific locations 40 (not shown) located to the left of this one specific location 40 in the figure.

[0063] As described above, the third light source 83 and the fourth light source 84 may be turned on when the reading unit 12 moves to the right in Fig. 1. Furthermore, without being limited thereto, for example, one of the third light source 83 and the fourth light source 84 may be turned on when the reading unit 12 moves to the right, and the other light source may be turned on when the reading unit 12 moves to the left. Furthermore, the order in which the light sources are turned on does not matter, and the fourth light source 84 may be turned on first, and then the third light source 83 may be turned on.

[0064] The CPU 111 obtains an output value output from the light receiving element 32A when the specific location 40 is irradiated with light from the third light source 83. The CPU 111 also obtains an output value output from the light receiving element 32A when the specific location 40 is irradiated with light from the fourth light source 84. Then, similar to the above process when obtaining the sub-scanning direction component, the CPU 111 obtains information about the inclination of the surface 40A of the specific location 40 (main scanning direction component) based on the output value output from the light receiving element 32A when light is irradiated onto the specific location 40 from the third light source 83 and the output value received from the light receiving element 32A when light is irradiated onto the specific location 40 from the fourth light source 84.

[0065] More specifically, similar to the above, when the output value output from the light receiving element 32A when light is irradiated from the third light source 83 to the specific location 40 is equal to the output value output from the light receiving element 32A when light is irradiated from the fourth light source 84 to the specific location 40, the CPU 111 outputs information indicating that the inclination of the normal 40X of the surface 40A of the specific location 40 relative to the perpendicular line 70 is 0°. Furthermore, if the two output values ​​are different, the CPU 111 outputs the inclination of the normal line 40X with respect to the perpendicular line 70 as a value other than 0°.

[0066] For example, if the output value output from the light receiving element 32A when light is irradiated from the third light source 83 to the specific location 40 is greater than the output value output from the light receiving element 32A when light is irradiated from the fourth light source 84 to the specific location 40, the normal 40X is oriented in the direction indicated by the arrow 7G in Figure 7(A). Based on these two output values, the CPU 111 obtains a specific angle of the normal line 40X with respect to the perpendicular line 70 (hereinafter referred to as the "normal line angle").

[0067] Furthermore, for example, if the output value output from the light receiving element 32A when light is irradiated from the third light source 83 to the specific location 40 is smaller than the output value output from the light receiving element 32A when light is irradiated from the fourth light source 84 to the specific location 40, the normal 40X is oriented in the direction indicated by the arrow 7H in Figure 7(A). In this case as well, the CPU 111 obtains a specific angle (normal angle) of this normal line 40X with respect to the perpendicular line 70 based on these two output values.

[0068] (Processing details) The process for obtaining the normal angle (main scanning direction component) will now be described in detail. In this embodiment, the third light source 83 and the fourth light source 84 are turned on individually to obtain two scan images. More specifically, with the third light source 83 turned on, the reading unit 12 is moved and light is irradiated onto each of the specific locations 40 from the lower right direction to obtain a scanned image of one eye. Next, with the fourth light source 84 turned on, the reading unit 12 is moved to irradiate each of the specific points 40 with light from the lower left direction, thereby obtaining two scanned images of the eyes. The two scanned images are then grayscaled in this embodiment.

[0069] Then, from the two scanned images, two output values ​​for the same pixel are obtained, in other words, two output values ​​for the same specific location 40 are obtained. More specifically, for the same specific location 40, both the output value output from the light receiving element 32A when light is irradiated from the third light source 83 and the output value output from this light receiving element 32A when light is irradiated from the fourth light source 84 are obtained.

[0070] In other words, two output values ​​are obtained for each identical pixel location (x, y) in each scanned image. In this embodiment, the output value obtained from one scanned image is defined as D_75(x, y), and the output value obtained from the other scanner image is defined as D_-75(x, y). Here, the numerical value "75" indicates the angle of incidence of light from the third light source 83 (see FIG. 7(A)) toward the specific point 40 (specific point 40 located at the center) shown in FIG. 7(A). Also, the numerical value "-75" indicates the angle of incidence of light from the fourth light source 84 toward this specific point 40. Here, the specific location 40 shown in FIG. 7(A) (the specific location 40 located in the center) is located at the midpoint between the third light source 83 and the fourth light source 84.

[0071] Next, in this embodiment, the above output value (D_75) obtained when light is irradiated from the third light source 83 is associated with the incident angle of "+75°", and the above output value (D_-75) obtained when light is irradiated from the fourth light source 84 is associated with the incident angle of "-75°". Furthermore, in this embodiment, when the incident angle is ±180° with respect to the perpendicular line 70, the output value from the light receiving element 32A becomes zero, so an output value of "0" is associated with an incident angle of "-180°", and an output value of "0" is associated with an incident angle of "+180°".

[0072] Next, the CPU 111 performs fitting, as described above, with the incident angle as an independent variable (eg, −180° to +180°) and the output value as a dependent variable (eg, 0 to 255). More specifically, CPU 111 performs fitting using a BRDF model (such as Cook-Torrance) or spline interpolation based on four incidence angles: -180°, -75°, +75°, and +180°, and four output values ​​corresponding to each of these four incidence angles.

[0073] More specifically, the CPU 111 performs, for example, a process of fitting a spline curve to the four output values. Next, a peak is extracted from the spline curve after fitting, and the independent variable (incident angle) corresponding to this peak is grasped as the incident angle on surface 40A of specific location 40 of interest. Then, based on the determined incident angle, CPU 111 obtains the normal angle (main scanning direction component) of surface 40A of specific portion 40. Specifically, similarly to the above, CPU 111 obtains half the value of the incident angle as the normal angle (main scanning direction component). The CPU 111 performs this process for each of all the specific locations 40, and obtains the normal angle (main scanning direction component) for each of the specific locations 40.

[0074] FIG. 7 shows a specific location 40 located at an intermediate position between the third light source 83 and the fourth light source 84. Here, for other specific locations 40 located away from this intermediate position, it is preferable to correct the above two output values ​​obtained and use the two corrected output values ​​to obtain the normal angle (main scanning direction component). Specifically, for example, when determining the normal angle (main scanning direction component) for a specific location 40 located at the position indicated by symbol 7K in Figure 7(A), it is preferable to correct one or both of the two output values ​​obtained for this specific location 40, and then determine the normal angle based on the two corrected output values.

[0075] For a specific location 40 located away from the intermediate position, the angle between the optical path of light traveling from the installation location of the third light source 83, which is an example of the third location, to this specific location 40 and the support surface 11D is different from the angle between the optical path of light traveling from the installation location of the fourth light source 84, which is an example of the fourth location, to this specific location 40 and the support surface 11D. In this case, even if surface 40A of this specific location 40 is horizontal and the normal angle would normally be output as 0°, there is a risk that the normal angle will be output as a value other than 0° due to the difference in the angle. For this reason, as described above, it is preferable to correct the two output values ​​output from the light receiving element 32A and determine the normal angle based on the two corrected output values.

[0076] More specifically, when making the correction, the CPU 111 makes a correction to increase the output value output from the light receiving element 32A when light is irradiated to the specific location 40 from the installation location that forms the smaller angle between the two installation locations, and / or to decrease the output value output from the light receiving element 32A when light is irradiated to the specific location 40 from the installation location that forms the larger angle. Then, the CPU 111 determines the normal angle based on the two output values ​​after this correction, using the method described above (the above method using spline interpolation or the like).

[0077] In this embodiment, the positional relationship between the third light source 83, the fourth light source 84, and the specific location 40 changes depending on the position of the specific location 40 in the main scanning direction. In this case, even if the normal angle of a specific location 40 is originally 0°, if this specific location 40 is close to either the third light source 83 or the fourth light source 84, there is a risk that the normal angle will be other than 0°. For this reason, in this embodiment, as described above, one or both of the two output values ​​are corrected so as to reduce the influence of the angle, and the normal angle is determined based on the two corrected output values.

[0078] (output value correction) The correction of the output value will now be described in more detail. In this embodiment, before correcting the above two output values, the reading unit 12 is moved to a position facing a white reference plate 71 (see FIG. 1). Next, third light source 83 is turned on, and light is irradiated onto each of the multiple pixels constituting reference plate 71 from the lower right direction, thereby obtaining a scan image of one eye (a scan image of one line). Next, the fourth light source 84 is turned on, and light is irradiated onto each of the multiple pixels constituting the reference plate 71 from the lower left direction, thereby obtaining a scan image of two eyes (a scan image for one line). The two scanned images are then grayscaled in this embodiment.

[0079] Then, two output values ​​are obtained for the same pixel from the two scanned images, or in other words, two output values ​​are obtained for each of the same pixels. More specifically, for the same pixel, both the output value output from the light receiving element 32A when light is irradiated from the third light source 83 and the output value output from this light receiving element 32A when light is irradiated from the fourth light source 84 are obtained.

[0080] Then, the CPU 111 generates correction parameters based on these two output values. Specifically, the CPU 111 generates correction parameters that make these two output values ​​closer to each other. More specifically, the CPU 111 generates the correction parameters corresponding to each of the multiple light receiving elements 32A provided, associates the correction parameters with the corresponding light receiving elements 32A, and registers the correction parameters in a memory (not shown).

[0081] In this embodiment, when two output values ​​are obtained from each of the multiple light receiving elements 32A, as described above, the correction parameters registered in association with the light receiving element 32A are read and acquired. Then, the two output values ​​obtained by the light receiving element 32A are corrected using the correction parameters. This results in two output values ​​that are not affected by the angle described above. Thereafter, the CPU 111 uses the method described above (the above method using spline interpolation or the like) to determine the normal angle (main scanning direction component) based on these two corrected output values.

[0082] Here, the normal angle is determined based on the two corrected output values ​​using spline interpolation or the like, but this is not limited to the above, and the normal angle may be determined based on the ratio of the two corrected output values. For example, if the ratio of the two corrected output values ​​is 50:50, the CPU 111 determines that the normal angle is 0°. Furthermore, if the ratio of the two corrected output values ​​is other than 50:50, the CPU 111 determines that the normal angle is a value other than 0°.

[0083] (Tilt information output) As described above, the CPU 111 obtains the component of the normal angle in the sub-scanning direction (sub-scanning direction component) and the component of the normal angle in the main scanning direction (main scanning direction component). Next, the CPU 111 obtains a tangent vector Nx=(1,0,X') in the sub-scanning direction based on the sub-scanning direction components, and obtains a tangent vector Ny=(0,1,Y') in the main scanning direction based on the main scanning direction components.

[0084] Next, the CPU 111 obtains a three-dimensional normal vector N by calculating the cross product of these two tangent vectors. In this embodiment, the CPU 111 further calculates the norm of this three-dimensional normal vector N and normalizes the three-dimensional normal vector N (n=N / |N|). Next, the CPU 111 adds 1 to each component of n, divides it by 2, and further multiplies it by 255 to obtain values ​​corresponding to each of the X, Y, and Z components. Then, the CPU 111 outputs these values ​​(three values) corresponding to the XYZ components, respectively, in a data format in which the three values ​​are arranged side by side.

[0085] In this embodiment, the tilt information is output in a data format in which three values ​​are arranged in a row. More specifically, in this embodiment, the tilt information is output in a data format used when color information is output. In this embodiment, as described above, color information, which is information about the color of the measurement object, is obtained by the image reading device 1, and this color information is output from the image reading device 1 in a predetermined data format. In this embodiment, the gradient information is output in this predetermined data format that is used when the color information is output.

[0086] More specifically, in this embodiment, the color information is output in a data format in which three RGB values ​​are arranged consecutively, and the gradient information is also output in a format in which three values ​​are arranged consecutively. More specifically, when outputting the tilt information, the tilt information is output in a format in which three values ​​are arranged: the X component (the component of the normal angle in the sub-scanning direction), the Y component (the component of the normal angle in the main scanning direction), and the Z component (the component of the normal angle in the direction perpendicular to both the main scanning direction and the sub-scanning direction).

[0087] In this way, when the tilt information is output in the data format used when color information is output, other computers that obtain this tilt information can display the degree of tilt of each specific location 40 using different colors without the need for special software. In other words, if the tilt information is output in the data format used when color information is output, other computers that receive this tilt information can display the normal map without having to prepare special software. More specifically, in another computer that acquires the tilt information, the degree of tilt of each particular portion 40 can be displayed using color by using software that visually displays the color of each pixel based on the RBG values.

[0088] (Lighting process flow) FIG. 8 is a diagram showing a flow of a process for turning on the light source provided in the reading unit 12. As shown in FIG. In the process of this embodiment, first, as shown in Fig. 8(A), the reading unit 12 is moved in the sub-scanning direction with the first point light source array 16 turned on. As a result, light is irradiated onto the specific location 40 from the left side in the figure. Next, in this embodiment, as shown in Fig. 8(B), the reading unit 12 is moved in the sub-scanning direction while the second point light source array 18 is turned on. As a result, light is irradiated onto the specific location 40 from the right side in the figure.

[0089] In this embodiment, the specific location 40 is irradiated with light in this manner from a plurality of locations that are different from one another in one direction indicated by the arrow 8X (see FIGS. 8A and 8B). More specifically, in this embodiment, a first point light source 16A and a second point light source 18B are essentially provided, which are located at different positions in one direction, and the first point light source 16A and the second point light source 18B are turned on in sequence, so that light is sequentially irradiated to a specific location 40 from multiple locations which are located at different positions in one direction.

[0090] Next, in this embodiment, as shown in Fig. 8C, the reading unit 12 is moved in the sub-scanning direction while the third light source 83 is turned on. As a result, for example, the specific location 40 is irradiated with light from the upper side in the figure. Next, in this embodiment, as shown in Fig. 8(D), the reading unit 12 is moved in the sub-scanning direction while the fourth light source 84 is turned on. As a result, for example, the specific location 40 is irradiated with light from the lower side in the figure.

[0091] When the third light source 83 and the fourth light source 84 are turned on in sequence, light is sequentially irradiated onto the specific location 40 from multiple locations that are different from each other in a direction (direction indicated by arrow 8Y) that intersects (is perpendicular to) the above-mentioned direction (direction indicated by arrow 8X). In this embodiment, a third light source 83 and a fourth light source 84 are provided at different positions in a direction intersecting the one direction. In this embodiment, the third light source 83 and the fourth light source 84 are turned on in sequence. As a result, light is irradiated to the specific location 40 in sequence from a plurality of locations that are different from one another in the intersecting direction. By the above lighting process, in this embodiment, the specific location 40 is irradiated with light from four different directions.

[0092] Thereafter, as described above, in this embodiment, the sub-scanning direction component and the main scanning direction component are acquired for each specific portion 40. Then, as described above, a three-dimensional normal vector N is obtained based on the sub-scanning direction component and the main scanning direction component. In this embodiment, an example has been described in which the light sources are turned on in the order of the first point light source array 16, the second point light source array 18, the third light source 83, and the fourth light source 84. However, the order in which the light sources are turned on is not limited to this, and the light sources may be turned on in other orders.

[0093] For example, the third light source 83 and the fourth light source 84 may be turned on first, and then the first point light source array 16 and the second point light source array 18 may be turned on second. In addition, after turning on one of the first point light source array 16 and the second point light source array 18, one of the third light source 83 and the fourth light source 84 may be turned on, then the other of the first point light source array 16 and the second point light source array 18 may be turned on, and then the other of the third light source 83 and the fourth light source 84 may be turned on. In addition, after turning on one of the third light source 83 and the fourth light source 84, one of the first point light source array 16 and the second point light source array 18 may be turned on, then the other of the third light source 83 and the fourth light source 84 may be turned on, and then the other of the first point light source array 16 and the second point light source array 18 may be turned on.

[0094] (Other configuration examples) FIG. 9 is a diagram showing another example of the configuration of the reading unit 12. In FIG. In this configuration example, a first mirror M1 as an example of a light reflecting member is provided on the side 206 of the installation location of the third light source 83 (hereinafter sometimes referred to as the "third location 203"), which is located on the opposite side of the third location 203 from the installation side of the fourth light source 84. The first mirror M1 reflects the light from the third light source 83 toward the supporting surface 11D and toward the third light source 83 side.

[0095] In addition, in this configuration example, a second mirror M2 as an example of a light reflecting member is provided on the side 207 of the installation location of the fourth light source 84 (hereinafter sometimes referred to as the "fourth location 204"), which is located on the opposite side of the fourth location 204 from the installation side of the third light source 83. The second mirror M2 reflects the light from the fourth light source 84 toward the support surface 11D and toward the fourth light source 84 side.

[0096] In this way, by providing mirrors (first mirror M1, second mirror M2) on the sides of the location where the light source is installed, it is possible to increase the number of specific locations 40 where the main scanning direction components can be obtained. In this embodiment, it is necessary to irradiate light onto the specific location 40 from diagonally below, and if the first mirror M1 and the second mirror M2 are not provided, the main scanning direction component can be obtained for the specific location 40 located within the area indicated by the symbol 9A, for example.

[0097] In contrast, by providing a first mirror M1 and a second mirror M2 as in this embodiment, it becomes possible to irradiate light from diagonally below, for example, the location indicated by reference symbol 9B, and the main scanning direction component can also be obtained for the specific location 40 located at the location indicated by reference symbol 9B. In addition, in Figure 9, an example is described in which mirrors are provided on both the side of the third light source 83 and the side of the fourth light source 84, but a mirror may be provided on only one of the sides of the third light source 83 and the fourth light source 84.

[0098] (Other configuration examples) FIG. 10 is a diagram showing another example of the configuration of the reading unit 12. In FIG. In this configuration example, a plurality of light sources located at different positions in the main scanning direction are provided in each of the third location 203 and the fourth location 204. In other words, in this configuration example, a light source is added inside the third light source 83 and the fourth light source 84 shown in FIG. More specifically, in this embodiment, a first additional light source 83A is provided inside the third light source 83, and a second additional light source 84A is provided inside the fourth light source 84.

[0099] Here, in this configuration example, when irradiating light to a specific location 40 located within the area indicated by the symbol 10A on the third location 203 side, the third light source 83 and the second additional light source 84A are turned on in sequence. In addition, in this configuration example, when irradiating light to a specific location 40 located within the area indicated by the symbol 10B on the side of the fourth location 204, the fourth light source 84 and the first additional light source 83A are turned on in sequence. When the specific portion 40 located at the intermediate position between the third portion 203 and the fourth portion 204 is irradiated with light, the third light source 83 and the fourth light source 84 are turned on.

[0100] In this embodiment, for a specific location 40 that is closer to one of the third light source 83 and the fourth light source 84, the angle between the optical path of the light from the other light source toward the specific location 40 and the support surface 11D is small. If this angle is too small, there is a risk that the accuracy of acquiring the main scanning direction component will decrease. In contrast, in the present embodiment, by turning on an additional light source located on the opposite side to the side to which the specific location 40 is located, the decrease in the above-mentioned angle is suppressed, and the decrease in the accuracy of obtaining the components in the main scanning direction is suppressed. In this embodiment, an additional light source is provided at each of the installation locations of the third light source 83 and the fourth light source 84, but an additional light source may be provided at only one of the installation locations of the third light source 83 and the fourth light source 84.

[0101] (Other configuration examples) 11 is a diagram showing another example of the configuration of the scanner device 10. Note that Fig. 11 shows the state when the top surface of the scanner device 10 is viewed from the direction indicated by the arrow XI in Fig. 1. In this configuration example, a reference member 300 is provided that is arranged along the movement direction of a reading unit 12 (not shown in FIG. 11), which is an example of a moving body. The reference member 300 is attached to the inner surface of the device frame 14. In this configuration example, the reference member 300 is located within a reading area 32X along the main scanning direction by the sensor 32 (see FIG. 3), and the reference member 300 is read by the sensor 32.

[0102] The portion of the reference member 300 that is read by the sensor 32 is colored white. When the reference member 300 is read by the sensor 32 , the light source array and light source provided in the reading unit 12 irradiate the reference member 300 with light. More specifically, in this embodiment, as described above, when irradiating the specific location 40 with light, the first point light source array 16, the second point light source array 18, the third light source 83, and the fourth light source 84 are turned on in sequence, and when turning them on, light is irradiated from each of the light source arrays and the light source to the reference member 300. In addition, at this time, reflected light from the reference member 300 is directed toward the sensor 32.

[0103] The reference member 300 is used to grasp the fluctuation of the light emitted from the light source array and the light source. In this embodiment, as shown in FIG. 8, the reading unit 12 is moved a number of times, and each time the reading unit 12 moves, the reference member 300 is read in addition to the measurement object. In this configuration example, based on the result of reading the reference member 300, the output value (the output value used to grasp the normal angle) output from each of the light receiving elements 32A is corrected.

[0104] Specifically, in this embodiment, the fluctuations in the color and amount of light emitted from each of the light source arrays and light sources are grasped from the reading results of the reference member 300, and the output values ​​output from each of the light receiving elements 32A are corrected so as to reduce the effect of these fluctuations on the reading of the specific location 40. This prevents the output value from varying depending on the position of the reading unit 12 in the sub-scanning direction, and prevents a decrease in the accuracy of obtaining the sub-scanning direction component and main scanning direction component caused by this variation.

[0105] Second Embodiment 12(A) to (D) are diagrams showing the basic processing flow of the second embodiment. In this embodiment, the third light source 83 and the fourth light source 84 are not provided. In this embodiment, as shown in FIG. 12(A), in a state where one point light source 98 included in the first point light source array 16 is turned on, the reading unit 12 is moved in the sub-scanning direction in the same manner as described above. As a result, as shown in FIG. 12(A), light is irradiated onto the specific location 40 from the upper left direction of the specific location 40.

[0106] 12B, the reading unit 12 is moved in the sub-scanning direction while the other point light source 98 included in the first point light source array 16 is turned on. As a result, light is irradiated onto the specific location 40 from the lower left direction of the specific location 40. 12C, the reading unit 12 is moved in the sub-scanning direction while one point light source 98 included in the second point light source array 18 is turned on. As a result, the specific location 40 is irradiated with light from the upper right direction of the specific location 40. Here, when comparing the positions in the main operation direction, the position of the above-mentioned one point light source 98 (point light source 98 indicated by reference symbol 12A in FIG. 12(A)) included in the first point light source array 16 coincides with the position of this one point light source 98 included in the second point light source array 18.

[0107] 12(D), the reading unit 12 is moved in the sub-scanning direction while the other point light source 98 included in the second point light source array 18 is turned on. As a result, light is irradiated onto the specific location 40 from the lower right direction of the specific location 40. Here, when comparing the positions in the main operation direction, the position of the other point light source 98 included in the first point light source array 16 (point light source 98 indicated by reference symbol 12B in FIG. 12(B)) coincides with the position of this other point light source 98 included in the second point light source array 18.

[0108] Furthermore, when light is irradiated onto a specific location 40 from the point light sources 98 included in the first point light source array 16 and the second point light source array 18, if total reflection is likely to occur within each of the first point light source array 16 and the second point light source array 18, it becomes difficult to irradiate light onto the specific location 40 from an oblique direction as described above. Specifically, if total reflection is likely to occur within each of the first point light source array 16 and the second point light source array 18, then light will be mainly emitted from each of the first point light source array 16 and the second point light source array 18 along the sub-scanning direction, and light will be less likely to be emitted obliquely toward the specific location 40.

[0109] More specifically, in each of the first point light source array 16 and the second point light source array 18, a transparent guide member (not shown) for guiding this light may be provided at a position opposite the point light source 98 and on the optical path of the light traveling from the point light source 98 to the specific location 40. When such a guide member is provided, total reflection occurs on the surface of the guide member that faces the point light source 98, making it difficult for light traveling obliquely toward the specific location 40 to be emitted. In cases where total reflection is likely to occur in this way, it is preferable to remove the guide member, attach a moth-eye film, or install an LCF (light control film) or the like to prevent total reflection from occurring.

[0110] In this embodiment, too, the CPU 111 sequentially turns on one point light source 98 included in the first point light source array 16 (hereinafter referred to as the "first point light source 98A") and another point light source 98 included in the second point light source array 18 (hereinafter referred to as the "second point light source 98B"), as shown in Figures 12(A) and (D). As a result, light is sequentially irradiated onto the specific point 40 from a plurality of points that are different from one another in one direction, as indicated by reference numeral 12X in FIGS. 12(A) and 12(D). Here, in this embodiment, the "one direction" is a direction that intersects with both the sub-scanning direction and the main scanning direction.

[0111] In addition, the CPU 111 sequentially turns on the other point light source 98 included in the first point light source array 16 (hereinafter referred to as the "third point light source 98C") and the other point light source 98 included in the second point light source array 18 (hereinafter referred to as the "fourth point light source 98D"). As a result, light is sequentially irradiated onto the specific location 40 from a plurality of locations that are different from one another in a direction intersecting the one direction.

[0112] A first point light source 98A included in the first point light source array 16 and a second point light source 98B included in the second point light source array 18 are positioned differently in the main scanning direction. In this embodiment, the third point light source 98C is located closer to the second point light source 98B than the first point light source 98A in the main scanning direction, and the fourth point light source 98D is located closer to the first point light source 98A than the second point light source 98B in the main scanning direction.

[0113] The CPU 111 of this embodiment turns on the first point light source 98A and the second point light source 98B in sequence, and sequentially irradiates the specific location 40 with light from a plurality of locations that are different from each other in one direction. In addition, the CPU 111 sequentially turns on a third point light source 98C, which is located closer to the second point light source 98B than the first point light source 98A, and a fourth point light source 98D, which is located closer to the first point light source 98A than the second point light source 98B, to sequentially irradiate light to the specific location 40 from multiple locations whose positions are different from each other in a direction intersecting one direction.

[0114] As a result, in this case as well, it becomes possible to irradiate the specific location 40 with light from four directions, and two sets of two output values ​​are obtained in the same manner as above. In this case, as above, the component corresponding to the sub-scanning direction component can be obtained based on the first set of two output values, and the component corresponding to the main scanning direction component can be obtained based on the second set of two output values.

[0115] In the basic processing shown in FIG. 12, a case has been described in which only one point light source 98 is turned on when each of the first point light source array 16 and the second point light source array 18 is turned on once. Here, from the viewpoint of efficiency, it is more preferable to light up a plurality of point light sources 98 in each of the first point light source array 16 and the second point light source array 18. Specifically, for example, as shown in (A) and (B) of Figure 13 (a diagram showing another lighting state of the light source) and (C) and (D) of Figure 14 (a diagram showing another lighting state of the light source), when each of the first point light source array 16 and the second point light source array 18 is turned on, it is preferable to turn on multiple point light sources 98.

[0116] In the example shown in FIGS. 13 and 14, a plurality of specific locations 40 are set. As shown in FIG. 13(A), the specific locations 40 are set so as to be different from one another in the main scanning direction. In this case, the CPU 111 turns on every other point light source 98 included in the first point light source array 16 in the first lighting operation, as shown in Fig. 13(A). As a result, in this case, light is irradiated onto each of the specific locations 40 from the upper left direction or the lower left direction.

[0117] Next, in the second lighting, the CPU 111 lights every other point light source 98 among the point light sources 98 included in the first point light source array 16, which are different from the point light sources 98 that were turned on in the first lighting, as shown in FIG. 13(B). More specifically, in this case, the CPU 111 turns on the point light sources 98 located between the point light sources 98 that were turned on the first time. As a result, in this case, light is irradiated from the upper left direction or the lower left direction to each of the specific locations 40. More specifically, in this case, light is irradiated to the specific locations 40 from the upper left direction or the lower left direction, which is different from the irradiation direction when the light is turned on the first time.

[0118] Next, the CPU 111 performs a third lighting operation. In this third lighting operation, every other point light source 98 included in the second point light source array 18 is turned on, as shown in Fig. 14(C). As a result, in this case, each of the specific locations 40 is irradiated with light from the upper right direction or the lower right direction. Next, the CPU 111 performs a fourth lighting. In this fourth lighting, as shown in Fig. 14(D), every other point light source 98 different from the point light source 98 turned on in the third lighting is turned on. More specifically, in this case, the CPU 111 turns on the point light sources 98 located between the point light sources 98 turned on in the third lighting.

[0119] As a result, in this case, light is irradiated from the upper right direction or the lower right direction to each of the specific locations 40. More specifically, in this case, light is irradiated to the specific locations 40 from the upper right direction or the lower right direction, which is different from the irradiation direction when the light was turned on the third time. As a result, in this irradiation example as well, each of the specific locations 40 is irradiated with light from four directions.

[0120] In the examples shown in Figures 13 and 14, as shown in Figures 13(A) and 14(D), the multiple point light sources 98 included in the first point light source array 16 and the multiple point light sources 98 included in the second point light source array 18 are turned on in sequence, and light is irradiated from multiple locations that are different from one another in one direction (the direction indicated by arrow 13X) to each of the multiple specific locations 40. Here, this "one direction" is a direction that intersects both the main scanning direction and the sub-scanning direction.

[0121] In addition, in this example shown in Figures 13 and 14, as shown in Figures 13(B) and 14(C), a plurality of other point light sources 98 different from the above-mentioned plurality of point light sources 98 included in the first point light source array 16 are turned on, and then a plurality of other point light sources 98 different from the above-mentioned plurality of point light sources 98 included in the second point light source array 18 are turned on in sequence. As a result, the plurality of specific locations 40 are each irradiated with light from a plurality of locations that are different from one another in a direction intersecting the one direction described above. As a result, in this case as well, each of the multiple specific locations 40 is irradiated with light from four directions.

[0122] Furthermore, if there are any specific locations 40 remaining that have not been irradiated with light from four directions after the light sources have been turned on four times as described above, the point light sources 98 that have not yet been lit are further turned on, and light is irradiated from four directions to each of the specific locations 40 that have not yet been irradiated with light.

[0123] However, depending on the positional relationship between the specific location 40 and the two point light sources 98 that irradiate light to this specific location 40, for example, the specific location 40 may not be located on the line connecting the two point light sources 98, which may result in the two output values ​​differing from each other, as described above. In other words, even if the surface 40A of the specific point 40 is aligned along the horizontal direction, depending on the positional relationship between the specific point 40 and the two point light sources 98, a situation may arise in which the two output values ​​differ from each other.

[0124] FIG. 15 is a diagram showing the light source and the specific location as viewed from above. In the configuration of this embodiment, as shown in FIG. 15, there may be cases where the specific location 40 is not located on the line connecting the two point light sources 98. In this case, the angle θ between a first orientation 17A when the first point light source 98A is viewed from a perpendicular line 17E and a second orientation 17B when the second point light source 98B is viewed from this perpendicular line 17E is other than 180°.

[0125] More specifically, assuming a perpendicular line 17E to the support surface 11D (see Figure 3) that passes through a specific location 40, the angle θ between the orientation 17A when the first point light source 98A is viewed from this perpendicular line 17E and the orientation 17B when the second point light source 98B is viewed from this perpendicular line 17E is other than 180°. Similarly, in this case, the angle between the direction when the third point light source 98C is viewed from the perpendicular line 17E and the direction when the fourth point light source 98D is viewed from the perpendicular line 17E is also other than 180°. In this case, the two output values ​​may differ from each other.

[0126] Therefore, in this case too, it is preferable to correct the two output values ​​in the same manner as above. In other words, when the angle θ between the orientation when the first point light source 98A is viewed from the perpendicular line 17E and the orientation when the second point light source 98B is viewed from the perpendicular line 17E is other than 180°, it is preferable to correct the two output values ​​output from the light receiving element 32A. Similarly, when the angle between the orientation when the third point light source 98C is viewed from the perpendicular line 17E and the orientation when the fourth point light source 98D is viewed from the perpendicular line 17E is other than 180°, it is preferable to correct the two output values ​​output from the light receiving element 32A.

[0127] More specifically, in this case, it is preferable to associate a correction parameter with each of the light receiving elements 32A, and to correct the two output values ​​obtained by the light receiving elements 32A with the correction parameters.

[0128] To generate the correction parameters, similarly to the above, the output value of the light receiving element 32A is obtained when the reference plate 71 is read with the first point light source 98 turned on. Also, the output value of the light receiving element 32A is obtained when the reference plate 71 is read with the second point light source 98 located on the opposite side of the specific location 40 from the first point light source 98 turned on. Then, based on the two obtained output values, a correction parameter is generated so that the two output values ​​approach each other, and the correction parameter is registered in a state associated with the light receiving element 32A.

[0129] More specifically, in this embodiment as well, two sets of two output values ​​are obtained from one light receiving element 32A. In this embodiment, a correction parameter is generated based on the first set of two output values ​​obtained when the reference plate 71 is read, and this correction parameter is associated with this light receiving element 32A and the two point light sources 98 that are turned on when the two output values ​​are obtained. In addition, correction parameters are generated based on the second set of two output values ​​obtained when the reference plate 71 is read, and these correction parameters are associated with the light receiving element 32A and the two point light sources 98 that were turned on when the two output values ​​were obtained.

[0130] Third embodiment 16A and 16B are diagrams showing a lighting process of the light source in the third embodiment. Note that, in the third embodiment, similarly to the second embodiment, the third light source 83 and the fourth light source 84 are not provided. Further, while each of Figures 16(A) and (B) shows a state in which one point light source 98 is turned on, in this embodiment, when the first point light source array 16 and the second point light source array 18 are turned on, all of the point light sources 98 included in each of the first point light source array 16 and the second point light source array 18 are turned on. As a result, in this case, the light along the sub-scanning direction is irradiated onto each of the multiple specific locations 40 arranged in the main scanning direction. In other words, although only one specific location 40 is shown in Fig. 16, in reality, the light along the sub-scanning direction is irradiated onto each of the multiple specific locations 40.

[0131] In this embodiment, the CPU 111 moves the reading unit 12 while turning on the first point light source array 16 as shown in Fig. 16(A). Next, the CPU 111 moves the reading unit 12 while turning on the second point light source array 18 as shown in Fig. 16(B). In this embodiment, the CPU 111 acquires the sub-scanning direction component for each of the specific locations 40 using the method described above.

[0132] In this embodiment, as shown in Figures 16(A) and (B), a light guide member 500 is provided between the first point light source array 16 and the specific location 40, and between the second point light source array 18 and the specific location 40. The light guide member 500 guides the light emitted from the first point light source array 16 and the second point light source array 18 so that only the light component along the sub-scanning direction is directed toward the specific location 40 .

[0133] In this manner, by providing the light guide member 500, light having a component along the main scanning direction is less likely to head toward the specific location 40, and the accuracy of acquiring the sub-scanning direction component is improved. The light guide member 500 is, for example, an LCF (Light Control Film) or a Fresnel lens having curvatures on both sides. The light guide member 500 is not essential and may be omitted.

[0134] FIG. 17 is a diagram of the measurement target on the support surface 11D as viewed from the direction indicated by the arrow XVII in FIG. When the CPU 111 acquires the sub-scanning direction component for each of the specific locations 40, the CPU 111 acquires height information for each of the specific locations 40 based on the acquired sub-scanning direction component. More specifically, the CPU 111 acquires height information about each of the specific points 40 included in each row R in which a plurality of specific points 40 are arranged along the sub-scanning direction as shown in FIG.

[0135] More specifically, the CPU 111 acquires height information for each of the specific points 40 included in each row R, for each row R, based on the sub-scanning direction component obtained for each of the specific points 40. More specifically, in FIG. 17, a first column R1, a second column R2, and a third column R3 are displayed, and for each of these columns R, information is obtained regarding the height of each of the specific locations 40 contained in each column.

[0136] FIG. 18 is a diagram showing the heights of the specific points 40 when the first row R1 and the second row R2 are viewed from the direction indicated by the arrow XVIII in FIG. In this embodiment, as indicated by reference numeral 18A in the drawing, information on the inclination of each of the specific points 40 is obtained. More specifically, in this embodiment, a sub-scanning direction component is obtained as information on the inclination of each of the specific points 40.

[0137] In this embodiment, the CPU 111 uses the sub-scanning direction component to grasp the height of each of the portions (each of the specific portions 40) constituting the surface of the measurement object. Specifically, as shown by the symbol 18B, when the direction determined by the sub-scanning direction component for a certain specific point 40 is diagonally upward and to the left, the CPU 111 determines that the specific point 40 (hereinafter referred to as the "right-adjacent point 40F") located one position away from this specific point 40 (hereinafter referred to as the "left-adjacent point 40E") is higher than this left-adjacent point 40E.

[0138] In this case, the CPU 111 determines the inclination angle of the adjacent left portion 40E based on the sub-scanning direction component, and determines the specific height of the adjacent right portion 40F based on this inclination angle. More specifically, CPU 111 determines the inclination angle of left adjacent point 40E based on the sub-scanning direction component, and determines the height difference between left adjacent point 40E and right adjacent point 40F based on this inclination angle. CPU 111 then adds this height difference to the height of left adjacent point 40E to determine the specific height of right adjacent point 40F.

[0139] The CPU 111 performs this process for each column R in sequence, starting from the specific point 40 located at the leftmost position in FIG. 17 (specific point 40 located at “position 1”) toward the right, and obtains height information for each specific point 40. In other words, the CPU 111 grasps the height of each of the specific points 40 from the left end of each row R toward the right for each row R along the sub-scanning direction. More specifically, for each row R in which specific locations 40 are arranged along the sub-scanning direction, the CPU 111 performs integration processing based on information about the inclination of the specific locations 40, and sequentially acquires information about the height of each of the specific locations 40 included in each row.

[0140] More specifically, the CPU 111 sets, for example, a side edge 600 (see FIG. 17) of the measurement object as a reference height, and sets this reference height to, for example, 0. Then, the CPU 111 uses this 0 as a reference and acquires information about the height of each of the specific points 40 arranged in a direction away from this reference, based on the sub-scanning direction component. The height reference is not limited to the side edge 600, but a white reference plate 71 (see FIG. 1) provided at the bottom of the guide member 68 may be used as the height reference, and height information may be obtained based on the sub-scanning direction component for each of the specific points 40 arranged in a direction away from this reference. When the reference plate 71 is used as the height reference, the height at the location where the reference plate 71 is provided is set to, for example, 0. Then, the height difference (height difference obtained based on the sub-scanning direction component) obtained for each of the specific locations 40 arranged in a direction away from this reference is sequentially added to this 0 to obtain information on the height of each of the specific locations 40.

[0141] The example shown in Figure 18 illustrates a case in which the heights of three specific locations 40 included in the first column R1 (see also Figure 17) lined up to the right from the leftmost specific location 40 are determined. Moreover, the example shown in Figure 18 illustrates a case in which the heights of three specific locations 40 included in a second row R2 (see also Figure 17), which is a row located adjacent to the first row R1 in the main scanning direction, are grasped.

[0142] Then, in this embodiment, the CPU 111 acquires information about the surface inclination of the portion (hereinafter referred to as the "inter-portion portion 450") (see FIG. 17) located between two specific portions 40 adjacent to each other in the main scanning direction, based on the respective heights of the two specific portions 40, as shown by the symbol 19A in FIG. 19 (a diagram explaining the processing performed when acquiring the main scanning direction component). In other words, based on the respective heights of two specific locations 40 adjacent to each other in the main scanning direction, the CPU 111 acquires information corresponding to the above-mentioned main scanning direction components for the inter-part portion 450 located between the two specific locations 40.

[0143] More specifically, when acquiring this information corresponding to the main scanning direction component, the CPU 111 first obtains the difference in height between the two specific locations 40 adjacent to each other in the main scanning direction and the separation distance between the two specific locations 40 (the separation distance in a direction perpendicular to the height direction). Then, the CPU 111 obtains a value obtained by dividing this height difference by this separation distance as information on the inter-part portion 450 that corresponds to the main scanning direction component. Similarly, the CPU 111 also acquires information corresponding to the main scanning direction components (hereinafter simply referred to as "main scanning direction components") for each of the inter-part portions 450 located at other positions.

[0144] For example, if it is assumed that the portion indicated by reference symbol 17G in FIG. 17 (an example of a specific portion) is the specific portion 40 for which the main scanning direction components are to be obtained, the CPU 111 grasps the main scanning direction components for the two inter-part portions 450 (the two inter-part portions 450 indicated by reference symbols 17E and 17F) located on either side of this specific portion 40. Then, the CPU 111 calculates the average value of the grasped main scanning direction components (two main scanning direction components), and acquires this average value as the main scanning direction component of the specific location 40 denoted by reference numeral 17G.

[0145] Here, the average value of the main scanning direction components obtained for each of the two inter-part portions 450 is taken as the main scanning direction component of the specific location 40 located between the two inter-part portions 450, but the main scanning direction component of the specific location 40 is not limited to this average value. In addition to this, for example, one of the main scanning direction components of each of the two inter-part portions 450 described above may be associated with a specific location 40, and only this one main scanning direction component may be understood as the main scanning direction component of the specific location 40.

[0146] Thus, in this embodiment, the CPU 111 acquires information about the height of each of the parts that make up the surface of the object to be measured and are lined up in one direction, and also acquires information about the height of each of these parts for each row in which the parts are lined up in one direction. In this embodiment, the main scanning direction component for a specific location such as 40 indicated by the reference symbol 17G above is obtained based on information about the height of one portion included in one row and information about the height of another portion included in another row.

[0147] The height of each of the specific locations 40 may be corrected using the least squares method or the like to reduce the error of the height of each of the specific locations 40. Then, based on the corrected height of each of the specific locations 40, new sub-scanning direction components and new main scanning direction components may be obtained. In this embodiment, as described above, the main scanning direction component is obtained for each specific location 40, and in this case, this main scanning direction component can be used to obtain the height for each specific location 40 for each row along the main scanning direction. As a result, in this embodiment, two heights can be obtained for the same specific location 40. Specifically, a height obtained based on the sub-scanning direction component and a height obtained based on the main scanning direction component can be obtained. In this embodiment, calculation processing is performed using the least squares method or the like so as to minimize the difference between these two heights, and for each specific location 40, the height of the specific location 40 at which this difference is minimum is obtained. Then, based on this height obtained for each specific point 40 (the height of the specific point 40 when the difference is smallest), a new side-scanning direction component and a new main-scanning direction component are obtained. This allows the normal angle obtained for each specific point 40 to be more accurate.

[0148] In addition, for example, based on information about the heights of two specific locations 40 that are spaced apart from each other in the main scanning direction, information about the inclination of a specific location 40 located at an intermediate position between these two specific locations 40 may be obtained. More specifically, in this case, for example, as shown by reference numerals 17C and 17D in FIG. 17, two specific locations 40 that are spaced apart from each other in the main scanning direction are assumed.

[0149] In this case, a division is performed to divide the elevation difference between these two specific points 40 by the separation distance, and the value obtained by this division may be obtained as information about the slope of a specific point 40 (an example of an intermediate portion) located between these two specific points 40, such as the specific point 40 indicated by the symbol 17G above. In addition, "a specific point 40 in an intermediate position" does not mean that the specific point 40 is located on the midpoint of a line segment connecting two specific points 40, but refers to a state in which the specific point 40 is located between two specific points 40, and even if the specific point 40 is not located on the midpoint, it falls under "a specific point 40 in an intermediate position."

[0150] 〔others〕 The above mainly describes the process for obtaining tilt information. In this case, as described above, the tilt information is obtained after removing color information by performing grayscaling or the like. In contrast, when obtaining color information of the object to be measured, for example, both the first point light source array 16 and the second point light source array 18 are turned on, and the reading unit 12 is moved to read the object to be measured. That is, when acquiring color information of the object to be measured, in addition to the scan for acquiring tilt information, both the first point light source array 16 and the second point light source array 18 are turned on and a scan for acquiring color information is performed.

[0151] More specifically, in the configuration shown in the first embodiment, the third light source 83 and the fourth light source 84 are not turned on, and the first point light source array 16 and the second point light source array 18 are both turned on, and the reading unit 12 is moved to acquire color information. In addition, in the configuration shown in the second embodiment, a process of turning on only some of the point light sources 98 is not performed, but rather, all of the point light sources 98 included in the first point light source array 16 and the second point light source array 18 are turned on, and the reading unit 12 is moved to acquire color information. Also, in the configuration shown in the third embodiment, the reading unit 12 is moved to acquire color information while all of the point light sources 98 included in the first point light source array 16 and the second point light source array 18 are turned on.

[0152] When reading is performed with both the first point light source array 16 and the second point light source array 18 turned on, shadows that may appear on the object to be measured can be suppressed, and the decrease in reading accuracy caused by these shadows can be prevented. The timing of reading to obtain color information is not particularly important, and reading may be performed before or after reading to obtain normal information.

[0153] In addition, in the above first embodiment, four light sources were installed, and in the second embodiment, control was performed to turn on only some of the light sources, and light was irradiated onto the specific location 40 from four directions. However, without being limited to this, for example, a light irradiation means capable of irradiating light from two directions may be rotated around a rotation axis that is perpendicular to the support surface 11D (see Figure 3) to irradiate light to a specific location 40 from four directions. Furthermore, for example, one light source may be moved around this rotation axis to irradiate light onto the specific location 40 from four directions.

[0154] In addition, in the configuration example shown in Figure 7, correction was performed on two output values ​​obtained when light is irradiated to a specific location 40 from each of the third location 203 and the fourth location 204, which are located at different positions in the main scanning direction, but the correction of the two output values ​​is not limited to this. For example, even when light is irradiated onto the specific location 40 from a plurality of locations that are different from each other in the sub-scanning direction, the two output values ​​obtained may be corrected by a method similar to that described above.

[0155] More specifically, in some cases, it is conceivable that the specific location 40 and the light receiving element 32A may be arranged side by side in the sub-scanning direction. In this case, as described above, the angle between the specific location 40 and the light source will differ depending on their relative positions, and the two output values ​​obtained may fluctuate. Even when light is irradiated onto specific location 40 from a plurality of locations that are different from one another in the sub-scanning direction, the accuracy of obtaining the sub-scanning direction component is improved by correcting the two output values ​​obtained.

[0156] Furthermore, when the specific location 40 and the light receiving element 32A are arranged side by side in the sub-scanning direction, a mirror may be provided on one or both sides of the two light sources that are arranged so that their positions in the sub-scanning direction are different from each other, as in the configuration example shown in Figure 9. As a result, in this case, light can be irradiated obliquely from below onto the specific location 40 over a wider range in the sub-scanning direction.

[0157] Furthermore, when the specific location 40 and the light receiving element 32A are arranged side by side in the sub-scanning direction, as in the configuration example shown in Figure 10, multiple light sources whose positions in the sub-scanning direction differ from each other may be installed at one or both of the installation locations of each of the two light sources that are arranged offset from each other in the sub-scanning direction.

[0158] Furthermore, as shown in FIG. 20 (a diagram showing another example configuration of the reading unit 12), the reading unit 12 may be provided with a third point light source array 20 in addition to the first point light source array 16 and the second point light source array 18. The third point light source array 20 is located downstream of the specific spot 40 in the movement direction of the reading unit 12, and irradiates light toward the specific spot 40 located upstream. Moreover, the angle θ3 between the perpendicular line 70 and the optical path R13 of the light traveling from the third point light source array 20 toward the specific location 40 is 5°. However, this angle is not limited to this, and may be about 5° to 10°.

[0159] In an image reading device 1 equipped with this reading unit 12, in addition to moving the reading unit 12 with the first point light source array 16 turned on and the second point light source array 18 turned on, the reading unit 12 is also moved with the third point light source array 20 turned on. As a result, in this case, the above fitting can be performed based on each of the output values ​​corresponding to the five angles of incidence, including "+5°" (five output values), improving the accuracy of determining the normal angle.

[0160] In the above, fitting was performed based on each of the output values ​​(four output values) corresponding to the four incident angles of -180°, -45°, +45°, and +180°. However, if the third point light source array 20 is also turned on, the above fitting can be performed based on each of the five output values, improving the accuracy of determining the normal angle.

[0161] Furthermore, by installing a light source such as the third point light source array 20 that forms a small angle with the perpendicular line 70, it is possible to obtain not only a normal map but also a specular map. Furthermore, an albedo map can also be acquired by moving the reading unit 12 while both the first point light source array 16 and the second point light source array 18 are turned on. This makes it possible to acquire all components except for translucency, making the device a complete device for generating texture maps. [Explanation of symbols]

[0162] 1...image reading device, 11D...support surface, 12...reading unit, 12A...light irradiation section, 16...first point light source array, 16A...first point light source, 18...second point light source array, 18B...second point light source, 32A...light receiving element, 40...specific location, 83...third light source, 83A...first additional light source, 84...fourth light source, 84A...second additional light source, 98A...first point light source, 98B...second point light source, 98C...third point light source, 98D...fourth point light source, 111...CPU, 300...reference member, M1...first mirror, M2...second mirror

Claims

1. A light irradiation means for irradiating the object to be measured with light; A support surface for supporting the measurement object; a light receiving unit that receives reflected light from a specific portion of the object to be measured and outputs an output according to the intensity of the received reflected light; A processor that controls the light irradiating means and processes the output of the light receiving unit; A measuring device comprising: The processor, Irradiating the specific location with light from a plurality of locations that are different from each other in one direction; Irradiating the specific location of the object to be measured with light from a plurality of locations that are different from each other in a direction intersecting the one direction; and acquiring information on the inclination of the surface of the object to be measured based on an output of the light receiving unit based on the reflected light of the specific location in response to the irradiation of light from each of a plurality of locations in one direction by the light irradiating means, and an output of the light receiving unit based on the reflected light of the specific location in response to the irradiation of light from each of a plurality of locations in a direction intersecting the one direction. Measuring equipment.

2. 2. The measuring device according to claim 1, wherein the light irradiating means includes a first light source and a second light source located at different positions in the one direction, and a third light source and a fourth light source located at different positions in the intersecting direction.

3. The processor, The first light source and the second light source are turned on in sequence to irradiate the specific location with light from a plurality of locations that are different from each other in the one direction; The third light source and the fourth light source are turned on in sequence to irradiate the specific location with light from a plurality of locations that are different from each other in the intersecting direction.

3. The measuring device according to claim 2.

4. The processor, correcting an output value output from the light receiving unit when an angle formed between the support surface and light traveling from a first location included in the plurality of locations having mutually different positions in the one direction toward the specific location is different from an angle formed between the support surface and light traveling from a second location included in the plurality of locations toward the specific location; and / or correcting an output value output from the light receiving unit when an angle formed between the support surface and light traveling from a third location included in the plurality of locations, the third location being different from the other locations in the intersecting direction, to the specific location is different from an angle formed between the support surface and light traveling from a fourth location included in the plurality of locations to the specific location.

2. The measuring device of claim 1.

5. The processor, increasing an output value output from the light receiving unit when the specific location is irradiated with light from one of the first location and the second location that forms a smaller angle, and / or decreasing an output value output from the light receiving unit when the specific location is irradiated with light from the other location that forms a larger angle, and / or increasing an output value output from the light receiving unit when the specific location is irradiated with light from one of the third location and the fourth location which forms a smaller angle, and / or decreasing an output value output from the light receiving unit when the specific location is irradiated with light from the location which forms a larger angle.

5. The measuring device according to claim 4.

6. The vehicle further includes a moving body that moves in the one direction, The light irradiation means is provided on the moving body, 2. The measuring device according to claim 1, further comprising a reference member arranged along the one direction, the reference member being used for grasping fluctuations in light emitted from the light irradiation means when light is irradiated by the light irradiation means provided on the movable body.

7. A light reflecting member is further provided on a side of at least one of the first and second locations included in the plurality of locations having different positions in the one direction, the side being opposite to the side on which the other location is located across the one location, the light reflecting member reflecting light from the light source located at the one location toward the support surface side and toward the one location side; and / or a light reflecting member that reflects light from a light source located at one of the locations toward the support surface and toward the one of the locations is further provided on a side of at least one of the third location and the fourth location, the third location and the fourth location being included in the plurality of locations that are different from each other in the intersecting direction, the light reflecting member being provided on the side opposite to the side where the other of the locations is located ...

2. The measuring device of claim 1.

8. At least one of a first location and a second location included in the plurality of locations that are different from each other in the one direction is provided with a plurality of light sources that are different from each other in the one direction; and / or At least one of a third location and a fourth location included in the plurality of locations whose positions in the intersecting direction are different from each other is provided with a plurality of light sources whose positions in the intersecting direction are different from each other.

2. The measuring device of claim 1.

9. As the light irradiation means, a first point light source array and a second point light source array are provided, which are arranged along a common direction; The processor, a first point light source included in the first point light source array and a second point light source included in the second point light source array are sequentially turned on to irradiate the specific location with light from a plurality of locations that are different from each other in the one direction; a third point light source included in the first point light source array and a fourth point light source included in the second point light source array are sequentially turned on to irradiate the specific location with light from a plurality of locations that are different from each other in the intersecting direction; 2. The measuring device of claim 1.

10. The processor, The first point light source and the second point light source, which are located at different positions in the common direction, are sequentially turned on to irradiate the specific location with light from a plurality of points, which are located at different positions in the one direction; the third point light source located closer to the second point light source than the first point light source in the common direction and the fourth point light source located closer to the first point light source than the second point light source in the common direction are sequentially turned on to irradiate the specific location with light from a plurality of locations whose positions in the intersecting direction are different from each other; 10. The measuring device according to claim 9.

11. As the light irradiation means, a first point light source array and a second point light source array are provided, which are arranged along a common direction; a plurality of specific locations are set, and the plurality of specific locations are arranged such that their positions in the common direction are different from one another; The processor, Turning on a plurality of point light sources included in the first point light source array and a plurality of point light sources included in the second point light source array are sequentially performed, and light is irradiated from a plurality of points that are different from each other in one direction to each of the plurality of specific locations; a plurality of point light sources different from the plurality of point light sources included in the first point light source array and a plurality of point light sources different from the plurality of point light sources included in the second point light source array are sequentially turned on, and light is irradiated from a plurality of positions different from each other in a direction intersecting with the one direction to each of the plurality of specific locations.

2. The measuring device of claim 1.

12. The processor, correcting an output value output from the light receiving unit when an angle between an orientation when the first point light source is viewed from a perpendicular line that is perpendicular to the support surface and passes through the specific location and an orientation when the second point light source is viewed from the perpendicular line is other than 180°; and / or correcting an output value output from the light receiving unit when an angle formed between an orientation when the third point light source is viewed from a perpendicular line that is perpendicular to the support surface and passes through the specific location and an orientation when the fourth point light source is viewed from the perpendicular line is other than 180°; 10. The measuring device according to claim 9.

13. A light irradiation means for irradiating the object to be measured with light; A support surface for supporting the measurement object; a light receiving unit that receives reflected light from a specific portion of the object to be measured and outputs an output according to the intensity of the received reflected light; a computer that controls the light irradiating means and processes an output of the light receiving unit; and a program that is executed by the computer, the program being provided in a measuring device including the computer, A function of irradiating the specific location with light from a plurality of locations that are different from each other in one direction; A function of irradiating the specific location of the object to be measured with light from a plurality of locations that are different from each other in a direction intersecting the one direction; a function of acquiring information on the inclination of the surface of the object to be measured based on an output of the light receiving unit based on the reflected light of the specific location in response to the irradiation of light from each of a plurality of locations in one direction by the light irradiating means, and an output of the light receiving unit based on the reflected light of the specific location in response to the irradiation of light from each of a plurality of locations in a direction intersecting the one direction; A program for causing the computer to realize the above.

Citation Information

Patent Citations

  • Detector for angle of inclination of plane

    JP1982189005A

  • Image reading apparatus, and image forming apparatus

    JP2009124365A

  • Abnormal image detecting apparatus, image forming apparatus, abnormal image detecting method, image forming method, and program

    JP2011087109A

  • Image reader, image processing method and program

    JP2014003397A

  • Measuring device and method for controlling the same

    JP2014240830A