JP2018181233A - Image reader - Google Patents
Image reader Download PDFInfo
- Publication number
- JP2018181233A JP2018181233A JP2017084323A JP2017084323A JP2018181233A JP 2018181233 A JP2018181233 A JP 2018181233A JP 2017084323 A JP2017084323 A JP 2017084323A JP 2017084323 A JP2017084323 A JP 2017084323A JP 2018181233 A JP2018181233 A JP 2018181233A
- Authority
- JP
- Japan
- Prior art keywords
- thickness
- height
- height position
- range
- reading unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 claims abstract description 194
- 230000008569 process Effects 0.000 claims abstract description 193
- 238000001514 detection method Methods 0.000 claims abstract description 80
- 238000012545 processing Methods 0.000 claims description 85
- 230000008859 change Effects 0.000 claims description 15
- 230000004304 visual acuity Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 abstract description 4
- 230000032258 transport Effects 0.000 description 39
- 238000005520 cutting process Methods 0.000 description 28
- 239000000284 extract Substances 0.000 description 18
- 101100293191 Arabidopsis thaliana MYB35 gene Proteins 0.000 description 13
- 230000010354 integration Effects 0.000 description 7
- 239000011521 glass Substances 0.000 description 6
- 239000004744 fabric Substances 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 239000000463 material Substances 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 239000003086 colorant Substances 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 238000003708 edge detection Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Landscapes
- Controlling Sheets Or Webs (AREA)
- Image Input (AREA)
- Facsimile Scanning Arrangements (AREA)
Abstract
【課題】凹凸を有するシート部材を読み取るときに、エッジ画像が検出できない。【解決手段】 読取部と、シート部材を載置するマットと、移動部と、シート厚みを検出する検出部と、読取部の高さ位置を変更する高さ調整部と、制御部と、を備え、制御部は、シート部材の複数のシート厚みを検出させる検出処理と、第1厚み差分を算出する第1差分算出処理と、第1厚み差分が第2距離以下であるか否かを判断する第1厚み差分判断処理と、第1厚み差分が第2距離以下であるときに、複数のシート厚みが全て含まれる第1範囲に対応する読取部の高さ位置のうちの最も低い高さ位置に決定する第1決定処理と、第1厚み差分が第2距離より大きいときに、最小除去厚みに基づき決定される高さ位置に、決定する第2決定処理と、決定された高さ位置で、シート部材を読み取ることによりエッジ画像を生成させる読取処理と、を実行する。【選択図】図7PROBLEM TO BE SOLVED: To detect an edge image when reading a sheet member having unevenness. SOLUTION: A reading unit, a mat on which a sheet member is placed, a moving unit, a detection unit for detecting the sheet thickness, a height adjusting unit for changing the height position of the reading unit, and a control unit. The control unit determines whether or not the first thickness difference is equal to or less than the second distance, the detection process for detecting a plurality of sheet thicknesses of the sheet member, the first difference calculation process for calculating the first thickness difference, and the control unit. The lowest height among the height positions of the reading unit corresponding to the first range including all the plurality of sheet thicknesses when the first thickness difference determination process and the first thickness difference are the second distance or less. The first determination process for determining the position, the second determination process for determining the height position determined based on the minimum removal thickness when the first thickness difference is larger than the second distance, and the determined height position. Then, the reading process of generating an edge image by reading the sheet member is executed. [Selection diagram] FIG. 7
Description
本発明は、画像読取装置に関する。 The present invention relates to an image reading apparatus.
シート部材を載置したプラテンを移動させることにより、密着型イメージセンサを用いてシート部材を読み取る画像読取装置が知られている。 There is known an image reading apparatus for reading a sheet member by using a contact type image sensor by moving a platen on which the sheet member is placed.
特許文献1に記載の画像読取装置は、プラテンに載置されたシート部材の上面側に近接した状態で、プラテンを後部側へ移動させながらその載置されたシート部材の上面を読み取り、シート部材の模様を検出する。 The image reading device described in Patent Document 1 reads the upper surface of the placed sheet member while moving the platen to the rear side in a state close to the upper surface side of the sheet member placed on the platen. Detect the pattern of
また、特許文献2に記載の画像読取装置は、読取対象である原稿の厚みや種類によって焦点位置が変化すると判断した場合に、原稿が通過するコンタクトガラスに対して密着型イメージセンサの高さを上下させる。 Further, in the image reading apparatus described in Patent Document 2, when it is determined that the focal position changes depending on the thickness and type of the document to be read, the height of the contact type image sensor with respect to the contact glass through which the document passes Raise and lower.
特許文献2に記載の画像読取装置のように、原稿の厚みや種類によって焦点位置が変化すると判断した場合に、密着型イメージセンサの高さを上下させる構成を、シート部材を載置したプラテンを移動させることにより、シート部材を読み取る特許文献1に記載の画像読取装置に適用する場合について考える。 As in the image reading apparatus described in Patent Document 2, when it is determined that the focal position changes depending on the thickness and type of the document, the platen on which the sheet member is placed is configured to raise and lower the height of the contact type image sensor. A case where the present invention is applied to an image reading apparatus described in Patent Document 1 that reads a sheet member by moving it will be considered.
この場合における画像読取装置は、プラテンに載置されたシート部材を上方から読み取り、読み取ったシート部材の画像からエッジ画像を検出する。画像読取装置は、エッジ画像を検出するために、密着型イメージセンサとシート部材との距離が最も短い位置に焦点が合うように、密着型イメージセンサの高さを調整することが考えられる。しかしながら、シート部材として布の上に複数の素材を貼り付けた凹凸を有するシート部材である場合に、このようなシート部材を読み取るときに、密着型イメージセンサとシート部材との距離が最も短い位置に焦点が合うように、密着型イメージセンサの高さを調整すると、最も高い位置の凸部にのみ焦点が合っており、他の凸部や凹部には焦点が合わず、シート部材のエッジ画像が検出できないという問題が発生してしまう。 The image reading apparatus in this case reads the sheet member placed on the platen from above and detects an edge image from the read image of the sheet member. In order to detect an edge image, the image reading apparatus may adjust the height of the contact-type image sensor such that the position at which the distance between the contact-type image sensor and the sheet member is the shortest is in focus. However, in the case of a sheet member having a concavo-convex shape in which a plurality of materials are pasted on a cloth as a sheet member, when such a sheet member is read, the position where the distance between the contact image sensor and the sheet member is shortest. If the height of the contact image sensor is adjusted so that the image is in focus, only the convex portion at the highest position is in focus, and the other convex portions and concave portions are not in focus, and the edge image of the sheet member Problems occur that can not be detected.
そこで、本発明は上述した事情に鑑みてなされ、凹凸を有するシート部材を読み取るときでも、シート部材のエッジ画像を生成することができるように読取部の高さを調整することができる画像読取装置を提供することを目的とする。 Therefore, the present invention has been made in view of the above-described circumstances, and an image reading apparatus capable of adjusting the height of the reading unit so that an edge image of the sheet member can be generated even when reading a sheet member having irregularities. Intended to provide.
上記目的を達成するために、請求項1に記載の発明態様では、画像読取装置は、シート部材を読み取ることにより、エッジ画像を生成する読取部と、高さ方向における基準位置が定められ、シート部材を載置するマットと、高さ方向と直交する搬送方向に前記マットを前記読取部と対向する位置へ移動させる移動部と、高さ方向における前記マットに載置されたシート部材の厚みであるシート厚みを検出する検出部であって、前記シート厚みは前記基準位置から高さ方向におけるシート部材の上端位置までの距離である検出部と、高さ方向における前記読取部の高さ位置を前記基準位置に対して高さ方向に多段階に変更する高さ調整部と、制御部と、を備え、前記高さ調整部は、前記読取部の高さ位置を前記多段階のうちの各1段階変更するために、前記基準位置に対して高さ方向における前記読取部の位置を予め定められた第1距離変更し、前記読取部が第1所定値以上の解像力で読み取る第1範囲は、前記基準位置に対する高さ方向の距離の範囲であり、前記多段階の高さ位置にそれぞれ対応して多数定められ、前記第1範囲の上限値から前記第1範囲の下限値を引き算した焦点範囲がそれぞれ同じに定められ、前記制御部は、搬送方向に沿って前記マットを移動させながら複数の検出位置で前記マットに載置されたシート部材の複数のシート厚みを前記検出部に検出させる検出処理と、前記複数のシート厚みのうちの最も厚い厚みである最大厚みから前記複数のシート厚みのうちの最も薄い厚みである第1最小厚みを引き算した第1厚み差分を算出する第1差分算出処理と、前記第1厚み差分が第2距離以下であるか否かを判断する第1厚み差分判断処理であって、前記第2距離は、前記焦点範囲から前記第1距離を引き算した距離である第1厚み差分判断処理と、前記第1厚み差分が前記第2距離以下であるときに、前記多数の第1範囲のうちで前記複数のシート厚みが全て含まれる第1範囲に対応する前記読取部の高さ位置のうちの最も低い高さ位置に、前記読取部の高さ位置を決定する第1決定処理と、前記第1厚み差分が前記第2距離より大きいときに、前記複数のシート厚みから前記第1最小厚みを除いた最小除去厚みに基づき決定される高さ位置に、前記読取部の高さ位置を決定する第2決定処理と、前記第1決定処理、又は前記第2決定処理において決定した高さ位置に、前記読取部の高さ位置を前記高さ調整部に変更させ、前記読取部が前記マットに載置されたシート部材を読み取ることによりエッジ画像を前記読取部に生成させる読取処理と、を実行する。 In order to achieve the above object, in the aspect of the invention according to claim 1, the image reading apparatus reads a sheet member to determine a reading unit that generates an edge image and a reference position in the height direction. A mat on which the member is placed, a moving unit that moves the mat to a position facing the reading unit in the transport direction orthogonal to the height direction, and a thickness of a sheet member placed on the mat in the height direction A detection unit that detects a certain sheet thickness, wherein the sheet thickness is a distance from the reference position to the upper end position of the sheet member in the height direction, and a height position of the reading unit in the height direction A height adjustment unit that changes in multiple steps in the height direction with respect to the reference position, and a control unit. The height adjustment unit is configured to adjust the height position of the reading unit in each of the multiple steps. Change one step To change the position of the reading unit in the height direction with respect to the reference position by a predetermined first distance, and the first range in which the reading unit reads with a resolution equal to or greater than a first predetermined value is the reference position Range of distances in the height direction with respect to each other, and a large number of them are determined respectively corresponding to the height positions of the multiple steps, and the focus ranges obtained by subtracting the lower limit of the first range from the upper limit of the first range are the same. A detection process for causing the detection unit to detect a plurality of sheet thicknesses of sheet members placed on the mat at a plurality of detection positions while moving the mat along the transport direction; A first difference calculation process for calculating a first thickness difference obtained by subtracting a first minimum thickness which is the thinnest thickness of the plurality of sheet thicknesses from a maximum thickness which is the thickest thickness of the plurality of sheet thicknesses; It is a first thickness difference judgment process of judging whether or not the first thickness difference is equal to or less than a second distance, wherein the second distance is a distance obtained by subtracting the first distance from the focus range. Thickness difference judgment processing, and when the first thickness difference is equal to or less than the second distance, the reading unit corresponding to a first range including all the plurality of sheet thicknesses in the plurality of first ranges From the plurality of sheet thicknesses, a first determination process of determining the height position of the reading unit at the lowest height position of the height positions, and when the first thickness difference is greater than the second distance A second determination process of determining the height position of the reading unit at a height position determined based on the minimum removal thickness excluding the first minimum thickness, and the first determination process or the second determination process At the determined height position, the height position of the reading unit is The reading unit causes the reading unit to generate an edge image by reading the sheet member placed on the mat and changing the height adjustment unit.
請求項2に記載の具体的態様では、前記第2決定処理は、前記マットに載置されたシート部材のシート厚みの種類の個数である厚み数を前記複数のシート厚みから算出する厚み数算出処理と、前記厚み数が3以上であるか否かを判断する厚み数判断処理と、前記厚み数が3未満であるときに、前記多数の第1範囲のうちで前記最大厚みが含まれる第1範囲に対応する前記読取部の高さ位置のうちの最も低い高さ位置に、前記読取部の高さ位置を決定する第3決定処理と、前記厚み数が3以上であるときに、前記最小除去厚みのうちの最も薄い厚みである第2最小厚みを前記最大厚みから引き算した第2厚み差分に基づき決定される高さ位置に、前記読取部の高さ位置を決定する第4決定処理と、を含む。 In the specific aspect according to claim 2, the second determination processing calculates the number of thicknesses, which is the number of types of sheet thickness of the sheet member placed on the mat, from the plurality of sheet thicknesses. Processing, thickness number determination processing for determining whether or not the thickness number is 3 or more, and the maximum thickness is included in the plurality of first ranges when the thickness number is less than 3 A third determination process of determining the height position of the reading unit at the lowest height position among the height positions of the reading unit corresponding to one range; and when the number of thicknesses is 3 or more A fourth determination process of determining the height position of the reading unit at a height position determined based on a second thickness difference obtained by subtracting a second minimum thickness which is the thinnest thickness of the minimum removal thicknesses. And.
請求項3に記載の具体的態様では、前記制御部は、前記複数のシート厚みのうちの各シート厚みについて前記各シート厚みが検出された検出位置の個数である位置数を算出する位置数算出処理を実行し、前記第4決定処理は、前記最大厚みから前記第2最小厚みを引き算した第2厚み差分を算出する第2差分算出処理と、前記第2厚み差分が前記第2距離以下であるか否かを判断する第2厚み差分判断処理と、前記第2厚み差分が前記第2距離以下であるときに、前記多数の第1範囲のうちで前記最小除去厚みが全て含まれる第1範囲に対応する前記読取部の高さ位置のうちの最も低い高さ位置に、前記読取部の高さ位置を決定する第5決定処理と、前記第2厚み差分が前記第2距離より大きいときに、前記最小除去厚みのうちで最も大きい位置数が算出されたシート厚みである最長厚みに基づき決定される高さ位置に、前記読取部の高さ位置を決定する第6決定処理と、を含む。 In the specific aspect according to claim 3, the control unit calculates the number of positions for calculating the number of detected positions at which the sheet thickness is detected for each sheet thickness among the plurality of sheet thicknesses. A second difference calculation process of performing a process, wherein the fourth determination process calculates a second thickness difference obtained by subtracting the second minimum thickness from the maximum thickness; and the second thickness difference is equal to or less than the second distance A second thickness difference determination process for determining whether or not there is a first thickness difference, and when the second thickness difference is equal to or less than the second distance, all of the minimum removal thickness is included in the plurality of first ranges; A fifth determining process of determining the height position of the reading unit at the lowest height position among the height positions of the reading unit corresponding to the range; and when the second thickness difference is larger than the second distance The largest of the minimum removal thickness The height position registered number is determined based on the longest thickness is a sheet thickness calculated, including a sixth determination processing for determining the height position of the reading unit.
請求項4に記載の具体的態様では、前記読取部が前記第1所定値よりも低い第2所定値以上の解像力で読み取る第2範囲は、前記基準位置に対する高さ方向の距離の範囲であり、前記第1範囲よりも広くて前記第1範囲を包含する範囲であり、前記多段階の高さ位置にそれぞれ対応して多数定められ、前記第6決定処理は、前記最長厚みを決定する最長厚み決定処理と、前記多数の第1範囲のうちで前記最長厚みが含まれる第1範囲に対応する前記読取部の高さ位置である第1最長高さ位置が、前記多数の第2範囲のうちで前記最小除去厚みから前記最長厚みを除いた最長除去厚みが全て含まれる第2範囲に対応する前記読取部の高さ位置であるか否かを判断する第1厚み判断処理と、前記第1最長高さ位置が、前記最長除去厚みが全て含まれる第2範囲に対応する前記読取部の高さ位置であるときに、前記第1最長高さ位置のうちで前記最長除去厚みが全て含まれる第2範囲に対応する前記読取部の高さ位置のうちの最も低い高さ位置に、前記読取部の高さ位置を決定する第7決定処理と、前記第1最長高さ位置が、前記最長除去厚みが全て含まれる第2範囲に対応する前記読取部の高さ位置でないときに、前記多数の第2範囲のうちで前記最長厚みが含まれる第2範囲に対応する前記読取部の高さ位置である第2最長高さ位置に基づき決定される高さ位置に、前記読取部の高さ位置を決定する第8決定処理と、を含む。 In a specific aspect according to claim 4, a second range in which the reading unit reads with a resolution equal to or higher than a second predetermined value lower than the first predetermined value is a range of distance in the height direction with respect to the reference position. And a range which is wider than the first range and includes the first range, and is determined in correspondence with the multi-level height position respectively, and the sixth determining process is a longest process for determining the longest thickness. In the thickness determination processing, the first longest height position, which is the height position of the reading unit corresponding to the first range including the longest thickness among the plurality of first ranges, corresponds to the number of second ranges. A first thickness determination process of determining whether or not the height position of the reading unit corresponds to a second range in which the longest removed thickness excluding the longest removed thickness from the minimum removed thickness is all included; 1Maximum height position includes all of the longest removal thickness Height position of the reading unit corresponding to the second range, the height position of the reading unit corresponding to the second range including all the longest removal thicknesses among the first longest height position A seventh determining process of determining the height position of the reading unit at the lowest height position of the above, and the first longest height position corresponds to a second range in which the longest removal thickness is all included It is determined based on a second longest height position which is a height position of the reading unit corresponding to a second range including the longest thickness among the plurality of second ranges when the height position of the reading unit is not And an eighth determining process of determining the height position of the reading unit at the height position.
請求項5に記載の具体的態様では、前記第8決定処理は、前記第2最長高さ位置が、前記多数の第2範囲のうちで前記最長除去厚みが全て含まれる第2範囲に対応する前記読取部の高さ位置であるか否かを判断する第2厚み判断処理と、前記第2最長高さ位置が、前記最長除去厚みが全て含まれる第2範囲に対応する前記読取部の高さ位置であるときに、前記第2最長高さ位置のうちで前記最長除去厚みが全て含まれる第2範囲に対応する前記読取部の高さ位置のうちの最も低い高さ位置に、前記読取部の高さ位置を決定する第9決定処理と、前記第2最長高さ位置が、前記最長除去厚みが全て含まれる第2範囲に対応する前記読取部の高さ位置でないときに、前記第2最長高さ位置のうちのそれぞれの前記読取部の高さ位置において第2範囲に含まれる全てのシート厚みに対応する位置数を加算した合計位置数に基づき決定される高さ位置に、前記読取部の高さ位置を決定する第10決定処理と、を含む。 In the specific aspect according to claim 5, in the eighth determination process, the second longest height position corresponds to a second range in which the longest removal thickness is all included in the plurality of second ranges. A second thickness determination process for determining whether or not the reading unit is at a height position, and a height of the reading unit corresponding to a second range in which the second longest height position includes all the longest removal thicknesses. When the reading position is the second maximum height position, the reading is performed at the lowest height position among the height positions of the reading unit corresponding to the second range in which the longest removal thickness is all included. A ninth determination process of determining the height position of the part, and when the second longest height position is not the height position of the reading part corresponding to a second range in which the longest removal thickness is all included; The second range at the height position of each of the reading portions of the two longest height positions A height position which is determined based on the total number of positions obtained by adding the number of positions corresponding to all of the thickness of the sheet contained in, including, a tenth decision process for determining the height position of the reading unit.
請求項6に記載の具体的態様では、前記第10決定処理は、前記第2最長高さ位置のうちの前記それぞれの前記読取部の高さ位置について前記第2範囲に含まれる全てのシート厚みに対応する位置数を加算して合計位置数を算出する合計位置数算出処理と、前記第2最長高さ位置のうちで最も大きい合計位置数が算出された前記読取部の高さ位置に、前記読取部の高さ位置を決定する第11決定処理と、を含む。 In the specific aspect according to claim 6, the tenth determination process is performed on all sheet thicknesses included in the second range for the height position of the reading unit in the second longest height position. A total position number calculating process of calculating the total position number by adding the position number corresponding to the position position of the reading unit at which the largest total position number among the second longest height positions is calculated; And an eleventh determination process of determining a height position of the reading unit.
請求項1に記載の発明態様では、第1差分算出処理は、複数のシート厚みのうちの最も厚い厚みである最大厚みから複数のシート厚みのうちの最も薄い厚みである第1最小厚みを引き算して第1厚み差分を算出する。第1厚み差分判断処理は、第1厚み差分が第2距離以下であるか否かを判断する。第1決定処理は、第1厚み差分が第2距離以下であるときに、多数の第1範囲のうちで複数のシート厚みが全て含まれる第1範囲に対応する読取部の高さのうちの最も低い高さ位置に、読取部の高さ位置を決定する。第2決定処理は、第1厚み差分が第2距離より大きいときに、複数のシート厚みから第1最小厚みを除いた最小除去厚みに基づき決定される高さ位置に、読取部の高さ位置を決定する。読取処理は、第1決定処理、又は第2決定処理において決定した高さ位置に、読取部の高さ位置を高さ調整部に変更させ、読取部がマットに載置されたシート部材を読み取ることによりエッジ画像を読取部に生成させる。よって、シート部材の厚みのバラツキが小さい場合である第1厚み差分が第2距離以下である場合には、複数のシート厚みが全て含まれる第1範囲に対応する読取部の高さ位置のうちの最も低い高さ位置に変更し、シート部材の厚みのバラツキが大きい場合である第1厚み差分が第2距離より大きい場合には、第1最小厚みを除いた最小除去厚みに基づき決定された高さ位置に読取部の高さ位置を決定するため、凹凸を有するシート部材を読み取るときでも、シート部材のエッジ画像を生成することができる。 In the aspect of the invention according to claim 1, the first difference calculation processing subtracts the first minimum thickness, which is the thinnest thickness among the plurality of sheet thicknesses, from the maximum thickness, which is the thickest thickness among the plurality of sheet thicknesses. Then, a first thickness difference is calculated. The first thickness difference determination process determines whether the first thickness difference is equal to or less than a second distance. In the first determination process, when the first thickness difference is equal to or less than the second distance, the height of the reading unit corresponding to the first range in which all the plurality of sheet thicknesses are included among the plurality of first ranges. The height position of the reading unit is determined at the lowest height position. In the second determination process, when the first thickness difference is larger than the second distance, the height position of the reading unit at the height position determined based on the minimum removal thickness obtained by removing the first minimum thickness from the plurality of sheet thicknesses. Decide. In the reading process, the height adjustment unit changes the height position of the reading unit to the height position determined in the first determination process or the second determination process, and the reading unit reads the sheet member placed on the mat. This causes the reading unit to generate an edge image. Therefore, when the first thickness difference, which is a case where the thickness variation of the sheet member is small, is equal to or less than the second distance, among the height positions of the reading unit corresponding to the first range including all the plurality of sheet thicknesses. When the first thickness difference is larger than the second distance, which is a case where the thickness of the sheet member has a large variation, it is determined based on the minimum removal thickness excluding the first minimum thickness. In order to determine the height position of the reading unit at the height position, an edge image of the sheet member can be generated even when the sheet member having the unevenness is read.
請求項2に記載の具体的態様では、厚み数算出処理は、マットに載置されたシート部材のシート厚みの種類の個数である厚み数を複数のシート厚みから算出する。厚み数判断処理は、厚み数が3以上であるか否かを判断する。第3決定処理は、厚み数が3未満であるときに、多数の第1範囲のうちで最大厚みが含まれる第1範囲に対応する読取部の高さ位置のうちの最も低い高さ位置に、読取部の高さ位置を決定する。第4決定処理は、厚み数が3以上であるときに、最小除去厚みのうちの最も薄い厚みである第2最小厚みを最小厚みから引き算した第2厚み差分に基づき決定される高さ位置に、読取部の高さ位置を決定する。よって、厚み数が3未満の場合には、厚みの種類が2種類しかないため、最大厚みが含まれる第1範囲に対応する高さ位置のうちの最も低い高さ位置に、読取部の高さ位置を決定することで、最大厚みの凸部のエッジ画像を確実に検出することができる。 In the specific aspect of the second aspect, the thickness number calculation process calculates the number of thicknesses, which is the number of types of sheet thickness of the sheet member placed on the mat, from the plurality of sheet thicknesses. In the thickness number determination process, it is determined whether the thickness number is 3 or more. In the third determination process, when the number of thicknesses is less than 3, at the lowest height position among the height positions of the reading unit corresponding to the first range including the largest thickness among the plurality of first ranges. , Determine the height position of the reading unit. The fourth determination processing is performed at a height position determined based on a second thickness difference obtained by subtracting a second minimum thickness which is the thinnest thickness among the minimum removal thicknesses when the thickness number is 3 or more. , Determine the height position of the reading unit. Therefore, when the number of thicknesses is less than 3, since there are only two types of thickness, the height of the reading unit is at the lowest height position among the height positions corresponding to the first range including the maximum thickness. By determining the height position, it is possible to reliably detect the edge image of the convex portion with the maximum thickness.
請求項3に記載の具体的態様では、位置数算出処理は、複数のシート厚みのうちの各シート厚みについて各シート厚みが検出された検出位置の個数である位置数を算出する。第2差分算出処理は、最大厚みから第2最小厚みを引き算した第2厚み差分を算出する。第2厚み差分判断処理は、第2厚み差分が第2距離以下であるか否かを判断する。第5決定処理は、第2厚み差分が第2距離以下であるときに、多数の第1範囲のうちで最小除去厚みが全て含まれる第1範囲に対応する読取部の高さ位置のうちの最も低い高さ位置に、読取部の高さ位置を決定する。第6決定処理は、第2厚み差分が第2距離より大きいときに、最小除去厚みのうちで最も大きい位置数が算出されたシート厚みである最長厚みに基づき決定される高さ位置に、読取部の高さ位置を決定する。よって、第2厚み差分が第2距離以下である場合であるシート部材に貼り付けられた凸部が複数あり、複数の凸部の厚みの差が小さい場合には、複数の凸部の全てのエッジ画像を検出することができ、第2厚み差分が第2距離より大きい場合であるシート部材に貼り付けられた凸部が複数あり、複数の凸部の厚みの差が大きい場合には、複数の凸部のうちで最長厚みの凸部のエッジ画像を検出することができる。 According to the specific aspect of the present invention, the position number calculation process calculates the number of positions which is the number of detection positions at which each sheet thickness is detected for each sheet thickness among the plurality of sheet thicknesses. The second difference calculation process calculates a second thickness difference obtained by subtracting the second minimum thickness from the maximum thickness. The second thickness difference determination process determines whether the second thickness difference is equal to or less than a second distance. In the fifth determination process, when the second thickness difference is equal to or less than the second distance, the height position of the reading unit corresponding to the first range in which all the minimum removal thicknesses are included among the plurality of first ranges. The height position of the reading unit is determined at the lowest height position. The sixth determination process reads the height position determined based on the longest thickness, which is the calculated sheet thickness, when the second thickness difference is larger than the second distance, and the largest number of positions among the minimum removal thickness is calculated. Determine the height position of the department. Therefore, when there are a plurality of convex portions attached to the sheet member where the second thickness difference is equal to or less than the second distance, and the difference in thickness of the plurality of convex portions is small, all of the plurality of convex portions If there are a plurality of convex portions attached to the sheet member which can detect an edge image and the second thickness difference is larger than the second distance, and if the difference in thickness of the plurality of convex portions is large, The edge image of the convex part of the longest thickness can be detected among the convex parts.
請求項4に記載の具体的態様では、最長厚み決定処理は、最長厚みを決定する。第1厚み判断処理は、多数の第1範囲のうちで最長厚みが含まれる第1範囲に対応する読取部の高さ位置である第1最長高さ位置が、多数の第2範囲のうちで最小除去厚みから最長除去厚みを除いた最長除去厚みが全て含まれる第2範囲に対応する読取部の高さ位置であるか否かを判断する。第7決定処理は、第1最長高さ位置が、最長除去厚みが全て含まれる第2範囲に対応する読取部の高さ位置であるときに、第1最長高さ位置のうちで最長除去厚みが全て含まれる第2範囲に対応する読取部の高さ位置のうちの最も低い高さ位置に、読取部の高さ位置を決定する。第8決定処理は、第1最長高さ位置が、最長除去厚みが全て含まれる第2範囲に対応する読取部の高さ位置でないときに、多数の第2範囲のうちで最長厚みが含まれる第2範囲に対応する読取部の高さ位置である第2最長高さ位置に基づき決定される高さ位置に、読取部の高さ位置を決定する。よって、複数の凸部のうちで最長厚みの凸部が第1範囲に含まれる第1最長高さ位置が、最長厚みの凸部以外の残りの凸部が含まれる第2範囲に対応する高さ位置である場合に、その第1最長高さ位置のうちの最も低い高さ位置に、読取部の高さ位置を決定することで、シート部材に貼り付けられた複数の凸部のエッジ画像を検出することができる。 In a specific aspect according to claim 4, the longest thickness determination process determines the longest thickness. In the first thickness determination process, the first longest height position, which is the height position of the reading unit corresponding to the first range including the longest thickness among the plurality of first ranges, is included in the plurality of second ranges. It is determined whether or not the height position of the reading unit corresponds to the second range including all of the longest removal thicknesses excluding the minimum removal thickness and the longest removal thickness. In the seventh determination processing, when the first longest height position is the height position of the reading unit corresponding to the second range in which all the longest removed thicknesses are included, the longest removed thickness among the first longest height positions The height position of the reading unit is determined at the lowest height position among the height positions of the reading unit that corresponds to the second range in which all are included. The eighth determination process includes the longest thickness among the plurality of second ranges when the first longest height position is not the height position of the reading unit corresponding to the second range in which the longest removal thickness is all included. The height position of the reading unit is determined at the height position determined based on the second longest height position, which is the height position of the reading unit corresponding to the second range. Therefore, the first longest height position in which the convex portion with the longest thickness is included in the first range among the plurality of convex portions corresponds to the second range in which the remaining convex portions other than the convex portion with the longest thickness are included When the height position is determined, the height position of the reading unit is determined at the lowest height position of the first longest height position, thereby to generate edge images of a plurality of convex portions attached to the sheet member. Can be detected.
請求項5に記載の具体的態様では、第2厚み判断処理は、第2最長高さ位置が、多数の第2範囲のうちで最長除去厚みが全て含まれる第2範囲に対応する読取部の高さ位置であるか否かを判断する。第9決定処理は、第2最長高さ位置が、最長除去厚みが全て含まれる第2範囲に対応する読取部の高さ位置にあるときに、第2最長高さ位置のうちで最長除去厚みが全て含まれる第2範囲に対応する読取部の高さ位置のうちの最も低い高さ位置に、読取部の高さ位置を決定する。第10決定処理は、第2最長高さ位置が、最長除去厚みが全て含まれる第2範囲に対応する読取部の高さ位置でないときに、第2最長高さ位置のうちのそれぞれの読取部の高さ位置において第2範囲に含まれる全てのシート厚みに対応する位置数を加算した合計位置数に基づき決定される高さ位置に、読取部の高さ位置を決定する。よって、複数の凸部のうちで最長厚みの凸部が第2範囲に含まれる第2最長高さ位置が、最長厚みの凸部以外の残りの凸部が含まれる第2範囲に対応する高さ位置である場合に、その第2最長高さ位置のうちの最も低い高さ位置に、読取部の高さ位置を決定することでシート部材に貼り付けられた複数の凸部のエッジ画像を検出することができる。 In a specific aspect according to claim 5, in the second thickness determination process, the second longest height position corresponds to a second range in which the longest removal thickness is all included in a large number of second ranges. It is determined whether or not it is a height position. In the ninth determination process, when the second longest height position is at the height position of the reading unit corresponding to the second range including all the longest removal thicknesses, the longest removal thickness among the second longest height positions The height position of the reading unit is determined at the lowest height position among the height positions of the reading unit that corresponds to the second range in which all are included. In the tenth determination processing, when the second longest height position is not the height position of the reading unit corresponding to the second range in which the longest removal thickness is all included, each reading unit of the second longest height position The height position of the reading unit is determined at the height position determined based on the total number of positions obtained by adding the number of positions corresponding to all sheet thicknesses included in the second range at the height position of. Therefore, the second longest height position in which the convex portion with the longest thickness is included in the second range among the plurality of convex portions corresponds to the second range in which the remaining convex portions other than the convex portion with the longest thickness are included If the height position is the lowest position of the second longest height position, the height position of the reading unit is determined to determine the edge images of the plurality of convex portions attached to the sheet member. It can be detected.
請求項6に記載の具体的態様では、合計位置数算出処理は、第2最長高さ位置のうちのそれぞれの読取部の高さ位置について第2範囲に含まれる全てのシート厚みに対応する位置数を加算して合計位置数を算出する。第11決定処理は、第2最長高さ位置のうちで最も大きい合計位置数が算出された読取部の高さ位置に、読取部の高さ位置を決定する。よって、複数の凸部のうちで最長厚みの凸部が第2範囲に含まれる第2最長高さ位置のうちで、第2範囲に含まれる最長厚みの凸部以外の残りの凸部が検出された検出位置の個数が最も大きい高さ位置に、読取部の高さ位置を決定することで、シート部材に貼り付けられた複数の凸部のエッジ画像を検出することができる。 In the specific aspect according to the sixth aspect, the total position number calculation processing is a position corresponding to all sheet thicknesses included in the second range with respect to the height position of each reading unit among the second longest height positions. Calculate the total number of positions by adding numbers. The eleventh determination process determines the height position of the reading unit at the height position of the reading unit where the largest total number of positions among the second longest height positions is calculated. Therefore, among the plurality of convex portions, among the second longest height positions in which the convex portion with the longest thickness is included in the second range, the remaining convex portions other than the convex portion with the longest thickness included in the second range are detected By determining the height position of the reading unit at the height position where the number of detected positions is the largest, it is possible to detect edge images of a plurality of convex portions attached to the sheet member.
<画像読取装置1の構成>
図1、および図2を参照して画像読取装置1について説明する。この画像読取装置1は、布や紙等のシート部材の上面の画像を読み取った後に、ユーザが読み取った画像を見ながらシート部材を切断する切断位置を入力し、入力した切断位置でシート部材を切断する切断機能を備えた装置に備えられる。図1は、画像読取装置1の主走査方向MSからの内部構成図であり、図2は、高さ方向HDからの内部構成図である。図1において、高さ方向HDと搬送方向TDとは、矢印の示す方向であり、図2において、搬送方向TDと主走査方向MSとは、矢印の示す方向である。図1、および図2に示す本実施形態の画像読取装置1は、本体MBと、マット40とを備える。タッチパネル80が、本体MBの上面に配置される。タッチパネル80は、表示部16と、操作部15とから構成される。操作部15は、後述する切断処理を開始する開始操作や、後述する読取処理で読み取ったエッジ画像から切断する切断位置を入力する切断位置入力操作などを受け付ける。表示部16は、読取処理で読み取ったエッジ画像を表示する。
<Configuration of Image Reading Device 1>
The image reading apparatus 1 will be described with reference to FIGS. 1 and 2. The image reading apparatus 1 reads an image on the upper surface of a sheet member such as cloth or paper, and then inputs a cutting position at which the user cuts the sheet member while looking at the image read by the user. The apparatus is equipped with a cutting function to cut. FIG. 1 is an internal block diagram from the main scanning direction MS of the image reading apparatus 1, and FIG. 2 is an internal block diagram from a height direction HD. In FIG. 1, the height direction HD and the transport direction TD are directions indicated by arrows, and in FIG. 2, the transport direction TD and the main scanning direction MS are directions indicated by arrows. The image reading device 1 of the present embodiment shown in FIGS. 1 and 2 includes a main body MB and a mat 40. The touch panel 80 is disposed on the upper surface of the main body MB. The touch panel 80 includes the display unit 16 and the operation unit 15. The operation unit 15 receives a start operation for starting a cutting process described later, a cutting position input operation for inputting a cutting position to be cut from an edge image read in a reading process described later, and the like. The display unit 16 displays the edge image read in the reading process.
搬送経路50が、本体MBの内部に形成される。マット40に載置されたシート部材SMは、マット40に載置された状態で搬送経路50に沿って搬送方向TDに搬送される。高さ検知ローラ51と、搬送ローラ52,53と、マットセンサ21と、切断ユニット90と、読取部17とが、搬送経路50に沿って配置される。 A transport path 50 is formed inside the main body MB. The sheet member SM placed on the mat 40 is transported in the transport direction TD along the transport path 50 while being placed on the mat 40. The height detection roller 51, the conveyance rollers 52 and 53, the mat sensor 21, the cutting unit 90, and the reading unit 17 are disposed along the conveyance path 50.
マット40は、高さ方向HDの基準位置BPHとなる基準部BPを備える。高さ検知ローラ51は、高さ方向HDの下方に付勢され、マット40の厚み検知領域HDR内に載置されたシート部材SMの厚みに応じて高さ方向HDに上下する。高さ検知センサ23は、高さ検知ローラ51の高さ方向HDの位置を検出することにより、マット40に載置されたシート部材SMの厚みを検出する。搬送ローラ52,53は、搬送モータMT2により駆動される。搬送ローラ52,53は、マット40に載置されたシート部材SMが切断ユニット90、および読取部17と対向するようにマット40を搬送する。マットセンサ21は、マット40の先端位置を検出する。本実施形態では、マット40に載置されるシート部材SMの厚みが「3.0mm」まで載置することが可能に構成されるため、シート部材SMの高さ上限位置HULPは、「3.0mm」である。ここで、シート部材SMの厚みとは、高さ検知ローラ51でシート部材SMを高さ方向HDの下方へ付勢したときのシート部材SMの上端の位置から基準位置BPHまでの距離である。 The mat 40 includes a reference portion BP which is a reference position BPH in the height direction HD. The height detection roller 51 is biased downward in the height direction HD and moves up and down in the height direction HD according to the thickness of the sheet member SM placed in the thickness detection area HDR of the mat 40. The height detection sensor 23 detects the thickness of the sheet member SM placed on the mat 40 by detecting the position of the height detection roller 51 in the height direction HD. The transport rollers 52 and 53 are driven by the transport motor MT2. The transport rollers 52 and 53 transport the mat 40 such that the sheet member SM placed on the mat 40 faces the cutting unit 90 and the reading unit 17. The mat sensor 21 detects the leading end position of the mat 40. In the present embodiment, since the thickness of the sheet member SM placed on the mat 40 can be placed to “3.0 mm”, the height upper limit position HULP of the sheet member SM is “3. It is 0 mm. Here, the thickness of the sheet member SM is the distance from the position of the upper end of the sheet member SM when the height detection roller 51 biases the sheet member SM downward in the height direction HD to the reference position BPH.
本実施形態の画像読取装置1は、搬送ローラ52と搬送ローラ53との間に、切断ユニット90と読取部17とを備える。切断ユニット90は、高さ方向HD、および主走査方向MSに移動可能に構成され、マット40に載置されたシート部材SMを切断する。 The image reading device 1 according to the present embodiment includes a cutting unit 90 and a reading unit 17 between the conveyance roller 52 and the conveyance roller 53. The cutting unit 90 is configured to be movable in the height direction HD and the main scanning direction MS, and cuts the sheet member SM placed on the mat 40.
読取部17は、光源31と、受光部32と、ロッドレンズ33と、プラテンガラス34とを備える。プラテンガラス34は、透明な板状のガラスで構成される。光源31から出射された光がシート部材SMの読み取り面などにより反射されたときに、ロッドレンズ33は、プラテンガラス34を透過した反射光を受光部32に結像する。光源31は、赤色、緑色、および青色の3色の発光ダイオードが備えられた1チップの発光ダイオードと発光ダイオードからの光を主走査方向MSに導光する導光体とを含む。高さ調整機構MMは、読取部17に接続され、高さ調整モータMT1(図4参照)からの駆動を受け、読取部17を高さ方向HDに第1位置P1から第6位置P6までの6段階に上下させる。 The reading unit 17 includes a light source 31, a light receiving unit 32, a rod lens 33, and a platen glass 34. The platen glass 34 is made of a transparent plate-like glass. When the light emitted from the light source 31 is reflected by the reading surface of the sheet member SM or the like, the rod lens 33 focuses the reflected light transmitted through the platen glass 34 on the light receiving unit 32. The light source 31 includes a light emitting diode of one chip provided with light emitting diodes of three colors of red, green and blue and a light guide for guiding light from the light emitting diode in the main scanning direction MS. The height adjustment mechanism MM is connected to the reading unit 17, receives a drive from the height adjustment motor MT1 (see FIG. 4), and moves the reading unit 17 from the first position P1 to the sixth position P6 in the height direction HD. Move up and down in six steps.
図3を参照して、第1位置P1から第6位置P6までの高さ方向HDの位置と、読取部17の焦点距離の範囲である第1範囲PR1、および第2範囲PR2とについて説明する。本実施形態では、第1範囲PR1は、読取部17が300DPIの解像度に対して30%以上のMTF(Modulation Transfer Functionの略)を有する範囲である。第2範囲PR2は、読取部17が150DPIの解像度に対して30%以上のMTFを有する範囲である。本実施形態では、例えば、300DPIの解像度に対するMTFは、300DPIの解像度を有する矩形波チャートを読み取ったときのデジタルデータにより算出される。 The positions in the height direction HD from the first position P1 to the sixth position P6 and the first range PR1 and the second range PR2 which are ranges of the focal length of the reading unit 17 will be described with reference to FIG. 3. . In the present embodiment, the first range PR1 is a range in which the reading unit 17 has an MTF (abbreviation of Modulation Transfer Function) of 30% or more with respect to the resolution of 300 DPI. The second range PR2 is a range in which the reading unit 17 has an MTF of 30% or more with respect to the resolution of 150 DPI. In the present embodiment, for example, the MTF for the resolution of 300 DPI is calculated from digital data when the rectangular wave chart having the resolution of 300 DPI is read.
第1位置P1は、本実施形態の画像読取装置1で読み取り可能な最も薄いシート部材SMの厚みである「0.10mm」が第1範囲PR1の下限値となるように定められる。そのため、読取部17が第1位置P1にあるときには、第1範囲PR1は、基準位置BPHを基点として高さ方向HDの上方に「0.10mm」から「0.90mm」までの範囲であり、第2範囲PR2は、基準位置BPHを基点として高さ方向HDの上方に「0.00mm」から「1.15mm」までの範囲である。 The first position P1 is determined such that “0.10 mm”, which is the thickness of the thinnest sheet member SM readable by the image reading apparatus 1 of the present embodiment, is the lower limit value of the first range PR1. Therefore, when the reading unit 17 is at the first position P1, the first range PR1 is a range from “0.10 mm” to “0.90 mm” above the height direction HD with the reference position BPH as a base point, The second range PR2 is a range from “0.00 mm” to “1.15 mm” above the height direction HD with the reference position BPH as a base point.
第2位置P2は、第1位置P1よりも高さ方向HDの上方に「0.4mm」の位置である。読取部17が第2位置P2にあるときには、第1範囲PR1は、基準位置BPHを基点として高さ方向HDの上方に「0.50mm」から「1.30mm」までの範囲であり、第2範囲PR2は、基準位置BPHを基点として高さ方向HDの上方に「0.25mm」から「1.55mm」までの範囲である。 The second position P2 is “0.4 mm” above the first position P1 in the height direction HD. When the reading unit 17 is at the second position P2, the first range PR1 is a range from “0.50 mm” to “1.30 mm” above the height direction HD with the reference position BPH as a base point. The range PR2 is a range from “0.25 mm” to “1.55 mm” above the height direction HD with the reference position BPH as a base point.
第3位置P3は、第2位置P2よりも高さ方向HDの上方に「0.4mm」の位置である。読取部17が第3位置P3にあるときには、第1範囲PR1は、基準位置BPHを基点として高さ方向HDの上方に「0.90mm」から「1.70mm」までの範囲であり、第2範囲PR2は、基準位置BPHを基点として高さ方向HDの上方に「0.65mm」から「1.95mm」までの範囲である。 The third position P3 is “0.4 mm” above the second position P2 in the height direction HD. When the reading unit 17 is at the third position P3, the first range PR1 is a range from “0.90 mm” to “1.70 mm” above the height direction HD with the reference position BPH as a base point. The range PR2 is a range from “0.65 mm” to “1.95 mm” above the height direction HD with the reference position BPH as a base point.
第4位置P4は、第3位置P3よりも高さ方向HDの上方に「0.4mm」の位置である。読取部17が第4位置P4にあるときには、第1範囲PR1は、基準位置BPHを基点として高さ方向HDの上方に「1.30mm」から「2.10mm」までの範囲であり、第2範囲PR2は、基準位置BPHを基点として高さ方向HDの上方に「1.05mm」から「2.35mm」までの範囲である。 The fourth position P4 is a position “0.4 mm” above the third position P3 in the height direction HD. When the reading unit 17 is at the fourth position P4, the first range PR1 is a range from “1.30 mm” to “2.10 mm” above the height direction HD with the reference position BPH as a base point. The range PR2 is a range from “1.05 mm” to “2.35 mm” above the height direction HD with the reference position BPH as a base point.
第5位置P5は、第4位置P4よりも高さ方向HDの上方に「0.4mm」の位置である。読取部17が第5位置P5にあるときには、第1範囲PR1は、基準位置BPHを基点として高さ方向HDの上方に「1.70mm」から「2.50mm」までの範囲であり、第2範囲PR2は、基準位置BPHを基点として高さ方向HDの上方に「1.45mm」から「2.75mm」までの範囲である。 The fifth position P5 is a position “0.4 mm” above the fourth position P4 in the height direction HD. When the reading unit 17 is at the fifth position P5, the first range PR1 is a range from “1.70 mm” to “2.50 mm” above the height direction HD with the reference position BPH as a base point. The range PR2 is a range from “1.45 mm” to “2.75 mm” above the height direction HD with the reference position BPH as a base point.
第6位置P6は、第5位置P5よりも高さ方向HDの上方に「0.4mm」の位置である。読取部17が第6位置P6にあるときには、第1範囲PR1は、基準位置BPHを基点として高さ方向HDの上方に「2.10mm」から「2.90mm」までの範囲であり、第2範囲PR2は、基準位置BPHを基点として高さ方向HDの上方に「1.85mm」から「3.00mm」までの範囲である。 The sixth position P6 is “0.4 mm” above the fifth position P5 in the height direction HD. When the reading unit 17 is at the sixth position P6, the first range PR1 is a range from “2.10 mm” to “2.90 mm” above the height direction HD with the reference position BPH as a base point. The range PR2 is a range from “1.85 mm” to “3.00 mm” above the height direction HD with the reference position BPH as a base point.
<画像読取装置1の電気的構成>
画像読取装置1の電気的構成について図4を参照して説明する。図4において、画像読取装置1は、CPU11、ROM12、RAM13、フラッシュPROM14、デバイス制御部22、画像処理部29、アナログフロントエンド(以下、AFEという)28、および駆動回路18を主な構成要素として備える。これらの構成要素は、バス24を介して、操作部15、表示部16、マットセンサ21、高さ検知センサ23、切断ユニット90に接続される。
<Electric Configuration of Image Reading Device 1>
The electrical configuration of the image reading apparatus 1 will be described with reference to FIG. In FIG. 4, the image reading apparatus 1 includes a CPU 11, a ROM 12, a RAM 13, a flash PROM 14, a device control unit 22, an image processing unit 29, an analog front end (hereinafter referred to as AFE) 28, and a drive circuit 18 as main components. Prepare. These components are connected to the operation unit 15, the display unit 16, the mat sensor 21, the height detection sensor 23, and the cutting unit 90 via the bus 24.
ROM12は、後述する切断処理、切断処理中のサブルーチンの処理など、画像読取装置1の各種動作を実行するためのプログラムを記憶する。CPU11は、ROM12から読み出されたプログラムに従って、各部の制御を行う。フラッシュPROM14は、読み書き可能な不揮発性メモリであり、CPU11の制御処理により設定される各種のデータ、たとえば初期化するときに使用される各データなどを記憶する。RAM13は、CPU11の制御処理により生成された算出結果などを一時的に記憶する。 The ROM 12 stores programs for executing various operations of the image reading apparatus 1 such as cutting processing to be described later and processing of a subroutine during cutting processing. The CPU 11 controls each unit in accordance with the program read from the ROM 12. The flash PROM 14 is a readable and writable non-volatile memory, and stores various data set by control processing of the CPU 11, for example, each data used when initializing. The RAM 13 temporarily stores calculation results and the like generated by control processing of the CPU 11.
デバイス制御部22は、読取部17に接続され、CPU11からの命令に基づいて、光源31の点灯または消灯を制御する信号、および光源31に流れる電流値を制御する信号を光源31に送信する。また、デバイス制御部22は、受光部32を制御する信号を受光部32に送信する。読取部17は、デバイス制御部22からこれらの信号を受け取ると、光源32を点灯させると共に、受光部32が受光した受光量に応じたアナログ信号をAFE28に送信する。 The device control unit 22 is connected to the reading unit 17 and transmits to the light source 31 a signal for controlling turning on or off of the light source 31 and a signal for controlling a current value flowing to the light source 31 based on an instruction from the CPU 11. The device control unit 22 also transmits a signal for controlling the light receiving unit 32 to the light receiving unit 32. When the reading unit 17 receives these signals from the device control unit 22, the reading unit 17 turns on the light source 32 and transmits an analog signal according to the amount of light received by the light receiving unit 32 to the AFE 28.
AFE28は、読取部17に接続され、CPU11からの命令に基づいて、読取部17から送信されるアナログ信号をデジタルデータに変換し、変換したデジタルデータを画像処理部29に送信する。画像処理部29は、CPU11からの命令に基づいて、デジタルデータにエッジ検出処理を行い、エッジ画像を生成し、RAM13に記憶する。 The AFE 28 is connected to the reading unit 17, converts an analog signal transmitted from the reading unit 17 into digital data based on an instruction from the CPU 11, and transmits the converted digital data to the image processing unit 29. The image processing unit 29 performs edge detection processing on digital data based on an instruction from the CPU 11, generates an edge image, and stores the edge image in the RAM 13.
駆動回路18は、高さ調整モータMT1および搬送モータMT2に接続され、CPU11から送信される駆動指令に基づいて高さ調整モータMT1および搬送モータMT2を駆動する。駆動回路18は、駆動指令により指令された回転量および回転方向に従って高さ調整モータMT1を回転させる。高さ調整モータMT1が第1所定量だけ回転すると、高さ調整機構MMが駆動を切り替えて、読取部17が高さ方向HDに第1所定距離だけ移動される。駆動回路18は、駆動指令により指令された回転量および回転方向に沿って搬送モータMT2を回転させる。搬送モータMT2が第2所定量だけ回転すると、搬送ローラ52,53が所定角度回転し、搬送経路50においてマット40が第2所定距離だけ搬送される。 The drive circuit 18 is connected to the height adjustment motor MT1 and the conveyance motor MT2, and drives the height adjustment motor MT1 and the conveyance motor MT2 based on a drive command transmitted from the CPU 11. The drive circuit 18 rotates the height adjustment motor MT1 in accordance with the rotation amount and the rotation direction instructed by the drive instruction. When the height adjustment motor MT1 rotates by a first predetermined amount, the height adjustment mechanism MM switches driving, and the reading unit 17 is moved in the height direction HD by a first predetermined distance. The drive circuit 18 rotates the transport motor MT2 along the rotation amount and the rotation direction instructed by the drive instruction. When the transport motor MT2 rotates by a second predetermined amount, the transport rollers 52 and 53 rotate by a predetermined angle, and the mat 40 is transported by a second predetermined distance in the transport path 50.
<画像読取装置1の動作>
(切断処理)
次に、画像読取装置1の動作について図面を参照して説明する。画像読取装置1は、シート部材SMを切断する切断処理を主に実行する。図5に示す切断処理中の処理C1から処理C5は、CPU11が実行する処理である。
<Operation of Image Reading Device 1>
(Cutting process)
Next, the operation of the image reading apparatus 1 will be described with reference to the drawings. The image reading apparatus 1 mainly executes a cutting process for cutting the sheet member SM. Processes C1 to C5 in the cutting process shown in FIG. 5 are processes executed by the CPU 11.
図5に示す切断処理は、ユーザがシート部材SMを載置したマット40を搬送ローラ52、および高さ検知ローラ51に突き当てた状態で、操作部15により開始操作をすることにより、開始される。即ち、CPU11は、操作部15から切断処理の開始指令を受け取ると、切断処理を開始する。 The cutting process illustrated in FIG. 5 is started by the user performing the start operation with the operation unit 15 in a state where the mat 40 on which the sheet member SM is placed is abutted against the transport roller 52 and the height detection roller 51. Ru. That is, when the CPU 11 receives an instruction to start the cutting process from the operation unit 15, the CPU 11 starts the cutting process.
CPU11は、デバイス制御部22、AFE28、画像処理部29、駆動回路18、および切断ユニット90を初期化する(C1)。具体的には、CPU11は、切断処理に必要な設定値をデバイス制御部22、AFE28、画像処理部29、駆動回路18、および切断ユニット90に設定する。 The CPU 11 initializes the device control unit 22, the AFE 28, the image processing unit 29, the drive circuit 18, and the cutting unit 90 (C1). Specifically, the CPU 11 sets setting values necessary for the cutting process in the device control unit 22, the AFE 28, the image processing unit 29, the drive circuit 18, and the cutting unit 90.
CPU11は、マット40に載置されたシート部材SMの厚みを検出する(C2)。詳細は後述するため、ここでは概説する。CPU11は、マット40の基準部BPの高さ方向HDの位置を高さ検知センサ23に検出させることにより、基準位置BPHを取得する。CPU11は、マット40を搬送方向TDに搬送させながら、マット40の厚み検知領域HDR内のシート部材SMの厚みを搬送方向TDに「1mm」間隔で取得する。本実施形態では、シート部材SMの厚みは、基準位置BPHから主走査方向MSにおける最も高いシート部材SMの上端位置までの距離である。 The CPU 11 detects the thickness of the sheet member SM placed on the mat 40 (C2). Details will be outlined here, as will be described later. The CPU 11 acquires the reference position BPH by causing the height detection sensor 23 to detect the position in the height direction HD of the reference portion BP of the mat 40. The CPU 11 acquires the thickness of the sheet member SM in the thickness detection area HDR of the mat 40 at intervals of “1 mm” in the conveyance direction TD while conveying the mat 40 in the conveyance direction TD. In the present embodiment, the thickness of the sheet member SM is the distance from the reference position BPH to the upper end position of the highest sheet member SM in the main scanning direction MS.
CPU11は、後述する読取処理C4を実行するときの読取部17の高さ方向HDの位置である高さ位置HGPを決定する(C3)。詳細は後述するため、ここでは概説する。CPU11は、処理C2で取得した厚み検知領域HDR内のシート部材SMの厚みに対して各厚みの検出数のピーク検出を行い、各厚みと各厚みの検出数とをヒストグラムとして作成する。CPU11は、最も厚い最大厚みMXTから最も薄い最小厚みMNTを引き算した値である第1厚み差分TDF1、各厚みの種類の数である厚み数TN、および各厚みから最小厚みMNTを除いて算出した第2厚み差分TDF2に基づいて、高さ位置HGPを決定する。 The CPU 11 determines the height position HGP which is the position in the height direction HD of the reading unit 17 when executing the reading process C4 described later (C3). Details will be outlined here, as will be described later. The CPU 11 performs peak detection of the number of detections of each thickness with respect to the thickness of the sheet member SM in the thickness detection area HDR acquired in the processing C2, and creates each thickness and the number of detections of each thickness as a histogram. The CPU 11 calculates the first thickness difference TDF1 which is a value obtained by subtracting the thinnest minimum thickness MNT from the thickest maximum thickness MXT, the number TN of thicknesses which is the number of types of each thickness, and the minimum thickness MNT from each thickness. The height position HGP is determined based on the second thickness difference TDF2.
CPU11は、読取部17を高さ位置HGPに移動させてシート部材SMを読み取る(C4)。具体的には、CPU11は、駆動指令を送信し、高さ調整モータMT1を駆動させることにより、処理C3で決定した高さ位置HGPに読取部17を移動させる。CPU11は、マット40の厚み検知領域HDRを読取部17に読み取らせることにより、シート部材SMのエッジ画像を取得する。 The CPU 11 moves the reading unit 17 to the height position HGP to read the sheet member SM (C4). Specifically, the CPU 11 transmits a drive command to drive the height adjustment motor MT1, thereby moving the reading unit 17 to the height position HGP determined in the process C3. The CPU 11 causes the reading unit 17 to read the thickness detection area HDR of the mat 40 to acquire an edge image of the sheet member SM.
CPU11は、切断ユニット90にシート部材SMを切断させる(C5)。具体的には、CPU11は、処理C4で読み取ったエッジ画像を表示部16に表示させる。CPU11は、切断位置入力操作により操作部15を通して入力された切断位置に従って、マット40を搬送させながら、切断ユニット90にシート部材SMを切断させる。処理C5が終了すると、切断処理が終了する。 The CPU 11 causes the cutting unit 90 to cut the sheet member SM (C5). Specifically, the CPU 11 causes the display unit 16 to display the edge image read in process C4. The CPU 11 causes the cutting unit 90 to cut the sheet member SM while conveying the mat 40 according to the cutting position input through the operation unit 15 by the cutting position input operation. When the process C5 ends, the disconnection process ends.
(厚み検知処理C2)
図6に示す厚み検知処理C2が開始されると、CPU11は、マット40の搬送動作を開始する(CA1)。具体的には、CPU11は、駆動指令を駆動回路18へ送信し、シート部材SMが載置されたマット40を搬送方向TDへ搬送する搬送動作を開始する。
(Thickness detection processing C2)
When the thickness detection process C2 shown in FIG. 6 is started, the CPU 11 starts the conveyance operation of the mat 40 (CA1). Specifically, the CPU 11 transmits a drive command to the drive circuit 18, and starts the transport operation of transporting the mat 40 on which the sheet member SM is mounted in the transport direction TD.
CPU11は、マットセンサ21がオンであるか否かを判断する(CA2)。CPU11は、マットセンサ21がオンである場合(CA2:Yes)に、処理CA3へ進み、マットセンサ21がオンでない場合(CA2:No)に、マット40の搬送動作を継続する。 The CPU 11 determines whether the mat sensor 21 is on (CA2). The CPU 11 proceeds to processing CA3 when the mat sensor 21 is on (CA2: Yes), and continues the transport operation of the mat 40 when the mat sensor 21 is not on (CA2: No).
CPU11は、マット40の搬送方向TDにおける位置を設定する(CA3)。具体的には、CPU11は、マットセンサ21がオンとなったときに、搬送方向TDにおけるマットセンサ21の位置にマット40の先端が位置すると判断し、搬送方向TDにおける基準部BPの位置と、搬送方向TD、および主走査方向MSにおける厚み検知領域HDRの範囲とをRAM13に設定する。本実施形態では、厚み検知領域HDRの主走査方向MSの範囲は予め定められた範囲であり、マット40に載置可能な最大のシート部材SMに基づいて定められた範囲である。 The CPU 11 sets the position of the mat 40 in the transport direction TD (CA3). Specifically, when the mat sensor 21 is turned on, the CPU 11 determines that the front end of the mat 40 is positioned at the position of the mat sensor 21 in the transport direction TD, and the position of the reference portion BP in the transport direction TD; The transfer direction TD and the range of the thickness detection area HDR in the main scanning direction MS are set in the RAM 13. In the present embodiment, the range of the thickness detection area HDR in the main scanning direction MS is a predetermined range, and is a range determined based on the largest sheet member SM that can be placed on the mat 40.
CPU11は、駆動指令を駆動回路18に送信し、マット40の基準部BPを搬送方向TDにおける高さ検知ローラ51の位置に搬送させる(CA4)。 The CPU 11 transmits a drive command to the drive circuit 18, and transports the reference portion BP of the mat 40 to the position of the height detection roller 51 in the transport direction TD (CA4).
CPU11は、マット40の基準位置BPHを取得する(CA5)。具体的には、CPU11は、マット40の基準部BPが搬送方向TDにおける高さ検知ローラ51の位置にある状態で、高さ検知センサ23が検出した高さ方向HDの位置を基準位置BPHとして取得する。 The CPU 11 acquires the reference position BPH of the mat 40 (CA5). Specifically, the CPU 11 uses the position in the height direction HD detected by the height detection sensor 23 as the reference position BPH in a state where the reference portion BP of the mat 40 is at the position of the height detection roller 51 in the transport direction TD. get.
CPU11は、駆動指令を駆動回路18に送信し、搬送方向TDにおけるマット40の厚み検知領域HDRの先端位置が搬送方向TDにおける高さ検知ローラ51の位置となるようにマット40を搬送させる(CA6)。 The CPU 11 transmits the drive command to the drive circuit 18, and conveys the mat 40 so that the leading end position of the thickness detection area HDR of the mat 40 in the conveyance direction TD becomes the position of the height detection roller 51 in the conveyance direction TD (CA6) ).
CPU11は、マット40の厚み検知領域HDRに載置されたシート部材SMの厚みを検知する厚み検知動作を開始する(CA7)。具体的には、CPU11は、駆動指令を駆動回路18に送信し、マット40を搬送方向TDに搬送させながら、搬送方向TDにおける「1mm」間隔でマット40の厚み検知領域HDRに載置されたシート部材SMの厚みを検知する厚み検知動作を開始する。 The CPU 11 starts a thickness detection operation of detecting the thickness of the sheet member SM placed in the thickness detection area HDR of the mat 40 (CA7). Specifically, the CPU 11 transmits a drive command to the drive circuit 18, and transports the mat 40 in the transport direction TD, and is placed in the thickness detection area HDR of the mat 40 at an interval of 1 mm in the transport direction TD. The thickness detection operation for detecting the thickness of the sheet member SM is started.
CPU11は、搬送方向TDにおけるマット40の厚み検知領域HDRの後端位置が高さ検知ローラ51の位置にあるか否かを判断する(CA8)。CPU11は、搬送方向TDにおけるマット40の厚み検知領域HDRの後端位置が高さ検知ローラ51の位置にない場合(CA8:No)に、厚み検知動作を継続し、搬送方向TDにおけるマット40の厚み検知領域HDRの後端位置が高さ検知ローラ51の位置にある場合(CA8:Yes)に、マット40の厚み検知領域HDRの先端位置から後端位置までのシート部材SMの厚みのうち基準位置BPHを除いた搬送方向TDにおける「1mm」間隔のシート部材SMの厚みをRAM13に記憶する。処理CA8が終了すると、厚み検知処理C2が終了する。本実施形態では、シート部材SMの厚みは、基準位置BPPからのシート部材SMの上端位置までの距離である。 The CPU 11 determines whether or not the rear end position of the thickness detection area HDR of the mat 40 in the transport direction TD is at the position of the height detection roller 51 (CA8). The CPU 11 continues the thickness detection operation when the rear end position of the thickness detection area HDR of the mat 40 in the transport direction TD is not at the position of the height detection roller 51 (CA8: No), and the mat 11 in the transport direction TD. When the rear end position of the thickness detection area HDR is at the position of the height detection roller 51 (CA8: Yes), the standard among the thicknesses of the sheet members SM from the front end position to the rear end position of the thickness detection area HDR of the mat 40 The thickness of the sheet member SM at “1 mm” intervals in the transport direction TD excluding the position BPH is stored in the RAM 13. When the process CA8 ends, the thickness detection process C2 ends. In the present embodiment, the thickness of the sheet member SM is a distance from the reference position BPP to the upper end position of the sheet member SM.
(高さ位置HGP決定処理C3)
図7に示す高さ位置HGP決定処理C3が開始されると、CPU11は、シート部材SMの厚みのヒストグラムを作成する(CB1)。具体的には、CPU11は、処理C2で取得した厚み検知領域HDRの先端位置から後端位置までの搬送方向TDにおける「1mm」間隔のシート部材SMの厚みに対して各厚みの検出数のピーク検出を行う。即ち、CPU11は、「0.10mm」から「0.14mm」までの厚みを「0.10mm」の厚みとし、「0.10mm」に含まれる厚みの検出数を計数する。CPU11は、「0.15mm」から「0.24mm」までの厚みを「0.20mm」の厚みとし、「0.2mm」に含まれる厚みの検出数を計数する。以下、「0.1mm」毎に繰り返し実行し、CPU11は、「2.95mm」から「3.00mm」までの厚みを「3.00mm」の厚みとし、「3.00mm」に含まれる厚みの検出数を計数する。CPU11は、「0.10mm」毎の各厚みと各厚みの検出数とを関連付けてRAM13に記憶する。本実施形態では、各厚みは、「0.10mm」から「3.00mm」までの厚みである。検出数は、各厚みを検出した位置の数を合計した数であり、例えば、「0.2mm」の厚みに対する検出数は、「0.15mm」から「0.24mm」までの厚みを検出した位置の数を合計した数である。
(Height position HGP determination process C3)
When the height position HGP determination process C3 shown in FIG. 7 is started, the CPU 11 creates a histogram of the thickness of the sheet member SM (CB1). Specifically, the CPU 11 detects the peak of the number of detections of each thickness with respect to the thickness of the sheet member SM at an interval of "1 mm" in the transport direction TD from the leading end position to the rear end position of the thickness detection area HDR Perform detection. That is, the CPU 11 sets the thickness from “0.10 mm” to “0.14 mm” as the thickness of “0.10 mm”, and counts the number of detected thicknesses included in “0.10 mm”. The CPU 11 sets the thickness from “0.15 mm” to “0.24 mm” as “0.20 mm”, and counts the number of detected thicknesses included in “0.2 mm”. Hereinafter, the CPU 11 repeatedly executes the process every “0.1 mm”, and the CPU 11 sets the thickness from “2.95 mm” to “3.00 mm” as the “3.00 mm” thickness, and the thickness included in “3.00 mm” Count the number of detections. The CPU 11 associates each thickness of “0.10 mm” with the detected number of each thickness, and stores it in the RAM 13. In the present embodiment, each thickness is a thickness from “0.10 mm” to “3.00 mm”. The number of detections is the number obtained by totaling the number of positions at which each thickness was detected. For example, the number of detections for the thickness of “0.2 mm” detected the thickness from “0.15 mm” to “0.24 mm” It is the total number of positions.
CPU11は、最小厚みMNTと最大厚みMXTとを抽出する(CB2)。具体的には、CPU11は、RAM13に記憶した各厚みから最も薄い厚みを最小厚みMNTとして抽出し、RAM13に記憶した各厚みから最も厚い厚みを最大厚みMXTとして抽出する。 The CPU 11 extracts the minimum thickness MNT and the maximum thickness MXT (CB2). Specifically, the CPU 11 extracts the thinnest thickness from the thicknesses stored in the RAM 13 as the minimum thickness MNT, and extracts the thickest thickness from the thicknesses stored in the RAM 13 as the maximum thickness MXT.
CPU11は、第1厚み差分TDF1を算出する(CB3)。具体的には、CPU11は、最大厚みMXTから最小厚みMNTを引き算して第1厚み差分TDF1を算出する。 The CPU 11 calculates a first thickness difference TDF1 (CB3). Specifically, the CPU 11 subtracts the minimum thickness MNT from the maximum thickness MXT to calculate a first thickness difference TDF1.
CPU11は、第1厚み差分TDF1が「0.4mm」以下であるか否かを判断する(CB4)。CPU11は、第1厚み差分TDF1が「0.4mm」より大きい場合(CB4:No)に、処理CB6へ進み、第1厚み差分TDF1が「0.4mm」以下である場合(CB4:Yes)に、処理CB5へ進む。本実施形態では、第1位置P1から第6位置P6までの高さ方向HDにおけるそれぞれの隣接する位置の距離は、「0.4mm」である。第1範囲PR1の上限値から第1範囲PR1の下限値を引き算した値である焦点範囲は、それぞれ「0.8mm」である。よって、処理CB4において第1厚み差分TDF1の判断基準としている「0.4mm」は、第1範囲PR1の焦点範囲である「0.8mm」からそれぞれの隣接する位置の距離である「0.4mm」を引き算することにより、「0.4mm」と算出される。 The CPU 11 determines whether the first thickness difference TDF1 is "0.4 mm" or less (CB4). The CPU 11 proceeds to the process CB6 when the first thickness difference TDF1 is larger than “0.4 mm” (CB4: No), and when the first thickness difference TDF1 is “0.4 mm or less” (CB4: Yes) Proceed to process CB5. In the present embodiment, the distance between each adjacent position in the height direction HD from the first position P1 to the sixth position P6 is “0.4 mm”. The focus range, which is a value obtained by subtracting the lower limit value of the first range PR1 from the upper limit value of the first range PR1, is “0.8 mm”. Therefore, “0.4 mm”, which is used as the determination reference for the first thickness difference TDF1 in the process CB4, is “0.4 mm”, which is the distance between each adjacent position from “0.8 mm” which is the focus range of the first range PR1. "0.4 mm" is calculated by subtracting "."
CPU11は、最小厚みMNTと最大厚みMXTとに基づき高さ位置HGPを決定する(CB5)。具体的には、CPU11は、最小厚みMNTと最大厚みMXTとが第1範囲PR1となる第1位置P1から第6位置P6までの位置のうちで最も低い位置を高さ位置HGPとして決定する。処理CB5が終了すると、処理C3が終了する。 The CPU 11 determines the height position HGP based on the minimum thickness MNT and the maximum thickness MXT (CB5). Specifically, the CPU 11 determines the lowest position among the first position P1 to the sixth position P6 where the minimum thickness MNT and the maximum thickness MXT are the first range PR1 as the height position HGP. When the process CB5 ends, the process C3 ends.
処理CB4においてNoと判断されると、CPU11は、厚み数TNに基づき高さ位置HGPを決定する(CB6)。詳細は後述するため、ここでは概説する。CPU11は、厚み数TNを算出する。CPU11は、厚み数TNが「3」以上であるか否かを判断し、厚み数TNが「3」未満である場合に、最大厚みMXTに基づき高さ位置HGPを決定し、厚み数TNが「3」以上である場合に、最小厚みMNT以外の厚みに基づき高さ位置HGPを決定する。処理CB6が終了すると、処理C3が終了する。本実施形態では、処理CB6の判断の基準となる「3」は、シート部材SMに貼り付けてある素材の数が1個以下であるか否かを判断するための数値である。即ち、厚み数TNが「3」未満である場合には、シート部材SMに貼り付けてある素材の数が1個以下である。 If it is determined No in the process CB4, the CPU 11 determines the height position HGP based on the thickness number TN (CB6). Details will be outlined here, as will be described later. The CPU 11 calculates the thickness number TN. The CPU 11 determines whether the thickness number TN is "3" or more, and determines the height position HGP based on the maximum thickness MXT when the thickness number TN is less than "3", and the thickness number TN is When it is "3" or more, the height position HGP is determined based on the thickness other than the minimum thickness MNT. When the process CB6 ends, the process C3 ends. In the present embodiment, “3”, which is the reference of the determination of the process CB6, is a numerical value for determining whether the number of the materials attached to the sheet member SM is one or less. That is, when the thickness number TN is less than "3", the number of the materials attached to the sheet member SM is one or less.
(厚み数TNに基づく高さ位置HGP決定処理CB6)
図8に示す厚み数TNに基づく高さ位置HGP決定処理CB6が開始されると、CPU11は、厚み数TNを計数する(CC1)。具体的には、CPU11は、RAM13に記憶した各厚みから各厚みの種類の数を厚み数TNとして計数する。
(Height position HGP determination processing CB6 based on thickness number TN)
When the height position HGP determination process CB6 based on the thickness number TN shown in FIG. 8 is started, the CPU 11 counts the thickness number TN (CC1). Specifically, the CPU 11 counts the number of types of each thickness from each thickness stored in the RAM 13 as the number TN of thicknesses.
CPU11は、厚み数TNが「3」以上であるか否かを判断する(CC2)。CPU11は、厚み数TNが「3」以上である場合(CC2:Yes)に、処理CC4へ進み、厚み数TNが「3」未満である場合(CC2:No)に、処理CC3へ進む。 The CPU 11 determines whether the thickness number TN is “3” or more (CC2). The CPU 11 proceeds to the process CC4 when the thickness number TN is "3" or more (CC2: Yes), and proceeds to the process CC3 when the thickness number TN is less than "3" (CC2: No).
CPU11は、最大厚みMXTに基づき高さ位置HGPを決定する(CC3)。具体的には、CPU11は、最大厚みMXTが第1範囲PR1となる第1位置P1から第6位置P6までの位置のうちで最も低い位置を高さ位置HGPとして決定する。処理CC3が終了すると、処理CB6が終了する。 The CPU 11 determines the height position HGP based on the maximum thickness MXT (CC3). Specifically, the CPU 11 determines the lowest position among the positions from the first position P1 to the sixth position P6 where the maximum thickness MXT is the first range PR1 as the height position HGP. When the process CC3 ends, the process CB6 ends.
処理CC2においてYesと判断されると、CPU11は、最小厚みMNT以外の厚みにより高さ位置HGPを決定する(CC4)。詳細は後述するため、ここでは概説する。CPU11は、第2厚み差分TDF2を算出する。CPU11は、第2厚み差分TDF2が「0.4mm」以下であるか否かを判断し、第2厚み差分TDF2が「0.4mm」より大きい場合に、最小厚みMNT以外の厚みに基づき高さ位置HGPを決定し、第2厚み差分TDF2が「0.4mm」以下である場合に、搬送方向TDの積算距離ALにより高さ位置HGPを決定する。処理CC4が終了すると、処理CB6が終了する。 If it is judged as Yes in process CC2, CPU11 will determine height position HGP by thickness other than the minimum thickness MNT (CC4). Details will be outlined here, as will be described later. The CPU 11 calculates a second thickness difference TDF2. The CPU 11 determines whether or not the second thickness difference TDF2 is "0.4 mm" or less, and when the second thickness difference TDF2 is larger than "0.4 mm", the height is based on a thickness other than the minimum thickness MNT. The position HGP is determined, and when the second thickness difference TDF2 is "0.4 mm" or less, the height position HGP is determined by the integrated distance AL in the transport direction TD. When the process CC4 ends, the process CB6 ends.
(最小厚みMNT以外の厚みによる高さ位置HGP決定処理CC4)
図9に示す最小厚みMNT以外の厚みによる高さ位置HGP決定処理CC4が開始されると、CPU11は、最小厚みMNTを除いて第2厚み差分TDF2を算出する(CD1)。具体的には、RAM13に記憶した各厚みのうちで2番目に薄い厚みを最大厚みMXTから引き算して第2厚み差分TDF2を算出する。
(Height determination process CC4 by thickness other than minimum thickness MNT CC4)
When the height position HGP determination processing CC4 with a thickness other than the minimum thickness MNT shown in FIG. 9 is started, the CPU 11 calculates the second thickness difference TDF2 excluding the minimum thickness MNT (CD1). Specifically, a second thickness difference TDF2 is calculated by subtracting the second smallest thickness among the thicknesses stored in the RAM 13 from the maximum thickness MXT.
CPU11は、第2厚み差分TDF2が「0.4mm」以下であるか否かを判断する(CD2)。CPU11は、第2厚み差分TDF2が「0.4mm」以下である場合(CD2:Yes)に、処理CD3へ進み、第2厚み差分TDF2が「0.4mm」より大きい場合(CD2:No)に、処理CD4へ進む。本実施形態では、第1位置P1から第6位置P6までの高さ方向HDにおけるそれぞれの隣接する位置の距離は、「0.4mm」である。第1範囲PR1の上限値から第1範囲PR1の下限値を引き算した値である焦点範囲は、それぞれ「0.8mm」である。よって、処理CD2において第2厚み差分TDF2の判断基準としている「0.4mm」は、第1範囲PR1の焦点範囲である「0.8mm」からそれぞれの隣接する位置の距離である「0.4mm」を引き算することにより、「0.4mm」と算出される。 The CPU 11 determines whether the second thickness difference TDF2 is "0.4 mm" or less (CD2). The CPU 11 proceeds to the processing CD3 when the second thickness difference TDF2 is "0.4 mm" or less (CD2: Yes), and when the second thickness difference TDF2 is larger than "0.4 mm" (CD2: No) , Proceed to process CD4. In the present embodiment, the distance between each adjacent position in the height direction HD from the first position P1 to the sixth position P6 is “0.4 mm”. The focus range, which is a value obtained by subtracting the lower limit value of the first range PR1 from the upper limit value of the first range PR1, is “0.8 mm”. Therefore, “0.4 mm”, which is used as the determination reference for the second thickness difference TDF2 in the processed CD2, is “0.4 mm,” which is the distance between each adjacent position from “0.8 mm” which is the focus range of the first range PR1. "0.4 mm" is calculated by subtracting "."
CPU11は、最小厚みMNT以外の厚みに基づき高さ位置HGPを決定する(CD3)。具体的には、CPU11は、RAM13に記憶した各厚みのうちで最小厚みMNTを除いた厚みが全て第1範囲PR1となる第1位置P1から第6位置P6までの位置のうちで最も低い位置を高さ位置HGPとして決定する。処理CD3が終了すると、処理CC4が終了する。 The CPU 11 determines the height position HGP based on the thickness other than the minimum thickness MNT (CD3). Specifically, the CPU 11 sets the lowest position among the positions from the first position P1 to the sixth position P6 in which all the thicknesses excluding the minimum thickness MNT among the thicknesses stored in the RAM 13 are the first range PR1. Is determined as the height position HGP. When the process CD3 ends, the process CC4 ends.
処理CD2においてNoと判断されると、CPU11は、第1厚みTN1に基づき高さ位置HGPを決定する(CD4)。詳細は後述するため、ここでは概説する。CPU11は、第1厚みTN1を抽出する。CPU11は、第1厚みTN1が第1範囲PR1となる第1高さ位置候補HGPP1を抽出する。CPU11は、第1厚みTN1が第2範囲PR2となる第2高さ位置候補HGPP2を抽出する。CPU11は、厚み群TNGを設定する。CPU11は、第1高さ位置候補HGPP1のうちで厚み群TNGが全て第2範囲PR2となる位置があるか否かを判断する。CPU11は、第1高さ位置候補HGPP1のうちで厚み群TNGが全て第2範囲PR2となる位置がある場合に、第1高さ位置候補HGPP1に基づき高さ位置HGPを決定し、第1高さ位置候補HGPP1のうちで厚み群TNGが全て第2範囲PR2となる位置がない場合に、第2高さ位置候補HGPP2のうちで厚み群TNGが全て第2範囲PR2となる位置があるか否かを判断する。CPU11は、第2高さ位置候補HGPP2のうちで厚み群TNGが全て第2範囲PR2となる位置がある場合に、第2高さ位置候補HGPP2に基づき高さ位置HGPを決定し、第2高さ位置候補HGPP2のうちで厚み群TNGが全て第2範囲PR2となる位置がない場合に、第2高さ位置候補HGPP2のそれぞれの位置に対して積算距離ALを算出する。CPU11は、積算距離ALに基づき高さ位置HGPを決定する。処理CD4が終了すると、処理CC4が終了する。 If it is determined No in the processing CD2, the CPU 11 determines the height position HGP based on the first thickness TN1 (CD4). Details will be outlined here, as will be described later. The CPU 11 extracts the first thickness TN1. The CPU 11 extracts a first height position candidate HGPP1 in which the first thickness TN1 is in the first range PR1. The CPU 11 extracts a second height position candidate HGPP2 in which the first thickness TN1 is in the second range PR2. The CPU 11 sets a thickness group TNG. The CPU 11 determines whether or not there is a position where all the thickness groups TNG fall within the second range PR2 among the first height position candidates HGPP1. The CPU 11 determines the height position HGP based on the first height position candidate HGPP1 when there is a position where all the thickness groups TNG are in the second range PR2 among the first height position candidate HGPP1 and determines the first height If there is no position where thickness group TNG is all within second range PR2 among height position candidates HGPP1, whether or not there is a position where all thickness groups TNG become second range PR2 among second height position candidates HGPP2 To judge. The CPU 11 determines the height position HGP based on the second height position candidate HGPP2 when there is a position where the thickness group TNG is all within the second range PR2 among the second height position candidate HGPP2 and determines the second height In the case where there is no position where the thickness group TNG is all within the second range PR2 among the height position candidates HGPP2, the integrated distance AL is calculated for each position of the second height position candidate HGPP2. The CPU 11 determines the height position HGP based on the integration distance AL. When the process CD4 ends, the process CC4 ends.
(第1厚みTN1に基づく高さ位置HGP決定処理CD4)
図10に示す第1厚みTN1に基づく高さ位置HGP決定処理CD4が開始されると、CPU11は、第1厚みTN1を抽出する(CE1)。具体的には、CPU11は、RAM13に記憶した各厚みから最小厚みMNTを除いた厚みのうちで最も大きい検出数に処理CB1で関連付けられた厚みを第1厚みTN1として抽出する。
(Height position HGP determination processing CD4 based on the first thickness TN1)
When the height position HGP determination processing CD4 based on the first thickness TN1 shown in FIG. 10 is started, the CPU 11 extracts the first thickness TN1 (CE1). Specifically, the CPU 11 extracts the thickness associated in the process CB1 with the largest detection number among the thicknesses obtained by removing the minimum thickness MNT from the respective thicknesses stored in the RAM 13 as a first thickness TN1.
CPU11は、第1高さ位置候補HGPP1を抽出する(CE2)。具体的には、CPU11は、第1厚みTN1が第1範囲PR1となる第1位置P1から第6位置P6までの位置を第1高さ位置候補HGPP1として抽出する。 The CPU 11 extracts the first height position candidate HGPP1 (CE2). Specifically, the CPU 11 extracts the positions from the first position P1 to the sixth position P6 where the first thickness TN1 is the first range PR1 as the first height position candidate HGPP1.
CPU11は、第2高さ位置候補HGPP2を抽出する(CE3)。具体的には、CPU11は、第1厚みTN1が第2範囲PR2となる第1位置P1から第6位置P6までの位置を第2高さ位置候補HGPP2として抽出する。 The CPU 11 extracts the second height position candidate HGPP2 (CE3). Specifically, the CPU 11 extracts the positions from the first position P1 to the sixth position P6 where the first thickness TN1 is the second range PR2 as the second height position candidate HGPP2.
CPU11は、厚み群TNGを抽出する(CE4)。具体的には、CPU11は、RAM13に記憶した各厚みのうちで最小厚みMNTと第1厚みTN1とを除いた厚みを厚み群TNGとして抽出する。 The CPU 11 extracts the thickness group TNG (CE4). Specifically, the CPU 11 extracts the thickness excluding the minimum thickness MNT and the first thickness TN1 among the thicknesses stored in the RAM 13 as a thickness group TNG.
CPU11は、第1高さ位置候補HGPP1のうちで厚み群TNGが全て第2範囲PR2となる第1位置P1から第6位置P6までの位置があるか否かを判断する(CE5)。CPU11は、第1高さ位置候補HGPP1のうちで厚み群TNGが全て第2範囲PR2となる第1位置P1から第6位置P6までの位置がある場合(CE5:Yes)に、処理CE6へ進む。CPU11は、第1高さ位置候補HGPP1のうちで厚み群TNGが全て第2範囲PR2となる第1位置P1から第6位置P6までの位置がない場合(CE5:No)に、処理CE7へ進む。 The CPU 11 determines whether or not there is a position from the first position P1 to the sixth position P6 where the thickness group TNG is all within the second range PR2 among the first height position candidates HGPP1 (CE5). The CPU 11 proceeds to the process CE 6 when there is a position from the first position P 1 to the sixth position P 6 where all the thickness groups TNG are in the second range PR 2 among the first height position candidate HGPP 1 (CE 5: Yes) . The CPU 11 proceeds to the process CE7 when there is no position from the first position P1 to the sixth position P6 where the thickness group TNG is all the second range PR2 among the first height position candidate HGPP1 (CE5: No) .
CPU11は、第1高さ位置候補HGPP1に基づき高さ位置HGPを決定する(CE6)。具体的には、CPU11は、第1高さ位置候補HGPP1のうちで厚み群TNGが全て第2範囲PR2となる第1位置P1から第6位置P6までの位置のうちで最も低い位置を高さ位置HGPとして決定する。処理CE6が終了すると、処理CD4が終了する。 The CPU 11 determines the height position HGP based on the first height position candidate HGPP1 (CE6). Specifically, the CPU 11 sets the height of the lowest position among the positions from the first position P1 to the sixth position P6 where the thickness group TNG is all the second range PR2 in the first height position candidate HGPP1. Determined as position HGP. When the process CE6 ends, the process CD4 ends.
処理CE5においてNoと判断されると、CPU11は、第2高さ位置候補HGPP2のうちで厚み群TNGが全て第2範囲PR2となる第1位置P1から第6位置P6までの位置があるか否かを判断する(CE7)。CPU11は、第2高さ位置候補HGPP2のうちで厚み群TNGが全て第2範囲PR2となる第1位置P1から第6位置P6までの位置がある場合(CE7:Yes)に、処理CE8へ進む。CPU11は、第2高さ位置候補HGPP2のうちで厚み群TNGが全て第2範囲PR2となる第1位置P1から第6位置P6までの位置がない場合(CE7:No)に、処理CE9へ進む。 If it is determined No in the processing CE5, the CPU 11 determines whether or not there is a position from the first position P1 to the sixth position P6 where the thickness group TNG is all the second range PR2 among the second height position candidates HGPP2 Determine whether the (CE7). The CPU 11 proceeds to processing CE8 when there is a position from the first position P1 to the sixth position P6 where the thickness group TNG is all the second range PR2 among the second height position candidates HGPP2 (CE7: Yes) . The CPU 11 proceeds to processing CE 9 when there is no position from the first position P 1 to the sixth position P 6 where all the thickness groups TNG are the second range PR 2 among the second height position candidates HGPP 2 (CE 7: No) .
CPU11は、第2高さ位置候補HGPP2に基づき高さ位置HGPを決定する(CE8)。具体的には、CPU11は、第2高さ位置候補HGPP2のうちで厚み群TNGが全て第2範囲PR2となる第1位置P1から第6位置P6までの位置のうちで最も低い位置を高さ位置HGPとして決定する。処理CE8が終了すると、処理CD4が終了する。 The CPU 11 determines the height position HGP based on the second height position candidate HGPP2 (CE8). Specifically, the CPU 11 sets the height of the lowest position among the positions from the first position P1 to the sixth position P6 where the thickness group TNG is all the second range PR2 in the second height position candidate HGPP2 Determined as position HGP. When the process CE8 ends, the process CD4 ends.
処理CE7においてNoと判断されると、CPU11は、第2高さ位置候補HGPP2のそれぞれの高さ位置において厚み群TNGのうちで第2範囲PR2に含まれる全ての厚みに処理CB1で関連付けられている検出数を全て加算して積算距離ALを算出する(CE9)。本実施形態では、積算距離ALは、第2高さ位置候補HGPP2のうちのそれぞれの高さ位置に対して算出される。 If it is determined No in the process CE7, the CPU 11 is associated in the process CB1 with all thicknesses included in the second range PR2 of the thickness group TNG at each height position of the second height position candidate HGPP2. The integrated distance AL is calculated by adding all the detected numbers (CE 9). In the present embodiment, the integrated distance AL is calculated for each height position of the second height position candidate HGPP2.
CPU11は、積算距離ALに基づき高さ位置HGPを決定する(CE10)。具体的には、CPU11は、第2高さ位置候補HGPP2のうちのそれぞれの高さ位置に対して算出された積算距離ALのうちで最も大きい積算距離ALが算出された高さ位置を高さ位置HGPとして決定する。処理CE10が終了すると、処理CD4が終了する。 The CPU 11 determines the height position HGP based on the integration distance AL (CE10). Specifically, the CPU 11 heights the height position at which the largest integration distance AL is calculated among the integration distances AL calculated for each height position of the second height position candidates HGPP2. Determined as position HGP. When the process CE10 ends, the process CD4 ends.
(具体例)
次に、図11を参照して特定シート部材SM1を読み取るときの高さ位置HGPを決定する過程について説明する。図11(a)に示す特定シート部材SM1は、主走査方向MSに127mm、搬送方向TDに254mmの幅を有する長方形状の布の上面に、楕円形状の第1ワッペンPT1と第2ワッペンPT2とが貼り付けられたシート部材である。
(Concrete example)
Next, the process of determining the height position HGP when reading the specific sheet member SM1 will be described with reference to FIG. The specific sheet member SM1 shown in FIG. 11A has an elliptical first patch PT1 and a second patch PT2 on the upper surface of a rectangular cloth having a width of 127 mm in the main scanning direction MS and 254 mm in the transport direction TD. Is the sheet member stuck.
特定シート部材SM1に対して厚み検知処理を実行したときの特定シート部材SM1の先端位置から後端位置までの検知結果を図11(b)に示す。第1ワッペンPT1は、「1.6mm」の厚みであり、搬送方向TDの長さが73mmであるため、「1mm」間隔の検知結果として、検出数は「73」となる。第2ワッペンPT2は、「2.2mm」の厚みであり、搬送方向TDの長さが37mmであるため、「1mm」間隔の検知結果として、検出数は「37」となる。残りの布の部分は、「1.2mm」の厚みであり、搬送方向TDの長さが254mmから73mmと37mmとを除いた144mmであるため、「1mm」間隔の検知結果として、検出数は「144」である。よって、特定シート部材SM1のヒストグラムは、図11(c)となる。本実施形態では、「1.6mm」の厚みと、「2.2mm」の厚みと、「1.2mm」の厚みとが、各厚みの一例である。 The detection result from the front end position of the specific sheet member SM1 to the rear end position when the thickness detection process is performed on the specific sheet member SM1 is shown in FIG. The first patch PT1 has a thickness of “1.6 mm” and a length of 73 mm in the transport direction TD, so the number of detections is “73” as the detection result of the “1 mm” interval. The second patch PT2 has a thickness of "2.2 mm" and a length of 37 mm in the transport direction TD, so the number of detections is "37" as the detection result of the "1 mm" interval. The remaining cloth portion has a thickness of "1.2 mm" and the length in the transport direction TD is 144 mm excluding 254 mm to 73 mm and 37 mm. Therefore, as the detection result of the "1 mm" interval, the number of detections is It is "144". Therefore, the histogram of the specific sheet member SM1 is as shown in FIG. In the present embodiment, the thickness of “1.6 mm”, the thickness of “2.2 mm”, and the thickness of “1.2 mm” are examples of the respective thicknesses.
処理CB3において、第1厚み差分TDF1は、最大厚みMXTである「2.2mm」から最小厚みMNTである「1.2mm」を引き算して「1.0mm」と算出される。第1厚み差分TDF1は「0.4mm」より大きいため、処理CB4においてNoと判断され、処理CB6が実行される。 In the process CB3, the first thickness difference TDF1 is calculated as "1.0 mm" by subtracting "1.2 mm" which is the minimum thickness MNT from "2.2 mm" which is the maximum thickness MXT. Since the first thickness difference TDF1 is larger than "0.4 mm", it is determined No in the process CB4 and the process CB6 is executed.
処理CB6のうちの処理CC1において、各厚みの種類が「1.6mm」と、「2.2mm」と、「1.2mm」との3種類であるため、厚み数TNが「3」と計数される。厚み数TNが「3」であるため、処理CC2においてYesと判断され、処理CC4が実行される。 In the treatment CC1 of the treatment CB6, the thickness number TN is counted as "3" because the thickness type is three types of "1.6 mm", "2.2 mm", and "1.2 mm" Be done. Since the thickness number TN is “3”, it is determined as Yes in the process CC2, and the process CC4 is executed.
処理CC4のうちの処理CD1において、2番目に薄い厚みである「1.6mm」を最大厚みMXTである「2.2mm」から引き算して第2厚み差分TDF2である「0.6mm」を算出する。第2厚み差分TDF2は「0.4mm」より大きいため、処理CD2においてNoと判断され、処理CD4が実行される。 In the treatment CD1 of the treatment CC4, the second thinnest thickness “1.6 mm” is subtracted from the maximum thickness MXT “2.2 mm” to calculate “0.6 mm” as the second thickness difference TDF2. Do. Since 2nd thickness difference TDF2 is larger than "0.4 mm", it is judged as No in process CD2, and process CD4 is performed.
処理CD4のうちの処理CE1において、最小厚みMNTである「1.2mm」を除いた厚みのうちで最も大きい検出数である「73」に処理CB1で関連付けられた厚みである「1.6mm」を第1厚みTN1として抽出する。処理CE2において、第1高さ位置候補HGPP1として「1.6mm」が第1範囲PR1に含まれる位置である第3位置P3と第4位置P4とが抽出される。処理CE3において、第2高さ位置候補HGPP2として「1.6mm」が第2範囲PR2に含まれる位置である第3位置P3と第4位置P4と第5位置P5とが抽出される。処理CE4において、「1.2mm」と「1.6mm」と「2.2mm」とのうちで、最小厚みMNTである「1.2mm」と、第1厚みTN1である「1.6mm」とを除いた「2.2mm」が厚み群TNGとして抽出される。処理CE5において、第1高さ位置候補HGPP1のうち厚み群TNGである「2.2mm」が第2範囲PR2となる高さ位置があるため、処理CE5においてYesと判断され、処理CE6が実行される。処理CE6において、第1高さ位置候補HGPP1のうちで厚み群TNGである「2.2mm」が第2範囲PR2となる第4位置P4が高さ位置HGPとして決定される。 In the treatment CE1 of the treatment CD4, "1.6 mm", which is the thickness associated in the treatment CB1 with "73", which is the largest detection number among the thicknesses excluding the minimum thickness MNT, "1.2 mm" Is extracted as a first thickness TN1. In the processing CE2, the third position P3 and the fourth position P4 which are positions where “1.6 mm” is included in the first range PR1 are extracted as the first height position candidate HGPP1. In processing CE3, the third position P3, the fourth position P4, and the fifth position P5, which are positions where “1.6 mm” is included in the second range PR2, are extracted as the second height position candidate HGPP2. In the treatment CE4, among the “1.2 mm”, “1.6 mm” and “2.2 mm”, the minimum thickness MNT “1.2 mm” and the first thickness TN1 “1.6 mm” "2.2 mm" except for is extracted as thickness group TNG. In processing CE5, since there is a height position where “2.2 mm” which is the thickness group TNG in the first height position candidate HGPP1 is the second range PR2, Yes is determined in processing CE5, and processing CE6 is executed. Ru. In the processing CE6, the fourth position P4 in which the thickness group TNG “2.2 mm” is the second range PR2 is determined as the height position HGP in the first height position candidate HGPP1.
<実施形態の効果>
本実施形態では、高さ位置HGP決定処理C3において、処理CB3は、最大厚みMXTから最小厚みMNTを引き算して第1厚み差分TDF1を算出する。処理CB4は、第1厚み差分TDF1が「0.4mm」以下であるか否かを判断し、「0.4mm」以下であるときに処理CB5に進み、「0.4mm」以下でないときに処理CB6に進む。処理CB5は、最小厚みMNTと最大厚みMXTとが第1範囲PR1となる第1位置P1から第6位置P6までの位置のうちで最も低い位置を高さ位置HGPとして決定する。処理CB6は、厚み数TNに基づき高さ位置HGPを決定する。よって、シート部材SMの厚みのバラツキが小さい場合である第1厚み差分TDF1が、「0.4mm」以下である場合には、最大厚みMXTと最小厚みMNTとが第1範囲となる第1位置P1から第6位置P6までの位置のうちで最も低い位置を高さ位置HGPとして決定し、シート部材SMの厚みのバラツキが大きい場合である第1厚み差分TDF1が、「0.4mm」以下でない場合には、厚み数TNに基づき高さ位置HGPを決定するため、凹凸を有するシート部材SMを読み取るときでも、シート部材SMのエッジ画像を生成することができる。
<Effect of the embodiment>
In the present embodiment, in the height position HGP determination process C3, the process CB3 calculates the first thickness difference TDF1 by subtracting the minimum thickness MNT from the maximum thickness MXT. The process CB4 determines whether the first thickness difference TDF1 is "0.4 mm" or less, and proceeds to the process CB5 when it is "0.4 mm" or less, and processes when it is not "0.4 mm" or less Go to CB6. The processing CB5 determines the lowest position among the positions from the first position P1 to the sixth position P6 where the minimum thickness MNT and the maximum thickness MXT are the first range PR1 as the height position HGP. The processing CB6 determines the height position HGP based on the thickness number TN. Therefore, the first position where the maximum thickness MXT and the minimum thickness MNT fall within the first range when the first thickness difference TDF1 is "0.4 mm" or less, which is a case where the thickness variation of the sheet member SM is small. The lowest position among the positions from P1 to the sixth position P6 is determined as the height position HGP, and the first thickness difference TDF1 which is a case where the thickness variation of the sheet member SM is large is not "0.4 mm or less" In this case, since the height position HGP is determined based on the thickness number TN, an edge image of the sheet member SM can be generated even when reading the sheet member SM having asperities.
処理CB6において、処理CC1は、RAM13に記憶した各厚みから各厚みの種類の数を厚み数TNとして計数する。処理CC2は、厚み数TNが「3」以上であるか否かを判断し、「3」以上であるときに処理CC4に進み、「3」未満であるときに処理CC3に進む。処理CC3は、最大厚みMXTが第1範囲PR1となる第1位置P1から第6位置P6までの位置のうちで最も低い位置を高さ位置HGPとして決定する。処理CC4は、第2厚み差分TDF2に基づき高さ位置HGPを決定する。よって、厚み数TNが「3」未満の場合には、厚みの種類が2種類しかないため、最大厚みMXTが第1範囲PR1となる第1位置P1から第6位置P6までの位置のうちで最も低い位置を高さ位置HGPとして決定することで、最大厚みMXTの凸部のエッジ画像を確実に検出することができる。 In the process CB6, the process CC1 counts the number of types of each thickness from each thickness stored in the RAM 13 as the number TN of thicknesses. The process CC2 determines whether the thickness number TN is "3" or more, proceeds to process CC4 when it is "3" or more, and proceeds to process CC3 when it is less than "3". The processing CC3 determines the lowest position among the positions from the first position P1 to the sixth position P6 where the maximum thickness MXT is the first range PR1 as the height position HGP. The processing CC4 determines the height position HGP based on the second thickness difference TDF2. Therefore, when the thickness number TN is less than "3", there are only two types of thickness, and therefore, the positions from the first position P1 to the sixth position P6 where the maximum thickness MXT is the first range PR1. By determining the lowest position as the height position HGP, it is possible to reliably detect an edge image of a convex portion of the maximum thickness MXT.
処理CC4において、処理CD1は、RAM13に記憶した各厚みのうちで2番目に薄い厚みを最大厚みMXTから引き算して第2厚み差分TDF2を算出する。処理CD2は、第2厚み差分TDF2が「0.4mm」以下であるか否かを判断し、「0.4mm」以下であるときに処理CD3に進み、「0.4mm」以下でないときに処理CD4に進む。処理CD3は、RAM13に記憶した各厚みのうちで最小厚みMNTを除いた厚みが全て第1範囲PR1となる第1位置P1から第6位置P6までの位置のうちで最も低い位置を高さ位置HGPとして決定する。処理CD4は、搬送方向TDの積算距離ALに基づき高さ位置HGPを決定する。よって、第2厚み差分TDF2が「0.4mm」以下である場合であるシート部材SMに貼り付けられた凸部が複数あり、複数の凸部の厚みの差が小さい場合には、複数の凸部の全てのエッジ画像を検出することができ、第2厚み差分TDF2が「0.4mm」以下でない場合であるシート部材SMに貼り付けられた凸部が複数あり、複数の凸部の厚みの差が大きい場合には、複数の凸部のうちで最も検出数が大きい凸部のエッジ画像を検出することができる。 In the process CC4, the process CD1 calculates a second thickness difference TDF2 by subtracting the second smallest thickness among the thicknesses stored in the RAM 13 from the maximum thickness MXT. The treatment CD 2 determines whether the second thickness difference TDF 2 is "0.4 mm" or less, and proceeds to the treatment CD 3 when it is "0.4 mm" or less, and is processed when it is not "0.4 mm" or less Go to CD4. Among the thicknesses stored in the RAM 13, the treatment CD 3 is the lowest position among the first position P1 to the sixth position P6 where the thickness excluding the minimum thickness MNT is all within the first range PR1. Determined as HGP. The processing CD 4 determines the height position HGP based on the integrated distance AL in the transport direction TD. Therefore, when there are a plurality of convex portions attached to the sheet member SM, which is a case where the second thickness difference TDF2 is “0.4 mm or less”, and a difference in thickness of the plurality of convex portions is small, a plurality of convex portions There are a plurality of convex portions attached to the sheet member SM which can detect all the edge images of the part and the second thickness difference TDF2 is not "0.4 mm" or less, and the thickness of the plurality of convex portions If the difference is large, it is possible to detect the edge image of the convex portion having the largest detection number among the plurality of convex portions.
処理CD4において、処理CE1は、RAM13に記憶した各厚みから最小厚みMNTを除いた厚みのうちで最も大きい検出数に関連付けられた厚みを第1厚みTN1として抽出する。処理CE2は、第1厚みTN1が第1範囲PR1となる第1位置P1から第6位置P6までの位置を第1高さ位置候補HGPP1として抽出する。処理CE4は、RAM13に記憶した各厚みのうちで最小厚みMNTと第1厚みTN1とを除いた厚みを厚み群TNGとして抽出する。処理CE5は、第1高さ位置候補HGPP1のうちで厚み群TNGが全て第2範囲PR2となる第1位置P1から第6位置P6までの位置があるか否かを判断し、第2範囲PR2となる位置があるときに処理CE6へ進み、第2範囲PR2となる位置がないときに処理CE7へ進む。処理CE6は、第1高さ位置候補HGPP1のうちで厚み群TNGが全て第2範囲PR2となる第1位置P1から第6位置P6までの位置のうちで最も低い位置を高さ位置HGPとして決定する。よって、複数の凸部のうちで第1厚みTN1の凸部が第1範囲PR1となる第1高さ位置候補HGPP1が、厚み群TNGの凸部が第2範囲PR2となる位置である場合に、その第1高さ位置候補HGPP1のうちの最も低い高さ位置を高さ位置HGPとして決定することで、シート部材SMに貼り付けられた複数の凸部のエッジ画像を検出することができる。 In the process CD4, the process CE1 extracts the thickness associated with the largest detected number among the thicknesses obtained by removing the minimum thickness MNT from the thicknesses stored in the RAM 13 as the first thickness TN1. The processing CE2 extracts the positions from the first position P1 to the sixth position P6 where the first thickness TN1 is the first range PR1 as the first height position candidate HGPP1. The processing CE4 extracts the thickness excluding the minimum thickness MNT and the first thickness TN1 among the thicknesses stored in the RAM 13 as a thickness group TNG. The processing CE5 determines whether or not there is a position from the first position P1 to the sixth position P6 where the thickness group TNG is all the second range PR2 among the first height position candidate HGPP1. The second range PR2 The process proceeds to step CE6 when there is a position where is and the process proceeds to step CE7 when there is no position that becomes the second range PR2. The processing CE6 determines the lowest position among the first height position candidate HGPP1 as the height position HGP among the positions from the first position P1 to the sixth position P6 where the thickness group TNG is all the second range PR2 Do. Therefore, when the first height position candidate HGPP1 whose convex portion of the first thickness TN1 is the first range PR1 among the plurality of convex portions is the position where the convex portion of the thickness group TNG is the second range PR2 By determining the lowest height position among the first height position candidates HGPP1 as the height position HGP, it is possible to detect edge images of a plurality of convex portions attached to the sheet member SM.
処理CE3は、第1厚みTN1が第2範囲PR2となる第1位置P1から第6位置P6までの位置を第2高さ位置候補HGPP2として抽出する。処理CE7は、第2高さ位置候補HGPP2のうちで厚み群TNGが全て第2範囲PR2となる第1位置P1から第6位置P6までの位置があるか否かを判断し、厚み群TNGが全て第2範囲PR2となる位置があるときに処理CE8へ進み、厚み群TNGが全て第2範囲PR2となる位置がないときに処理CE9へ進む。処理CE8は、第2高さ位置候補HGPP2のうちで厚み群TNGが全て第2範囲PR2となる第1位置P1から第6位置P6までの位置のうちで最も低い位置を高さ位置HGPとして決定する。よって、複数の凸部のうちで第1厚みTN1の凸部が第2範囲となる第2高さ位置候補HGPP2が、厚み群TNGの凸部が全て第2範囲PR2となる位置がある場合に、その高さ位置のうちの最も低い位置を高さ位置HGPとして決定することで、シート部材SMに貼り付けられた複数の凸部のエッジ画像を検出することができる。 The processing CE3 extracts the position from the first position P1 to the sixth position P6 where the first thickness TN1 is the second range PR2 as a second height position candidate HGPP2. The processing CE7 determines whether or not there is a position from the first position P1 to the sixth position P6 where the thickness group TNG is all the second range PR2 among the second height position candidates HGPP2, and the thickness group TNG The process proceeds to processing CE8 when there is a position that is all within the second range PR2, and proceeds to processing CE9 when there is no position where all the thickness groups TNG are within the second range PR2. The processing CE8 determines the lowest position among the second height position candidate HGPP2 as the height position HGP among the positions from the first position P1 to the sixth position P6 where all the thickness groups TNG are in the second range PR2 Do. Therefore, when there is a position where the second height position candidate HGPP2 in which the convex portion of the first thickness TN1 is the second range among the plurality of convex portions and the convex portion of the thickness group TNG is the second range PR2 By determining the lowest position of the height positions as the height position HGP, it is possible to detect edge images of a plurality of convex portions attached to the sheet member SM.
処理CE9は、第2高さ位置候補HGPP2のそれぞれの高さ位置において厚み群TNGのうちで第2範囲PR2に含まれる全ての厚みに関連付けられている検出数を全て加算して積算距離ALを算出する。処理CE10は、第2高さ位置候補HGPP2のうちのそれぞれの高さ位置に対して算出された積算距離ALのうちで最も大きい積算距離ALに対応する高さ位置を高さ位置HGPとして決定する。よって、複数の凸部のうちで第1厚みTN1の凸部が第2範囲PR2となる第2高さ位置候補HGPP2のうちで、第2範囲PR2に含まれる厚み群TNGの凸部に関連付けられている検出数を加算した積算距離ALの最も大きい高さ位置を高さ位置HGPとして決定することで、シート部材SMに貼り付けられた複数の凸部のエッジ画像を検出することができる。 The processing CE9 adds all detection numbers associated with all the thicknesses included in the second range PR2 in the thickness group TNG at each height position of the second height position candidate HGPP2 and adds the integration distance AL. calculate. The processing CE10 determines, as the height position HGP, the height position corresponding to the largest integration distance AL among the integration distances AL calculated for each height position of the second height position candidates HGPP2. . Therefore, among the plurality of convex portions, among the second height position candidate HGPP2 in which the convex portion of the first thickness TN1 is the second range PR2, the convex portion of the thickness group TNG included in the second range PR2 is associated By determining the largest height position of the integrated distance AL obtained by adding the detected number as the height position HGP, it is possible to detect edge images of a plurality of convex portions attached to the sheet member SM.
[実施形態と発明との対応関係]
画像読取装置1、およびマット40が、本発明の画像読取装置、およびマットの一例である。読取部17、デバイス制御部22、AFE28、および画像処理部29が、本発明の読取部の一例である。駆動回路18、搬送モータMT2、搬送ローラ52,53が、本発明の移動部の一例である。高さ検知ローラ51、および高さ検知センサ23が、本発明の検出部の一例である。高さ調整機構MM、駆動回路18、および高さ調整モータMT1が、本発明の高さ調整部の一例である。CPU11が、本発明の制御部の一例である。第1範囲PR1が、本発明の第1範囲の一例である。第2範囲PR2が、本発明の第2範囲の一例である。検出数が、本発明の位置数の一例である。
[Correspondence between embodiment and invention]
The image reading device 1 and the mat 40 are an example of the image reading device and the mat of the present invention. The reading unit 17, the device control unit 22, the AFE 28, and the image processing unit 29 are an example of the reading unit of the present invention. The drive circuit 18, the conveyance motor MT2, and the conveyance rollers 52 and 53 are examples of the moving unit of the present invention. The height detection roller 51 and the height detection sensor 23 are an example of a detection unit of the present invention. The height adjustment mechanism MM, the drive circuit 18, and the height adjustment motor MT1 are an example of the height adjustment unit of the present invention. The CPU 11 is an example of a control unit of the present invention. The first range PR1 is an example of the first range of the present invention. The second range PR2 is an example of a second range of the present invention. The number of detections is an example of the number of positions of the present invention.
処理C2が、本発明の検出処理の一例である。処理CB3が、本発明の第1差分算出処理の一例である。処理CB4が、本発明の第1厚み差分判断処理の一例である。処理CB5が、本発明の第1変更処理の一例である。処理CB6が、本発明の第2変更処理の一例である。処理C4が、本発明の読取処理の一例である。処理CC1が、本発明の厚み数算出処理の一例である。処理CC2が、本発明の厚み数判断処理の一例である。処理CC3が、本発明の第3変更処理の一例である。処理CC4が、本発明の第4変更処理の一例である。処理CB1が、本発明の位置数算出処理の一例である。処理CD1が、本発明の第2差分算出処理の一例である。処理CD2が、本発明の第2厚み差分判断処理の一例である。処理CD3が、本発明の第5変更処理の一例である。処理CD4が、本発明の第6変更処理の一例である。処理CE1が、本発明の最長厚み決定処理の一例である。処理CE5が、本発明の第7変更処理の一例である。処理CE6が、本発明の第7変更処理の一例である。処理CE7〜処理CE10が、本発明の第8変更処理の一例である。処理CE7が、本発明の第2厚み判断処理の一例である。処理CE8が、本発明の第9変更処理の一例である。処理CE9、および処理CE10が、本発明の第10変更処理の一例である。処理CE9が、本発明の合計位置数算出処理の一例である。処理CE10が、本発明の第11変更処理の一例である。 Process C2 is an example of the detection process of the present invention. Process CB3 is an example of the first difference calculation process of the present invention. The process CB4 is an example of the first thickness difference determination process of the present invention. Process CB5 is an example of the first change process of the present invention. Process CB6 is an example of the second change process of the present invention. Process C4 is an example of the reading process of the present invention. The process CC1 is an example of the thickness number calculation process of the present invention. The process CC2 is an example of the thickness number determination process of the present invention. The process CC3 is an example of the third change process of the present invention. The process CC4 is an example of a fourth change process of the present invention. The process CB1 is an example of the position number calculation process of the present invention. Process CD1 is an example of the 2nd difference calculation process of this invention. Processing CD2 is an example of the 2nd thickness difference judging processing of the present invention. The processing CD 3 is an example of the fifth change processing of the present invention. The process CD 4 is an example of the sixth change process of the present invention. The treatment CE1 is an example of the longest thickness determination process of the present invention. Process CE5 is an example of the seventh change process of the present invention. Process CE6 is an example of the seventh change process of the present invention. The processing CE7 to the processing CE10 are an example of the eighth change processing of the present invention. The processing CE7 is an example of the second thickness determination processing of the present invention. Process CE8 is an example of the ninth change process of the present invention. The processing CE9 and the processing CE10 are examples of the tenth modification processing of the present invention. Process CE9 is an example of the total position number calculation process of the present invention. Process CE10 is an example of the eleventh change process of the present invention.
[変形例]
本発明は、本実施形態に限定されることなく、その趣旨を逸脱しない範囲において種々の変形が可能である。以下にその変形の一例を述べる。
[Modification]
The present invention is not limited to the present embodiment, and various modifications can be made without departing from the scope of the present invention. An example of the modification is described below.
(1)本実施形態の画像読取装置1は、プリンタ部を備えた複合機に適用されても良い。 (1) The image reading apparatus 1 of the present embodiment may be applied to a multifunction peripheral provided with a printer unit.
(2)高さ検知ローラ51と、高さ検知センサ23とを用いてシート部材SMの厚みを検知したが、異なる方法で検知しても良い。変位センサや測長センサなどのセンサを用いてシート部材SMの厚みを検出しても良い。 (2) Although the thickness of the sheet member SM is detected using the height detection roller 51 and the height detection sensor 23, it may be detected by a different method. The thickness of the sheet member SM may be detected using a sensor such as a displacement sensor or a length measurement sensor.
(3)本実施形態では、第1範囲PR1は、読取部17が300DPIの解像度に対して30%以上のMTFを有する範囲であり、第2範囲PR2は、読取部17が150DPIの解像度に対して30%以上のMTFを有する範囲であるとして説明したが、異なる範囲でも良い。例えば、第1範囲PR1は、読取部17が600DPIの解像度に対して30%以上のMTFを有する範囲であり、第2範囲PR2は、読取部17が300DPIの解像度に対して30%以上のMTFを有する範囲であっても良い。 (3) In the present embodiment, the first range PR1 is a range in which the reading unit 17 has an MTF of 30% or more of the resolution of 300 DPI, and the second range PR2 is the resolution of 150 DPI in the reading unit 17 Although the range is described as having a MTF of 30% or more, it may be a different range. For example, the first range PR1 is a range in which the reading unit 17 has an MTF of 30% or more with respect to the resolution of 600 DPI, and the second range PR2 is an MTF of 30% or more with respect to the resolution of 300 DPI. It may be a range having
(4)本実施形態では、第1位置P1から第6位置P6までのそれぞれの位置の高さ方向HDの距離は、「0.4mm」であったが、異なる距離でも良い。例えば、それぞれの位置の高さ方向HDの距離が「0.2mm」であれば、処理CB4、及び処理CD2の判断基準である「0.4mm」が大きくなり、それぞれの位置の高さ方向HDの距離が「0.6mm」であれば、処理CB4、及び処理CD2の判断基準である「0.4mm」が小さくなる。また、読取部17の焦点範囲は、「0.8mm」であったが、異なる距離でも良い。例えば、焦点範囲が「1.0mm」であれば、処理CB4、及び処理CD2の判断基準である「0.4mm」が大きくなり、焦点範囲が「0.6mm」であれば、処理CB4、及び処理CD2の判断基準である「0.4mm」が小さくなる。 (4) In the present embodiment, the distance in the height direction HD of each position from the first position P1 to the sixth position P6 is "0.4 mm", but may be different distances. For example, if the distance in the height direction HD of each position is "0.2 mm", "0.4 mm", which is the determination reference of the processing CB4 and the processing CD2, becomes large, and the height direction HD of each position If the distance of is “0.6 mm”, “0.4 mm”, which is the determination criterion of the process CB4 and the process CD2, becomes smaller. Moreover, although the focus range of the reading part 17 was "0.8 mm", it may be a different distance. For example, if the focus range is “1.0 mm”, “0.4 mm”, which is the determination criterion of the process CB4 and the process CD2, becomes large, and if the focus range is “0.6 mm”, the process CB4 and "0.4 mm" which is a criterion of processing CD2 becomes small.
1…画像読取装置、11…CPU、12…ROM、13…RAM、14…フラッシュPROM、15…操作部、16…表示部、17…読取部、18…駆動回路、21…マットセンサ、22…デバイス制御部、23…高さ検知センサ、24…バス、28…AFE、29…画像処理部、31…光源、32…受光部、33…ロッドレンズ、34…プラテンガラス、40…マット、51…高さ検知ローラ、52,53…搬送ローラ、90…切断部、MB…本体、MM…高さ調整機構、MT1…高さ調整モータ、MT2…搬送モータ、SM…シート部材、BP…基準部、HDR…厚み検知領域、PR1…第1範囲、PR2…第2範囲
DESCRIPTION OF SYMBOLS 1 ... Image reader, 11 ... CPU, 12 ... ROM, 13 ... RAM, 14 ... Flash PROM, 15 ... Operation part, 16 ... Display part, 17 ... Reading part, 18 ... Drive circuit, 21 ... Mat sensor, 22 ... Device control unit 23 Height detection sensor 24 Bus 28 AFE 29 Image processing unit 31 Light source 32 Light receiving unit 33 Rod lens 34 Platen glass 40 Mat 51 Height detection roller, 52, 53 ... conveyance roller, 90 ... cutting part, MB ... main body, MM ... height adjustment mechanism, MT 1 ... height adjustment motor, MT 2 ... conveyance motor, SM ... sheet member, BP ... reference part, HDR: thickness detection area, PR1: first range, PR2: second range
Claims (6)
高さ方向における基準位置が定められ、シート部材を載置するマットと、
高さ方向と直交する搬送方向に前記マットを前記読取部と対向する位置へ移動させる移動部と、
高さ方向における前記マットに載置されたシート部材の厚みであるシート厚みを検出する検出部であって、前記シート厚みは前記基準位置から高さ方向におけるシート部材の上端位置までの距離である検出部と、
高さ方向における前記読取部の高さ位置を前記基準位置に対して高さ方向に多段階に変更する高さ調整部と、
制御部と、を備え、
前記高さ調整部は、前記読取部の高さ位置を前記多段階のうちの各1段階変更するために、前記基準位置に対して高さ方向における前記読取部の位置を予め定められた第1距離変更し、
前記読取部が第1所定値以上の解像力で読み取る第1範囲は、前記基準位置に対する高さ方向の距離の範囲であり、前記多段階の高さ位置にそれぞれ対応して多数定められ、前記第1範囲の上限値から前記第1範囲の下限値を引き算した焦点範囲がそれぞれ同じに定められ、
前記制御部は、
搬送方向に沿って前記マットを移動させながら複数の検出位置で前記マットに載置されたシート部材の複数のシート厚みを前記検出部に検出させる検出処理と、
前記複数のシート厚みのうちの最も厚い厚みである最大厚みから前記複数のシート厚みのうちの最も薄い厚みである第1最小厚みを引き算した第1厚み差分を算出する第1差分算出処理と、
前記第1厚み差分が第2距離以下であるか否かを判断する第1厚み差分判断処理であって、前記第2距離は、前記焦点範囲から前記第1距離を引き算した距離である第1厚み差分判断処理と、
前記第1厚み差分が前記第2距離以下であるときに、前記多数の第1範囲のうちで前記複数のシート厚みが全て含まれる第1範囲に対応する前記読取部の高さ位置のうちの最も低い高さ位置に、前記読取部の高さ位置を決定する第1決定処理と、
前記第1厚み差分が前記第2距離より大きいときに、前記複数のシート厚みから前記第1最小厚みを除いた最小除去厚みに基づき決定される高さ位置に、前記読取部の高さ位置を決定する第2決定処理と、
前記第1決定処理、又は前記第2決定処理において決定した高さ位置に、前記読取部の高さ位置を前記高さ調整部に変更させ、前記読取部が前記マットに載置されたシート部材を読み取ることによりエッジ画像を前記読取部に生成させる読取処理と、を実行することを特徴とする画像読取装置。 A reading unit that generates an edge image by reading a sheet member;
A mat on which the reference position in the height direction is determined and on which the sheet member is placed;
A moving unit that moves the mat to a position facing the reading unit in a conveyance direction orthogonal to the height direction;
A detection unit for detecting a sheet thickness which is a thickness of a sheet member placed on the mat in a height direction, wherein the sheet thickness is a distance from the reference position to an upper end position of the sheet member in the height direction A detection unit,
A height adjustment unit that changes the height position of the reading unit in the height direction in multiple steps in the height direction with respect to the reference position;
And a control unit,
The height adjustment unit may have a predetermined position of the reading unit in the height direction with respect to the reference position in order to change the height position of the reading unit by one of each of the multiple steps. 1 distance change,
A first range read by the reading unit with a resolution equal to or greater than a first predetermined value is a range of distance in the height direction with respect to the reference position, and a plurality of first ranges are determined corresponding to the multistage height positions, The focus range obtained by subtracting the lower limit value of the first range from the upper limit value of the one range is defined as the same,
The control unit
Detection processing for causing the detection unit to detect a plurality of sheet thicknesses of sheet members placed on the mat at a plurality of detection positions while moving the mat along the transport direction;
A first difference calculation process for calculating a first thickness difference obtained by subtracting a first minimum thickness which is the thinnest thickness of the plurality of sheet thicknesses from a maximum thickness which is the thickest thickness of the plurality of sheet thicknesses;
A first thickness difference determination process of determining whether the first thickness difference is equal to or less than a second distance, wherein the second distance is a distance obtained by subtracting the first distance from the focus range. Thickness difference judgment processing,
When the first thickness difference is equal to or less than the second distance, the height position of the reading unit corresponding to the first range in which the plurality of sheet thicknesses are all included in the plurality of first ranges A first determination process of determining the height position of the reading unit at the lowest height position;
When the first thickness difference is larger than the second distance, the height position of the reading unit is determined at the height position determined based on the minimum removal thickness obtained by removing the first minimum thickness from the plurality of sheet thicknesses. A second determination process to determine
A sheet member on which the height adjustment unit changes the height position of the reading unit at the height position determined in the first determination process or the second determination process, and the reading unit is placed on the mat And an image reading apparatus for performing an image reading process for causing the image reader to generate an edge image by reading the image data.
前記マットに載置されたシート部材のシート厚みの種類の個数である厚み数を前記複数のシート厚みから算出する厚み数算出処理と、
前記厚み数が3以上であるか否かを判断する厚み数判断処理と、
前記厚み数が3未満であるときに、前記多数の第1範囲のうちで前記最大厚みが含まれる第1範囲に対応する前記読取部の高さ位置のうちの最も低い高さ位置に、前記読取部の高さ位置を決定する第3決定処理と、
前記厚み数が3以上であるときに、前記最小除去厚みのうちの最も薄い厚みである第2最小厚みを前記最大厚みから引き算した第2厚み差分に基づき決定される高さ位置に、前記読取部の高さ位置を決定する第4決定処理と、を含むことを特徴とする請求項1に記載の画像読取装置。 The second determination process is
Thickness number calculation processing for calculating the number of thicknesses, which is the number of types of sheet thickness of sheet members placed on the mat, from the plurality of sheet thicknesses;
Thickness number determination processing to determine whether the thickness number is 3 or more;
When the thickness number is less than 3, at the lowest height position among the height positions of the reading unit corresponding to the first range including the maximum thickness among the multiple first ranges, A third determination process of determining the height position of the reading unit;
When the thickness number is 3 or more, the reading is performed at a height position determined based on a second thickness difference obtained by subtracting a second minimum thickness which is the thinnest one of the minimum removed thicknesses from the maximum thickness. The image reading apparatus according to claim 1, further comprising a fourth determination process of determining a height position of the unit.
前記複数のシート厚みのうちの各シート厚みについて前記各シート厚みが検出された検出位置の個数である位置数を算出する位置数算出処理を実行し、
前記第4決定処理は、
前記最大厚みから前記第2最小厚みを引き算した第2厚み差分を算出する第2差分算出処理と、
前記第2厚み差分が前記第2距離以下であるか否かを判断する第2厚み差分判断処理と、
前記第2厚み差分が前記第2距離以下であるときに、前記多数の第1範囲のうちで前記最小除去厚みが全て含まれる第1範囲に対応する前記読取部の高さ位置のうちの最も低い高さ位置に、前記読取部の高さ位置を決定する第5決定処理と、
前記第2厚み差分が前記第2距離より大きいときに、前記最小除去厚みのうちで最も大きい位置数が算出されたシート厚みである最長厚みに基づき決定される高さ位置に、前記読取部の高さ位置を決定する第6決定処理と、を含むことを特徴とする請求項2に記載の画像読取装置。 The control unit
A position number calculation process is performed to calculate the number of positions which is the number of detection positions at which each sheet thickness is detected for each sheet thickness among the plurality of sheet thicknesses,
The fourth determination process is
A second difference calculation process of calculating a second thickness difference obtained by subtracting the second minimum thickness from the maximum thickness;
A second thickness difference determination process of determining whether the second thickness difference is equal to or less than the second distance;
When the second thickness difference is equal to or less than the second distance, the most of the height positions of the reading unit corresponding to the first range in which the minimum removal thickness is all included in the plurality of first ranges A fifth determination process of determining the height position of the reading unit at a low height position;
When the second thickness difference is greater than the second distance, the height of the reading unit is determined at the height position determined based on the longest thickness, which is the calculated sheet thickness, of the largest number of positions among the minimum removal thicknesses. The image reading apparatus according to claim 2, further comprising: a sixth determination process of determining the height position.
前記第6決定処理は、
前記最長厚みを決定する最長厚み決定処理と、
前記多数の第1範囲のうちで前記最長厚みが含まれる第1範囲に対応する前記読取部の高さ位置である第1最長高さ位置が、前記多数の第2範囲のうちで前記最小除去厚みから前記最長厚みを除いた最長除去厚みが全て含まれる第2範囲に対応する前記読取部の高さ位置であるか否かを判断する第1厚み判断処理と、
前記第1最長高さ位置が、前記最長除去厚みが全て含まれる第2範囲に対応する前記読取部の高さ位置であるときに、前記第1最長高さ位置のうちで前記最長除去厚みが全て含まれる第2範囲に対応する前記読取部の高さ位置のうちの最も低い高さ位置に、前記読取部の高さ位置を決定する第7決定処理と、
前記第1最長高さ位置が、前記最長除去厚みが全て含まれる第2範囲に対応する前記読取部の高さ位置でないときに、前記多数の第2範囲のうちで前記最長厚みが含まれる第2範囲に対応する前記読取部の高さ位置である第2最長高さ位置に基づき決定される高さ位置に、前記読取部の高さ位置を決定する第8決定処理と、を含むことを特徴とする請求項3に記載の画像読取装置。 A second range in which the reading unit reads with a resolving power equal to or higher than a second predetermined value lower than the first predetermined value is a range of distance in the height direction with respect to the reference position. It is a range that includes one range, and a number is determined corresponding to each of the multistage height positions,
The sixth determination process is
A longest thickness determination process for determining the longest thickness;
The first longest height position, which is the height position of the reading unit corresponding to the first range including the longest thickness among the plurality of first ranges, is the minimum removal among the plurality of second ranges. A first thickness determination process of determining whether or not the height position of the reading unit corresponds to a second range in which the longest removed thickness excluding the longest thickness from the thickness is all included;
When the first longest height position is a height position of the reading unit corresponding to a second range in which the longest removal thickness is all included, the longest removal thickness is within the first longest height position. A seventh determination process of determining the height position of the reading unit at the lowest height position among the height positions of the reading unit corresponding to the second range which is all included;
The longest thickness is included in the plurality of second ranges when the first longest height position is not the height position of the reading unit corresponding to the second range in which the longest removal thickness is all included. An eighth determination process of determining the height position of the reading unit at a height position determined based on a second longest height position which is a height position of the reading unit corresponding to two ranges; The image reading apparatus according to claim 3, characterized in that
前記第2最長高さ位置が、前記多数の第2範囲のうちで前記最長除去厚みが全て含まれる第2範囲に対応する前記読取部の高さ位置であるか否かを判断する第2厚み判断処理と、
前記第2最長高さ位置が、前記最長除去厚みが全て含まれる第2範囲に対応する前記読取部の高さ位置であるときに、前記第2最長高さ位置のうちで前記最長除去厚みが全て含まれる第2範囲に対応する前記読取部の高さ位置のうちの最も低い高さ位置に、前記読取部の高さ位置を決定する第9決定処理と、
前記第2最長高さ位置が、前記最長除去厚みが全て含まれる第2範囲に対応する前記読取部の高さ位置でないときに、前記第2最長高さ位置のうちのそれぞれの前記読取部の高さ位置において第2範囲に含まれる全てのシート厚みに対応する位置数を加算した合計位置数に基づき決定される高さ位置に、前記読取部の高さ位置を決定する第10決定処理と、を含むことを特徴とする請求項4に記載の画像読取装置。 The eighth determination process is
A second thickness determining whether or not the second longest height position is a height position of the reading unit corresponding to a second range in which all the longest removal thicknesses are included among the plurality of second ranges Judgment processing,
When the second longest height position is a height position of the reading unit corresponding to a second range in which the longest removal thickness is all included, the longest removal thickness is the second longest height position. Ninth determination processing of determining the height position of the reading unit at the lowest height position among the height positions of the reading unit corresponding to the second range which is all included;
When the second longest height position is not the height position of the reading unit corresponding to the second range in which the longest removal thickness is all included, the reading unit of each of the second longest height positions A height determination step of determining the height position of the reading unit at a height position determined based on a total position number determined by adding the number of positions corresponding to all sheet thicknesses included in the second range at the height position; The image reading apparatus according to claim 4, comprising:
前記第2最長高さ位置のうちの前記それぞれの前記読取部の高さ位置について前記第2範囲に含まれる全てのシート厚みに対応する位置数を加算して合計位置数を算出する合計位置数算出処理と、
前記第2最長高さ位置のうちで最も大きい合計位置数が算出された前記読取部の高さ位置に、前記読取部の高さ位置を決定する第11決定処理と、を含むことを特徴とする請求項5に記載の画像読取装置。
The tenth determination process is
The total number of positions for calculating the total number of positions by adding the number of positions corresponding to all sheet thicknesses included in the second range with respect to the height position of the respective reading units among the second longest height position Calculation processing,
An eleventh determination process of determining the height position of the reading unit at the height position of the reading unit at which the largest total number of positions among the second longest height positions is calculated; The image reading apparatus according to claim 5.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2017084323A JP7024203B2 (en) | 2017-04-21 | 2017-04-21 | Image reader |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2017084323A JP7024203B2 (en) | 2017-04-21 | 2017-04-21 | Image reader |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2018181233A true JP2018181233A (en) | 2018-11-15 |
| JP7024203B2 JP7024203B2 (en) | 2022-02-24 |
Family
ID=64275600
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2017084323A Active JP7024203B2 (en) | 2017-04-21 | 2017-04-21 | Image reader |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7024203B2 (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04140253A (en) * | 1990-09-29 | 1992-05-14 | Glory Ltd | Device for detecting abnormal thickness of sheet |
| JP2010153982A (en) * | 2008-12-24 | 2010-07-08 | Canon Electronics Inc | Image reader |
| JP2011193116A (en) * | 2010-03-12 | 2011-09-29 | Ricoh Co Ltd | Image reader and image forming apparatus equipped with the same |
| JP2014138290A (en) * | 2013-01-17 | 2014-07-28 | Sharp Corp | Imaging device and imaging method |
| JP2015025933A (en) * | 2013-07-26 | 2015-02-05 | 日本ダム株式会社 | Manufacturing method of cloth emblem base material |
| US20150356717A1 (en) * | 2013-01-14 | 2015-12-10 | Crest Solutions Limited | A label inspection system and method |
-
2017
- 2017-04-21 JP JP2017084323A patent/JP7024203B2/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04140253A (en) * | 1990-09-29 | 1992-05-14 | Glory Ltd | Device for detecting abnormal thickness of sheet |
| JP2010153982A (en) * | 2008-12-24 | 2010-07-08 | Canon Electronics Inc | Image reader |
| JP2011193116A (en) * | 2010-03-12 | 2011-09-29 | Ricoh Co Ltd | Image reader and image forming apparatus equipped with the same |
| US20150356717A1 (en) * | 2013-01-14 | 2015-12-10 | Crest Solutions Limited | A label inspection system and method |
| JP2014138290A (en) * | 2013-01-17 | 2014-07-28 | Sharp Corp | Imaging device and imaging method |
| JP2015025933A (en) * | 2013-07-26 | 2015-02-05 | 日本ダム株式会社 | Manufacturing method of cloth emblem base material |
Also Published As
| Publication number | Publication date |
|---|---|
| JP7024203B2 (en) | 2022-02-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10491770B2 (en) | Image reading apparatus with skew feed correction and image reading method thereof | |
| CN104054090B (en) | Bar code shown on decoding cellular phone | |
| JP5440580B2 (en) | Reading apparatus and program | |
| US9948812B2 (en) | Scanner and non-transitory computer-readable medium storing programs therefor | |
| JP7455562B2 (en) | Image reading device and image forming device | |
| JP5783418B2 (en) | Image processing device | |
| JP2014036349A (en) | Document reading device and document size specification method | |
| JP2018181233A (en) | Image reader | |
| CN105991889B (en) | Scanning device with overhead reflector | |
| JP6848811B2 (en) | Image reader | |
| US20210152704A1 (en) | Image reading apparatus | |
| JP4983733B2 (en) | Stain determination device, image reading device, and stain determination program | |
| JP2013078003A (en) | Reading device and program | |
| JP2019016993A (en) | Image reading device | |
| JP5483844B2 (en) | Document reader | |
| JP7411404B2 (en) | Media transport device, control method and control program | |
| JP6092908B2 (en) | Image reading device | |
| JP2018085650A (en) | Reading device and control method | |
| JP7417007B2 (en) | Media transport device, control method and control program | |
| JP7447301B2 (en) | Media transport device, control method and control program | |
| US10148836B2 (en) | Image reading apparatus having multiple reading operations | |
| JP6847205B2 (en) | Transparent platen with chamfered outlet edges | |
| JP2010056686A (en) | Image reading device and program | |
| JP6428057B2 (en) | Reading device, notification method, and program | |
| JP7594406B2 (en) | Image reader |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200417 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210518 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210618 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210806 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20220111 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220124 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7024203 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |