JP2009096103A - Image inspection device, image inspection method and inspection image forming method - Google Patents

Image inspection device, image inspection method and inspection image forming method Download PDF

Info

Publication number
JP2009096103A
JP2009096103A JP2007270983A JP2007270983A JP2009096103A JP 2009096103 A JP2009096103 A JP 2009096103A JP 2007270983 A JP2007270983 A JP 2007270983A JP 2007270983 A JP2007270983 A JP 2007270983A JP 2009096103 A JP2009096103 A JP 2009096103A
Authority
JP
Japan
Prior art keywords
image
line
inspection
lens sheet
data
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
Application number
JP2007270983A
Other languages
Japanese (ja)
Other versions
JP5130863B2 (en
Inventor
Katsuhito Suzuki
勝仁 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2007270983A priority Critical patent/JP5130863B2/en
Publication of JP2009096103A publication Critical patent/JP2009096103A/en
Application granted granted Critical
Publication of JP5130863B2 publication Critical patent/JP5130863B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image inspection device, an image inspection method and an inspection image forming method, capable of easily obtaining a conveying angle. <P>SOLUTION: The image inspection device is configured to calculate the conveying angle of a lens sheet L through the use of the inspection image printed on the lens sheet L having a plurality of lenses with one longitudinal direction. In the inspection image, a specific line is regarded as a reference line, and respective lines are arranged so that the tilt angle related to the reference line may increase by a prescribed angle as the line is separated farther from the reference line toward one or the other side. The device includes: a scanner means 11B for irradiating the lens sheet L on which the inspection image is printed, with light, reading the light reflected by the lens sheet L and outputting the read image corresponding to the lens sheet L; and a calculating means 11C for calculating the conveying angle of the lens sheet L based on the read image. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、画像検査装置、画像検査方法および検査用画像作成方法に関する。   The present invention relates to an image inspection apparatus, an image inspection method, and an inspection image creation method.

各種の印刷技術の中には、多数のシリンドリカル凸レンズ(以下、凸レンズとする。)
が並列配置されたレンチキュラーレンズを具備するレンズシートの記録層に、印刷画像(
検査用画像を含む)を印刷するものがある。かかる印刷技術では、レンズシートの記録層
に、凸レンズのピッチに対応させたストライプ状の細分化画像を多数並べて記録する。そ
して、細分化画像の種類に応じて、視認される画像が立体視されたり、見る角度を変えて
動く写真(アニメーション)とすることが可能となる。
Among various printing technologies, a large number of cylindrical convex lenses (hereinafter referred to as convex lenses).
Are printed on the recording layer of a lens sheet having lenticular lenses arranged in parallel.
Some of them print (including inspection images). In such a printing technique, a large number of stripe-shaped subdivided images corresponding to the pitch of the convex lenses are recorded side by side on the recording layer of the lens sheet. And according to the kind of subdivision image, it becomes possible to make it the photograph (animation) which the image visually recognized is viewed stereoscopically or changes the viewing angle.

ところで、レンズシートへダイレクト印刷を行うプリンタでは、細長い凸レンズの長手
方向が、搬送方向に対して曲がっていると、ある凸レンズに印刷されるべき画像が、それ
とは隣接する凸レンズに跨って印刷されてしまう等、正確に印刷が為されない事態が生じ
る。そのため、印刷ずれの生じない角度に対する角度的なずれである、搬送角度を算出す
る必要があるが、そのような技術としては、特許文献1に開示のものがある。特許文献1
には、印刷シートにテスト画像を印刷し、そのテスト画像をスキャナで読み込ませ、その
読み込んだ画像データの端のラインと印刷シートの端のラインとを元に、搬送角度の精度
を算出している。
By the way, in a printer that performs direct printing on a lens sheet, if the longitudinal direction of an elongated convex lens is bent with respect to the transport direction, an image to be printed on a certain convex lens is printed across the adjacent convex lens. For example, a situation in which printing is not performed accurately occurs. For this reason, it is necessary to calculate a conveyance angle, which is an angular deviation with respect to an angle at which no printing deviation occurs. As such a technique, there is one disclosed in Patent Document 1. Patent Document 1
Prints a test image on a print sheet, reads the test image with a scanner, and calculates the accuracy of the transport angle based on the line at the end of the read image data and the line at the end of the print sheet. Yes.

実用新案登録第3080053号公報Utility Model Registration No. 3080053

ところで、レンズシートは、裁断によってA4サイズ等に形成されるのが一般的である
が、そのような裁断された端部の方向が、凸レンズの長手方向と一致していない場合があ
る。特に、裁断時においては、裁断歯の磨耗等の影響で、凸レンズの長手方向に一致しな
い態様で切断されることがある。そのため、上述の特許文献1のように、印刷シートの端
を基準として搬送角度を算出する場合、算出された搬送角度が凸レンズの長手方向と一致
しないことがある。
By the way, the lens sheet is generally formed into A4 size or the like by cutting, but the direction of such a cut end may not coincide with the longitudinal direction of the convex lens. In particular, at the time of cutting, the cutting may be performed in a manner that does not coincide with the longitudinal direction of the convex lens due to the influence of cutting teeth and the like. For this reason, when the conveyance angle is calculated with reference to the edge of the print sheet as described in Patent Document 1, the calculated conveyance angle may not coincide with the longitudinal direction of the convex lens.

そのため、搬送角度を一層容易に求める手法が可能な方法が望まれている。   Therefore, a method capable of obtaining a method for obtaining the transport angle more easily is desired.

本発明は上記の事情にもとづきなされたもので、その目的とするところは、搬送角度を
容易に求めることが可能な画像検査装置、画像検査方法および検査用画像作成方法を提供
しよう、とするものである。
The present invention has been made on the basis of the above-mentioned circumstances, and its object is to provide an image inspection apparatus, an image inspection method, and an inspection image creation method capable of easily obtaining a transport angle. It is.

上記課題を解決するために、本発明は、一方向を長手とする複数のレンズを有するレン
ズシートに、搬送角度を算出するための検査用画像を印刷する画像検査装置であって、特
定のラインデータを検査用画像データにおける基準ラインデータとし、この基準ラインデ
ータから一方側および他方側のそれぞれに向かって離間するラインデータごとに、当該基
準ラインデータに対する傾斜角度が所定の角度ずつ増大するように、各ラインデータを配
置するラインデータ配置手段と、ラインデータ配置手段で定められた各ラインデータを有
する検査用画像データに基づいて、レンズシートに対する印刷を実行させ、検査用画像を
作成する印刷実行手段と、を具備するものである。
In order to solve the above-described problems, the present invention provides an image inspection apparatus for printing an inspection image for calculating a conveyance angle on a lens sheet having a plurality of lenses having one direction as a longitudinal direction. The data is used as the reference line data in the inspection image data, and the inclination angle with respect to the reference line data is increased by a predetermined angle for each line data separated from the reference line data toward one side and the other side. , Line data arrangement means for arranging each line data, and print execution for creating an inspection image by executing printing on the lens sheet based on the inspection image data having each line data defined by the line data arrangement means Means.

このように構成する場合、検査用画像データをレンズシートに印刷させて、当該レンズ
シートには、検査用画像が形成される。ここで、検査用画像のラインに、隣り合うレンチ
キュラーレンズに跨る部分と、レンチキュラーレンズに沿う部分とが生じると、レンチキ
ュラーレンズの集光/拡散により、ラインには空白が生じる。そのため、空白がほとんど
ないラインを検出すれば、そのラインと対応付けられている搬送角度(基準ラインデータ
に対する、当該ラインの元となるラインデータの離間具合)が、求めるべき搬送角度の基
準値となる。そのため、容易に搬送角度を求めることが可能となる。
In such a configuration, the inspection image data is printed on the lens sheet, and the inspection image is formed on the lens sheet. Here, when a portion straddling adjacent lenticular lenses and a portion along the lenticular lens are generated in the line of the inspection image, a blank is generated in the line due to the condensing / diffusion of the lenticular lens. Therefore, if a line with almost no blank is detected, the conveyance angle associated with the line (the distance of the line data that is the source of the line with respect to the reference line data) is the reference value of the conveyance angle to be obtained. Become. For this reason, the conveyance angle can be easily obtained.

また、他の発明は、一方向を長手とする複数のレンズを有するレンズシートに印刷され
ている検査用画像を用いて搬送角度を算出する画像検査装置であって、検査用画像は、特
定のラインを基準ラインとし、この基準ラインから一方側および他方側のそれぞれに向か
って離間するラインごとに、当該基準ラインに対する傾斜角度が所定の角度ずつ増大する
ように、各ラインが配置されていて、この検査用画像が印刷されているレンズシートに光
を照射し、このレンズシートから反射される光を読み取って、該レンズシートに対応する
読み取り画像を出力するスキャナ手段と、読み取り画像から、レンズシートの搬送角度を
算出する算出手段と、を具備するものである。
According to another aspect of the present invention, there is provided an image inspection apparatus that calculates a conveyance angle using an inspection image printed on a lens sheet having a plurality of lenses having one direction as a longitudinal direction. Each line is arranged so that an inclination angle with respect to the reference line increases by a predetermined angle for each line that is separated from the reference line toward each of one side and the other side. A scanner means for irradiating the lens sheet on which the inspection image is printed, reading the light reflected from the lens sheet, and outputting a read image corresponding to the lens sheet; Calculating means for calculating the transport angle.

このように構成する場合、レンズシートに印刷された検査用画像は、スキャナ手段によ
って読み取られ、読み取り画像が得られる。そして、算出手段では、この読み取り画像か
ら、レンズシートの搬送角度を算出する。そのため、自動的に搬送角度を算出すことが可
能となり、検査用画像が印刷されたレンズシートを用いて、ユーザが搬送角度を求める必
要がなくなる。それによって、ユーザの負担を軽減することが可能となる。
In such a configuration, the inspection image printed on the lens sheet is read by the scanner unit, and a read image is obtained. Then, the calculation unit calculates the conveyance angle of the lens sheet from the read image. Therefore, the conveyance angle can be automatically calculated, and the user does not need to obtain the conveyance angle using the lens sheet on which the inspection image is printed. As a result, the burden on the user can be reduced.

さらに、他の発明は、一方向を長手とする複数のレンズを有するレンズシートの搬送角
度を算出するための画像検査装置であって、特定のラインデータを検査用画像データにお
ける基準ラインデータとし、この基準ラインデータから一方側および他方側のそれぞれに
向かって離間するラインデータごとに、当該基準ラインデータに対する傾斜角度が所定の
角度ずつ増大するように、各ラインデータを配置するラインデータ配置手段と、ラインデ
ータ配置手段で定められた各ラインデータを有する検査用画像データに基づいて、レンズ
シートに対する印刷を実行させ、検査用画像を作成する印刷実行手段と、検査用画像が印
刷されたレンズシートに光を照射し、このレンズシートから反射される光を読み取って、
該レンズシートに対応する読み取り画像を出力するスキャナ手段と、読み取り画像から、
レンズシートの搬送角度を算出する算出手段と、を具備するものである。
Furthermore, another invention is an image inspection apparatus for calculating a conveyance angle of a lens sheet having a plurality of lenses whose longitudinal direction is one direction, and specific line data is used as reference line data in inspection image data, Line data arrangement means for arranging each line data so that an inclination angle with respect to the reference line data increases by a predetermined angle for each line data separated from the reference line data toward each of the one side and the other side; A print execution means for creating a test image by executing printing on the lens sheet based on the test image data having each line data defined by the line data arrangement means, and a lens sheet on which the test image is printed Irradiate light, read the light reflected from this lens sheet,
Scanner means for outputting a read image corresponding to the lens sheet, and from the read image,
Calculating means for calculating the conveyance angle of the lens sheet.

このように構成する場合、検査用画像データをレンズシートに印刷させて、当該レンズ
シートには、検査用画像が形成される。そして、レンズシートに印刷された検査用画像は
、スキャナ手段によって読み取られ、読み取り画像が得られる。そして、算出手段では、
この読み取り画像から、レンズシートの搬送角度を算出する。そのため、自動的に搬送角
度を算出すことが可能となり、検査用画像が印刷されたレンズシートを用いて、ユーザが
搬送角度を求める必要がなくなる。それによって、ユーザの負担を軽減することが可能と
なる。
In such a configuration, the inspection image data is printed on the lens sheet, and the inspection image is formed on the lens sheet. Then, the inspection image printed on the lens sheet is read by the scanner unit to obtain a read image. And in the calculation means,
From this read image, the conveyance angle of the lens sheet is calculated. Therefore, the conveyance angle can be automatically calculated, and the user does not need to obtain the conveyance angle using the lens sheet on which the inspection image is printed. As a result, the burden on the user can be reduced.

また、他の発明は、上述の発明に加えて更に、それぞれのラインデータの終端部分には
、当該ラインデータを印刷した際のラインの幅寸法よりも、印刷した際に大きな直径とな
る終端記号データが配置されているものである。
In another invention, in addition to the above-mentioned invention, a terminal symbol having a diameter larger than that of the line width when the line data is printed at the terminal portion of each line data. That is where the data is located.

このように構成する場合、検査用画像データに基づいて、レンズシートに対する印刷を
実行させると、検査用画像データの印刷イメージに対する、読み取り画像の傾きが、終端
記号データに基づく印刷結果である終端記号に基づいて容易に算出可能となる。すなわち
、終端記号がない場合、濃淡ラインの終端部に空白が差し掛かっても、終端部を示す目印
がないので、濃淡ラインの終端部を誤認識し、結果として搬送角度を誤認識する場合が生
じかねない。しかしながら、終端記号が設けられることにより、読み取り画像の印刷イメ
ージに対する傾きを容易に算出することができ、結果として搬送角度を精度良く算出可能
となる。
In this configuration, when printing is performed on the lens sheet based on the inspection image data, the terminal symbol whose inclination of the read image with respect to the print image of the inspection image data is a printing result based on the terminal symbol data Can be easily calculated based on the above. In other words, if there is no terminal symbol, even if a blank is inserted at the end of the light / dark line, there is no mark indicating the terminal end, so the terminal end of the light / dark line may be misrecognized and the transport angle may be misrecognized as a result. It might be. However, by providing the terminal symbol, the inclination of the read image with respect to the print image can be easily calculated, and as a result, the transport angle can be calculated with high accuracy.

さらに、他の発明は、それぞれのラインの終端部分には、当該ラインの幅寸法よりも大
きな直径となる終端記号が配置されていて、算出手段は、検査用画像を作成するための検
査用画像データの印刷イメージに対しての読み取り画像の傾きを、当該読み取り画像中に
おける終端記号の読み取り結果に基づいて算出し、この傾き分だけ読み取り画像を回転さ
せる処理を行うものである。
Further, according to another invention, an end symbol having a diameter larger than the width dimension of the line is arranged at an end portion of each line, and the calculation means is an inspection image for creating an inspection image. The inclination of the read image with respect to the print image of the data is calculated based on the reading result of the terminal symbol in the read image, and the read image is rotated by this inclination.

このように構成する場合、検査用画像データの印刷イメージに対する、読み取り画像の
傾きが、終端記号に基づいて容易に算出可能となる。すなわち、終端記号がない場合、濃
淡ラインの終端部に空白が差し掛かっても、終端部を示す目印がないので、濃淡ラインの
終端部を誤認識し、結果として搬送角度を誤認識する場合が生じかねない。しかしながら
、終端記号が設けられることにより、読み取り画像の印刷イメージに対する傾きを容易に
算出することができ、結果として搬送角度を精度良く算出可能となる。
When configured in this manner, the inclination of the read image with respect to the print image of the inspection image data can be easily calculated based on the terminal symbol. In other words, if there is no terminal symbol, even if a blank is inserted at the end of the light / dark line, there is no mark indicating the terminal end, so the terminal end of the light / dark line may be misrecognized and the transport angle may be misrecognized as a result. It might be. However, by providing the terminal symbol, the inclination of the read image with respect to the print image can be easily calculated, and as a result, the transport angle can be calculated with high accuracy.

また、他の発明は、上述の発明に加えて更に、それぞれのラインデータの終端部分には
、当該ラインデータを印刷した際のラインの幅寸法よりも、印刷した際に大きな直径とな
る終端記号データが配置されていて、算出手段は、検査用画像データの印刷イメージに対
しての読み取り画像の傾きを、読み取り画像中における終端記号データを読み取った終端
記号に基づいて算出し、この傾き分だけ読み取り画像を回転させる処理を行うものである
In another invention, in addition to the above-mentioned invention, a terminal symbol having a diameter larger than that of the line width when the line data is printed at the terminal portion of each line data. The data is arranged, and the calculation means calculates the inclination of the read image with respect to the print image of the inspection image data based on the terminal symbol obtained by reading the terminal symbol data in the read image. A process of rotating the read image is performed.

このように構成する場合、検査用画像データの印刷イメージに対する、読み取り画像の
傾きが、終端記号に基づいて容易に算出可能となる。すなわち、終端記号がない場合、濃
淡ラインの終端部に空白が差し掛かっても、終端部を示す目印がないので、濃淡ラインの
終端部を誤認識し、結果として搬送角度を誤認識する場合が生じかねない。しかしながら
、終端記号が設けられることにより、読み取り画像の印刷イメージに対する傾きを容易に
算出することができ、結果として搬送角度を精度良く算出可能となる。
When configured in this manner, the inclination of the read image with respect to the print image of the inspection image data can be easily calculated based on the terminal symbol. In other words, if there is no terminal symbol, even if a blank is inserted at the end of the light / dark line, there is no mark indicating the terminal end, so the terminal end of the light / dark line may be misrecognized and the transport angle may be misrecognized as a result. It might be. However, by providing the terminal symbol, the inclination of the read image with respect to the print image can be easily calculated, and as a result, the transport angle can be calculated with high accuracy.

さらに、他の発明は、上述の各発明に加えて更に、算出手段は、読み取り画像における
濃淡ラインに関して、その濃淡ラインを構成する画素の濃淡レベルが所定のしきい値を超
えるか否かを判断し、所定のしきい値を超える画素のみが連続している画素連続について
、最も長いものを特定し、これを最長ラインと判断し、この最長ラインが存在する濃淡ラ
インの基準ラインに対する傾斜角度を搬送角度の算定の基準値とするものである。
Further, according to another invention, in addition to each of the above-described inventions, the calculation means determines whether or not the gray level of the pixels constituting the gray line exceeds a predetermined threshold with respect to the gray line in the read image. For the pixel continuation in which only pixels exceeding a predetermined threshold value are continuous, the longest line is identified, this is determined as the longest line, and the inclination angle of the gray line where the longest line exists is relative to the reference line. This is used as a reference value for calculating the transport angle.

このように構成する場合、濃淡レベルが所定のしきい値を超える画素のみの連続である
画素連続に基づいて最長ラインであるか否かが判断される。ここで、最長ラインは、隣り
合うレンチキュラーレンズに対して跨る部分が最も少ない濃淡ラインに存在する。そのた
め、最長ラインが存在する濃淡ラインの、基準ラインに対する傾斜角度が搬送角度となり
、以後の処理における基準値とすることができる。
In the case of such a configuration, it is determined whether or not the longest line is based on a pixel continuation that is a continuation of only pixels whose gray level exceeds a predetermined threshold. Here, the longest line exists in the light and shade line with the least number of parts straddling the adjacent lenticular lenses. For this reason, the inclination angle of the gray line having the longest line with respect to the reference line becomes the transport angle, and can be used as a reference value in the subsequent processing.

また、他の発明は、上述の各発明に加えて更に、算出手段は、最長ラインに対して空白
の位置が濃淡ラインの方向において対称となるもののうち最も長いものである反転ライン
を特定し、濃淡ラインに対する最長ラインの割合である一致率を算出し、予め求められて
いる一致率と最長ラインに対する角度差との関係から、この角度差を基準値に加減するも
のである。
According to another invention, in addition to each of the above-described inventions, the calculation unit may further specify a reverse line that is the longest of those in which a blank position is symmetrical with respect to the longest line in the direction of the light / dark line, and The coincidence rate, which is the ratio of the longest line to the line, is calculated, and this angle difference is added to or subtracted from the reference value based on the relationship between the previously obtained coincidence rate and the angle difference with respect to the longest line.

このように構成する場合、最長ラインに対しては、すぐ近傍に反比例(双曲線)の漸近
線が存在している。そのため、最長ラインと、この反比例(双曲線)の漸近線を挟んだ位
置(最長ラインに対して隣り合う位置)に存在する反転ラインとの間に、漸近線、すなわ
ち求めるべき搬送角度のラインが存在する。ここで、濃淡ラインに対する最長ラインの割
合である一致率を求め、さらに、一致率と最長ラインに対する角度差の関係を予め求めて
おけば、最長ラインに対応する傾斜角度に角度差を加減するだけで、より正確な搬送角度
を求めることが可能となる。
In such a configuration, an inversely proportional (hyperbolic) asymptote exists in the immediate vicinity of the longest line. Therefore, there is an asymptotic line, that is, a line of the transport angle to be obtained, between the longest line and the reverse line existing at a position (position adjacent to the longest line) sandwiching the inversely proportional (hyperbolic) asymptotic line. To do. Here, if the coincidence rate, which is the ratio of the longest line to the shading line, is obtained, and if the relationship between the coincidence rate and the angle difference with respect to the longest line is obtained in advance, the angle difference can be simply adjusted to the inclination angle corresponding to the longest line Thus, a more accurate conveyance angle can be obtained.

さらに、他の発明は、上述の各発明に加えて更に、一方向を長手とする複数のレンズを
有するレンズシートの搬送角度を算出するための画像検査方法であって、特定のラインデ
ータを検査用画像データにおける基準ラインデータとし、この基準ラインデータから一方
側および他方側のそれぞれに向かって離間するラインデータごとに、当該基準ラインデー
タに対する傾斜角度が所定の角度ずつ増大するように、各ラインデータを配置するライン
データ配置工程と、ラインデータ配置工程で定められた各ラインデータを有する検査用画
像データに基づいて、レンズシートに対する印刷を実行させ、検査用画像を作成する印刷
実行工程と、印刷実行工程により検査用画像が印刷されたレンズシートに光を照射し、こ
のレンズシートから反射される光を読み取って、該レンズシートに対応する読み取り画像
を出力する画像出力工程と、画像出力工程で得られた読み取り画像から、レンズシートの
搬送角度を算出する算出工程と、を具備するものである。
Furthermore, another invention is an image inspection method for calculating a conveyance angle of a lens sheet having a plurality of lenses whose longitudinal direction is one direction in addition to the above-described inventions, and inspects specific line data. Each line so that the inclination angle with respect to the reference line data increases by a predetermined angle for each line data separated from the reference line data toward one side and the other side. A line data arrangement step for arranging data, a print execution step for causing the printing on the lens sheet based on the inspection image data having each line data defined in the line data arrangement step, and creating an inspection image; The lens sheet on which the inspection image is printed by the printing execution process is irradiated with light and reflected from the lens sheet. Read the one in which comprises an image output step of outputting the read image corresponding to the lens sheet, a read image obtained by the image output step, a calculating step of calculating a transport angle of the lens sheet, a.

このように構成する場合、検査用画像データをレンズシートに印刷させて、当該レンズ
シートには、検査用画像が形成される。そして、レンズシートに印刷された検査用画像は
、スキャナ手段によって読み取られ、読み取り画像が得られる。そして、算出工程では、
この読み取り画像から、レンズシートの搬送角度を算出する。そのため、自動的に搬送角
度を算出すことが可能となり、検査用画像が印刷されたレンズシートを用いて、ユーザが
搬送角度を求める必要がなくなる。それによって、ユーザの負担を軽減することが可能と
なる。
In such a configuration, the inspection image data is printed on the lens sheet, and the inspection image is formed on the lens sheet. Then, the inspection image printed on the lens sheet is read by the scanner unit to obtain a read image. And in the calculation process,
From this read image, the conveyance angle of the lens sheet is calculated. Therefore, the conveyance angle can be automatically calculated, and the user does not need to obtain the conveyance angle using the lens sheet on which the inspection image is printed. As a result, the burden on the user can be reduced.

また、他の発明は、一方向を長手とする複数のレンズを有するレンズシートに、搬送角
度を算出するための検査用画像を作成する検査用画像作成方法であって、特定のラインデ
ータを検査用画像データにおける基準ラインデータとし、この基準ラインデータから一方
側および他方側のそれぞれに向かって離間するラインデータごとに、当該基準ラインデー
タに対する傾斜角度が所定の角度ずつ増大するように、各ラインデータを配置するライン
データ配置工程と、ラインデータ配置工程で定められた各ラインデータを有する検査用画
像データに基づいて、レンズシートに対する印刷を実行させ、検査用画像を作成する印刷
実行工程と、を具備するものである。
Another invention is an inspection image creation method for creating an inspection image for calculating a conveyance angle on a lens sheet having a plurality of lenses having one direction as a longitudinal direction, and inspecting specific line data Each line so that the inclination angle with respect to the reference line data increases by a predetermined angle for each line data separated from the reference line data toward one side and the other side. A line data arrangement step for arranging data, a print execution step for causing the printing on the lens sheet based on the inspection image data having each line data defined in the line data arrangement step, and creating an inspection image; It comprises.

このように構成する場合、検査用画像データをレンズシートに印刷させて、当該レンズ
シートには、検査用画像が形成される。ここで、検査用画像のラインに、隣り合うレンチ
キュラーレンズに跨る部分と、レンチキュラーレンズに沿う部分とが生じると、レンチキ
ュラーレンズの集光/拡散により、ラインには空白が生じる。そのため、空白がほとんど
ないラインを検出すれば、そのラインと対応付けられている搬送角度(基準ラインデータ
に対する、当該ラインの元となるラインデータの離間具合)が、求めるべき搬送角度の基
準値となる。そのため、容易に搬送角度を求めることが可能となる。
In such a configuration, the inspection image data is printed on the lens sheet, and the inspection image is formed on the lens sheet. Here, when a portion straddling adjacent lenticular lenses and a portion along the lenticular lens are generated in the line of the inspection image, a blank is generated in the line due to the condensing / diffusion of the lenticular lens. Therefore, if a line with almost no blank is detected, the conveyance angle associated with the line (the distance of the line data that is the source of the line with respect to the reference line data) is the reference value of the conveyance angle to be obtained. Become. For this reason, the conveyance angle can be easily obtained.

<第1の実施の形態>
以下に、本発明の第1の実施の形態に係る、検査用画像作成装置1について、図1から
図11を参照しながら説明する。なお、検査用画像作成装置1は、プリンタ10(印刷実
行手段に対応)とコンピュータ130とから構成されている。
<First Embodiment>
Hereinafter, an inspection image creating apparatus 1 according to a first embodiment of the present invention will be described with reference to FIGS. 1 to 11. The inspection image creation apparatus 1 includes a printer 10 (corresponding to a print execution unit) and a computer 130.

<レンズシートについて>
最初に、印刷媒体であるレンズシートLについて説明する。図1に示すように、レンズ
シートLは、表面に位置するレンチキュラーレンズL1と、このレンチキュラーレンズL
1の裏面と接するインク吸収層L2と、該レンズシートLの裏面に位置するインク透過層
L3とを具備している。これらのうち、レンチキュラーレンズL1は、一方向を長手とす
る複数のシリンドリカル凸レンズ(凸レンズL11)が、一定のピッチで並列配置された
構成となっている。レンチキュラーレンズL1においては、それぞれの凸レンズL11を
進行する光の焦点が、レンチキュラーレンズL1の裏面に位置するように、凸レンズL1
1の曲率が形成されるのが好ましい。
<About lens sheet>
First, the lens sheet L that is a printing medium will be described. As shown in FIG. 1, the lens sheet L includes a lenticular lens L1 located on the surface, and the lenticular lens L1.
1 is provided with an ink absorption layer L2 in contact with the back surface of the ink sheet 1 and an ink transmission layer L3 positioned on the back surface of the lens sheet L. Among these, the lenticular lens L1 has a configuration in which a plurality of cylindrical convex lenses (convex lenses L11) whose longitudinal direction is one direction are arranged in parallel at a constant pitch. In the lenticular lens L1, the convex lens L1 so that the focal point of the light traveling through each convex lens L11 is located on the back surface of the lenticular lens L1.
Preferably, a curvature of 1 is formed.

また、インク透過層L3は、不図示のノズルから吐出されたインク滴が最初に付着する
部分であり、該付着したインクが透過していく部分である。このインク透過層L3は、例
えば酸化チタン、シリカゲル、PMMA(メタクリル樹脂)等の微粒子、硫酸バリウム、
ガラスファイバ、プラスチックファイバ等を材質として形成されている。また、インク吸
収層L2は、インク透過層L3を透過したインクを吸収および/または固着させる部位で
ある。このインク吸収層L2は、例えばPVA(ポリビニルアルコール)等の親水性ポリ
マー樹脂、カチオン化合物、シリカ等の微粒子等を材質として形成されている。また、レ
ンチキュラーレンズL1は、PET、PETG、APET、PP、PS、PVC、アクリ
ル、UV樹脂等を材質として形成されている。
The ink transmission layer L3 is a portion to which ink droplets ejected from a nozzle (not shown) first adhere, and is a portion through which the attached ink passes. This ink transmission layer L3 is made of fine particles such as titanium oxide, silica gel, PMMA (methacrylic resin), barium sulfate,
Glass fiber, plastic fiber or the like is used as a material. The ink absorption layer L2 is a part that absorbs and / or fixes the ink that has passed through the ink transmission layer L3. The ink absorption layer L2 is formed using, for example, a hydrophilic polymer resin such as PVA (polyvinyl alcohol), a cationic compound, fine particles such as silica, or the like. The lenticular lens L1 is made of PET, PETG, APET, PP, PS, PVC, acrylic, UV resin, or the like.

なお、インク吸収層L2は透明であると共に、インク透過層L3は、白色である。しか
しながら、インク吸収層L2が白色であっても良く、またインク透過層L3が透明であっ
ても良く、さらにインク透過層L3とインク吸収層L2の両方が透明であっても良い。ま
た、本実施の形態では、インク透過層L3が存在することにより、印刷後であっても、レ
ンズシートLを直ぐに触ることが可能となっている。しかしながら、レンズシートLは、
インク透過層L3を具備しない構成を採用しても良い。
The ink absorption layer L2 is transparent, and the ink transmission layer L3 is white. However, the ink absorption layer L2 may be white, the ink transmission layer L3 may be transparent, and both the ink transmission layer L3 and the ink absorption layer L2 may be transparent. In the present embodiment, the presence of the ink transmission layer L3 allows the lens sheet L to be touched immediately even after printing. However, the lens sheet L is
You may employ | adopt the structure which does not comprise the ink permeable layer L3.

また、図1に示すように、本実施の形態におけるレンズシートLは、その外観が矩形状
を為していると共に、該矩形状の外観を構成するレンズシートLの縁部が、凸レンズL1
1の長手方向と平行となっている。
Further, as shown in FIG. 1, the lens sheet L in the present embodiment has a rectangular appearance, and the edge of the lens sheet L constituting the rectangular appearance has a convex lens L1.
1 is parallel to the longitudinal direction.

<プリンタ10の全体構成について>
図2は、プリンタ10の概略の構成を示す概略構成図であり、プリンタ10を後方から
見た斜視図である。なお、図2において、印刷媒体としてのレンズシートLが進行する方
向である矢印Xの方向を前方(前側)とし、この反対方向を後方(後側)とする。また、
後方から前方に向かって右手方向となる矢印Yの方向を右方(右側)とし、この反対方向
である左手方向を左方(左側)とする。そして、矢印Zの方向を上方(上側)とし、この
反対方向を下方(下側)として、以下の説明を行うこととする。
<Overall Configuration of Printer 10>
FIG. 2 is a schematic configuration diagram illustrating a schematic configuration of the printer 10, and is a perspective view of the printer 10 as viewed from the rear. In FIG. 2, the direction of the arrow X, which is the direction in which the lens sheet L as the printing medium travels, is the front (front side), and the opposite direction is the rear (rear side). Also,
The direction of the arrow Y that is the right hand direction from the rear to the front is the right side (right side), and the left hand direction that is the opposite direction is the left side (left side). The following explanation will be given with the direction of the arrow Z as the upper side (upper side) and the opposite direction as the lower side (lower side).

プリンタ10は、外装体である筐体20と、レンズシートLを下側から支持するシート
ガイド30と、シートガイド30上に載置されたレンズシートLを後方から前方に向けて
搬送する給紙ローラ40および排紙ローラ41と、レンズシートLに対して記録を行う印
刷ヘッド51等を有する。
The printer 10 includes a housing 20 that is an exterior body, a sheet guide 30 that supports the lens sheet L from below, and a sheet feeding that conveys the lens sheet L placed on the sheet guide 30 from the rear to the front. A roller 40, a paper discharge roller 41, and a print head 51 that performs recording on the lens sheet L are included.

筐体20の後側の側面には、レンズシートLを筐体20内に供給するための給紙開口部
21が形成され、また、前側の側面には、給紙開口部21の側から供給されたレンズシー
トLを排出する排紙開口部22が形成されている。給紙開口部21からプリンタ10に供
給されたレンズシートLは、給紙ローラ40および排紙ローラ41により前方に向かって
搬送されると共に、印刷ヘッド51により記録が行われた後、排紙開口部22からプリン
タ10の外部に排出される。
A paper feed opening 21 for supplying the lens sheet L into the housing 20 is formed on the rear side surface of the housing 20, and the front side surface is supplied from the paper feed opening 21 side. A paper discharge opening 22 for discharging the lens sheet L is formed. The lens sheet L supplied to the printer 10 from the paper feed opening 21 is conveyed forward by the paper feed roller 40 and the paper discharge roller 41 and is recorded by the print head 51, and then the paper discharge opening. The paper is discharged from the printer 22 to the outside of the printer 10.

シートガイド30は、給紙ローラ40と排紙ローラ41の下方に配設され、全体として
矩形の板状体を呈している。このシートガイド30は、前後方向が、給紙開口部21の後
方に突出した位置から排紙開口部22と排紙ローラ41との間の位置に亘って備えられて
いる。また、左右の幅方向については、載置されるレンズシートLの全幅に亘って支持で
きる幅となっている。シートガイド30は、筐体20、または内部のフレーム等の構造体
に対して図示を省略する構成により取り付けられている。
The sheet guide 30 is disposed below the paper feed roller 40 and the paper discharge roller 41 and has a rectangular plate-like body as a whole. The sheet guide 30 is provided in the front-rear direction from a position protruding rearward of the paper feed opening 21 to a position between the paper discharge opening 22 and the paper discharge roller 41. Moreover, about the width direction on either side, it is the width | variety which can be supported over the full width of the lens sheet L mounted. The seat guide 30 is attached to the housing 20 or a structure such as an internal frame with a configuration not shown.

シートガイド30は、基板31と係合部32とを備えている。基板31は、樹脂等から
形成される板状体の部位であり、その上面31Aに、レンチキュラーレンズL1と同一部
材が貼付される。そして、この貼付により、係合部32が形成される。係合部32は、本
実施の形態では、レンズシートLのレンチキュラーレンズL1と同一形状に形成されてい
る。すなわち、レンチキュラーレンズL1を形成する各凸レンズL11と同一形状の凸条
33が、レンチキュラーレンズL1の配設ピッチと同一ピッチ、かつレンズシートLの幅
よりも広い幅に亘って並設されている。また、凸条33の長手方向は、レンズシートLの
所定の搬送方向、すなわち給紙ローラ40および排紙ローラ41に直交する方向に沿って
形成されている。
The sheet guide 30 includes a substrate 31 and an engaging portion 32. The substrate 31 is a part of a plate-like body formed from a resin or the like, and the same member as the lenticular lens L1 is attached to the upper surface 31A. And the engaging part 32 is formed by this sticking. In the present embodiment, the engaging portion 32 is formed in the same shape as the lenticular lens L1 of the lens sheet L. That is, the ridges 33 having the same shape as the convex lenses L11 forming the lenticular lens L1 are arranged in parallel over the same pitch as the arrangement pitch of the lenticular lenses L1 and wider than the width of the lens sheet L. Further, the longitudinal direction of the ridge 33 is formed along a predetermined conveyance direction of the lens sheet L, that is, a direction orthogonal to the paper feed roller 40 and the paper discharge roller 41.

なお、係合部32は、レンチキュラーレンズL1と同一部材により形成しているが、基
板31を樹脂成形により作成する場合には、成形金型に予め係合部32に対応する型面を
形成して、係合部32を基板31と一体に成形するようにしても良い。また、基板31に
係合部32を一体に樹脂成形する場合には、基板31を形成する樹脂材をフッ素樹脂等の
低摩擦の樹脂材とすることで、レンズシートLと係合部32との摩擦を小さくすることが
でき、レンズシートLの搬送をスムーズに行うことができる。また、基板31を金属板に
より形成してもよい。この場合には、金属板を切削加工することにより係合部32を形成
することができる。
The engaging portion 32 is formed of the same member as the lenticular lens L1. However, when the substrate 31 is formed by resin molding, a mold surface corresponding to the engaging portion 32 is previously formed on the molding die. Thus, the engaging portion 32 may be formed integrally with the substrate 31. Further, when the engaging portion 32 is integrally molded with the substrate 31, the lens sheet L and the engaging portion 32 are formed by using a resin material forming the substrate 31 as a low friction resin material such as a fluororesin. Thus, the lens sheet L can be transported smoothly. Moreover, you may form the board | substrate 31 with a metal plate. In this case, the engaging portion 32 can be formed by cutting the metal plate.

印刷ヘッド51の前後には、給紙ローラ40と排紙ローラ41が配設されている。給紙
ローラ40と排紙ローラ41は、それぞれ給紙用モータ42と排紙用モータ43により回
転駆動され、シートガイド30の上に載置されているレンズシートLを後方から前方に向
けて搬送する。
A paper feed roller 40 and a paper discharge roller 41 are arranged before and after the print head 51. The paper feed roller 40 and the paper discharge roller 41 are rotationally driven by a paper supply motor 42 and a paper discharge motor 43, respectively, and convey the lens sheet L placed on the sheet guide 30 from the rear to the front. To do.

印刷ヘッド51は、キャリッジ50の下面に取り付けられ、本実施の形態では、インク
を吐出するインクジェット型の記録ヘッドとして構成されている。キャリッジ50は、左
右方向に延設されるキャリッジ軸52に移動可能に支持され、また、キャリッジ用モータ
53により駆動されるタイミングベルト54に取り付けられている。このため、キャリッ
ジ用モータ53によりタイミングベルト54を左右方向に回転駆動すると、印刷ヘッド5
1は、キャリッジ軸52に沿って左右方向に移動する。
The print head 51 is attached to the lower surface of the carriage 50, and is configured as an ink jet recording head that ejects ink in the present embodiment. The carriage 50 is movably supported by a carriage shaft 52 that extends in the left-right direction, and is attached to a timing belt 54 that is driven by a carriage motor 53. Therefore, when the timing belt 54 is rotationally driven in the left-right direction by the carriage motor 53, the print head 5
1 moves in the left-right direction along the carriage shaft 52.

また、キャリッジ50には、インクカートリッジ55a,55bが着脱可能に搭載され
ている。これらのうち、インクカートリッジ55aは、C(シアン)、M(マゼンタ)、
Y(イエロー)の3色のインク貯留部が一体的に設けられているタイプである。また、イ
ンクカートリッジ55bは、K(ブラック)の単色分のインク貯留部のみを有するタイプ
である。また、インクカートリッジ55a,55bのぞれぞれには、回路基板551が取
り付けられている。この回路基板551は、例えばICチップ等であり、インクに関する
情報を書き込み可能に保存するメモリ552(記憶素子)を有している。かかるインクに
関する情報としては、例えばインクカートリッジ55a,55bに貯留されているインク
の色種データ、顔料/染料系のインクの種別データ、インクの残量を示す残量データ、シ
リアル番号データ、有効期限データ、インクカートリッジ55a,55bを用いることが
できる対象機種データ等がある。
Ink cartridges 55a and 55b are detachably mounted on the carriage 50. Of these, the ink cartridge 55a is C (cyan), M (magenta),
This is a type in which ink storage portions of three colors of Y (yellow) are integrally provided. Further, the ink cartridge 55b is a type having only an ink storage portion for a single color of K (black). A circuit board 551 is attached to each of the ink cartridges 55a and 55b. The circuit board 551 is, for example, an IC chip or the like, and includes a memory 552 (storage element) that stores information about ink in a writable manner. Examples of the information relating to the ink include ink color type data stored in the ink cartridges 55a and 55b, pigment / dye type ink type data, remaining amount data indicating the remaining amount of ink, serial number data, and expiration date. Data, target model data that can use the ink cartridges 55a and 55b, and the like.

以上の構成により、レンズシートLに対して記録を行う場合には、レンズシートLを、
レンチキュラーレンズL1の側を、シートガイド30の係合部32に載置する。それによ
り、レンズシートLの凸レンズL11と凸条33とが互いに噛み合い、レンズシートLは
係合部32により左右方向(主走査方向)の位置決めが行われる。また、凸条33の長手
方向がレンズシートLの搬送方向(副走査方向)に沿うように形成されている。したがっ
て、レンズシートLが搬送される際には、当該レンズシートLは、係合部32により副走
査方向にガイドされる。このように、搬送方向が一定に維持された状態でレンズシートL
は搬送される。
With the above configuration, when recording is performed on the lens sheet L, the lens sheet L is
The lenticular lens L <b> 1 side is placed on the engaging portion 32 of the sheet guide 30. Accordingly, the convex lens L11 and the convex stripe 33 of the lens sheet L are engaged with each other, and the lens sheet L is positioned in the left-right direction (main scanning direction) by the engaging portion 32. Further, the projection 33 is formed so that the longitudinal direction thereof is along the conveyance direction (sub-scanning direction) of the lens sheet L. Therefore, when the lens sheet L is conveyed, the lens sheet L is guided in the sub-scanning direction by the engaging portion 32. In this way, the lens sheet L is maintained in a state where the conveyance direction is maintained constant.
Is transported.

また、給紙ローラ40とシートガイド30との間隔、および排紙ローラ41とシートガ
イド30との間隔は、これらのローラからレンズシートLに対して適度な押圧力を作用さ
せることができる間隔となっている。つまり、レンズシートLをシートガイド30に対し
て押圧することで、係合部32とレンチキュラーレンズL1の係合を確実なものとするこ
とができ、レンズシートLを搬送する際の左右方向の搬送精度、すなわちレンズシートL
の搬送の直進性を向上させることができる。
Further, the distance between the paper feed roller 40 and the sheet guide 30 and the distance between the paper discharge roller 41 and the sheet guide 30 are such that an appropriate pressing force can be applied to the lens sheet L from these rollers. It has become. That is, by pressing the lens sheet L against the sheet guide 30, the engagement between the engaging portion 32 and the lenticular lens L1 can be ensured, and conveyance in the left-right direction when the lens sheet L is conveyed. Accuracy, that is, lens sheet L
It is possible to improve the straightness of the conveyance.

また、例えば、レンズシートLが上下方向に湾曲している場合、レンチキュラーレンズ
L1と係合部32との係合が外れ易い。そこで、給紙ローラ40および排紙ローラ41に
よりレンズシートLをシートガイド30に対して押圧することで、湾曲しているレンチキ
ュラーレンズL1と係合部32との係合状態を保持することができる。一方、レンズシー
トLをシートガイド30に対して強い力で押圧すると、レンズシートLとシートガイド3
0との間の摩擦等の搬送負荷が大きくなる。そこで、スムーズにレンズシートLを搬送で
きる搬送負荷を考慮しながら、確実にレンチキュラーレンズL1と係合部32との係合状
態を維持できるような適度な押圧力が作用するよう、給紙ローラ40、排紙ローラ41と
シートガイド30との間隔等が設定されている。
Further, for example, when the lens sheet L is curved in the vertical direction, the engagement between the lenticular lens L1 and the engaging portion 32 is easily released. Therefore, by pressing the lens sheet L against the sheet guide 30 by the paper feed roller 40 and the paper discharge roller 41, the engaged state between the curved lenticular lens L1 and the engaging portion 32 can be maintained. . On the other hand, when the lens sheet L is pressed against the sheet guide 30 with a strong force, the lens sheet L and the sheet guide 3 are pressed.
The conveyance load such as friction with zero increases. Accordingly, the sheet feeding roller 40 is operated so that an appropriate pressing force can be applied so that the engagement state between the lenticular lens L1 and the engaging portion 32 can be reliably maintained while considering the conveyance load capable of smoothly conveying the lens sheet L. The interval between the paper discharge roller 41 and the sheet guide 30 is set.

例えば、給紙ローラ40および排紙ローラ41の周囲を、弾性を有する肉厚のゴム材に
より被覆することで給紙ローラ40および排紙ローラ41の表面を弾性変形可能に構成す
ると共に、給紙ローラ40とシートガイド30との間の間隔および排紙ローラ41とシー
トガイド30との間の間隔を、レンズシートLの厚さより狭く構成することで、給紙ロー
ラ40および排紙ローラ41がレンズシートLをシートガイド30に押圧する状態とする
。この構成とする場合、レンズシートLが給紙ローラ40および排紙ローラ41とシート
ガイド30との間を通過する際に、給紙ローラ40および排紙ローラ41のレンズシート
Lとの接触部の表面が平らに弾性変形する。そのため、ゴム材の弾性や肉厚、さらに給紙
ローラ40とシートガイド30との間の間隔および排紙ローラ41とシートガイド30と
の間の間隔を適切に設定することで、レンズシートLをスムーズに搬送可能となると共に
、レンチキュラーレンズL1を係合部32に適度な押圧力で押圧可能となる。
For example, the surfaces of the paper feed roller 40 and the paper discharge roller 41 are covered with an elastic thick rubber material so that the surfaces of the paper feed roller 40 and the paper discharge roller 41 can be elastically deformed. By configuring the distance between the roller 40 and the sheet guide 30 and the distance between the paper discharge roller 41 and the sheet guide 30 to be narrower than the thickness of the lens sheet L, the paper supply roller 40 and the paper discharge roller 41 can be used as lenses. The sheet L is pressed against the sheet guide 30. In this configuration, when the lens sheet L passes between the paper feed roller 40 and the paper discharge roller 41 and the sheet guide 30, the contact portion of the paper feed roller 40 and the paper discharge roller 41 with the lens sheet L The surface is elastically deformed flat. Therefore, by appropriately setting the elasticity and thickness of the rubber material, and the distance between the paper feed roller 40 and the sheet guide 30 and the distance between the paper discharge roller 41 and the sheet guide 30, the lens sheet L It becomes possible to convey smoothly, and the lenticular lens L1 can be pressed against the engaging portion 32 with an appropriate pressing force.

なお、上述のように給紙ローラ40および排紙ローラ41の表面を弾性変形可能に構成
した場合には、給紙ローラ40および排紙ローラ41とシートガイド30との間の間隔を
、いわゆるコピー用紙等の紙媒体を搬送することができる間隔に設定しながら、レンズシ
ートLについては、上述の押圧力を作用させながら搬送させることができる。
When the surfaces of the paper feed roller 40 and the paper discharge roller 41 are configured to be elastically deformable as described above, the interval between the paper feed roller 40 and the paper discharge roller 41 and the sheet guide 30 is set to a so-called copy. The lens sheet L can be conveyed while applying the above-mentioned pressing force while setting the interval at which a paper medium such as paper can be conveyed.

コピー用紙等の紙媒体の厚さが0.1mm程度であるのに対し、レンズシートLは、厚
さが0.5mm程度と厚いものとなっている。したがって、該間隔を、紙媒体を搬送でき
る狭い間隔に設定しておくことで、搬送対象が紙媒体であるときはこの紙媒体を搬送する
ことができる。一方、搬送対象が厚いレンズシートLであるときは、給紙ローラ40およ
び排紙ローラ41のレンズシートLとの接触部が弾性変形し、レンズシートLをシートガ
イド30にゴム材の弾性変形の反力で押圧した状態で搬送することができる。
While the thickness of a paper medium such as copy paper is about 0.1 mm, the lens sheet L is as thick as about 0.5 mm. Therefore, by setting the interval to a narrow interval that can transport the paper medium, the paper medium can be transported when the transport target is a paper medium. On the other hand, when the object to be conveyed is a thick lens sheet L, the contact portion of the paper feed roller 40 and the paper discharge roller 41 with the lens sheet L is elastically deformed, and the lens sheet L is elastically deformed to the sheet guide 30 by the rubber material. It can be transported while being pressed by a reaction force.

なお、給紙ローラ40および排紙ローラ41は、レンズシートLの幅よりも長く設けら
れていて、レンズシートLを広い範囲に亘り均一に係合部32に押圧可能となっており、
レンチキュラーレンズL1と係合部32との係合状態をより確実化させることができる。
The paper feed roller 40 and the paper discharge roller 41 are provided longer than the width of the lens sheet L, and can press the lens sheet L uniformly against the engaging portion 32 over a wide range.
The engagement state between the lenticular lens L1 and the engagement portion 32 can be further ensured.

<制御部の構成>
図4に示すように、制御部100は、CPU(Central Processing Unit)101、R
OM(Read Only Memory)102、RAM(Random Access Memory)103、EEPRO
M(Electronically Erasable and Programmable ROM)104、ASIC(Application
Specific Integrated Circuit)105、カートリッジコントローラ106、通信I/F
107、ヘッドドライバ108、モータドライバ109等を備えている。そして、これら
が相互にデータを送受信可能に接続されている。
<Configuration of control unit>
As shown in FIG. 4, the control unit 100 includes a CPU (Central Processing Unit) 101, an R
OM (Read Only Memory) 102, RAM (Random Access Memory) 103, EEPRO
M (Electronically Erasable and Programmable ROM) 104, ASIC (Application
Specific Integrated Circuit) 105, cartridge controller 106, communication I / F
107, a head driver 108, a motor driver 109, and the like. These are connected so that data can be transmitted and received between them.

これらのうち、CPU101は、ROM102やEEPROM104に格納されている
プログラムに従って各種演算処理を実行し、プリンタ10の各部を制御する部分である。
ROM102には、プリンタ10を制御するための制御プログラムおよび処理に必要なデ
ータ等が記憶されている。RAM53は、CPU101が実行途中のプログラムあるいは
、演算途中のデータ等を一時的に格納するメモリである。また、EEPROM104は、
プリンタ10の電源を切った後も、保持しておくことが必要な各種データを記憶するため
のメモリである。なお、ROM102やEEPROM104にも、後述するプリンタドラ
イバプログラム134cと同様のプログラムが存在する。
Among these, the CPU 101 is a part that executes various arithmetic processes in accordance with programs stored in the ROM 102 and the EEPROM 104 and controls each part of the printer 10.
The ROM 102 stores a control program for controlling the printer 10 and data necessary for processing. The RAM 53 is a memory that temporarily stores a program being executed by the CPU 101 or data being calculated. The EEPROM 104 is
It is a memory for storing various data that needs to be retained even after the printer 10 is turned off. Note that the ROM 102 and the EEPROM 104 also have a program similar to the printer driver program 134c described later.

ASIC105は、不図示の各種のセンサからの信号に基づいて、印刷ヘッド51およ
び各種モータを駆動させるための専用のICである。カートリッジコントローラ106は
、CPU101からの指令に基づいて、カートリッジ55a,55bに存在するメモリ5
52へのアクセスを制御するための部分である。具体的には、カートリッジコントローラ
106は、メモリ552から、インクの色種データ、顔料/染料系のインクの種別データ
、インクの残量を示す残量データ、シリアル番号データ、有効期限データ、インクカート
リッジ55a,55bを用いることができる対象機種データ等を読み出す。また、カート
リッジコントローラ106は、印刷ヘッド51が駆動されて、インク滴が吐出されると、
その吐出量に応じてインク残量データを更新する。
The ASIC 105 is a dedicated IC for driving the print head 51 and various motors based on signals from various sensors (not shown). Based on a command from the CPU 101, the cartridge controller 106 is a memory 5 that exists in the cartridges 55a and 55b.
52 is a part for controlling access to 52. Specifically, the cartridge controller 106 stores the ink color type data, the pigment / dye type ink type data, the remaining amount data indicating the remaining amount of ink, the serial number data, the expiration date data, the ink cartridge from the memory 552. The target model data that can use 55a and 55b is read out. Further, the cartridge controller 106 is configured such that when the print head 51 is driven and ink droplets are ejected,
The ink remaining amount data is updated according to the ejection amount.

また、通信I/F107は、不図示のコネクタを介してコンピュータ130と接続され
、通信を行う。それにより、プリンタ10がコンピュータ130側から印刷信号PSを受
け取ると、その印刷信号PSに基づいて、プリンタ10で印刷のための処理が開始される
。また、通信I/F107を介して、プリンタ10側からコンピュータ130が各カート
リッジ55a,55bのインクに関する情報を受け取る。それにより、コンピュータ13
0側では、後述する表示ウィンドウが画面に表示可能となる。
The communication I / F 107 is connected to the computer 130 via a connector (not shown) to perform communication. Accordingly, when the printer 10 receives the print signal PS from the computer 130 side, the printer 10 starts processing for printing based on the print signal PS. Further, the computer 130 receives information about the ink in each of the cartridges 55a and 55b from the printer 10 via the communication I / F 107. Thereby, the computer 13
On the 0 side, a display window described later can be displayed on the screen.

また、ヘッドドライバ108は、ASIC105からの指令に応じて所定の電圧を生成
し、その電圧を印刷ヘッド51内のピエゾ素子に印加する。モータドライバ109は、A
SIC105からの指令に応じて所定の電圧を生成し、その電圧を各モータ42,43,
53に印加する。
In addition, the head driver 108 generates a predetermined voltage in response to a command from the ASIC 105 and applies the voltage to the piezo element in the print head 51. The motor driver 109 is A
A predetermined voltage is generated in response to a command from the SIC 105, and the voltage is supplied to each motor 42, 43,
53 is applied.

<コンピュータの概略構成>
図5に示すように、プリンタ10は、通信I/F107を介して、コンピュータ130
に接続されている。このコンピュータ130は、CPU131、ROM132、RAM1
33、HDD(Hard Disk Drive)134、ビデオ回路135、インター
フェース136、表示装置137等を具備している。このうち、HDD134には、レン
ズシートLの印刷に対応させて画像を加工するための画像加工プログラム134a(請求
項のプログラムに対応)等が記憶されている。そして、この画像加工プログラム134a
が読み込まれて、コンピュータ130で実行されると、各手順が実行される。
<Schematic configuration of computer>
As shown in FIG. 5, the printer 10 is connected to a computer 130 via a communication I / F 107.
It is connected to the. The computer 130 includes a CPU 131, a ROM 132, a RAM 1
33, an HDD (Hard Disk Drive) 134, a video circuit 135, an interface 136, a display device 137, and the like. Among these, the HDD 134 stores an image processing program 134a (corresponding to the claim program) for processing an image corresponding to the printing of the lens sheet L. The image processing program 134a
Is read and executed by the computer 130, each procedure is executed.

ここで、画像加工プログラム134aでは、図6に示すような印刷イメージとなる、検
査用画像データを作成する。そして、画像加工プログラム134aでは、検査用画像デー
タのレンズシートLに対する印刷イメージを、画像加工プログラム134aの表示ウィン
ドウに表示させる。このとき、表示ウィンドウに表示されるものは、搬送角度のずれのな
い、理想的なものである。また、この搬送角度検出のための印刷においては、検査用画像
データを形成するために、例えばA4サイズ等のような、レンズシートLのサイズの指定
を行う。なお、図6に表示される印刷イメージをレンズシートLに印刷させると、図7に
示す状態となる。
Here, the image processing program 134a creates inspection image data that becomes a print image as shown in FIG. In the image processing program 134a, the print image of the inspection image data on the lens sheet L is displayed on the display window of the image processing program 134a. At this time, what is displayed in the display window is ideal with no deviation in the transport angle. In the printing for detecting the conveyance angle, the size of the lens sheet L such as A4 size is designated in order to form inspection image data. When the print image displayed in FIG. 6 is printed on the lens sheet L, the state shown in FIG. 7 is obtained.

ところで、表示ウィンドウに表示される印刷イメージは、ラインデータLnから構成さ
れている。これら複数のラインデータLnのうち、印刷イメージの幅方向の中心には、当
該印刷イメージの長手方向に対して、データ上では正確に沿う基準ラインデータLAが配
置される。そして、この基準ラインデータLAの左右に、それぞれ均等な本数のラインデ
ータLnが配置されている。ところで、中心の基準ラインデータLAよりも左側では、当
該基準ラインデータLAから1本ずつ離間するにつれて、搬送方向に対して時計回りに、
例えば0.01度刻みで順次傾斜角度が増す状態で、それぞれのラインデータLnが配置
されている。逆に、基準ラインデータLAよりも右側では、当該基準ラインデータLAか
ら1本ずつ離間するにつれて、搬送方向に対して反時計回りに、例えば0.01度刻みで
順次傾斜角度が増す状態で、それぞれのラインデータLnが配置されている。
By the way, the print image displayed in the display window is composed of line data Ln. Among the plurality of line data Ln, reference line data LA that is accurately aligned with respect to the longitudinal direction of the print image is arranged at the center in the width direction of the print image. An equal number of line data Ln is arranged on the left and right sides of the reference line data LA. By the way, on the left side of the center reference line data LA, as they are separated from the reference line data LA one by one, clockwise with respect to the transport direction,
For example, the respective line data Ln are arranged in a state in which the inclination angle sequentially increases in increments of 0.01 degrees. On the other hand, on the right side of the reference line data LA, as it is separated from the reference line data LA one by one, in a state where the inclination angle sequentially increases counterclockwise, for example, in increments of 0.01 degrees, Each line data Ln is arranged.

なお、このラインデータLnの配置においては、代表的なものとして、次の2つがある
。その1つ目は、それぞれのラインデータLnの一端(図6では上端)のラインデータL
n同士の間隔が等しい状態として、下方に向かうにつれてラインデータLn同士の間隔が
広がるように配置するものである。この配置では、ラインデータLnの他端(図6では下
端)のラインデータLn同士の間隔は等しくならない。また、ラインデータLnの配置の
2つ目は、各ラインデータLnの全てが図8に示す仮想中心点を通るように配置される場
合である。この場合、隣り合うラインデータLn同士は、例えば0.01度だけ角度が異
なる配置となる。そのため、仮想中心点を中心とする円弧上においては、隣り合うライン
データLn同士の間隔は等しいものの、図6に示す印刷イメージでは、一端(図6では上
端)および他端(図6では下端)のいずれにおいても、隣り合うラインデータLnの間隔
は一定ではなく、場所によって変化する。
There are the following two typical arrangements of the line data Ln. The first is line data L at one end (upper end in FIG. 6) of each line data Ln.
In the state where the distance between n is equal, the distance between the line data Ln is increased toward the lower side. In this arrangement, the distance between the line data Ln at the other end (the lower end in FIG. 6) of the line data Ln is not equal. The second arrangement of the line data Ln is a case where all the line data Ln are arranged so as to pass through the virtual center point shown in FIG. In this case, the adjacent line data Ln are arranged at different angles by, for example, 0.01 degrees. Therefore, on the arc centered on the virtual center point, the interval between adjacent line data Ln is equal, but in the print image shown in FIG. 6, one end (upper end in FIG. 6) and the other end (lower end in FIG. 6). In any of the cases, the interval between the adjacent line data Ln is not constant and varies depending on the location.

以上のような、ラインデータLnの配置のうちいずれかとなるように、CPU131で
演算を行い、その演算結果に基づいて、ラインデータLnの軌跡が、印刷イメージに描か
れる。なお、ラインデータLnの配置は、上述の2つの場合以外のものであっても良い。
The CPU 131 performs calculations so as to be any one of the arrangements of the line data Ln as described above, and the locus of the line data Ln is drawn on the print image based on the calculation results. The arrangement of the line data Ln may be other than the above two cases.

また、画像加工プログラム134aでは、上述のように配置される、ラインデータLn
のそれぞれの色を決定する。ここでいう色とは、インクカートリッジ55aの残量を考慮
した色である。このラインデータLnの色の決定は、それぞれのラインデータLn毎とな
っており、例えば左側から右側に向かって色が変化するように、ラインデータLnの色が
決定される。
In the image processing program 134a, line data Ln arranged as described above is used.
Determine the color of each. The color here is a color that takes into account the remaining amount of the ink cartridge 55a. The color of the line data Ln is determined for each line data Ln. For example, the color of the line data Ln is determined so that the color changes from the left side to the right side.

なお、表示ウィンドウでは、RGB系でラインデータLnが表示されるのに対して、プ
リンタ10では、CMYK系で印刷が為される。このため、RGBの256階調で表示ウ
ィンドウが表示される場合、シアンは(R,G,B)=(0,255,255)、マゼン
タは(R,G,B)=(255,0,255)、イエローは(R,G,B)=(255,
255,0)、ブラックは、(R,G,B)=(0,0,0)で表示されることになる。
In the display window, the line data Ln is displayed in the RGB system, whereas the printer 10 performs printing in the CMYK system. Therefore, when the display window is displayed with 256 gradations of RGB, cyan is (R, G, B) = (0, 255, 255), and magenta is (R, G, B) = (255, 0, 255), yellow is (R, G, B) = (255,
255, 0) and black are displayed as (R, G, B) = (0, 0, 0).

その他、コンピュータ130のHDD134には、ビデオ回路135を駆動させるため
のビデオドライバプログラム134b、プリンタドライバプログラム134cが記憶され
ている。ビデオドライバプログラム134bは、ビデオ回路135を駆動するためのプロ
グラムであり、例えば、画像加工プログラム134aから供給された検査用画像データに
対してガンマ処理やホワイトバランスの調整等を行った後、映像信号を生成して表示装置
137に供給して表示させる際に実行される。
In addition, the HDD 134 of the computer 130 stores a video driver program 134b and a printer driver program 134c for driving the video circuit 135. The video driver program 134b is a program for driving the video circuit 135. For example, after performing gamma processing or white balance adjustment on the inspection image data supplied from the image processing program 134a, the video signal Is generated and supplied to the display device 137 for display.

また、プリンタドライバプログラム134cは、所定のオペレーティングシステム(O
S)の下で動作し、画像加工プログラム134aで作成された検査用画像データに対して
、解像度変換処理、RGB表色系の検査用画像データを、CMYK(Cyan, Magenta, Yel
low, Black)表色系の印刷データに変換する色変換処理、さらにCMYK表色系によって
表されている印刷データに対するハーフトーン処理、およびラスタライズ処理の各処理を
行い、プリンタ10側に印刷信号PSを出力する。
In addition, the printer driver program 134c stores a predetermined operating system (O
S), and CMYK (Cyan, Magenta, Yel) is used for inspection image data created by the image processing program 134a.
low, Black) Color conversion processing for converting to color system print data, and further, halftone processing and rasterization processing for print data represented by the CMYK color system are performed, and the print signal PS is sent to the printer 10 side. Is output.

<印刷動作について>
以上のような構成を有する検査用画像作成装置1を用いて、レンズシートLに印刷を行
う場合について、図9のフローに基づいて説明する。
<About printing operation>
A case where printing is performed on the lens sheet L using the inspection image creation apparatus 1 having the above-described configuration will be described based on the flow of FIG.

図6に示すような印刷イメージで示される、搬送角度を検出するための検査用画像デー
タに基づいてレンズシートLに検査用画像を印刷させる場合、その印刷に先立って、ユー
ザは、画像加工プログラム134aを起動させる。画像加工プログラム134aが起動さ
れると、ユーザは、印刷を始めるのに先立って、レンズシートLのサイズ指定を行う。そ
して、ユーザは、検出用画像データに基づく印刷を実行させる処理を開始させる。
When the inspection image is printed on the lens sheet L based on the inspection image data for detecting the conveyance angle shown by the print image as shown in FIG. 6, prior to the printing, the user performs an image processing program. 134a is activated. When the image processing program 134a is activated, the user designates the size of the lens sheet L prior to starting printing. Then, the user starts processing for executing printing based on the detection image data.

すると、画像加工プログラム134aでは、上述したような、ラインデータLnの配置
処理を開始させる。それにより、図6の印刷イメージで示されるような、ラインデータL
nの配置が為された検査用画像データが作成される(S10;ラインデータ配置手順およ
びラインデータ配置工程に対応)。なお、この画像データの作成と共に、CPU131は
、作成された検査用画像データにおけるライン数の初期値を設定する(S11)。
Then, the image processing program 134a starts the arrangement process of the line data Ln as described above. Thereby, the line data L as shown in the print image of FIG.
Inspection image data having n arrangements is created (S10; corresponding to the line data arrangement procedure and the line data arrangement process). Along with the creation of the image data, the CPU 131 sets an initial value of the number of lines in the created inspection image data (S11).

続いて、カートリッジコントローラ106は、コンピュータ130およびCPU101
からの指令に基づいて、インクカートリッジ55a(3色一体型)のメモリ552から、
インク残量に関するインク残量データを読み出す。そして、読み出されたデータのうち、
インク残量データは、プリンタ10からコンピュータ130に向けて送信される。このイ
ンク残量データが、コンピュータ130の表示装置137に表示されると、図10に示す
状態となる。そして、コンピュータ130では、C、M、Y、Kの各色のインク残量を確
認する(S12;インク残量検出手順およびインク残量検出工程に対応)。
Subsequently, the cartridge controller 106 includes a computer 130 and a CPU 101.
From the memory 552 of the ink cartridge 55a (three-color integrated type)
Read ink remaining amount data related to the ink remaining amount. And among the read data,
The ink remaining amount data is transmitted from the printer 10 to the computer 130. When the ink remaining amount data is displayed on the display device 137 of the computer 130, the state shown in FIG. Then, the computer 130 checks the remaining amounts of inks of C, M, Y, and K (S12; corresponding to the remaining ink amount detection procedure and the remaining ink amount detection step).

この確認の後に、まずラインデータLnの残りライン数が0よりも大きいか否かを判断
する(S13;判断手順および判断工程に対応)。この判断において、残りライン数が0
よりも大きいと判断される場合(Yesの場合)、インク残量に基づいて、いずれかの色
を選択する(S14;色選択手順の一部および色選択工程の一部に対応)。ここで、イン
ク残量に基づく選択の一例を、図10に示す。図10に示すように、シアンのインク残量
が1029、マゼンタのインク残量が1060、イエローのインク残量が1011である
場合、最もインク残量の多いマゼンタを選択する。このように、S14では、最もインク
残量の多い色を選択する処理を行う。また、色の選択結果は、RAM133やCPU13
1のレジスタ等の記憶部位に、選択色と選択回数とが対応付けられて、記憶させられる。
After this confirmation, it is first determined whether or not the number of remaining lines of the line data Ln is greater than 0 (S13; corresponding to determination procedure and determination step). In this determination, the number of remaining lines is 0.
If it is determined that it is larger (Yes), one of the colors is selected based on the remaining ink amount (S14; corresponding to part of the color selection procedure and part of the color selection process). Here, an example of selection based on the remaining amount of ink is shown in FIG. As shown in FIG. 10, when the cyan ink remaining amount is 1029, the magenta ink remaining amount is 1060, and the yellow ink remaining amount is 1011, magenta having the largest ink remaining amount is selected. As described above, in S14, a process of selecting a color having the largest remaining ink amount is performed. In addition, the color selection result is obtained by the RAM 133 or the CPU 13.
The selected color and the number of times of selection are associated with each other and stored in a storage part such as one register.

S14において、いずれかの色が選択された場合、続いて、ライン数の残数を1だけ減
じて更新する(S15;色選択手順の一部および色選択工程の一部に対応)。なお、更新
されたライン数は、RAM133やCPU131のレジスタ等に記憶させられる。また、
このライン数の更新が終了すると、再びS13の判断に戻る。
If any color is selected in S14, then the remaining number of lines is reduced by 1 and updated (S15; corresponding to part of the color selection procedure and part of the color selection process). The updated number of lines is stored in the RAM 133, the register of the CPU 131, or the like. Also,
When the update of the number of lines is completed, the process returns to the determination of S13 again.

また、S13の判断において、残りライン数が0となる場合(Noの場合)、インク残
量に基づく、色の選択は終了したと判断される。そのため、次の処理として、図6に示す
印刷イメージにおいて、各ラインデータLnの色を変更する(S16;色決定手順および
色決定工程に対応)。この各ラインデータLnの色の変更は、例えば左側のラインデータ
Lnから順に、シアン、マゼンタ、イエローと定めても良い。また、色の多い順に従って
、中央に位置する基準ラインデータLAの色を定め、その基準ラインデータLAの左の色
を定め、続いて基準ラインデータLAの右の色を定める、といったように、基準ラインデ
ータLAを挟んで交互にラインデータLnの色を定めるようにしても良い。
If the number of remaining lines is 0 in the determination of S13 (No), it is determined that the color selection based on the remaining ink amount is completed. Therefore, as the next processing, the color of each line data Ln is changed in the print image shown in FIG. 6 (S16; corresponding to the color determination procedure and the color determination step). For example, the color of each line data Ln may be changed to cyan, magenta, and yellow sequentially from the left line data Ln. Further, in accordance with the order of the colors, the color of the reference line data LA located in the center is determined, the left color of the reference line data LA is determined, and then the right color of the reference line data LA is determined. The color of the line data Ln may be alternately determined with the reference line data LA interposed therebetween.

ここで、ライン数の初期値が10である状態で、図9のフローを繰り返してライン数が
0となるまで繰り返した場合の、選択色とインク残量との関係を、図11に示す。図11
においては、最初の状態では、マゼンタのインク残量が1060と最も多いので、選択さ
れる色は、マゼンタとなる。また、この例では、シアン、マゼンタ、イエローの1ライン
当たりのインク消費量は15であり、色が決定された後には、インク消費量の15が、対
応する色のインク残量から減じられている。そして、残りのライン数が0となると、図9
のフローを終了させる。
Here, FIG. 11 shows the relationship between the selected color and the remaining amount of ink when the flow of FIG. 9 is repeated until the number of lines becomes 0 with the initial value of the number of lines being 10. FIG.
In the initial state, the remaining amount of magenta ink is the largest at 1060, so the selected color is magenta. In this example, the ink consumption per line of cyan, magenta, and yellow is 15, and after the color is determined, the ink consumption of 15 is subtracted from the ink remaining amount of the corresponding color. Yes. When the remaining number of lines becomes zero, FIG.
End the flow.

そして、S16の処理によって、各ラインデータLnの色が定められた(変更された)
後に印刷を実行すると、図7に示すような検査用画像がレンズシートLに形成される。
Then, the color of each line data Ln is determined (changed) by the process of S16.
When printing is executed later, an inspection image as shown in FIG. 7 is formed on the lens sheet L.

<傾斜角度の測定>
また、上記の検査用画像に基づく傾斜角の測定の測定は次のようにして行うことができ
る。プリンタ10により、図7に示すように、レンズシートLに記録された検査用画像を
レンチキュラーレンズL1の側から見ると、ラインデータLnの中でレンチキュラーレン
ズL1の凸レンズL11の母線(稜線)に沿って記録されている基準ラインLBについて
は、連続した1本のラインとして視認することができる。他方、凸レンズL11の母線に
沿って記録されていないラインについては複数の凸レンズL11にまたがって記録される
ため、例えば、ラインLC等のように不連続な(分断された)ラインとなる。
<Measurement of tilt angle>
Further, the measurement of the tilt angle based on the inspection image can be performed as follows. When the inspection image recorded on the lens sheet L is viewed from the lenticular lens L1 side by the printer 10 as shown in FIG. 7, the line data Ln is along the generatrix (ridgeline) of the convex lens L11 of the lenticular lens L1. The recorded reference line LB can be visually recognized as one continuous line. On the other hand, since the lines that are not recorded along the generatrix of the convex lens L11 are recorded over the plurality of convex lenses L11, they are discontinuous (divided) lines such as the line LC.

したがって、ラインの中で、レンチキュラーレンズL1を介して1本のラインで見るこ
とができる基準ラインLBに対応するラインLCの傾斜角を、係合部32のガイド方向と
所定の搬送方向との傾斜角として測定できる。そして、この測定された傾斜角に基づいて
検査用画像データを回転させる処理(補正処理)を行う。レンズシートLへの画像の記録
をこの補正処理後の画像データに基づいて行うことで、レンズシートLが斜行して搬送さ
れる場合も所定位置に画像を記録することができる。
Therefore, in the line, the inclination angle of the line LC corresponding to the reference line LB that can be seen in one line via the lenticular lens L1 is set to the inclination between the guide direction of the engaging portion 32 and the predetermined conveyance direction. It can be measured as a corner. Then, a process (correction process) for rotating the inspection image data based on the measured inclination angle is performed. By recording the image on the lens sheet L based on the image data after the correction processing, the image can be recorded at a predetermined position even when the lens sheet L is conveyed obliquely.

なお、上述の測定では、0.01度刻みの傾斜角でラインが形成された1種類の検査用
画像を用いているが、傾斜角の変化量が違う2種類の検査用画像を用いて、傾斜角を測定
してもよい。例えば、0.05度刻みの傾斜角でラインが形成された第1の検査用画像を
レンズシートLに記録し、この検査用画像をレンチキュラーレンズL1を介して見たとき
に最も1ラインの長さが長いラインを特定する。次いで、別のレンズシートLにこのライ
ンの傾斜角を中心にして左右に0.01度刻みの傾斜角でラインが形成される第2の検査
用画像を記録する。そして、第2の検査用画像をレンチキュラーレンズL1を介して見た
ときに最も1ラインの長さが長いラインを特定する。このラインの傾斜角を、係合部32
のガイド方向と所定の搬送方向との傾斜角として測定することができる。
In the measurement described above, one type of inspection image in which lines are formed at an inclination angle of 0.01 degrees is used, but two types of inspection images with different amounts of change in the inclination angle are used. The inclination angle may be measured. For example, a first inspection image in which lines are formed at an inclination angle of 0.05 degrees is recorded on the lens sheet L, and when this inspection image is viewed through the lenticular lens L1, the length of one line is the longest. Identify long lines. Next, a second inspection image is formed on another lens sheet L in which lines are formed at an inclination angle of 0.01 degrees to the left and right with the inclination angle of the line as the center. When the second inspection image is viewed through the lenticular lens L1, the line having the longest length of one line is specified. The inclination angle of this line is set to the engaging portion 32.
It can be measured as an inclination angle between the guide direction and the predetermined transport direction.

<本発明の適用による効果>
以上のような構成によれば、S12でインク残量が検出され、S14では、検出された
インク残量のうち、最もインク残量の多い色のインクを選択する(色の選択に対応)。そ
して、かかる色の選択が、S13の判断でライン数がゼロとなるまで繰り返されるので、
インクカートリッジ55aのインク貯留部間における、インク残量の偏りを確実になくす
ることが可能となる。
<Effects of application of the present invention>
According to the above configuration, the remaining amount of ink is detected in S12, and in S14, the color ink having the largest remaining ink amount is selected from the detected remaining ink amounts (corresponding to color selection). Since the selection of the color is repeated until the number of lines becomes zero in the determination of S13,
It is possible to reliably eliminate unevenness in the remaining amount of ink between the ink storage portions of the ink cartridge 55a.

そのため、インクカートリッジ55aのような、シアン、マゼンタ、イエローが一体と
なっているタイプ(3色一体型)においては、特定の色のインクの消費のみが多くなる、
といった不具合が生じるのを防止でき、インクカートリッジ55aの全色を使い切ること
が可能となる。そのため、ユーザにとって経済的なものとなり、その利便性が向上する。
Therefore, in a type in which cyan, magenta, and yellow are integrated (three-color integrated type) such as the ink cartridge 55a, only the consumption of ink of a specific color increases.
Such a problem can be prevented and all the colors of the ink cartridge 55a can be used up. Therefore, it becomes economical for the user and the convenience is improved.

また、基準ラインデータLAに対して、傾斜角度が所定の角度ずつ増大するように、ラ
インデータLnを配置されている検査用画像データに基づいてレンズシートLに印刷がな
されて検査用画像が形成されるため、その検査用画像を用いることで、レンズシートLの
搬送方向に対する凸レンズL11の傾斜角度を算出することが可能となる。
In addition, printing is performed on the lens sheet L based on the inspection image data in which the line data Ln is arranged so that the inclination angle increases by a predetermined angle with respect to the reference line data LA, thereby forming an inspection image. Therefore, the inclination angle of the convex lens L11 with respect to the conveyance direction of the lens sheet L can be calculated by using the inspection image.

さらに、S16における処理では、ラインデータLnの並びの一方側(例えば図6の左
側)から他方側(例えば図6の右側)に向かって、順次、ラインデータLnの色を定める
要にしても良い。このように構成する場合、ラインデータLnの色を容易に定めることが
可能となる。
Furthermore, in the processing in S16, the color of the line data Ln may be sequentially determined from one side (for example, the left side in FIG. 6) of the line data Ln to the other side (for example, the right side in FIG. 6). . When configured in this way, the color of the line data Ln can be easily determined.

また、S16における処理では、S14における処理で選択される色の多い順に、順次
、ラインデータLnの色を定めるようにしても良い。このように構成する場合、ラインデ
ータLnの色の並びを、容易に定めることが可能となる。
In the process in S16, the color of the line data Ln may be sequentially determined in the order of the color selected in the process in S14. When configured in this way, it is possible to easily determine the color arrangement of the line data Ln.

さらに、ラインデータLnは、隣り合うラインデータLnとの間で、一端側(例えば図
6の上端側)の間隔を等しい状態として配置しても良い。その場合、ラインデータLnの
一端側においては、全てのラインデータLnの間隔が等しいので、この間隔をレンズピッ
チに対応させる等により、搬送角度を容易に求めることが可能となる。
Further, the line data Ln may be arranged with an equal interval between one end side (for example, the upper end side in FIG. 6) between the adjacent line data Ln. In this case, since the intervals of all the line data Ln are equal on one end side of the line data Ln, the conveyance angle can be easily obtained by making this interval correspond to the lens pitch.

また、全てのラインデータLnが、図8に示す仮想中心点を通る状態で配置しても良い
。その場合、各ラインデータLnは、等しい角度だけ離間する状態となる。それにより、
等しい角度毎に配置されながらも、ラインデータLnの一端側(例えば上端側)ではライ
ンデータLnの間隔が、若干狭まるので、より多くのラインデータLnの配置に対応させ
ることが可能となる。
Further, all the line data Ln may be arranged in a state of passing through the virtual center point shown in FIG. In that case, the line data Ln are in a state of being separated by an equal angle. Thereby,
Even though they are arranged at equal angles, the interval between the line data Ln is slightly narrowed at one end side (for example, the upper end side) of the line data Ln, so that it is possible to correspond to the arrangement of more line data Ln.

<第2の実施の形態>
以下、本発明の第2の実施の形態について、図12から図20に基づいて説明する。な
お、この第2の実施の形態においては、上述の第1の実施の形態で述べたのと同様の構成
については、その説明を省略すると共に、同一の符号を用いて説明する。
<Second Embodiment>
Hereinafter, a second embodiment of the present invention will be described with reference to FIGS. In the second embodiment, the description of the same configuration as that described in the first embodiment will be omitted and the same reference numerals will be used.

本実施の形態における画像検査装置2は、上述の第1の実施の形態で述べた検査用画像
作成装置1でレンズシートLに検査用画像を形成した後に、この検査用画像を後述するス
キャナ機能部11Bで読み取り、レンズシートLの搬送角度(印刷イメージにおけるレン
チキュラーレンズL1の長手方向に沿う特定の線を、レンズシートLへ印刷した場合、そ
の特定の線の印刷画像が特定のレンチキュラーレンズL1の長手に対して為す角度)を算
出するものである。
The image inspection apparatus 2 in this embodiment forms a test image on the lens sheet L by the test image creation apparatus 1 described in the first embodiment, and then scans the test image with a scanner function described later. Read by the section 11B, when the conveyance angle of the lens sheet L (a specific line along the longitudinal direction of the lenticular lens L1 in the print image is printed on the lens sheet L, the printed image of the specific line is the specific lenticular lens L1. The angle made with respect to the longitudinal direction) is calculated.

図12に示すように、画像検査装置2は、複合装置11とコンピュータ130とから構
成されていて、それらのうち複合装置11は、プリンタ機能部11Aと、スキャナ手段の
一部を構成するスキャナ機能部11Bとを備える、いわゆる複合機的な複数の機能を有す
るプリンタである。これらのうち、プリンタ機能部11Aは、プリンタASIC(第1の
実施の形態におけるASIC105)他、上述の第1の実施の形態における構成と同様で
ある。そのため、これらプリンタ機能部11Aの各構成要素の説明については、省略する
As shown in FIG. 12, the image inspection apparatus 2 includes a composite apparatus 11 and a computer 130, and the composite apparatus 11 includes a printer function unit 11A and a scanner function that constitutes a part of the scanner unit. This is a printer having a plurality of functions such as a so-called multi-function machine, including the unit 11B. Among these, the printer function unit 11A is the same as the configuration in the first embodiment described above, except for the printer ASIC (ASIC 105 in the first embodiment). Therefore, description of each component of the printer function unit 11A is omitted.

また、本実施の形態における複合装置11は、主制御部11Cを有している。主制御部
11Cは、上述の第1の実施の形態における制御部100のうち、CPU101、ROM
102、RAM103、PROM104等を有していて、これらおよびプリンタASIC
105、スキャナASIC等が、バス等の伝送路を介して交互にデータを送受信可能に接
続されている。この主制御部11Cは、コンピュータ130と共に、算出手段として機能
する部分である。しかしながら、主制御部11Cのみで、後述する図15のフローに示す
処理を行える場合には、この主制御部11Cが算出手段として機能する。
Moreover, the composite apparatus 11 in the present embodiment has a main control unit 11C. The main control unit 11C includes the CPU 101 and the ROM of the control unit 100 in the first embodiment described above.
102, RAM 103, PROM 104, etc., and these and printer ASIC
105, a scanner ASIC or the like is connected to be able to transmit and receive data alternately via a transmission line such as a bus. The main control unit 11C is a part that functions as a calculation unit together with the computer 130. However, when only the main control unit 11C can perform the processing shown in the flow of FIG. 15 to be described later, the main control unit 11C functions as a calculation unit.

また、スキャナ機能部11Bは、主制御部11Cと相俟ることにより、スキャナ手段と
して機能する。このスキャナ機能部11Bは、スキャナASIC200と、スキャナ機構
部210と、走査部220と、発光部230と、光学ユニット240と、受光部250と
、を有している。これらのうち、スキャナASIC200は、走査部220/受光部25
0等の作動を制御する部分であり、受光部250で読み取られた読み取りデータを、RA
M103のスキャナ領域103bに記憶させる。
The scanner function unit 11B functions as a scanner unit when combined with the main control unit 11C. The scanner function unit 11B includes a scanner ASIC 200, a scanner mechanism unit 210, a scanning unit 220, a light emitting unit 230, an optical unit 240, and a light receiving unit 250. Among these, the scanner ASIC 200 includes the scanning unit 220 / light receiving unit 25.
This is a part that controls the operation of 0 or the like, and the read data read by the light receiving unit 250 is converted into RA.
The data is stored in the scanner area 103b of M103.

また、スキャナ機構部210は、走査部220等を内包/支持する筐体212、および
この筐体212の上部側に支持されると共に、レンズシートLを載置するガラス面212
aを具備している。このガラス面212aは、読み取られるレンズシートLのサイズより
も大きく設けられている。また、走査部220は、上述のプリンタ機能部11Aと同様の
構成を有しており、キャリッジ221と、このキャリッジ221の移動を案内するための
ガイドレール222と、キャリッジ221に一部が固着されている無端のベルト223と
、該ベルト223を介してキャリッジ221を移動させるための駆動力を与えるモータ2
24等を備えている。
The scanner mechanism unit 210 includes a housing 212 that encloses / supports the scanning unit 220 and the like, and a glass surface 212 on which the lens sheet L is placed while being supported on the upper side of the housing 212.
a. The glass surface 212a is provided larger than the size of the lens sheet L to be read. The scanning unit 220 has the same configuration as the printer function unit 11A described above, and a part of the scanning unit 220 is fixed to the carriage 221, a guide rail 222 for guiding the movement of the carriage 221, and the carriage 221. An endless belt 223, and a motor 2 for providing a driving force for moving the carriage 221 via the belt 223
24 etc.

また、図13に示すように、キャリッジ221の上面には、長尺状の発光部230が設
けられている。キャリッジ221の上面には、例えば長尺状のスリット221aが設けら
れていて、レンズシートLに照射された光は、このスリット221aを介して、キャリッ
ジ221の内部に導かれる。また、キャリッジ221の内部には、光学ユニット240が
設けられている。光学ユニット240は、複数のミラー241およびレンズユニット24
2から構成されている。この光学ユニット240を経て、レンズユニット242から出射
される光は、受光部250に集光される。
Further, as shown in FIG. 13, a long light emitting unit 230 is provided on the upper surface of the carriage 221. For example, a long slit 221a is provided on the upper surface of the carriage 221, and the light irradiated to the lens sheet L is guided to the inside of the carriage 221 through the slit 221a. An optical unit 240 is provided inside the carriage 221. The optical unit 240 includes a plurality of mirrors 241 and a lens unit 24.
It consists of two. The light emitted from the lens unit 242 via the optical unit 240 is collected on the light receiving unit 250.

また、受光部250は、複数のCCD(Charge Coupled Device)が副走査方向に長く
なるように、ライン状に並べられて構成されるラインCCDである。このライン状のCC
Dが、受光される光の量に応じてアナログ電流を発生させ、このアナログ電流が不図示の
AD変換器を介してデジタル化され、読み取りイメージに対応するデジタルデータを出力
する。この場合、デジタルデータをCCDの画素数分(各色のフィルタを備えるカラーC
CDの場合には、それぞれRGBの画素数分)、および主走査方向に積算することにより
、読み取り対象のイメージに相当する、画像データとしての読み取り画像が作成される。
The light receiving unit 250 is a line CCD configured such that a plurality of CCDs (Charge Coupled Devices) are arranged in a line so as to be long in the sub-scanning direction. This line CC
D generates an analog current according to the amount of light received, and the analog current is digitized via an AD converter (not shown) to output digital data corresponding to the read image. In this case, the digital data is equal to the number of CCD pixels (color C including filters of each color
In the case of a CD, a read image as image data corresponding to the image to be read is created by integrating in the main scanning direction for each of the RGB pixels).

また、主制御部11Cのうち、ROM102には、画像変換プログラム102aが記憶
されている。画像変換プログラム102aは、RAM102に記憶されている、レンズシ
ートLを読み取った読み取り画像において、例えば所定の走査方向に存在する画素データ
、または全ての画素データにおける濃淡レベルに関する濃淡レベル情報を算出し、この濃
淡レベル情報において、濃淡レベルが規定のしきい値を超えるか否かを判断し、特定の画
素データの濃淡レベルが規定のしきい値を超えるか否かに応じて、その画素データを、濃
淡のいずれかの2階調の画素データにする処理(2値化処理)を行う。なお、濃淡レベル
情報は、例えばスペクトル分布等を算出し、かかるスペクトル分布に基づいて行うように
しても良い。
In the main control unit 11C, the ROM 102 stores an image conversion program 102a. The image conversion program 102a calculates, for example, pixel level data relating to a gray level in pixel data existing in a predetermined scanning direction or all pixel data in a read image stored in the RAM 102 and obtained by reading the lens sheet L, and In this light / dark level information, it is determined whether the light / dark level exceeds a specified threshold value, and depending on whether the light / dark level of specific pixel data exceeds a specified threshold value, the pixel data is A process (binarization process) is performed to make pixel data of any two shades of density. The light / dark level information may be calculated based on, for example, a spectral distribution calculated.

そして、全ての画素データに対して2値化処理を行い、読み取り画像を2階調のデータ
に変換する処理を行う。そして、この2階調の読み取り画像に基づいて、次述する角度算
出プログラム102bによる処理が為される。
Then, binarization processing is performed on all pixel data, and processing for converting the read image into data of two gradations is performed. Then, based on the read image of the two gradations, processing by the angle calculation program 102b described below is performed.

また、ROM102には、角度算出プログラム102bおよび角度算出データ102c
(図19に示すテーブル等)が記憶されている。これら角度算出プログラム102bおよ
び角度算出データ102cに基づいて、図15のフローに示すような処理が実行され、レ
ンズシートLを読み取った読み取り画像から、レンズシートLの搬送方向に対する凸レン
ズL11の傾斜角度が算出される。
The ROM 102 also has an angle calculation program 102b and angle calculation data 102c.
(The table shown in FIG. 19 and the like) are stored. Based on the angle calculation program 102b and the angle calculation data 102c, processing as shown in the flow of FIG. 15 is executed, and the inclination angle of the convex lens L11 with respect to the conveyance direction of the lens sheet L is determined from the read image obtained by reading the lens sheet L. Calculated.

また、本実施の形態では、読み取り対象であるレンズシートLに印刷されている検査用
画像(スキャナ機能部11Bで読み込んだ読み取り画像も同様)は、図14に示すように
、搬送角度に対応する角度数値Ldと、終端記号Leとが設けられている。角度数値Ld
は、上述の第1の実施の形態における印刷イメージの長手方向に対して、データ上では正
確に沿う基準ラインLBが0.00となり、この基準ラインLBよりも左側では、当該基
準ラインLBから1本ずつ離間するにつれて、例えば0.01度刻みで順次、角度数値の
絶対値がマイナス方向に増し、逆に基準ラインLBよりも右側では、当該基準ラインLB
から1本ずつ離間するにつれて、例えば0.01度刻みで順次、角度数値の絶対値がプラ
ス方向に増す状態で、それぞれの角度数値が配置されている。
In the present embodiment, the inspection image printed on the lens sheet L to be read (same for the read image read by the scanner function unit 11B) corresponds to the conveyance angle as shown in FIG. An angle numerical value Ld and a terminal symbol Le are provided. Angle value Ld
Is the reference line LB accurately along the data with respect to the longitudinal direction of the print image in the first embodiment described above is 0.00, and on the left side of the reference line LB, the reference line LB is 1 from the reference line LB. As the distance between the lines increases, the absolute value of the angle numerical value increases in the negative direction sequentially, for example, in increments of 0.01 degrees. Conversely, on the right side of the reference line LB, the reference line LB
Each angle value is arranged in a state where the absolute value of the angle value increases in the positive direction sequentially, for example, in increments of 0.01 degrees as they are separated from each other.

また、終端記号Leは、それぞれのラインデータLnにおける終端を示す記号である。
すなわち、検査用画像を読み取ると、隣り合う凸レンズL11にまたがるラインLCは、
空白が生じて不連続となるものが多い。ここで、空白がラインLCの終端に差し掛かると
、後述するS22の処理において、ラインLCの終端位置が不明瞭となり、画像回転を行
うことが難しくなる。そのため、ラインLCの終端位置を明瞭とすべく、ラインLCの終
端に終端記号Leを設けている。この終端記号Leとしては、スキャナ機能部11Bでの
認識性を高めるために、例えばラインデータLnの幅寸法よりも直径が十分に大きな黒丸
印を用いるようにしても良い(図14参照)。なお、図14に示す終端記号Leには、上
端側の終端記号Le1と、下端側の終端記号Le2とがある。
Further, the termination symbol Le is a symbol indicating the termination in each line data Ln.
That is, when the inspection image is read, the line LC extending between adjacent convex lenses L11 is
Many are discontinuous due to white space. Here, if a blank reaches the end of the line LC, the end position of the line LC becomes unclear in the process of S22 described later, and it is difficult to perform image rotation. Therefore, a termination symbol Le is provided at the end of the line LC in order to clarify the end position of the line LC. As the termination symbol Le, for example, a black circle whose diameter is sufficiently larger than the width dimension of the line data Ln may be used in order to improve the recognition in the scanner function unit 11B (see FIG. 14). 14 includes a terminal symbol Le1 on the upper end side and a terminal symbol Le2 on the lower end side.

<搬送角度を算出する処理について>
以下、図15に基づいて、レンズシートLの搬送方向に対する凸レンズL11の傾斜角
度を自動的に算出する処理フローについて説明する。
<Regarding the processing for calculating the transport angle>
Hereinafter, a processing flow for automatically calculating the inclination angle of the convex lens L11 with respect to the conveyance direction of the lens sheet L will be described with reference to FIG.

なお、検査用画像は、レンズシートLに印刷されたものであり、後述する空白が存在し
ないものである。しかしながら、スキャナ機能部11Bで検査用画像を読み取った読み取
り画像は、検査用画像の各ラインLCに空白が生じている状態となっている。これは、各
画素の濃淡のレベル差により、空白状に見えることによる。このため、以下の説明では、
読み取った読み取り画像における、空白が生じているライン状の部分(検査用画像のライ
ンLCに対応)は、濃淡ラインLFとして説明する。
Note that the inspection image is printed on the lens sheet L and does not have a blank to be described later. However, the read image obtained by reading the inspection image with the scanner function unit 11B is in a state where a blank is generated in each line LC of the inspection image. This is due to the fact that it appears to be blank due to the difference in level of shading of each pixel. For this reason, in the following description:
A line-shaped portion (corresponding to the line LC of the inspection image) where a blank is generated in the read image that has been read will be described as a light and dark line LF.

まず、ガラス面212aにレンズシートLを載置して、当該レンズシートLを読み取る
スキャン動作を実行する(S20)。それにより、読み取り画像が得られ、当該読み取り
画像は、RAM102のスキャナ領域に記憶させられる。また、読み取り後、読み取り画
像について2値化処理を行い、2階調の読み取り画像を作成する処理を行う(S21)。
First, a lens sheet L is placed on the glass surface 212a, and a scanning operation for reading the lens sheet L is executed (S20). Thereby, a read image is obtained, and the read image is stored in the scanner area of the RAM 102. In addition, after reading, the read image is binarized to generate a read image with two gradations (S21).

続いて、2階調の読み取り画像につき、角度算出プログラム102bにより、画像回転
の処理を行う(S22)。このS22では、読み取り画像の配置の角度を、印刷イメージ
と同じ傾きに戻す。ここで、この傾きには、レンズシートLを搬送している状態での印刷
の角度的なずれと、スキャナーセット時のレンズシートLの傾斜の両方が含まれる。この
S22では、具体的には、各終端記号Leが、印刷イメージ内の水平方向と平行になるよ
うにする。
Subsequently, image rotation processing is performed on the read image of two gradations by the angle calculation program 102b (S22). In S22, the layout angle of the read image is returned to the same inclination as that of the print image. Here, this inclination includes both the angular deviation of printing in the state where the lens sheet L is being conveyed and the inclination of the lens sheet L when the scanner is set. In S22, specifically, each terminal symbol Le is set to be parallel to the horizontal direction in the print image.

ここで、読み取り画像における傾斜角度は、図14における終端記号Le1を通過する
と共に点Pと点Qを通る線A1と、点Pから上記の水平方向に沿って延伸する線A2とを
用いて算出することができる。すなわち、線A1から線A2に向けて垂線を引くことで、
直角三角形PQRが形成され、この直角三角形PQRから、位置ずれ角度はθ=ATAN
(QRの長さ/PRの長さ)×180/π等の式により、求めることができる。そして、
求められたθだけ、読み取り画像を回転させる(図16参照)。なお、この図16におい
ては、マス目が表示されているが、このマス目は、読み取り画像の読み取りの結果として
は表示されない。
Here, the inclination angle in the read image is calculated using a line A1 passing through the terminal symbol Le1 in FIG. 14 and passing through the points P and Q and a line A2 extending from the point P along the horizontal direction. can do. That is, by drawing a perpendicular from the line A1 to the line A2,
A right triangle PQR is formed, and from this right triangle PQR, the misalignment angle is θ = ATAN
(QR length / PR length) × 180 / π or the like. And
The read image is rotated by the calculated θ (see FIG. 16). In FIG. 16, squares are displayed, but these squares are not displayed as a result of reading the read image.

続いて、角度算出プログラム102bにより、読み取った濃淡ラインLFと、その濃淡
ラインLFが示す搬送角度との対応関係を把握する(S23)。ここで、角度算出プログ
ラム102bは、この対応関係の把握のために、読み取った読み取り画像に基づいて、角
度算出プログラム102bが有するOCR処理その他の手法により、角度数値Ldの数字
を認識する。また、その角度数値Ldに対応する濃淡ラインLFのX座標の値も認識する
。なお、このX座標の値は、例えば終端記号Le1のX座標値とするのが好ましい。そし
て、角度数値Ldの数字と、濃淡ラインLFのX座標値とから、図17に示すようなテー
ブルとして、RAM102またはPROM104に記憶させる。
Subsequently, the angle calculation program 102b grasps the correspondence between the read density line LF and the conveyance angle indicated by the density line LF (S23). Here, the angle calculation program 102b recognizes the numerical value of the angle numerical value Ld by OCR processing or other methods possessed by the angle calculation program 102b based on the read image to read this correspondence. Further, the value of the X coordinate of the light and dark line LF corresponding to the angle numerical value Ld is also recognized. The X coordinate value is preferably the X coordinate value of the terminal symbol Le1, for example. Then, the RAM 102 or the PROM 104 is stored as a table as shown in FIG. 17 from the number of the angle numerical value Ld and the X coordinate value of the light and dark line LF.

次に、図18に示すテーブルに基づいて、最長ラインLGを検出する(S24)。この
検出では、最長ラインLGの特定に先立って、終端記号Le1から終端記号Le2に向け
て、調査用の調査ラインLH(図14参照)を作成する。そして、この調査ラインLH上
に、濃淡ラインLFを構成する、2値化された画素のうちの有色の(濃度の濃い)画素を
数える。同時に、有色の(濃度の濃い)画素の連続したものを1つの線とみなした場合に
、何本の線が存在するのか(すなわち、濃淡ラインLFは、何本の画素の連続(以下、画
素連続LIとする。)から構成されているのか)を検出する。また、この検出と共に、終
端記号Le1と終端記号Le2のうち、いずれか一方または両方と画素連続LIとが繋が
っているかも検出する。
Next, the longest line LG is detected based on the table shown in FIG. 18 (S24). In this detection, a survey line LH for survey (see FIG. 14) is created from the terminal symbol Le1 to the terminal symbol Le2 prior to specifying the longest line LG. Then, on the survey line LH, colored (highly dark) pixels among the binarized pixels constituting the light and dark line LF are counted. At the same time, when a continuous line of colored (high density) pixels is regarded as one line, how many lines are present (that is, the light and dark line LF is the number of continuous pixels (hereinafter referred to as pixel). It is set as continuous LI.). In addition, along with this detection, it is also detected whether one or both of the terminal symbol Le1 and the terminal symbol Le2 is connected to the pixel continuation LI.

なお、これらの検出結果は、図18に示すようなテーブルとして、RAM102または
PROM104に記憶させられる。そして、図18に示すテーブルの中から、1本の画素
連続LIのみから構成されていると共に、その画素連続LIが最も長いものが、最長ライ
ンLGであると特定される。また、図18に示す場合においては、搬送角度が0.00で
ある、No.6のものが最長ラインLGであると求められる。
These detection results are stored in the RAM 102 or PROM 104 as a table as shown in FIG. From the table shown in FIG. 18, the longest line LG is specified as the longest line continuous LI including only one continuous pixel LI. Further, in the case shown in FIG. 6 is required to be the longest line LG.

続いて、S24で特定された最長ラインLGについて、正解ラインLJの長さと同じで
あるか否かを判定する(S25)。ここで、正解ラインLJとは、終端記号Le1から終
端記号Le2まで、全く空白のないライン(すなわち、調査ラインLHと同じ長さのライ
ン)を指す。図18においては、最長ラインLGは、搬送角度が0.00であり、585
画素と特定されるので、仮に正解ラインLJが254mmで650画素だとすると、最長
ラインLGの長さは、228.6mm(254mm×585画素/650画素)となる。
以上から、図18においては、最長ラインLGと正解ラインLJとは、同じとならないた
め、この場合は、Noを選択し、S26へ進行する。また、S25の判断において、最長
ラインLGと正解ラインLJとが、同じとなると判断される場合、後述するS28へ進行
する。
Subsequently, it is determined whether or not the longest line LG specified in S24 is the same as the length of the correct answer line LJ (S25). Here, the correct answer line LJ refers to a line having no blank from the terminal symbol Le1 to the terminal symbol Le2 (that is, a line having the same length as the survey line LH). In FIG. 18, the longest line LG has a conveyance angle of 0.00 and 585.
Since the correct line LJ is 254 mm and 650 pixels, the length of the longest line LG is 228.6 mm (254 mm × 585 pixels / 650 pixels).
From the above, in FIG. 18, the longest line LG and the correct answer line LJ are not the same, so in this case, No is selected and the process proceeds to S26. If it is determined in S25 that the longest line LG and the correct answer line LJ are the same, the process proceeds to S28 described later.

また、S25の判断において、Noと判断される場合、続いて、最長ラインLGと上下
の見え方が逆転している濃淡ラインLF(以下、反転ラインLK)を検出する(S26)
。ここで、一般に、濃淡ラインLFを横切る空白(画素の濃度が薄い部分;2値化された
画素のうちの無色の画素)が描く軌跡は、双曲線に近似する曲線(反比例をなすような曲
線)を描く状態となっている。しかも、空白の位置から考慮すると、その漸近線は、最長
ラインLGと、どちらかの隣の濃淡ラインLFとの間に存在する。そこで、S26の検出
においては、最長ラインLGのうち、どちらの隣の濃淡ラインLFが、上下の見え方が逆
転している反転ラインLKであるかを判断する。なお、図16および図18のテーブルで
は、0.05度の濃淡ラインLFが、反転ラインLKとなる。
If it is determined No in S25, a light / dark line LF (hereinafter referred to as an inversion line LK) in which the upper and lower appearances are reversed with respect to the longest line LG is detected (S26).
. Here, generally, a locus drawn by a blank (a portion where the pixel density is light; a colorless pixel among the binarized pixels) crossing the light and dark line LF is a curve that approximates a hyperbola (a curve that is inversely proportional). It is in a state of drawing. Moreover, when considering from the position of the blank, the asymptotic line exists between the longest line LG and one of the adjacent gray lines LF. Therefore, in the detection of S26, it is determined which of the longest lines LG the next light and dark line LF is the reverse line LK in which the upper and lower appearances are reversed. In the tables of FIGS. 16 and 18, the 0.05-degree light and dark line LF becomes the inversion line LK.

続いて、搬送角度の推定を行う(S27)。ここで、最長ラインLGは、濃淡ラインL
Fの中で、最も空白の占める割合が少ない画素連続LIであり、反転ラインLKは、空白
の位置が上下逆になっているものの、最長ラインLGに準じて空白の占める割合が少ない
画素連続LIである。そして、最長ラインLGを横切る空白が描く軌跡、および反転ライ
ンLKを横切る空白が描く軌跡の漸近線は、双曲線に近似する曲線(反比例をなすような
曲線)であり、それらの漸近線は正解ラインLJであって、最長ラインLGと反転ライン
LKの間に存在する、と考えられる。
Subsequently, the conveyance angle is estimated (S27). Here, the longest line LG is the light and dark line L
In F, the pixel continuous LI with the smallest blank occupying ratio is shown, and the inversion line LK has the pixel LI with the smallest blank occupying the longest line LG, although the blank position is upside down. It is. The locus drawn by the blank across the longest line LG and the asymptote of the locus drawn by the blank across the inversion line LK are curves that approximate a hyperbola (curve that is inversely proportional), and these asymptotes are correct lines. LJ, which is considered to exist between the longest line LG and the inversion line LK.

そこで、この正解ラインLJの推定は、図19に示すようなテーブルおよび図20に基
づいて行う。図20は、図19に示すテーブルをイメージ化し、反転の状態を表したもの
である。図19は、最長ラインLGと正解ラインLJの間の角度差を示している。S24
で求めた最長ラインLGに、この角度差を加減算することにより、搬送角度が求められる
。ここで、角度差を加算するか、または減算するかの判断は、最長ラインLGの搬送角度
と反転ラインLKの搬送角度の間の大小関係を比較することにより行う。例えば、最長ラ
インLGの搬送角度>反転ラインLKの搬送角度である場合には、搬送角度=最長ライン
LGの角度−角度差で求められる。また、最長ラインLGの搬送角度<反転ラインLKの
搬送角度である場合には、搬送角度=最長ラインLGの角度+角度差で求められる。
Therefore, the correct line LJ is estimated based on the table shown in FIG. 19 and FIG. FIG. 20 is an image of the table shown in FIG. 19 and shows an inverted state. FIG. 19 shows the angular difference between the longest line LG and the correct answer line LJ. S24
The conveyance angle is obtained by adding / subtracting this angle difference to / from the longest line LG obtained in (1). Here, the determination of whether to add or subtract the angle difference is made by comparing the magnitude relationship between the conveyance angle of the longest line LG and the conveyance angle of the reverse line LK. For example, when the transport angle of the longest line LG> the transport angle of the reverse line LK, the transport angle = the angle of the longest line LG−the angle difference. Further, when the transport angle of the longest line LG <the transport angle of the reverse line LK, the transport angle = the angle of the longest line LG + the angle difference.

ここで、空白は概ね一定の長さ寸法を有しているが、図7、図20等に示すように、正
解ラインLJ(漸近線)のごく近傍では、その空白の長さ寸法の全体が、濃淡ラインLF
を横切ることはできず、一部のみが横切る状態となる。しかも、空白が横切る割合が低く
なるほど、正解ラインLJ(漸近線)に近づいている状態に対応する。
Here, the blank has a substantially constant length dimension, but as shown in FIGS. 7 and 20, etc., the entire length dimension of the blank is very close to the correct answer line LJ (asymptotic line). , Shade line LF
Can not cross, only part will cross. In addition, the lower the rate of crossing the blank, the closer to the correct line LJ (asymptotic line).

そこで、正解ラインLJの長さに対して空白が占める割合と、搬送角度との関係を、予
め調査しておいて図19に示すようにテーブル化しておき、このテーブルに基づいて、S
24で検出された最長ラインLGが対応する搬送角度を求める。図18の例では、S24
において、最長ラインLGの長さは、228.6mmと求められている。そこで、図19
のテーブルから228.6mmに対応する搬送角度を求めると、0.015度となる。
Therefore, the relationship between the proportion of the blank with respect to the length of the correct answer line LJ and the conveyance angle is investigated in advance and is tabulated as shown in FIG.
A conveyance angle corresponding to the longest line LG detected at 24 is obtained. In the example of FIG. 18, S24
, The length of the longest line LG is required to be 228.6 mm. Therefore, FIG.
When the transport angle corresponding to 228.6 mm is obtained from the table of 0.015 degrees, it is 0.015 degrees.

なお、図19に示すテーブルの各値は、搬送角度に対する濃淡ラインLFの長さを定規
で測ったり、画像処理によって測る等して求めるようにしても良い。また、図19に示す
テーブルを作成する際の負荷を軽減するために、搬送角度と長さからなる座標点を元にし
て近似曲線を求め、他の搬送角度に対する長さを近似的に算出するようにしても良い。ま
た、図19に示すテーブルのように、「正解ラインLJとの一致率」等の項目を設け、最
長ラインLGの正解ラインLJに対する割合を、各位置ずれ角度ごとに求めておけば、正
解ラインLJの長さ寸法が変化しても、対応を取ることが可能となる。
Note that each value in the table shown in FIG. 19 may be obtained by measuring the length of the light and dark line LF with respect to the conveyance angle with a ruler or by measuring the image. Further, in order to reduce the load when the table shown in FIG. 19 is created, an approximate curve is obtained based on the coordinate point composed of the transport angle and the length, and the lengths for other transport angles are approximately calculated. You may do it. Further, as shown in the table of FIG. 19, if items such as “matching rate with correct line LJ” are provided and the ratio of the longest line LG to the correct line LJ is obtained for each misalignment angle, the correct line Even if the length dimension of the LJ changes, it is possible to take measures.

S27の処理を経た場合、およびS24でYesと判断された場合、求めた搬送角度を
、RAM102やPROM104等の記憶部位に記憶させる(S28)。
When the processing of S27 is performed and when it is determined Yes in S24, the obtained transport angle is stored in a storage part such as the RAM 102 or the PROM 104 (S28).

そして、求められた搬送角度に基づき、レンズシートLに印刷させる画像データを、当
該搬送角度の分だけ回転させる。すると、レンズシートLに印刷される印刷画像において
は、搬送角度の影響を打ち消すことができる。
Then, based on the determined transport angle, the image data to be printed on the lens sheet L is rotated by the transport angle. Then, in the print image printed on the lens sheet L, the influence of the conveyance angle can be canceled.

<本発明の適用による効果>
以上説明したような、第2の実施の形態における画像検査装置2によれば、レンズシー
トLに印刷された検査用画像は、スキャナ機能部11Bで読み取られ、読み取り画像が得
られる。そして、この読み取り画像から、レンズシートLの搬送角度が算出される。その
ため、自動的に搬送角度を算出すことが可能となり、検査用画像が印刷されたレンズシー
トLを用いて、ユーザが搬送角度を求める必要がなくなる。それによって、ユーザの負担
を軽減することが可能となる。
<Effects of application of the present invention>
According to the image inspection apparatus 2 in the second embodiment as described above, the inspection image printed on the lens sheet L is read by the scanner function unit 11B, and a read image is obtained. Then, the conveyance angle of the lens sheet L is calculated from the read image. Therefore, the conveyance angle can be automatically calculated, and the user does not need to obtain the conveyance angle using the lens sheet L on which the inspection image is printed. As a result, the burden on the user can be reduced.

また、検査用画像データの印刷イメージに対する、読み取り画像の傾きが、終端記号L
eに基づいて容易に算出可能となる。すなわち、終端記号Leがない場合、濃淡ラインの
終端部に空白が差し掛かっても、終端部を示す目印がないので、濃淡ラインの終端部を誤
認識し、結果として搬送角度を誤認識する場合が生じかねない。しかしながら、終端記号
が設けられることにより、読み取り画像の印刷イメージに対する傾きを容易に算出するこ
とができ、結果として搬送角度を精度良く算出可能となる。
Further, the inclination of the read image with respect to the print image of the inspection image data is represented by the terminal symbol L.
It can be easily calculated based on e. In other words, when there is no terminal symbol Le, there is no mark indicating the terminal end even if a blank space is reached at the terminal end of the light and dark line, so that the terminal end of the light and dark line is erroneously recognized, and as a result, the conveyance angle may be erroneously recognized. It can happen. However, by providing the terminal symbol, the inclination of the read image with respect to the print image can be easily calculated, and as a result, the transport angle can be calculated with high accuracy.

さらに、濃淡レベルが所定のしきい値を超える画素のみの連続である画素連続LIに基
づいて最長ラインLGであるか否かが判断される。ここで、最長ラインLGは、隣り合う
レンチキュラーレンズL1に対して跨る部分が最も少ない濃淡ラインLFに存在するため
、最長ラインLGが存在する濃淡ラインLFの、基準ラインLBに対する傾斜角度が搬送
角度となり、以後の処理における基準値とすることができる。
Further, it is determined whether or not the longest line LG is based on a pixel continuation LI that is a continuation of only pixels whose gray level exceeds a predetermined threshold. Here, since the longest line LG is present in the light and dark line LF that has the least number of portions straddling the adjacent lenticular lens L1, the inclination angle of the light and dark line LF in which the longest line LG exists with respect to the reference line LB becomes the transport angle. Thus, it can be used as a reference value in subsequent processing.

また、本実施の形態では、反転ラインLKを特定し、濃淡ラインLFに対する最長ライ
ンLGの割合である一致率を算出し、予め求められている一致率と最長ラインLGに対す
る角度差との関係から、基準値に該当する角度差を加減している。そのため、濃淡ライン
LFに対する最長ラインLGの割合である一致率を求め、さらに、一致率と最長ラインL
Gに対する角度差の関係を予め求めておけば、最長ラインLGに対応する傾斜角度に角度
差を加減するだけで、より正確な搬送角度を求めることが可能となる。
Further, in the present embodiment, the inversion line LK is specified, the coincidence rate that is the ratio of the longest line LG to the light and dark line LF is calculated, and the relationship between the previously obtained coincidence rate and the angular difference with respect to the longest line LG is calculated. The angle difference corresponding to the reference value is adjusted. Therefore, the coincidence rate, which is the ratio of the longest line LG to the light and shade line LF, is obtained, and the coincidence rate and the longest line L
If the relationship of the angle difference with respect to G is obtained in advance, it is possible to obtain a more accurate conveyance angle only by adding or subtracting the angle difference to the inclination angle corresponding to the longest line LG.

また、スキャナ機能部11Bでの読み取り解像度は、さほど高くしなくても良い。すな
わち、レンチキュラーレンズL1を基準として搬送角度を調べる場合、当該レンチキュラ
ーレンズL1の筋が見える程度の解像度が必要とされる。例えば、60lpiのレンチキ
ュラーレンズL1の筋を判別するためには、少なくとも2400dpi以上の解像度が必
要とされる。しかしながら、本発明では、レンチキュラーレンズL1の筋を判別する必要
がないため、例えば50dpi等のような、低解像度に設定してスキャナ機能部11Bを
用いることが可能である。それにより、読み取り画像のファイルサイズも大きくならずに
済み、処理の高速化を図ることが可能となる。
Further, the reading resolution in the scanner function unit 11B may not be so high. That is, when the conveyance angle is examined with the lenticular lens L1 as a reference, a resolution that allows the streaks of the lenticular lens L1 to be visible is required. For example, a resolution of at least 2400 dpi is required to discriminate the streaks of the 60 lpi lenticular lens L1. However, in the present invention, it is not necessary to determine the streak of the lenticular lens L1, and therefore the scanner function unit 11B can be used with a low resolution such as 50 dpi. As a result, the file size of the read image need not be increased, and the processing speed can be increased.

<変形例>
以上、本発明の第1および第2の実施の形態について述べたが、本発明は、種々変形可
能である。以下、それについて述べる。
<Modification>
Although the first and second embodiments of the present invention have been described above, the present invention can be variously modified. This will be described below.

上述の第2の実施の形態のように、スキャナ機能部11Bを用いて、自動的に搬送角度
を算出する構成としても良いが、検査用画像が印刷されたレンズシートLを用いて、ユー
ザの目視によって、搬送角度を算出するようにしても良い。ここで、ユーザの目視による
場合、検査用画像のラインに、隣り合うレンチキュラーレンズL1に跨る部分と、レンチ
キュラーレンズL1に沿う部分とが生じると、レンチキュラーレンズL1の集光/拡散に
より、ラインには空白が生じる。そのため、空白がほとんどないラインを検出すれば、そ
のラインと対応付けられている搬送角度(基準ラインデータに対する、当該ラインの元と
なるラインデータの離間具合)が、求めるべき搬送角度の基準値となる。そのため、目視
によっても、容易に搬送角度を求めることが可能となる。
As in the above-described second embodiment, the scanner function unit 11B may be used to automatically calculate the conveyance angle. However, the lens sheet L on which the inspection image is printed may be used for the user. The conveyance angle may be calculated visually. Here, in the case of visual inspection by the user, if a line straddling the adjacent lenticular lens L1 and a part along the lenticular lens L1 are generated in the line of the inspection image, the line is caused to be condensed / diffused by the lenticular lens L1. A blank is generated. Therefore, if a line with almost no blank is detected, the conveyance angle associated with the line (the distance of the line data that is the source of the line with respect to the reference line data) is the reference value of the conveyance angle to be obtained. Become. Therefore, the conveyance angle can be easily obtained by visual observation.

上述の第1の実施の形態においては、インクカートリッジ55aは、3色分のインク貯
留部が一体化された、3色一体型のタイプとなっている。しかしながら、インクカートリ
ッジの種類は、かかるタイプには限られず、4色分以上のインク貯留部が一体化された構
成となっていても良い。
In the first embodiment described above, the ink cartridge 55a is a three-color integrated type in which ink storage portions for three colors are integrated. However, the type of the ink cartridge is not limited to this type, and may be configured such that ink storage portions for four colors or more are integrated.

上述のような、3色以上が一体化されている一体型ではなく、単色のインク貯留部のみ
を有する独立型のインクカートリッジを用いるようにしても良い。また、独立型のインク
カートリッジを用いる場合、インクカートリッジの色数は、4色には限られず、6色、7
色または8色等、何色分であっても良い。例えば、6色の場合、上記の4色のインクカー
トリッジ以外に、LC(ライトシアン)、LM(ライトマゼンタ)のインクカートリッジ
が用いられることになる。また、独立型、3色一体型を問わず、インクカートリッジに充
填されるインクは、染料系インク、顔料系インク等、どのような種類のインクであっても
良い。
Instead of the integrated type in which three or more colors are integrated as described above, an independent ink cartridge having only a single color ink storage unit may be used. In addition, when using a stand-alone ink cartridge, the number of colors of the ink cartridge is not limited to four colors, but six colors, seven
Any number of colors such as colors or 8 colors may be used. For example, in the case of six colors, in addition to the above four color ink cartridges, LC (light cyan) and LM (light magenta) ink cartridges are used. Moreover, regardless of whether it is a stand-alone type or a three-color integrated type, the ink filled in the ink cartridge may be any kind of ink such as dye-based ink or pigment-based ink.

また、上述の第1の実施の形態では、各ラインデータLnについては、1つのインク貯
留部に貯留されているインク滴を単独で用いて、印刷を行うようにしている。しかしなが
ら、各ラインデータLnに基づいて印刷を実行する場合、複数のインク貯留部に貯留され
ているインク滴を用いて、各ラインデータLnの印刷を実行するようにしても良い。例え
ば、レンズシートLに対して検査用画像を形成した後に、各インクカートリッジ55の残
量の差が均一化させるべく、シアン、マゼンタ、イエロー、ブラックの中間色で、ライン
データLnを形成するようにしても良い。
In the first embodiment described above, printing is performed for each line data Ln by using ink droplets stored in one ink storage unit alone. However, when printing is performed based on each line data Ln, printing of each line data Ln may be performed using ink droplets stored in a plurality of ink storage units. For example, after the inspection image is formed on the lens sheet L, the line data Ln is formed with intermediate colors of cyan, magenta, yellow, and black so that the difference in the remaining amount of each ink cartridge 55 becomes uniform. May be.

また、独立型のインクカートリッジを用いる場合において、他のインクカートリッジと
比較して、いずれか1色のインクカートリッジのインク残量が大幅に少なくなっている場
合、当該少なくなっているインクカートリッジは、まもなく交換されると考えられる。こ
こで、インクカートリッジの交換の前後においては、インク残量がなくなっている状態か
ら、満タンの状態へと極端に変化する。そこで、インク残量のしきい値を設定し、インク
残量が、設定されたしきい値を超える程大幅に少なくなっている場合には、このインクカ
ートリッジを早く交換させる(インクカートリッジを交換後の状態へと早く移行させる)
べく、集中的に使うように制御しても良い。
In addition, when using an independent ink cartridge, if the remaining amount of ink in any one of the ink cartridges is significantly reduced compared to other ink cartridges, the reduced ink cartridge is: It will be replaced soon. Here, before and after the replacement of the ink cartridge, the state changes drastically from a state where the remaining amount of ink is exhausted to a full state. Therefore, a threshold value for the remaining ink level is set, and if the remaining ink level is much lower than the set threshold value, this ink cartridge is replaced quickly (after replacing the ink cartridge). )
Therefore, it may be controlled to use it intensively.

また、上述の第1の実施の形態では、3色一体型のインクカートリッジ55aを用いる
場合において、ブラックのインクが貯留されているインクカートリッジ55bは、用いら
れていない。しかしながら、インクカートリッジ55aの各色のインクとインクカートリ
ッジ55bの両方のインク残量を考慮して、両者の間でインク残量の偏りをなくするよう
に制御しても良い。
In the first embodiment described above, when the three-color integrated ink cartridge 55a is used, the ink cartridge 55b in which black ink is stored is not used. However, in consideration of the remaining amount of ink of each color of the ink cartridge 55a and the amount of ink in the ink cartridge 55b, control may be performed so as to eliminate the unevenness of the remaining amount of ink between the two.

また、上述の第1の実施の形態では、インクカートリッジ55aにおいて、シアン、マ
ゼンタ、イエローの3色のインクの消費量の偏りをなくするべく、これら3色の色のいず
れかでラインデータLnに基づく印刷(ラインの形成)を実行している。しかしながら、
形成されるラインに、イエローの着色が為されている場合、目視し難い状態となる。その
ため、シアンとマゼンタのみで、印刷を実行するようにしても良い。
Further, in the first embodiment described above, in the ink cartridge 55a, in order to eliminate the uneven consumption of ink of the three colors of cyan, magenta, and yellow, the line data Ln is stored in any of these three colors. Based on the printing (line formation). However,
When the formed line is colored yellow, it is difficult to see. Therefore, printing may be executed only with cyan and magenta.

また、上述の第1の実施の形態では、検査用画像作成装置1につき、プリンタ10とコ
ンピュータ130と空構成される場合について説明しているが、プリンタ10のみで検査
用画像作成装置を構成するようにしても良い。
In the above-described first embodiment, the case where the printer 10 and the computer 130 are empty is described for the inspection image creation apparatus 1, but the inspection image creation apparatus is configured only by the printer 10. You may do it.

また、上述の第2の実施の形態では、プリンタ機能部11Aとスキャナ機能部11Bと
を備える複合装置11を用いる場合について説明しているが、プリンタ機能部11Aとス
キャナ機能部11Bとが独立した装置となっている構成としても良い。また、上述の第2
の実施の形態では、画像検査装置2は、複合装置11とコンピュータ130とから構成さ
れているが、画像検査装置は、複合装置11のみからなる構成を採用しても良い。
In the above-described second embodiment, the case where the composite apparatus 11 including the printer function unit 11A and the scanner function unit 11B is used has been described. However, the printer function unit 11A and the scanner function unit 11B are independent. It may be configured as a device. In addition, the second
In the embodiment, the image inspection apparatus 2 includes the composite apparatus 11 and the computer 130. However, the image inspection apparatus may adopt a configuration including only the composite apparatus 11.

本発明のシートガイドおよびレンズシートの構成を示す断面図である。It is sectional drawing which shows the structure of the sheet guide and lens sheet of this invention. プリンタを後方から見た状態を示す斜視図である。It is a perspective view which shows the state which looked at the printer from back. プリンタの構成を示す概略図である。FIG. 2 is a schematic diagram illustrating a configuration of a printer. 制御部の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of a control part. コンピュータの概略構成を示す図である。It is a figure which shows schematic structure of a computer. 検査用画像データに基づく印刷イメージを示す図である。It is a figure which shows the printing image based on the image data for a test | inspection. レンズシートに検査用画像が印刷された状態を示す図である。It is a figure which shows the state by which the image for a test | inspection was printed on the lens sheet. ラインデータが仮想中心点を通るイメージを示す図である。It is a figure which shows the image through which line data passes a virtual center point. 検査用画像データにおける色を変更する手順を示す処理フローである。It is a processing flow which shows the procedure which changes the color in the image data for inspection. 各インクカートリッジのインク残量を示す図である。It is a figure which shows the ink residual amount of each ink cartridge. 図9のフロー実行の際のインク残量と選択色の関係を示す図である。FIG. 10 is a diagram illustrating a relationship between a remaining ink amount and a selected color when the flow of FIG. 9 is executed. 第2の実施の形態に係るプリンタの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the printer which concerns on 2nd Embodiment. スキャナ機能部のキャリッジ内部の構成を示す図である。It is a figure which shows the structure inside the carriage of a scanner function part. 検査用画像を読み取った読み取り画像である。This is a read image obtained by reading an inspection image. 搬送角度を算出するための処理フローである。It is a processing flow for calculating a conveyance angle. 読み取り画像を回転させた状態を示す図である。It is a figure which shows the state which rotated the reading image. 各ラインが為す角度とX座標との関係を示すテーブルである。It is a table which shows the relationship between the angle which each line makes, and X coordinate. 各ラインが為す角度と画素連続等の関係を示すテーブルである。It is a table which shows the relationship between the angle which each line makes, pixel continuation, etc. 正解ラインとの一致率と角度差との関係を示すテーブルである。It is a table which shows the relationship between a coincidence rate with a correct answer line, and an angle difference. 図19に示すテーブルをイメージ化したものを表す図である。It is a figure showing what imaged the table shown in FIG.

符号の説明Explanation of symbols

1…検査用画像作成装置、2…画像検査装置、10…プリンタ(印刷実行手段に対応)
、11…複合装置、11A…プリンタ機能部、11B…スキャナ機能部、11C…主制御
部(算出手段の一部に対応)、30…シートガイド、32…係合部、50…キャリッジ、
51…印刷ヘッド、55a,55b…インクカートリッジ、100…制御部、130…コ
ンピュータ(算出手段の一部に対応)、134a…画像加工プログラム(プログラムに対
応)、200…スキャナASIC、L…レンズシート、LF…濃淡ライン、LG…最長ラ
イン
DESCRIPTION OF SYMBOLS 1 ... Inspection image production apparatus, 2 ... Image inspection apparatus, 10 ... Printer (corresponding to print execution means)
, 11 ... compound apparatus, 11A ... printer function part, 11B ... scanner function part, 11C ... main control part (corresponding to a part of the calculation means), 30 ... sheet guide, 32 ... engagement part, 50 ... carriage,
DESCRIPTION OF SYMBOLS 51 ... Print head, 55a, 55b ... Ink cartridge, 100 ... Control part, 130 ... Computer (corresponding to a part of calculation means), 134a ... Image processing program (corresponding to program), 200 ... Scanner ASIC, L ... Lens sheet , LF ... light gray line, LG ... longest line

Claims (10)

一方向を長手とする複数のレンズを有するレンズシートに、搬送角度を算出するための
検査用画像を印刷する画像検査装置であって、
特定のラインデータを検査用画像データにおける基準ラインデータとし、この基準ライ
ンデータから一方側および他方側のそれぞれに向かって離間するラインデータごとに、当
該基準ラインデータに対する傾斜角度が所定の角度ずつ増大するように、各ラインデータ
を配置するラインデータ配置手段と、
上記ラインデータ配置手段で定められた各ラインデータを有する上記検査用画像データ
に基づいて、上記レンズシートに対する印刷を実行させ、上記検査用画像を作成する印刷
実行手段と、
を具備することを特徴とする画像検査装置。
An image inspection apparatus that prints an image for inspection for calculating a conveyance angle on a lens sheet having a plurality of lenses having one direction as a longitudinal direction,
The specific line data is used as the reference line data in the inspection image data, and the inclination angle with respect to the reference line data increases by a predetermined angle for each line data separated from the reference line data toward one side and the other side. Line data arrangement means for arranging each line data,
Print execution means for executing printing on the lens sheet based on the inspection image data having each line data determined by the line data arrangement means, and creating the inspection image;
An image inspection apparatus comprising:
一方向を長手とする複数のレンズを有するレンズシートに印刷されている検査用画像を
用いて搬送角度を算出する画像検査装置であって、
上記検査用画像は、特定のラインを基準ラインとし、この基準ラインから一方側および
他方側のそれぞれに向かって離間するラインごとに、当該基準ラインに対する傾斜角度が
所定の角度ずつ増大するように、各ラインが配置されていて、
この検査用画像が印刷されている上記レンズシートに光を照射し、このレンズシートか
ら反射される光を読み取って、該レンズシートに対応する読み取り画像を出力するスキャ
ナ手段と、
上記読み取り画像から、上記レンズシートの搬送角度を算出する算出手段と、
を具備することを特徴とする画像検査装置。
An image inspection apparatus that calculates a conveyance angle using an image for inspection printed on a lens sheet having a plurality of lenses having a longitudinal direction in one direction,
The inspection image has a specific line as a reference line, and the inclination angle with respect to the reference line increases by a predetermined angle for each line separated from the reference line toward each of the one side and the other side. Each line is placed
Scanner means for irradiating the lens sheet on which the inspection image is printed, reading the light reflected from the lens sheet, and outputting a read image corresponding to the lens sheet;
A calculating means for calculating a conveyance angle of the lens sheet from the read image;
An image inspection apparatus comprising:
一方向を長手とする複数のレンズを有するレンズシートの搬送角度を算出するための画
像検査装置であって、
特定のラインデータを検査用画像データにおける基準ラインデータとし、この基準ライ
ンデータから一方側および他方側のそれぞれに向かって離間するラインデータごとに、当
該基準ラインデータに対する傾斜角度が所定の角度ずつ増大するように、各ラインデータ
を配置するラインデータ配置手段と、
上記ラインデータ配置手段で定められた各ラインデータを有する上記検査用画像データ
に基づいて、上記レンズシートに対する印刷を実行させ、上記検査用画像を作成する印刷
実行手段と、
上記検査用画像が印刷された上記レンズシートに光を照射し、このレンズシートから反
射される光を読み取って、該レンズシートに対応する読み取り画像を出力するスキャナ手
段と、
上記読み取り画像から、上記レンズシートの搬送角度を算出する算出手段と、
を具備することを特徴とする画像検査装置。
An image inspection apparatus for calculating a conveyance angle of a lens sheet having a plurality of lenses having one direction as a longitudinal direction,
The specific line data is used as the reference line data in the inspection image data, and the inclination angle with respect to the reference line data increases by a predetermined angle for each line data separated from the reference line data toward one side and the other side. Line data arrangement means for arranging each line data,
Print execution means for executing printing on the lens sheet based on the inspection image data having each line data determined by the line data arrangement means, and creating the inspection image;
Scanner means for irradiating the lens sheet on which the inspection image is printed, reading the light reflected from the lens sheet, and outputting a read image corresponding to the lens sheet;
A calculating means for calculating a conveyance angle of the lens sheet from the read image;
An image inspection apparatus comprising:
それぞれの前記ラインデータの終端部分には、当該ラインデータを印刷した際のライン
の幅寸法よりも、印刷した際に大きな直径となる終端記号データが配置されていることを
特徴とする請求項1記載の画像検査装置。
The terminal symbol data having a diameter larger when printed than the width of the line when the line data is printed is arranged at the terminal portion of each line data. The image inspection apparatus described.
それぞれの前記ラインの終端部分には、当該ラインの幅寸法よりも大きな直径となる終
端記号が配置されていて、
前記算出手段は、前記検査用画像を作成するための検査用画像データの印刷イメージに
対しての前記読み取り画像の傾きを、当該読み取り画像中における上記終端記号の読み取
り結果に基づいて算出し、この傾き分だけ前記読み取り画像を回転させる処理を行う、
ことを特徴とする請求項2記載の画像検査装置。
A terminal symbol having a diameter larger than the width dimension of the line is disposed at the terminal portion of each line,
The calculation means calculates an inclination of the read image with respect to a print image of the inspection image data for creating the inspection image based on a reading result of the terminal symbol in the read image, Rotate the scanned image by the amount of tilt,
The image inspection apparatus according to claim 2.
それぞれの前記ラインデータの終端部分には、当該ラインデータを印刷した際のライン
の幅寸法よりも、印刷した際に大きな直径となる終端記号データが配置されていて、
前記算出手段は、前記検査用画像データの印刷イメージに対しての前記読み取り画像の
傾きを、前記読み取り画像中における前記終端記号データを読み取った終端記号に基づい
て算出し、この傾き分だけ前記読み取り画像を回転させる処理を行う、
ことを特徴とする請求項3記載の画像検査装置。
In each terminal portion of the line data, terminal symbol data having a diameter larger than that of the line width when the line data is printed is arranged.
The calculation means calculates an inclination of the read image with respect to a print image of the inspection image data based on a terminal symbol obtained by reading the terminal symbol data in the read image, and the reading is performed by an amount corresponding to the inclination. Rotate the image,
The image inspection apparatus according to claim 3.
前記算出手段は、前記読み取り画像における濃淡ラインに関して、その濃淡ラインを構
成する画素の濃淡レベルが所定のしきい値を超えるか否かを判断し、所定のしきい値を超
える画素のみが連続している画素連続について、最も長いものを特定し、これを最長ライ
ンと判断し、この最長ラインが存在する濃淡ラインの前記基準ラインに対する傾斜角度を
搬送角度の算定の基準値とする、
ことを特徴とする請求項2,3,5または6記載の画像検査装置。
The calculation means determines whether or not the gray level of pixels constituting the gray line exceeds a predetermined threshold with respect to the gray line in the read image, and only pixels that exceed the predetermined threshold continue. For the pixel continuity, the longest one is specified, this is determined as the longest line, and the inclination angle of the gray line where the longest line exists with respect to the reference line is used as a reference value for calculating the transport angle.
The image inspection apparatus according to claim 2, 3, 5, or 6.
前記算出手段は、
前記最長ラインに対して空白の位置が前記濃淡ラインの方向において対称となるもののう
ち最も長いものである反転ラインを特定し、
前記濃淡ラインに対する前記最長ラインの割合である一致率を算出し、
予め求められている上記一致率と前記最長ラインに対する角度差との関係から、この角
度差を前記基準値に加減する、
ことを特徴とする請求項7記載の画像検査装置。
The calculating means includes
Identify the inversion line that is the longest of those in which the blank position is symmetric in the direction of the shade line with respect to the longest line,
Calculate a coincidence rate that is a ratio of the longest line to the shade line,
From the relationship between the matching rate obtained in advance and the angle difference with respect to the longest line, this angle difference is added to or subtracted from the reference value.
The image inspection apparatus according to claim 7.
一方向を長手とする複数のレンズを有するレンズシートの搬送角度を算出するための画
像検査方法であって、
特定のラインデータを検査用画像データにおける基準ラインデータとし、この基準ライ
ンデータから一方側および他方側のそれぞれに向かって離間するラインデータごとに、当
該基準ラインデータに対する傾斜角度が所定の角度ずつ増大するように、各ラインデータ
を配置するラインデータ配置工程と、
上記ラインデータ配置工程で定められた各ラインデータを有する上記検査用画像データ
に基づいて、上記レンズシートに対する印刷を実行させ、上記検査用画像を作成する印刷
実行工程と、
上記印刷実行工程により上記検査用画像が印刷された上記レンズシートに光を照射し、
このレンズシートから反射される光を読み取って、該レンズシートに対応する読み取り画
像を出力する画像出力工程と、
上記画像出力工程で得られた上記読み取り画像から、上記レンズシートの搬送角度を算
出する算出工程と、
を具備することを特徴とする画像検査方法。
An image inspection method for calculating a conveyance angle of a lens sheet having a plurality of lenses having a longitudinal direction as one direction,
The specific line data is used as the reference line data in the inspection image data, and the inclination angle with respect to the reference line data increases by a predetermined angle for each line data separated from the reference line data toward one side and the other side. A line data arrangement step of arranging each line data,
Based on the image data for inspection having each line data defined in the line data arrangement step, a print execution step for executing printing on the lens sheet and creating the image for inspection;
Irradiating light to the lens sheet on which the inspection image is printed by the printing execution step,
An image output step of reading the light reflected from the lens sheet and outputting a read image corresponding to the lens sheet;
From the read image obtained in the image output step, a calculation step of calculating the conveyance angle of the lens sheet,
An image inspection method comprising:
一方向を長手とする複数のレンズを有するレンズシートに、搬送角度を算出するための
検査用画像を作成する検査用画像作成方法であって、
特定のラインデータを検査用画像データにおける基準ラインデータとし、この基準ライ
ンデータから一方側および他方側のそれぞれに向かって離間するラインデータごとに、当
該基準ラインデータに対する傾斜角度が所定の角度ずつ増大するように、各ラインデータ
を配置するラインデータ配置工程と、
上記ラインデータ配置工程で定められた各ラインデータを有する上記検査用画像データ
に基づいて、上記レンズシートに対する印刷を実行させ、上記検査用画像を作成する印刷
実行工程と、
を具備することを特徴とする検査用画像作成方法。
An inspection image creation method for creating an inspection image for calculating a conveyance angle on a lens sheet having a plurality of lenses having a longitudinal direction in one direction,
The specific line data is used as the reference line data in the inspection image data, and the inclination angle with respect to the reference line data increases by a predetermined angle for each line data separated from the reference line data toward one side and the other side. A line data arrangement step of arranging each line data,
Based on the image data for inspection having each line data defined in the line data arrangement step, a print execution step for executing printing on the lens sheet and creating the image for inspection;
An inspection image creation method comprising:
JP2007270983A 2007-10-18 2007-10-18 Image inspection apparatus, image inspection method, and inspection image creation method Expired - Fee Related JP5130863B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007270983A JP5130863B2 (en) 2007-10-18 2007-10-18 Image inspection apparatus, image inspection method, and inspection image creation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007270983A JP5130863B2 (en) 2007-10-18 2007-10-18 Image inspection apparatus, image inspection method, and inspection image creation method

Publications (2)

Publication Number Publication Date
JP2009096103A true JP2009096103A (en) 2009-05-07
JP5130863B2 JP5130863B2 (en) 2013-01-30

Family

ID=40699560

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007270983A Expired - Fee Related JP5130863B2 (en) 2007-10-18 2007-10-18 Image inspection apparatus, image inspection method, and inspection image creation method

Country Status (1)

Country Link
JP (1) JP5130863B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07140041A (en) * 1993-11-17 1995-06-02 Toppan Printing Co Ltd Accuracy inspection method for lenticular sheet using moire pattern
JPH08137034A (en) * 1994-11-10 1996-05-31 Canon Inc Image recording method to lenticular plate, ink jet recorder and information processing system
JPH09187976A (en) * 1995-11-10 1997-07-22 Matsushita Electric Ind Co Ltd Image recording apparatus, image data forming apparatus and recording method
JP2000227639A (en) * 1998-12-21 2000-08-15 Eastman Kodak Co Method for detecting and correcting skew between reference beam and lenticule in lenticular material
JP2001033899A (en) * 1999-06-29 2001-02-09 Eastman Kodak Co Detection of skew between laser beam for writing and lenticule in lenticular material and formation of lenticular image product
JP2005274183A (en) * 2004-03-23 2005-10-06 Fuji Xerox Co Ltd Image inspection device with inclination detection function
JP2007127521A (en) * 2005-11-04 2007-05-24 Seiko Epson Corp Lens sheet measuring device, printer equipped therewith, and lens sheet measuring technique

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07140041A (en) * 1993-11-17 1995-06-02 Toppan Printing Co Ltd Accuracy inspection method for lenticular sheet using moire pattern
JPH08137034A (en) * 1994-11-10 1996-05-31 Canon Inc Image recording method to lenticular plate, ink jet recorder and information processing system
JPH09187976A (en) * 1995-11-10 1997-07-22 Matsushita Electric Ind Co Ltd Image recording apparatus, image data forming apparatus and recording method
JP2000227639A (en) * 1998-12-21 2000-08-15 Eastman Kodak Co Method for detecting and correcting skew between reference beam and lenticule in lenticular material
JP2001033899A (en) * 1999-06-29 2001-02-09 Eastman Kodak Co Detection of skew between laser beam for writing and lenticule in lenticular material and formation of lenticular image product
JP2005274183A (en) * 2004-03-23 2005-10-06 Fuji Xerox Co Ltd Image inspection device with inclination detection function
JP2007127521A (en) * 2005-11-04 2007-05-24 Seiko Epson Corp Lens sheet measuring device, printer equipped therewith, and lens sheet measuring technique

Also Published As

Publication number Publication date
JP5130863B2 (en) 2013-01-30

Similar Documents

Publication Publication Date Title
US7907163B2 (en) Lens sheet and printer
US8559049B2 (en) Printing apparatus, lens sheet, and printing method
US20060197794A1 (en) Recording method, recording apparatus, and computer-readable storage medium
US6712536B2 (en) Printer
JP4652929B2 (en) Inkjet printer
JP4661533B2 (en) LENS SHEET MEASURING DEVICE, PRINTING DEVICE HAVING THIS LENS SHEET MEASURING DEVICE, AND LENS SHEET MEASURING METHOD
EP1535747A1 (en) Recording apparatus, recording method, program, computer system
JP4997775B2 (en) Printer
US20090237689A1 (en) Concentration correcting method
JP5130863B2 (en) Image inspection apparatus, image inspection method, and inspection image creation method
JP4844142B2 (en) Printer
JP6248457B2 (en) Image processing method and printing apparatus
JP2008155389A (en) Printer, image processor and printing method
JP5088682B2 (en) Inspection image creation apparatus, inspection image creation method and program
JP2007098830A (en) Printing apparatus, printing method and program for printing
JP2007199452A (en) Image processing device, printer, and printing method
JP4797524B2 (en) Image processing apparatus, printing apparatus, and printing method
JP5459323B2 (en) Printing device
JP5287971B2 (en) Printing device
JP2007038597A (en) Printer and lens detection method
JP5141178B2 (en) Image reading apparatus and image inspection method
JP2009104154A (en) Lens sheet
JP2007127832A (en) Optical sheet, printer and printing method
JP2007190886A (en) Printer
JP5082225B2 (en) Printing apparatus and printing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101014

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120426

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120501

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120611

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120710

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120727

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120911

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120919

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: 20121009

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121022

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151116

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5130863

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees