JP2014012406A - Device for controlling cut position of belt-like body and method for controlling cut position of belt-like body - Google Patents
Device for controlling cut position of belt-like body and method for controlling cut position of belt-like body Download PDFInfo
- Publication number
- JP2014012406A JP2014012406A JP2013164275A JP2013164275A JP2014012406A JP 2014012406 A JP2014012406 A JP 2014012406A JP 2013164275 A JP2013164275 A JP 2013164275A JP 2013164275 A JP2013164275 A JP 2013164275A JP 2014012406 A JP2014012406 A JP 2014012406A
- Authority
- JP
- Japan
- Prior art keywords
- cpu
- count value
- pixel
- completing
- storage memory
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Inking, Control Or Cleaning Of Printing Machines (AREA)
- Control Of Cutting Processes (AREA)
Abstract
Description
本発明は、帯状体断裁位置制御装置及び帯状体断裁位置制御方法に関する。 The present invention relates to a strip cutting position control device and a strip cutting position control method.
輪転印刷機は、印刷されたウェブを断裁胴で断裁する時、紙面天地方向の断裁位置が絵柄に対して所定の位置に来るように調整する必要がある。このため、輪転印刷機には、紙面天地方向の断裁位置が絵柄に対して所定の位置に来るように調整するカット・オフ・コントロール装置(帯状体断裁位置制御装置)が設置されている。 When the rotary printing machine cuts a printed web with a cutting cylinder, it is necessary to adjust the cutting position in the vertical direction on the paper surface to be a predetermined position with respect to the pattern. For this reason, a rotary printing press is provided with a cut-off control device (band body cutting position control device) that adjusts the cutting position in the vertical direction on the paper surface to a predetermined position with respect to the pattern.
従来のカット・オフ・コントロール装置では、まず、オペレータが排出された折丁を拡げてその断裁位置を目視で確認し、コンペンセータ・ロールの位置を手動で調整して断裁胴がウェブに印刷された1枚分の絵柄の間隔の中央部分でウェブを断裁するように調整する。図14は従来のカット・オフ・コントロール装置におけるレジスター・マークの検出器の例を示した図である。その後、図14に示すように、レジスター・マーク100の左右方向位置にカット・オフ・コントロール装置の検出器101を手動で移動させ、その状態でカット・オフ・コントロール装置の検出器101が印刷物の余白部に印刷したレジスター・マーク100を検出し、検出器101がレジスター・マーク100を検出した時の断裁胴の回転位相と基準位相とを比較し、その結果に応じてコンペンセータ・ロールの位置を調整して断裁胴がウェブ102に印刷された一枚分の絵柄103の間隔の中央部分でウェブ102を断裁するようにしている。上述した従来のカット・オフ・コントロール装置の一例が下記特許文献1に開示されている。
In the conventional cut-off control device, the operator first expanded the ejected signature, visually confirmed the cutting position, and manually adjusted the position of the compensator roll, and the cutting cylinder was printed on the web. Adjust so that the web is cut at the center of the interval of one picture. FIG. 14 shows an example of a register mark detector in a conventional cut-off control device. After that, as shown in FIG. 14, the
しかしながら、上述した従来のカット・オフ・コントロール装置では、オペレータが最初の調整を行わなければならず、オペレータに多大な負荷がかかると共に、基準位置を記憶するまでに大量の損紙が発生し、印刷資材の無駄が大量に発生するという問題があった。 However, in the above-described conventional cut-off control device, the operator has to make an initial adjustment, which puts a great load on the operator and generates a large amount of waste paper before storing the reference position. There was a problem that a large amount of printing material was wasted.
また、最近普及してきたPPF等の印刷される印刷物の画像データよりレジスター・マークとなるべき絵柄を選択すると共にその位置を特定し、特定されたレジスター・マークの印刷物中の天地方向の位置より基準位置とすべき折機の回転位相を求め、印刷開始直後から検出器がレジスター・マークを検出した時の折機の回転位相と基準位置とを比較し、その結果に応じてコンペンセータ・ロールの位置を調整して断裁胴がウェブに印刷された一枚分の絵柄の間隔の中央部分でウェブを断裁するようにすることは容易に想像されるが、具体的に、どのような手段でどのような処理を行えば良いかが明らかにされていなかったため、結局はオペレータが最初の調整を行わなければならず、オペレータに多大な負荷がかかると共に、基準位置を記憶するまでに大量の損紙が発生し、印刷資材の無駄が大量に発生するという問題を解決することはできなかった。 In addition, a picture to be a register mark is selected from the image data of a printed matter such as PPF that has recently become popular, and the position thereof is specified, and the reference position is determined based on the vertical position of the specified register mark in the printed matter. Determine the rotation phase of the folding machine that should be the position, compare the rotation phase of the folding machine when the detector detects the register mark immediately after the start of printing, and the reference position, and the compensator roll position according to the result It is easy to imagine that the web is cut at the center part of the interval of the pattern printed on the web by adjusting the cutting cylinder. As a result, the operator had to make an initial adjustment, which puts a heavy load on the operator and recorded the reference position. A large amount of waste paper is generated before, it was not possible to solve the problem of waste in large quantities to the occurrence of printing materials.
以上のことから、本発明は、印刷開始時にオペレータが行っている断裁位置の手動調整及び絵柄による紙幅方向のセンサ検出位置選定を自動で行うことにより、印刷開始時の損紙量及び調整時間を削減することができる帯状体断裁位置制御装置及び帯状体断裁位置制御方法を提供することを目的とする。 As described above, the present invention automatically adjusts the cutting position performed by the operator at the start of printing and automatically selects the sensor detection position in the paper width direction based on the pattern, thereby reducing the amount of lost paper and the adjustment time at the start of printing. An object of the present invention is to provide a strip cutting position control device and a strip cutting position control method that can be reduced.
上記の課題を解決するための第1の発明に係る帯状体断裁位置制御装置は、
帯状体に絵柄を印刷する印刷手段と、
前記印刷手段によって印刷された絵柄を検出する検出手段と、
前記印刷手段で印刷された前記帯状体を、帯状体搬送方向と直行する方向に断裁する断裁手段と、
前記検出手段が前記絵柄を検出した時の前記断裁手段の回転位相を求め、求めた回転位相と予め定められた基準の回転位相を比較し、比較した結果に応じて前記断裁手段による前記帯状体の断裁位置を調整する制御手段と、
を備えた帯状体断裁位置制御装置において、
前記制御手段が、
前記印刷手段で印刷される絵柄の画像データを、各色の画像データに予め定められた各色毎の係数を乗算し、それらの乗算された各色毎の画像データを加算することによって求め、
第1のしきい値と第1のしきい値より大きい第2のしきい値を記憶し、
前記印刷手段で印刷される絵柄の画像データのうち、第1のしきい値より小さい画像データの第1の画素の位置を求めると共に、
前記印刷手段で印刷される絵柄の画像データのうち、第2のしきい値より大きい画像データの第2の画素の位置を求め、
前記第1の画素の位置及び前記第2の画素の位置より、前記印刷手段で印刷される絵柄の画像データ内の基準とすべき絵柄を選択し、
前記基準とすべき絵柄の位置より基準とすべき前記断裁手段の回転位相を求め、
前記基準とすべき前記断裁手段の回転位相を前記予め定められた基準の回転位相とする、
ことを特徴とする。
The strip-shaped body cutting position control device according to the first invention for solving the above-mentioned problems is
Printing means for printing a pattern on the belt;
Detecting means for detecting a picture printed by the printing means;
Cutting means for cutting the strip printed by the printing means in a direction perpendicular to the strip transport direction;
When the detecting means detects the pattern, the rotational phase of the cutting means is obtained, the obtained rotational phase is compared with a predetermined reference rotational phase, and the strip by the cutting means according to the comparison result. Control means for adjusting the cutting position of
In the strip cutting position control device comprising:
The control means is
The image data of the pattern printed by the printing means is obtained by multiplying the image data of each color by a predetermined coefficient for each color, and adding the multiplied image data for each color,
Storing a first threshold and a second threshold greater than the first threshold;
While obtaining the position of the first pixel of the image data smaller than the first threshold among the image data of the pattern printed by the printing means,
Obtaining the position of the second pixel of the image data larger than the second threshold among the image data of the pattern printed by the printing means;
From the position of the first pixel and the position of the second pixel, select a pattern to be a reference in the image data of the pattern printed by the printing unit,
Obtain the rotation phase of the cutting means to be the reference from the position of the pattern to be the reference,
The rotational phase of the cutting means to be the reference is the predetermined reference rotational phase,
It is characterized by that.
第1の発明によれば、印刷される印刷物の画像データのうち、ほとんど絵柄が無い部分とほとんどベタに近い部分を求め、それらの部分よりレジスター・マークとなるべき絵柄部分を求めることにより、印刷物の濃度変化による誤検出や、検出器に入る外乱光の影響による誤検出を防止することができる。
また、印刷される印刷物の各色の画像データより検出器で検出した時の出力を自動的に作成することができ、確実にレジスター・マークを決定することができる。
According to the first invention, among the image data of the printed matter to be printed, a portion having almost no design and a portion that is almost solid are obtained, and a design portion to be a register mark is obtained from these portions, thereby obtaining the printed matter. It is possible to prevent erroneous detection due to a change in the concentration of light and erroneous detection due to the influence of ambient light entering the detector.
In addition, an output upon detection by the detector can be automatically created from the image data of each color of the printed matter to be printed, and the register mark can be determined reliably.
上記の課題を解決するための第2の発明に係る帯状体断裁位置制御装置は、第1の発明に係る帯状体断裁位置制御装置において、
前記制御手段が、前記第1の画素の位置及び前記第2の画素の位置より、前記第2の画素の位置から帯状体搬送方向に平行な方向の第1の方向に予め定められた第1の数の前記第1の画素の位置が連続して並んでいる第2の画素の位置を求め、第3の画素の位置とする
ことを特徴とする。
The strip-shaped body cutting position control device according to the second invention for solving the above problems is the strip-shaped body cutting position control device according to the first invention,
The control means has a first predetermined value in a first direction parallel to the belt conveyance direction from the position of the second pixel, based on the position of the first pixel and the position of the second pixel. The positions of the second pixels in which the positions of the first pixels are continuously arranged are obtained as the positions of the third pixels.
第2の発明によれば、印刷される印刷物の画像データのうち、帯状体搬送方向の平行な方向にほとんど絵柄が無い部分がある程度続き、その後、ほとんどベタに近い部分になっている濃度の急変領域を求め、それらの部分よりレジスター・マークとなるべき絵柄部分を求めることにより、第1の発明と同様に、印刷物の濃度変化による誤検出や、検出器に入る外乱光の影響による誤検出を防止することができる。 According to the second invention, in the image data of the printed matter to be printed, there is a portion where there is almost no pattern in the direction parallel to the belt conveyance direction, and then the sudden change in density which is almost a solid portion thereafter. By obtaining the area and determining the pattern part that should become the register mark from those parts, the false detection due to the density change of the printed matter and the influence of the disturbance light entering the detector can be performed as in the first invention. Can be prevented.
上記の課題を解決するための第3の発明に係る帯状体断裁位置制御装置は、第2の発明に係る帯状体断裁位置制御装置において、
前記制御手段が、前記第3の画素の位置より、前記第3の画素の位置から帯状体搬送方向と直交する方向に予め定められた第2の数の前記第3の画素の位置が連続して並んでいる第3の画素の位置を求め、第4の画素の位置とする
ことを特徴とする。
The strip-shaped body cutting position control device according to the third invention for solving the above-mentioned problems is a strip-shaped body cutting position control device according to the second invention,
The control means continues from the position of the third pixel by a predetermined second number of the positions of the third pixels in a direction orthogonal to the strip conveyance direction from the position of the third pixels. The position of the 3rd pixel located in a line is calculated | required, and it is set as the position of a 4th pixel.
第3の発明によれば、印刷される印刷物の画像データのうち、帯状体搬送方向と直交する方向にほとんどベタに近い部分がある程度続く部分を求め、それらの部分よりレジスター・マークとなるべき絵柄部分を求めることにより、ウェブが帯状体搬送方向と直交する方向にふらついても、確実にレジスター・マークを検出することができる。 According to the third invention, from the image data of the printed matter to be printed, a portion where a portion that is almost solid in the direction orthogonal to the belt conveyance direction is obtained to some extent is obtained, and the pattern to be a register mark from these portions By obtaining the portion, the register mark can be reliably detected even if the web fluctuates in the direction orthogonal to the belt-shaped member conveyance direction.
上記の課題を解決するための第4の発明に係る帯状体断裁位置制御装置は、第3の発明に係る帯状体断裁位置制御装置において、
前記制御手段が、前記第4の画素の位置のうち、前記第4の画素の位置から帯状体搬送方向上流側に連続して並んでいる前記第2の画素の位置の数を数え、第3の数とし、
前記第4の画素の位置のうち、前記第4の画素の位置から帯状体搬送方向と直交する方向に第2の数の範囲内で、帯状体搬送方向に平行な方向の第1の方向に第3の数の範囲内が、前記第2の画素の位置である前記第4の画素の位置を求め、第5の画素の位置とする
ことを特徴とする。
A strip cutting position control device according to a fourth aspect of the present invention for solving the above problem is the strip cutting position control device according to the third aspect of the invention,
The control means counts the number of positions of the second pixels arranged continuously from the position of the fourth pixels to the upstream side in the belt conveyance direction among the positions of the fourth pixels, And the number of
Among the positions of the fourth pixels, within a second number range from the position of the fourth pixels in a direction orthogonal to the band transport direction, in a first direction parallel to the strip transport direction The position of the fourth pixel, which is the position of the second pixel, within the range of the third number is obtained as the position of the fifth pixel.
第4の発明によれば、印刷される印刷物の画像データのうち、帯状体搬送方向と平行な方向にほとんどベタに近い部分が続く矩形部分を求め、それらの部分よりレジスター・マークとなるべき絵柄部分を求めることにより、ウェブが帯状体搬送方向と直交する方向にふらついても、確実にレジスター・マークを検出することができる。 According to the fourth invention, among the image data of the printed matter to be printed, a rectangular portion in which a portion that is almost solid in a direction parallel to the strip conveyance direction is obtained, and a pattern to be a register mark from these portions. By obtaining the portion, the register mark can be reliably detected even if the web fluctuates in the direction orthogonal to the belt-shaped member conveyance direction.
上記の課題を解決するための第5の発明に係る帯状体断裁位置制御装置は、第4の発明に係る帯状体断裁位置制御装置において、
前記制御手段が、前記第5の画素の位置のうち、前記第5の画素の位置から帯状体搬送方向と直交する方向に第2の数の範囲内で、帯状体搬送方向に平行な方向の第1の方向と反対の方向に第4の数の範囲内が、前記第1の画素の位置である範囲を求め、前記基準とすべき絵柄とする
ことを特徴とする。
A strip cutting position control device according to a fifth aspect of the present invention for solving the above-described problem is a strip cutting position control device according to the fourth aspect of the invention.
The control means has a second number of ranges of the fifth pixel in a direction perpendicular to the band transport direction from the position of the fifth pixel and in a direction parallel to the band transport direction. A range in which the fourth number range is the position of the first pixel in a direction opposite to the first direction is obtained and used as the reference pattern.
第5の発明によれば、印刷される印刷物の画像データのうち、帯状体搬送方向の平行な方向にほとんどベタに近い部分の後にほとんど絵柄が無い部分がある程度続く濃度の急変領域を求め、それらの部分よりレジスター・マークとなるべき絵柄部分を求めることにより、第1の発明及び第2の発明と同様に、印刷物の濃度変化による誤検出や、検出器に入る外乱光の影響による誤検出を防止することができる。 According to the fifth invention, among the image data of the printed matter to be printed, there are obtained sudden change regions of density in which a portion having almost no pattern after a portion that is almost solid in a direction parallel to the belt conveyance direction is obtained. As in the first and second inventions, the false detection due to the density change of the printed matter and the erroneous detection caused by the disturbance light entering the detector Can be prevented.
上記の課題を解決するための第6の発明に係る帯状体断裁位置制御方法は、
帯状体に絵柄を印刷する印刷手段と、
前記印刷手段によって印刷された絵柄を検出する検出手段と、
前記印刷手段で印刷された前記帯状体を、帯状体搬送方向と直行する方向に断裁する断裁手段と、
前記検出手段が前記絵柄を検出した時の前記断裁手段の回転位相を求め、求めた回転位相と予め定められた基準の回転位相を比較し、比較した結果に応じて前記断裁手段による前記帯状体の断裁位置を調整する制御手段と
を備えた帯状体断裁位置制御装置における帯状体断裁位置制御方法において、
前記印刷手段で印刷される絵柄の画像データを、各色の画像データに予め定められた各色毎の係数を乗算し、それらの乗算された各色毎の画像データを加算することによって求め、
第1のしきい値と第1のしきい値より大きい第2のしきい値を記憶し、
前記印刷手段で印刷される絵柄の画像データのうち、第1のしきい値より小さい画像データの第1の画素の位置を求めると共に、
前記印刷手段で印刷される絵柄の画像データのうち、第2のしきい値より大きい画像データの第2の画素の位置を求め、
前記第1の画素の位置及び前記第2の画素の位置より、前記印刷手段で印刷される絵柄の画像データ内の基準とすべき絵柄を選択し、
前記基準とすべき絵柄の位置より基準とすべき前記断裁手段の回転位相を求め、
前記基準とすべき前記断裁手段の回転位相を前記予め定められた基準の回転位相とする、
ことを特徴とする。
A strip cutting position control method according to a sixth invention for solving the above-described problem is
Printing means for printing a pattern on the belt;
Detecting means for detecting a picture printed by the printing means;
Cutting means for cutting the strip printed by the printing means in a direction perpendicular to the strip transport direction;
When the detecting means detects the pattern, the rotational phase of the cutting means is obtained, the obtained rotational phase is compared with a predetermined reference rotational phase, and the strip by the cutting means according to the comparison result. In the strip cutting position control method in the strip cutting position control device comprising a control means for adjusting the cutting position of
The image data of the pattern printed by the printing means is obtained by multiplying the image data of each color by a predetermined coefficient for each color, and adding the multiplied image data for each color,
Storing a first threshold and a second threshold greater than the first threshold;
While obtaining the position of the first pixel of the image data smaller than the first threshold among the image data of the pattern printed by the printing means,
Obtaining the position of the second pixel of the image data larger than the second threshold among the image data of the pattern printed by the printing means;
From the position of the first pixel and the position of the second pixel, select a pattern to be a reference in the image data of the pattern printed by the printing unit,
Obtain the rotation phase of the cutting means to be the reference from the position of the pattern to be the reference,
The rotational phase of the cutting means to be the reference is the predetermined reference rotational phase,
It is characterized by that.
第6の発明によれば、印刷される印刷物の画像データのうち、ほとんど絵柄が無い部分とほとんどベタに近い部分を求め、それらの部分よりレジスター・マークとなるべき絵柄部分を求めることにより、印刷物の濃度変化による誤検出や、検出器に入る外乱光の影響による誤検出を防止することができる。
また、印刷される印刷物の各色の画像データより検出器で検出した時の出力を自動的に作成することができ、確実にレジスター・マークを決定することができる。
According to the sixth aspect of the invention, the image data of the printed matter to be printed is obtained by obtaining a portion having almost no pattern and a portion that is almost solid, and obtaining a pattern portion to be a register mark from those portions, thereby obtaining the printed matter. It is possible to prevent erroneous detection due to a change in the concentration of light and erroneous detection due to the influence of ambient light entering the detector.
In addition, an output upon detection by the detector can be automatically created from the image data of each color of the printed matter to be printed, and the register mark can be determined reliably.
上記の課題を解決するための第7の発明に係る帯状体断裁位置制御方法は、第6の発明に係る帯状体断裁位置制御方法において、
前記第1の画素の位置及び前記第2の画素の位置より、前記第2の画素の位置から帯状体搬送方向に平行な方向の第1の方向に予め定められた第1の数の前記第1の画素の位置が連続して並んでいる第2の画素の位置を求め、第3の画素の位置とする
ことを特徴とする。
A strip cutting position control method according to a seventh aspect of the invention for solving the above problem is the strip cutting position control method according to the sixth aspect of the invention,
From the position of the first pixel and the position of the second pixel, a first number of the first number determined in advance in a first direction parallel to the strip transporting direction from the position of the second pixel. It is characterized in that the position of the second pixel in which the positions of one pixel are continuously arranged is obtained and set as the position of the third pixel.
第7の発明によれば、印刷される印刷物の画像データのうち、帯状体搬送方向の平行な方向にほとんど絵柄が無い部分がある程度続き、その後、ほとんどベタに近い部分になっている濃度の急変領域を求め、それらの部分よりレジスター・マークとなるべき絵柄部分を求めることにより、第7の発明と同様に、印刷物の濃度変化による誤検出や、検出器に入る外乱光の影響による誤検出を防止することができる。 According to the seventh invention, in the image data of the printed matter to be printed, there is a part where there is almost no pattern in the direction parallel to the belt conveyance direction, and then the sudden change in density which is almost a solid part thereafter. By obtaining the area and determining the pattern part that should become the register mark from these parts, as in the case of the seventh invention, erroneous detection due to the density change of the printed matter and erroneous detection due to the influence of disturbance light entering the detector Can be prevented.
上記の課題を解決するための第8の発明に係る帯状体断裁位置制御方法は、第7の発明に係る帯状体断裁位置制御方法において、
前記第3の画素の位置より、前記第3の画素の位置から帯状体搬送方向と直交する方向に予め定められた第2の数の前記第3の画素の位置が連続して並んでいる第3の画素の位置を求め、第4の画素の位置とする
ことを特徴とする。
A strip cutting position control method according to an eighth aspect of the invention for solving the above problem is the strip cutting position control method according to the seventh aspect of the invention,
A predetermined number of third pixel positions are successively arranged from the position of the third pixel in a direction orthogonal to the strip conveyance direction from the position of the third pixel. The position of the third pixel is obtained and set as the position of the fourth pixel.
第8の発明によれば、印刷される印刷物の画像データのうち、帯状体搬送方向と直交する方向にほとんどベタに近い部分がある程度続く部分を求め、それらの部分よりレジスター・マークとなるべき絵柄部分を求めることにより、ウェブが帯状体搬送方向と直交する方向にふらついても、確実にレジスター・マークを検出することができる。 According to the eighth aspect of the invention, the image data of the printed matter to be printed is searched for a portion where a portion that is almost solid in the direction orthogonal to the strip conveyance direction continues to some extent, and the pattern to be a register mark from these portions By obtaining the portion, the register mark can be reliably detected even if the web fluctuates in the direction orthogonal to the belt-shaped member conveyance direction.
上記の課題を解決するための第9の発明に係る帯状体断裁位置制御方法は、第8の発明に係る帯状体断裁位置制御方法において、
前記第4の画素の位置のうち、前記第4の画素の位置から帯状体搬送方向上流側に連続して並んでいる前記第2の画素の位置の数を数え、第3の数とし、
前記第4の画素の位置のうち、前記第4の画素の位置から帯状体搬送方向と直交する方向に第2の数の範囲内で、帯状体搬送方向に平行な方向の第1の方向に第3の数の範囲内が、前記第2の画素の位置である前記第4の画素の位置を求め、第5の画素の位置とする
ことを特徴とする。
A strip cutting position control method according to a ninth aspect of the invention for solving the above problem is the strip cutting position control method according to the eighth aspect of the invention,
Among the positions of the fourth pixels, the number of the positions of the second pixels that are continuously arranged from the position of the fourth pixels to the upstream side in the belt conveyance direction is counted, and the third number is obtained.
Among the positions of the fourth pixels, within a second number range from the position of the fourth pixels in a direction orthogonal to the band transport direction, in a first direction parallel to the strip transport direction The position of the fourth pixel, which is the position of the second pixel, within the range of the third number is obtained as the position of the fifth pixel.
第9の発明によれば、印刷される印刷物の画像データのうち、帯状体搬送方向と平行な方向にほとんどベタに近い部分が続く矩形部分を求め、それらの部分よりレジスター・マークとなるべき絵柄部分を求めることにより、ウェブが帯状体搬送方向と直交する方向にふらついても、確実にレジスター・マークを検出することができる。 According to the ninth invention, among the image data of the printed matter to be printed, a rectangular portion in which a portion that is almost solid in a direction parallel to the strip conveyance direction is obtained, and a pattern to be a register mark from these portions. By obtaining the portion, the register mark can be reliably detected even if the web fluctuates in the direction orthogonal to the belt-shaped member conveyance direction.
上記の課題を解決するための第10の発明に係る帯状体断裁位置制御方法は、第9の発明に係る帯状体断裁位置制御方法において、
前記第5の画素の位置のうち、前記第5の画素の位置から帯状体搬送方向と直交する方向に第2の数の範囲内で、帯状体搬送方向に平行な方向の第1の方向と反対の方向に第4の数の範囲内が、前記第1の画素の位置である範囲を求め、前記基準とすべき絵柄とする
ことを特徴とする。
A strip cutting position control method according to a tenth aspect of the invention for solving the above problem is a strip cutting position control method according to the ninth aspect of the invention,
A first direction in a direction parallel to the strip transport direction within a second number of positions of the fifth pixel in a direction orthogonal to the strip transport direction from the position of the fifth pixel; A range in which the fourth number range is the position of the first pixel in the opposite direction is obtained and used as the reference pattern.
第10の発明によれば、印刷される印刷物の画像データのうち、帯状体搬送方向の平行な方向にほとんどベタに近い部分の後にほとんど絵柄が無い部分がある程度続く濃度の急変領域を求め、それらの部分よりレジスター・マークとなるべき絵柄部分を求めることにより、第7の発明及び第8の発明と同様に、印刷物の濃度変化による誤検出や、検出器に入る外乱光の影響による誤検出を防止することができる。 According to the tenth invention, among the image data of the printed matter to be printed, there are obtained sudden change regions having a density in which a portion having almost no pattern after a portion that is almost solid in the direction parallel to the strip conveyance direction is obtained. As in the seventh and eighth inventions, the false detection due to the density change of the printed matter and the erroneous detection due to the disturbance light entering the detector Can be prevented.
本発明に係る帯状体断裁位置制御装置及び帯状体断裁位置制御方法によれば、PPF等の印刷絵柄のデジタル情報から、カット・オフ・コントロールに最適なターゲット絵柄を検索し、印刷開始前に帯状体断裁位置制御装置へ検索したターゲット絵柄の座標と特徴とをプリセットし、印刷を開始するとプリセットされたターゲット絵柄の情報から断裁位置の基準位置を算出し、自動で断裁位置を調整することができる。また、調整完了後もそのまま自動で断裁位置を維持することができる。 According to the strip cutting position control device and the strip cutting position control method according to the present invention, the optimum target pattern for cut-off control is retrieved from the digital information of the printed pattern such as PPF, and the strip is cut before starting printing. The coordinates and features of the searched target picture are preset to the body cutting position control device, and when printing is started, the reference position of the cutting position is calculated from the preset target picture information, and the cutting position can be automatically adjusted. . Further, the cutting position can be automatically maintained even after the adjustment is completed.
したがって、本発明に係る帯状体断裁位置制御装置及び帯状体断裁位置制御方法によれば、デジタル情報を基に絵柄を分析するため、印刷絵柄の中で最も制御に適したマークを自動で選定することができる。また、印刷開始から自動で断裁位置を制御するため、オペレータはその他の調整作業に専念することができ、調整時間を削減することができる。また、その間に断裁位置は所定の位置に収まっているため、印刷開始時の損紙量を削減することができる。 Therefore, according to the strip cutting position control device and the strip cutting position control method according to the present invention, since the pattern is analyzed based on the digital information, the mark most suitable for control among the printed patterns is automatically selected. be able to. Further, since the cutting position is automatically controlled from the start of printing, the operator can concentrate on other adjustment work, and the adjustment time can be reduced. In addition, since the cutting position is within a predetermined position, the amount of paper loss at the start of printing can be reduced.
本発明では、予めPPF等の印刷される印刷物の絵柄データよりターゲット絵柄となるべき絵柄を選択すると共にその位置を特定し、特定されたターゲット絵柄の印刷物中の左右方向位置よりターゲット絵柄を検出する検出器のあるべき左右方向の位置を求め、検出器を、印刷開始前に求めた位置に自動的に移動させるようにした。 In the present invention, a picture to be a target picture is selected from picture data of printed matter to be printed such as PPF in advance and its position is specified, and the target picture is detected from the horizontal position in the printed matter of the specified target picture. The position of the detector in the left-right direction should be determined, and the detector was automatically moved to the position determined before printing started.
また、上述した選択されたターゲット絵柄の印刷物中の天地方向の位置より基準位置とすべき断裁胴の回転位相を求め、印刷開始直後から検出器がターゲット絵柄を検出した時の断裁胴の回転位相と基準位置とを比較し、その結果に応じてコンペンセータ・ロールの位置を調整し、断裁胴がウェブに印刷された1枚分の絵柄の間隔の中央部分でウェブを断裁するようにして、稼働率を向上させると共に、オペレータの負担を少なくした。 Further, the rotation phase of the cutting cylinder to be the reference position is obtained from the position in the vertical direction in the printed material of the selected target picture described above, and the rotation phase of the cutting cylinder when the detector detects the target picture immediately after the start of printing. And the reference position, adjust the position of the compensator roll according to the result, and the cutting cylinder operates to cut the web at the center of the interval of one picture printed on the web The rate was increased and the burden on the operator was reduced.
以下、本発明に係る帯状体断裁位置制御装置及び帯状体断裁位置制御方法の実施例について説明する。
始めに、本発明の実施例に係る帯状体断裁位置制御装置(カット・オフ・コントロール装置)が適用される印刷機の構成について説明する。図1は本発明の実施例に係る帯状体断裁位置制御装置が適用される印刷機の構成を示した図である。
Hereinafter, embodiments of the strip cutting position control device and the strip cutting position control method according to the present invention will be described.
First, the configuration of a printing machine to which a strip cutting position control device (cut-off control device) according to an embodiment of the present invention is applied will be described. FIG. 1 is a diagram showing a configuration of a printing machine to which a strip cutting position control device according to an embodiment of the present invention is applied.
図1に示すように、本実施例に係る印刷機50は、給紙部51、印刷部52、乾燥部53、ウェブパス部54及び折部55により構成されている。給紙部51のスタンド56に設置されたウェブ57は、ガイドローラ群58に支持されて印刷部52に送られる。印刷部52に送られたウェブ57は絵柄59が印刷されて乾燥部53に送られる。乾燥部53に送られたウェブ57は乾燥させられてウェブパス部54に送られる。
As shown in FIG. 1, the
ウェブパス部54には、モータ44により上下動が可能なコンペンセータ・ロール61と、ウェブ57に印刷された絵柄59中からターゲット絵柄を検出する検出器42が設置されている。図2は、本発明の実施例に係る検出器の構成を示した図である。図2に示すように、検出器42は、検出器左右方向位置調整用モータ28によりウェブ57の左右方向に移動可能となっているため、ウェブ57に印刷された絵柄59中からターゲット絵柄を検出することができる。この検出器左右方向位置調整用モータ28は、検出器42からの検出信号に基づき制御部63から出力される制御信号により動作が制御されている。
The
図1に示すように、ウェブパス部54に送られたウェブ57はコンペンセータ・ロール61を上下動させることにより、後述する断裁胴67でウェブ57に印刷された1枚分の絵柄59の間隔の中央部分でウェブ57を断裁するように、絵柄59の位置が調整されて折部55に送られる。このとき、検出器42によりウェブ57に印刷された絵柄59中からターゲット絵柄が検出されて、この検出信号が制御部63に出力される。
As shown in FIG. 1, the
折部55に送られたウェブ57は三角フォーマ64で折りが入れられ、ガイドローラ65によりガイドされてニップローラ66に送られる。ニップローラ66に送られたウェブ57は両側から強力に加圧されながら断裁胴67に送られて断裁される。このとき、制御部63は、断裁胴67の回転位相を検出し、ターゲット絵柄の印刷物中の天地方向の位置より基準位置とすべき断裁胴67の回転位相と検出器42が実際にターゲット絵柄を検出した時の断裁胴の回転位相とを比較し、その結果に応じてコンペンセータ・ロール61の位置を調整して断裁胴67がウェブ57に印刷された1枚分の絵柄59の間隔の中央部分でウェブ57を断裁するようにする。
The
なお、ここでは、制御部63は、断裁胴67の回転位相を検出するものとして説明しているが、断裁胴63を駆動する印刷機50の原動モータの回転位相を検出する構成としてもよい。
Here, the
以下、本発明の実施例に係る帯状体断裁位置制御装置について説明する。図6A〜図6Cは本発明の実施例に係る帯状体断裁位置制御装置におけるハードウェア構成を示したハードブロック図である。図6A〜図6Cに示すように、帯状体断裁位置制御装置は、CPU10、ROM11、RAM12、第1から第5のI/O(入出力インターフェイス)13〜17を備えている。
Hereinafter, a strip cutting position control device according to an embodiment of the present invention will be described. 6A to 6C are hardware block diagrams showing a hardware configuration of the belt-shaped body cutting position control device according to the embodiment of the present invention. As shown in FIGS. 6A to 6C, the strip cutting position control device includes a
また、帯状体断裁位置制御装置は、第1のI/O13を介して、印刷絵柄データ読込み開始スイッチ18、カット・オフ・コントロール装置の制御開始スイッチ19、カット・オフ・コントロール装置の制御終了スイッチ20、入力装置21、表示器22、フロッピー・ディスク(登録商標)・ドライブ23、出力装置(F・Dドライブ、プリンタ等)24を備えている。
Further, the strip cutting position control device includes a print picture data reading
また、帯状体断裁位置制御装置は、第2のI/O14を介して、左側の余白部長さ設定器25、天側の余白部長さ設定器26を備えている。また、帯状体断裁位置制御装置は、第3のI/O15を介して、検出器左右方向位置調整用モータ・ドライバ27、検出器左右方向位置調整用モータ28、検出器左右方向位置検出用カウンタ29、検出器左右方向位置調整用モータ用ロータリ・エンコーダ30を備えている。
Further, the strip-shaped body cutting position control device includes a left margin
また、帯状体断裁位置制御装置は、第4のI/O16を介して、検出開始用カウンタ(ダウン・カウンタ)31、検出終了用カウンタ(ダウン・カウンタ)32、印刷機の回転位相検出用ロータリ・エンコーダ33、フリップ・フロップ回路34、立ち上がり用ラッチ35、立ち上がり用ワン・ショット・パルス発生回路36、立ち下がり用ワン・ショット・パルス発生回路37、立ち下がり用ラッチ38、印刷機の回転位相検出用カウンタ39、AND回路40、インバーター回路41、検出器42を備えている。
Further, the strip cutting position control device is provided with a detection start counter (down counter) 31, a detection end counter (down counter) 32, and a rotary phase detection rotary for the printing press via the fourth I /
すなわち、印刷機の回転位相検出用ロータリ・エンコーダ33からはゼロ・パルスが出力され検出開始用カウンタ(ダウン・カウンタ)31、検出終了用カウンタ(ダウン・カウンタ)32、及び、印刷機の回転位相検出用カウンタ39をリセットする。CPU10は、ターゲット絵柄の検出開始時の印刷機の回転位相検出用カウンタ39のカウント値を検出開始用カウンタ(ダウン・カウンタ)31にセットし、ターゲット絵柄の検出終了時の印刷機の回転位相検出用カウンタ39のカウント値を検出終了用カウンタ(ダウン・カウンタ)32にセットする。検出開始用カウンタ(ダウン・カウンタ)31はクロック・パルスが入力される毎に値を減算し、値が0になったときにフリップ・フロップ回路34にセット信号を出力し、ターゲット絵柄の検出を開始する。
That is, a zero pulse is output from the
フリップ・フロップ回路34から出力される信号はAND回路40に入力され、さらに、検出器42から出力される信号がAND回路40に出力されたとき、AND回路40から信号が出力される。AND回路40から出力された信号は、立ち上がり用ワン・ショット・パルス発生回路36に入力され、また、AND回路40から出力された信号は、インバーター回路41を介して立ち下がり用ワン・ショット・パルス発生回路37に入力される。
The signal output from the flip-
立ち上がり用ワン・ショット・パルス発生回路36は、AND回路40からの信号が入力されたときに、立ち上がり用ラッチ35にワン・ショット・パルスを出力する。立ち上がり用ラッチ35はワン・ショット・パルスが入力された後、印刷機の回転位相検出用カウンタ39のカウント値をターゲット絵柄の天方向端として記憶する。
The rising one-shot
立ち下がり用ワン・ショット・パルス発生回路37は、AND回路40から入力されていた信号が入力されなくなったときに、立ち下がり用ラッチ38にワン・ショット・パルスを出力する。立ち下がり用ラッチ38はワン・ショット・パルスが入力された後、印刷機の回転位相検出用カウンタ39からのカウント値をターゲット絵柄の地方向端として記憶する。
The falling one-shot
検出終了用カウンタ(ダウン・カウンタ)32はクロック・パルスが入力される毎に値を減算し、値が0になったときにフリップ・フロップ回路34にリセット信号を出力し、ターゲット絵柄の検出を終了する。
The detection end counter (down counter) 32 subtracts the value every time a clock pulse is input, and outputs a reset signal to the flip-
このようにして、ターゲット絵柄を検出することにより、設定したターゲット絵柄の天地方向の長さと検出器42で検出したターゲット絵柄の天地方向の長さを比較することができる。このため、インクとび等をターゲット絵柄として誤検出することを防ぐことができる。
Thus, by detecting the target picture, the length of the set target picture in the vertical direction can be compared with the length of the target picture detected by the
また、帯状体断裁位置制御装置は、第5のI/O17を介して、コンペンセータ・ロール位置調整用モータ・ドライバ43、コンペンセータ・ロール位置調整用モータ44、コンペンセータ・ロール位置検出用カウンタ45、コンペンセータ・ロール位置調整用モータ用ロータリ・エンコーダ46を備えている。
Further, the strip cutting position control device includes a compensator / roll position adjusting motor /
また、帯状体断裁位置制御装置は、左側の余白部長さ記憶用メモリM1、天側の余白部長さ記憶用メモリM2、印刷絵柄の左右方向の長さ記憶用メモリM3、印刷絵柄の天地方向の長さ記憶用メモリM4、印刷絵柄の左右方向の総画素数記憶用メモリM5、印刷絵柄の天地方向の総画素数記憶用メモリM6、各色の絵柄データ記憶用メモリM7、カウント値Y記憶用メモリM8、カウント値X記憶用メモリM9、シアン用の画素データ、マゼンタ用の画素データ、イエロー用の画素データ、ブラック用の画素データ記憶用メモリM10、印刷絵柄データ記憶用メモリM11、アドレス(X,Y)の位置の画素データ記憶用メモリM12、画素データの第1のしきい値記憶用メモリM13、画素データの第2のしきい値記憶用メモリM14、印刷絵柄の3値化データ記憶用メモリM15、アドレス(X,Y)の位置の3値化データ記憶用メモリM16、第1の判断用の合計値記憶用メモリM17、カウント値N記憶用メモリM18、アドレス(X,Y−N)の位置の3値化データ記憶用メモリM19、判断用データ記憶用メモリM20、カウント値C記憶用メモリM21、アドレス(X−1,Y)の位置の判断用データ記憶用メモリM22、アドレス(X,Y)の位置の判断用データ記憶用メモリM23、カウント値L記憶用メモリM24、天地方向の画素番号記憶用メモリM25、アドレス(X,Y+L)の位置の3値化データ記憶用メモリM26、第2の判断用のしきい値記憶用メモリM27、第2の判断用の合計値記憶用メモリM28、カウント値M記憶用メモリM29、アドレス(X−M,Y+N)の位置の3値化データ記憶用メモリM30、第2の判断用の値記憶用メモリM31、第3の判断用の合計値記憶用メモリM32、アドレス(X−M,Y+L−1+N)の位置の3値化データ記憶用メモリM33、アドレス(X−M,Y+L+N)の位置の3値化データ記憶用メモリM34、ターゲット絵柄候補位置記憶用メモリM35、ターゲット絵柄候補の長さ記憶用メモリM36、カウント値C1記憶用メモリM37、C1番目のアドレス位置のアドレス(X,Y)記憶用メモリM38、C1番目のアドレス位置のカウント値L記憶用メモリM39、カウント値N1記憶用メモリM40、第4の判断用の合計値記憶用メモリM41、アドレス(X−M,Y−21−N1)の位置の3値化データ記憶用メモリM42、カウント値N2記憶用メモリM43、アドレス(X−M,Y+21+N2)の位置の3値化データ記憶用メモリM44、ターゲット絵柄の拡大余白部長さ記憶用メモリM45、C1番目のアドレス位置に記憶されたターゲット絵柄の拡大余白部長さ記憶用メモリM46、余白部の最大長さ記憶用メモリM47、余白部の最大長さ位置記憶用メモリM48、各画素の左右方向の長さ記憶用メモリM49、各画素の天地方向の長さ記憶用メモリM50、ターゲット絵柄のアドレス記憶用メモリM51、ターゲット絵柄の長さ記憶用メモリM52、ターゲット絵柄の左右方向中心の印刷絵柄内の位置記憶用メモリM53、ターゲット絵柄の左右方向の中心位置記憶用メモリM54、ターゲット絵柄の天方向端の印刷絵柄内の位置記憶用メモリM55、ターゲット絵柄の天方向端の基準位置記憶用メモリM56、ターゲット絵柄の天地方向の基準長さ記憶用メモリM57、ターゲット絵柄の左右方向の中心位置−検出器左右方向位置検出用カウンタのカウント値変換テーブル記憶用メモリM58、ターゲット絵柄の左右方向の中心位置に対応する検出器左右方向位置検出用カウンタのカウント値記憶用メモリM59、検出器左右方向位置検出用カウンタのカウント値記憶用メモリM60を備えている。 Further, the strip cutting position control device includes a left margin part memory M1, a top margin part memory M2, a left and right length memory M3 for the printed pattern, and a vertical direction of the printed pattern. Length storage memory M4, memory M5 for storing the total number of pixels in the horizontal direction of the printed pattern, memory M6 for storing the total number of pixels in the vertical direction of the printed pattern, memory M7 for storing the pattern data for each color, memory for storing the count value Y M8, count value X storage memory M9, cyan pixel data, magenta pixel data, yellow pixel data, black pixel data storage memory M10, print picture data storage memory M11, address (X, Y) pixel data storage memory M12 at the position, pixel data first threshold value storage memory M13, pixel data second threshold value storage memory M14, mark Pattern ternary data storage memory M15, address (X, Y) position ternary data storage memory M16, first judgment total value storage memory M17, count value N storage memory M18, Tri-level data storage memory M19 at the position of the address (X, Y-N), judgment data storage memory M20, count value C storage memory M21, judgment data at the position of the address (X-1, Y) Memory M22 for storage, memory M23 for determining the position of address (X, Y), memory M24 for count value L, memory for pixel number storage M25 in the vertical direction, 3 at the position of address (X, Y + L) Threshold data storage memory M26, second determination threshold storage memory M27, second determination total value storage memory M28, count value M storage memory M29, add Ternary data storage memory M30 at the position of (X−M, Y + N), second determination value storage memory M31, third determination total value storage memory M32, address (X−M) , Y + L-1 + N), ternary data storage memory M33, address (X-M, Y + L + N) position ternary data storage memory M34, target picture candidate position storage memory M35, target picture candidate Length memory M36, count value C1 memory M37, C1th address (X, Y) address memory X38, C1th address position count value L memory M39, count value N1 memory Memory M40, fourth determination total value storage memory M41, ternary data storage memory M42 at the position of the address (X-M, Y-21-N1), Count value N2 storage memory M43, ternary data storage memory M44 at the address (X-M, Y + 21 + N2) position, target picture enlarged margin length storage memory M45, target stored at the C1th address position Enlarged margin length memory M46, memory margin maximum length memory M47, margin maximum length position storage memory M48, lateral length memory M49 for each pixel, Top-and-bottom length memory M50, target picture address memory M51, target picture length memory M52, position picture memory M53 in the left-right center print picture of the target picture, left and right of the target picture Direction center position storage memory M54, position storage memory M55 in the print pattern at the top end of the target pattern The reference position storage memory M56 at the top end of the target pattern, the reference length storage memory M57 in the top direction of the target pattern, the center position of the target pattern in the horizontal direction-the count value conversion table of the counter for detecting the horizontal position of the detector A memory M58 for storage, a count value storage memory M59 for a detector for detecting a horizontal position in the horizontal direction corresponding to the center position in the horizontal direction of the target pattern, and a memory for storing a count value M60 for a counter for detecting the horizontal position in the horizontal direction of the detector are provided. Yes.
さらに、帯状体断裁位置制御装置は、ターゲット絵柄の天地方向の基準長さに対応する印刷機の回転位相検出用カウンタのカウント値記憶用メモリM61、ターゲット絵柄の天方向端の基準位置−印刷機の回転位相検出用カウンタのカウント値変換テーブル記憶用メモリM62、ターゲット絵柄の天方向端の基準位置に対応する印刷機の回転位相検出用カウンタのカウント値記憶用メモリM63、検出範囲(カウンタのカウント値)記憶用メモリM64、検出開始時の印刷機の回転位相検出用カウンタのカウント値記憶用メモリM65、検出終了時の印刷機の回転位相検出用カウンタのカウント値記憶用メモリM66、ターゲット絵柄の天方向端の位置に対応する印刷機の回転位相検出用カウンタのカウント値記憶用メモリM67、ターゲット絵柄の地方向端の位置に対応する印刷機の回転位相検出用カウンタのカウント値記憶用メモリM68、ターゲット絵柄の天地方向の長さに対応する印刷機の回転位相検出用カウンタのカウント値記憶用メモリM69、ターゲット絵柄の天地方向の長さの差(カウンタのカウント値)記憶用メモリM70、ターゲット絵柄の天地方向の長さの差(カウンタのカウント値)の絶対値記憶用メモリM71、ターゲット絵柄の天地方向の長さの差の許容値(カウンタのカウント値)記憶用メモリM72、印刷機の回転位相検出用カウンタのカウント値差記憶用メモリM73、印刷機の回転位相検出用カウンタのカウント値差の絶対値記憶用メモリM74、許容値(カウンタのカウント値)記憶用メモリM75、印刷機の回転位相検出用カウンタのカウント値差−コンペンセータ・ロール位置検出用カウンタのカウント値変換テーブル記憶用メモリM76、補正すべきコンペンセータ・ロール位置検出用カウンタのカウント値記憶用メモリM77、コンペンセータ・ロール位置検出用カウンタのカウント値記憶用メモリM78、目標とするコンペンセータ・ロール位置検出用カウンタのカウント値記憶用メモリM79を備えている。 Further, the strip cutting position control device includes a count value storage memory M61 of a counter for rotation phase detection of a printing machine corresponding to a reference length in the vertical direction of the target picture, a reference position of the top edge of the target picture in the printing machine. Rotation phase detection counter count value conversion table storage memory M62, counter value storage memory M63 of the rotation phase detection counter of the printing press corresponding to the reference position at the top end of the target pattern, detection range (counter count Value) storage memory M64, count value storage memory M65 of the rotation phase detection counter of the printing press at the start of detection, count value storage memory M66 of the rotation phase detection counter of the printing press at the end of detection, Count value storage memory M67 of the rotation phase detection counter of the printing press corresponding to the position of the top end, the target Count value storage memory M68 of the rotation phase detection counter of the printing press corresponding to the position of the end of the pattern in the ground direction, and count value storage of the counter of rotation phase detection of the printing press corresponding to the vertical length of the target pattern Memory M69, memory for storing the difference in length of the target pattern in the vertical direction (counter count value), memory M70, memory for storing the absolute value of the difference in length in the vertical direction of the target pattern (counter count value) M71, target pattern Storage length memory M72, counter value detection memory M73 of the rotation phase detection counter of the printing press, count value of the counter for rotation phase detection of the printing press A memory M74 for storing the absolute value of the difference, a memory M75 for storing an allowable value (count value of the counter), and a counter for the counter for detecting the rotational phase of the printing press Compensator / roll position detection counter count value conversion table storage memory M76, Compensator / roll position detection counter count value storage memory M77, Compensator / roll position detection counter count value storage And a memory M79 for storing a count value of a target compensator / roll position detection counter.
そして、CPU10は、第1のI/O13から第5のI/O17を介して与えられる各種入力情報を得て、RAM12や各種のメモリM1〜M79にアクセスしながら、ROM11に記憶されたプログラムに従って動作する。
Then, the
以下、本発明の実施例に係る帯状体断裁位置制御装置の処理の流れについて説明する。ここで、PPF等の印刷される印刷物の絵柄データよりターゲット絵柄となるべき絵柄の選択の方法について概括的に説明する。
始めに、絵柄データよりシアン用の画素データ、マゼンタ用の画素データ、イエロー用の画素データ、ブラック用の画素データのそれぞれの面積値を読み込む。
Hereinafter, the flow of processing of the strip cutting position control device according to the embodiment of the present invention will be described. Here, a method for selecting a picture to be a target picture from the picture data of a printed matter such as PPF will be generally described.
First, the area values of the pixel data for cyan, the pixel data for magenta, the pixel data for yellow, and the pixel data for black are read from the picture data.
次に、各画素におけるシアンの面積値に係数を掛けた値と、マゼンダの面積値に係数を掛けた値と、イエローの面積値に係数を掛けた値と、ブラックの面積値に係数を掛けた値とを積算して濃度値を求め、この各画素における濃度値として記憶する。なお、各色の面積値に掛ける係数は、色の濃淡に基づき設定するため、例えば、ブラックの係数は大きな値を設定し、イエローの係数は小さい値を設定する。 Next, a value obtained by multiplying the cyan area value in each pixel by a coefficient, a value obtained by multiplying the magenta area value by a coefficient, a value obtained by multiplying the yellow area value by a coefficient, and a coefficient obtained by multiplying the black area value by a coefficient. The obtained density value is integrated to obtain a density value and stored as the density value in each pixel. Since the coefficient to be multiplied by the area value of each color is set based on the color density, for example, a large value is set for the black coefficient and a small value is set for the yellow coefficient.
図3は、本発明の実施例に係る絵柄データより各画素のコントラストを予想して求めた3値化データの例を示した図である。なお、ここでは各画素の左右方向の位置をXとし、下側天方向、上側を地方向として天地方向の位置をYとして説明する。図3に示すように、各画素の濃度値が予め設定する第1のしきい値より小さい場合は0を、予め設定する第2のしきい値より大きい場合は1を、第1のしきい値より小さくなく、第2のしきい値より大きくない場合は2を各画素の3値化データとして記憶する。なお、図3中に空白で示すアドレスには0が記憶されているものとする。そして、3値化データから1が記憶された画素を探索し、この1が記憶された画素について天方向の20画素に0が記憶されているか判断する。 FIG. 3 is a diagram showing an example of ternary data obtained by predicting the contrast of each pixel from the pattern data according to the embodiment of the present invention. Here, the horizontal position of each pixel will be described as X, and the lower side sky direction and the upper side as the ground direction will be described as Y. As shown in FIG. 3, when the density value of each pixel is smaller than the first threshold value set in advance, 0 is set. When the density value is larger than the second threshold value set in advance, 1 is set, and the first threshold value is set. If it is not smaller than the value and not larger than the second threshold value, 2 is stored as the ternary data of each pixel. It is assumed that 0 is stored in the address indicated by a blank in FIG. Then, a pixel in which 1 is stored is searched from the ternary data, and it is determined whether 0 is stored in 20 pixels in the sky for the pixel in which 1 is stored.
図4は本発明の実施例に係る判断用データの例を示した図である。なお、ここでも各画素の左右方向の位置をXとし、下側天方向、上側を地方向として天地方向の位置をYとして説明する。図4に示すように、1が記憶され、かつ、天方向の20画素に0が記憶されている画素について、この画素の左側の画素に1が記憶された画素が存在しない場合には判断用データとして1を記憶し、この画素の左側の画素に1が記憶された画素が存在する場合には左側の画素に記憶された判断用データの値に1を加算した値を判断用データとして記憶する。 FIG. 4 is a diagram showing an example of determination data according to the embodiment of the present invention. Here, the position in the horizontal direction of each pixel will be described as X, and the position in the vertical direction will be described as Y with the lower sky direction and the upper side as the ground direction. As shown in FIG. 4, for a pixel in which 1 is stored and 0 is stored in 20 pixels in the top direction, there is no pixel in which 1 is stored in the pixel on the left side of this pixel. 1 is stored as data, and when there is a pixel in which 1 is stored in the left pixel of this pixel, a value obtained by adding 1 to the value of the determination data stored in the left pixel is stored as determination data. To do.
次に、判断用データから左右方向に10画素以上連続して1が記憶されている箇所を探索し、3値化データを参照して該当する箇所の最も右側に位置する画素の地方向の画素に1が記憶されている画素がいくつあるか探索する。 Next, a location where 10 or more pixels are continuously stored in the left-right direction is searched from the determination data, and the pixel in the ground direction of the pixel located on the rightmost side of the corresponding location with reference to the ternary data The number of pixels in which 1 is stored is searched.
図5は本発明の実施例に係るターゲット絵柄の候補の探索の例を示した図である。図5に示すように、A1で示す箇所には左右方向の10画素に1が記憶されていて、このうち最も右側に位置する画素の地方向の1画素に1が記憶されている場合、A1で示す箇所に1が記憶されている画素が20個あるか判断する。これによりA1で示す箇所の1が記憶されている画素が完全に矩形状となっていることがわかる。 FIG. 5 is a diagram illustrating an example of searching for a candidate for a target pattern according to the embodiment of the present invention. As shown in FIG. 5, when 1 is stored in 10 pixels in the left-right direction at the location indicated by A1, and 1 is stored in 1 pixel in the ground direction of the pixel located on the rightmost side, A1 It is determined whether there are 20 pixels in which 1 is stored at the location indicated by. As a result, it can be seen that the pixel in which 1 of the location indicated by A1 is stored is completely rectangular.
そして、A1で示す箇所の最も右側に位置する画素の地方向の画素に0が記憶されている画素が20個以上あるか判断し、A0で示す箇所に20個以上ある場合はこれらの画素とこれらの画素の左側の9画素に1が記憶されている画素がいくつあるか探索し、0個の場合にターゲット絵柄の候補として記憶する。このように、1が記憶された画素が完全な矩形状で、かつ、1が記憶された画素の天地方向の20画素以上には0が記憶されているため、A1で示す箇所を検出器42により確実に検出することが可能となる。
Then, it is determined whether there are 20 or more pixels in which 0 is stored in the pixel in the ground direction of the pixel located on the rightmost side of the location indicated by A1, and if there are 20 or more pixels at the location indicated by A0, The number of pixels in which 1 is stored in the 9 pixels on the left side of these pixels is searched, and when it is 0, it is stored as a target picture candidate. In this way, since the pixel storing 1 is a perfect rectangle, and 0 or more is stored in 20 or more pixels in the vertical direction of the pixel storing 1, the location indicated by A 1 is detected by the
また、Bで示す箇所の場合、左右方向の10画素に1が記憶されていて、このうち最も右側に位置する画素の地方向の2画素に1が記憶されているため、Bで示す箇所に1が記憶されている画素が30個あるか判断する。しかし、Bで示す箇所の場合、1が記憶されている画素が25個しかないのでターゲット絵柄の候補から除外される。これは、Bで示す箇所の場合、地方向側の端部が直線状になっておらず完全な矩形状でないため、検出器42により正確に検出することができないおそれがあるためである。
In the case of the location indicated by B, 1 is stored in 10 pixels in the left-right direction, and 1 is stored in 2 pixels in the ground direction of the pixel located on the rightmost side. It is determined whether there are 30 pixels in which 1 is stored. However, in the case indicated by B, since there are only 25 pixels in which 1 is stored, it is excluded from the target picture candidates. This is because, in the case of the location indicated by B, the end on the ground direction side is not linear and is not completely rectangular, and therefore may not be detected accurately by the
また、C1で示す箇所の場合、左右方向の10画素に1が記憶されていて、このうち最も右側に位置する画素の地方向の1画素に1が記憶されているため、C1で示す箇所に1が記憶されている画素が20個あるか判断する。C1で示す箇所の場合、1が記憶されている画素が20個あるので、C1で示す箇所の最も右側に位置する画素の地方向の画素に0が記憶されている画素が20個以上あるか判断し、C0で示す箇所に20個以上ある場合はこれらの画素とこれらの画素の左側の9画素に1が記憶されている画素がいくつあるか探索し、0個の場合にターゲット絵柄の候補として記憶する。しかし、C1で示す箇所の場合、1が記憶されている画素が5個あるのでターゲット絵柄の候補から除外される。これは、C1で示す箇所の場合も、地方向側の端部が直線状になっておらず完全な矩形状でないため、検出器42により正確に検出することができないおそれがあるためである。
In the case indicated by C1, 1 is stored in 10 pixels in the left-right direction, and 1 is stored in one pixel in the ground direction of the pixel located on the rightmost side. It is determined whether there are 20 pixels in which 1 is stored. In the case of the location indicated by C1, there are 20 pixels in which 1 is stored, so whether there are 20 or more pixels in which 0 is stored in the pixel in the ground direction of the pixel located on the rightmost side of the location indicated by C1 If there are 20 or more at the location indicated by C0, the number of pixels in which 1 is stored in these pixels and the 9 pixels on the left side of these pixels is searched. Remember as. However, in the case indicated by C1, since there are five pixels in which 1 is stored, it is excluded from the target picture candidates. This is because even in the case indicated by C1, the end on the ground side is not linear and is not completely rectangular, so that the
最後に、ターゲット絵柄の候補のうちから、1が記憶された画素の左右方向の個数が最も多く、かつ、1が記憶された画素の天地方向の個数が最も多く、かつ、1が記憶された画素の天地方向の0が記憶された画素の個数が最も多いターゲット絵柄の候補をターゲット絵柄として選択する。 Finally, among the target pattern candidates, the number of pixels in which the 1 is stored is the largest in the horizontal direction, the number of pixels in which the 1 is stored is the highest in the vertical direction, and 1 is stored. A candidate for the target picture having the largest number of pixels in which 0 in the vertical direction of the pixel is stored is selected as the target picture.
以下、本発明の実施例に係る帯状体断裁位置制御装置の処理の流れについて詳細に説明する。図7A〜図7C、図8A、図8B、図9A〜図9D、図10A〜図10D、図11A〜図11E、図12A、図12B、図13A〜図13Dは本発明の実施例に係る帯状体断裁位置制御装置の動作フロー図である。以下、各ステップ毎に処理の内容について説明する。なお、ここでは、断裁胴の回転位相を印刷機の回転位相として説明している。 Hereinafter, the processing flow of the strip-shaped body cutting position control device according to the embodiment of the present invention will be described in detail. 7A to 7C, 8A, 8B, 9A to 9D, 10A to 10D, 11A to 11E, 12A, 12B, and 13A to 13D are bands according to the embodiments of the present invention. It is an operation | movement flowchart of a body cutting position control apparatus. Hereinafter, the contents of the process will be described for each step. Here, the rotational phase of the cutting cylinder is described as the rotational phase of the printing press.
ステップP1において、CPU10は、印刷絵柄データ読込み開始スイッチ18が、オペレータによりONにされているかどうか判断する。CPU10は、印刷絵柄データ読込み開始スイッチ18が、オペレータによりONにされている場合、ステップP6を実行する。また、CPU10は、印刷絵柄データ読込み開始スイッチ18が、オペレータによりONにされていない場合、ステップP2を実行する。
In step P1, the
ステップP2において、CPU10は、左側の余白部長さ設定器25に入力が有るかどうか判断する。CPU10は、左側の余白部長さ設定器25に入力が有る場合、ステップP3を実行する。また、CPU10は、左側の余白部長さ設定器25に入力が無い場合、ステップP4を実行する。
In step P <b> 2, the
ステップP3において、CPU10は、左側の余白部長さ設定器25より、左側の余白部長さを読込み、左側の余白部長さ記憶用メモリM1に記憶する。CPU10は、ステップP3の処理が完了した後、ステップP4を実行する。
In step P3, the
ステップP4において、CPU10は、天側の余白部長さ設定器26に入力が有るかどうか判断する。CPU10は、天側の余白部長さ設定器26に入力が有る場合、ステップP5を実行する。また、CPU10は、天側の余白部長さ設定器26に入力が無い場合、ステップP1を実行する。
In Step P <b> 4, the
ステップP5において、CPU10は、天側の余白部長さ設定器26より、天側の余白部長さを読込み、天側の余白部長さ記憶用メモリM2に記憶する。CPU10は、ステップP5の処理が完了した後、ステップP1を実行する。
ステップP6において、CPU10は、各メモリを初期化する処理を行う。CPU10は、ステップP6の処理が完了した後、ステップP7を実行する。
ステップP7において、CPU10は、フロッピー・ディスク・ドライブ23に、印刷絵柄の左右方向の長さ、天地方向の長さ、左右方向の総画素数、天地方向の総画素数の読込み指令を出力する。CPU10は、ステップP7の処理が完了した後、ステップP8を実行する。
In step P5, the
In step P6, the
In step P7, the
ステップP8において、CPU10は、フロッピー・ディスク・ドライブ23より、印刷絵柄の左右方向の長さ、天地方向の長さ、左右方向の総画素数、天地方向の総画素数を読込み、印刷絵柄の左右方向の長さ記憶用メモリM3、印刷絵柄の天地方向の長さ記憶用メモリM4、印刷絵柄の左右方向の総画素数記憶用メモリM5、印刷絵柄の天地方向の総画素数記憶用メモリM6に記憶する。CPU10は、ステップP8の処理が完了した後、ステップP9を実行する。
In step P8, the
ステップP9において、CPU10は、フロッピー・ディスク・ドライブ23に、各色の絵柄データの読込み指令を出力する。CPU10は、ステップP9の処理が完了した後、ステップP10を実行する。
In step P <b> 9, the
ステップP10において、CPU10は、フロッピー・ディスク・ドライブ23より、各色の絵柄データを読込み、各色の絵柄データ記憶用メモリM7に記憶する。CPU10は、ステップP10の処理が完了した後、ステップP11を実行する。
In Step P10, the
ステップP11において、CPU10は、カウント値Y記憶用メモリM8に、1を上書きする。CPU10は、ステップP11の処理が完了した後、ステップP12を実行する。
ステップP12において、CPU10は、カウント値X記憶用メモリM9に、1を上書きする。CPU10は、ステップP12の処理が完了した後、ステップP13を実行する。
In Step P11, the
In Step P12, the
ステップP13において、CPU10は、各色の絵柄データのシアン用の最初の画素データ、マゼンタ用の最初の画素データ、イエロー用の最初の画素データ、ブラック用の最初の画素データを読込み、シアン用の画素データ、マゼンタ用の画素データ、イエロー用の画素データ、ブラック用の画素データ記憶用メモリM10に記憶する。CPU10は、ステップP13の処理が完了した後、ステップP14を実行する。
In Step P13, the
ステップP14において、CPU10は、絵柄データのシアン用の最初の画素データ、マゼンタ用の最初の画素データ、イエロー用の最初の画素データ、ブラック用の最初の画素データより、印刷絵柄の最初の画素データを演算し、印刷絵柄データ記憶用メモリM11のアドレス(X,Y)の位置に記憶する。CPU10は、ステップP14の処理が完了した後、ステップP15を実行する。尚、印刷絵柄の最初の画素データは、前記したように、シアン用の最初の画素データ、マゼンタ用の最初の画素データ、イエロー用の最初の画素データ、ブラック用の最初の画素データに各色毎に予め定められた係数を乗算し、それらを加算することによって求められる。
In step P14, the
ステップP15において、CPU10は、カウント値X記憶用メモリM9から、カウント値Xを読込む。CPU10は、ステップP15の処理が完了した後、ステップP16を実行する。
ステップP16において、CPU10は、カウント値Xに1を加算し、求めた値をカウント値X記憶用メモリM9に上書きする。CPU10は、ステップP16の処理が完了した後、ステップP17を実行する。
In Step P15, the
In Step P16, the
ステップP17において、CPU10は、各色の絵柄データのシアン用の次の画素データ、マゼンタ用の次の画素データ、イエロー用の次の画素データ、ブラック用の次の画素データを読込み、シアン用の画素データ、マゼンタ用の画素データ、イエロー用の画素データ、ブラック用の画素データ記憶用メモリM10に記憶する。CPU10は、ステップP17の処理が完了した後、ステップP18を実行する。
In step P17, the
ステップP18において、CPU10は、絵柄データのシアン用の次の画素データ、マゼンタ用の次の画素データ、イエロー用の次の画素データ、ブラック用の次の画素データより、印刷絵柄の次の画素データを演算し、印刷絵柄データ記憶用メモリM11のアドレス(X,Y)の位置に記憶する。CPU10は、ステップP18の処理が完了した後、ステップP19を実行する。尚、印刷絵柄の次の画素データは、前記したように、シアン用の次の画素データ、マゼンタ用の次の画素データ、イエロー用の次の画素データ、ブラック用の次の画素データに各色毎に予め定められた係数を乗算し、それらを加算することによって求められる。
In Step P18, the
ステップP19において、CPU10は、カウント値X記憶用メモリM9から、カウント値Xを読込む。CPU10は、ステップP19の処理が完了した後、ステップP20を実行する。
ステップP20において、CPU10は、カウント値Xに1を加算し、求めた値をカウント値X記憶用メモリM9に上書きする。CPU10は、ステップP20の処理が完了した後、ステップP21を実行する。
In Step P19, the
In Step P20, the
ステップP21において、CPU10は、カウント値X記憶用メモリM9から、カウント値Xを読込む。CPU10は、ステップP21の処理が完了した後、ステップP22を実行する。
ステップP22において、CPU10は、印刷絵柄の左右方向の総画素数記憶用メモリM5から、印刷絵柄の左右方向の総画素数を読込む。CPU10は、ステップP22の処理が完了した後、ステップP23を実行する。
In Step P21, the
In Step P22, the
ステップP23において、CPU10は、カウント値Xが印刷絵柄の左右方向の総画素数よりも大きいかどうか判断する。CPU10は、カウント値Xが印刷絵柄の左右方向の総画素数よりも大きい場合、ステップP24を実行する。また、CPU10は、カウント値Xが印刷絵柄の左右方向の総画素数よりも大きくない場合、ステップP17を実行する。
In Step P23, the
ステップP24において、CPU10は、カウント値Y記憶用メモリM8から、カウント値Yを読込む。CPU10は、ステップP24の処理が完了した後、ステップP25を実行する。
ステップP25において、CPU10は、カウント値Yに1を加算し、求めた値をカウント値Y記憶用メモリM8に上書きする。CPU10は、ステップP25の処理が完了した後、ステップP26を実行する。
ステップP26において、CPU10は、カウント値X記憶用メモリM9に、1を上書きする。CPU10は、ステップP26の処理が完了した後、ステップP27を実行する。
In Step P24, the
In Step P25, the
In Step P26, the
ステップP27において、CPU10は、各色の絵柄データのシアン用の次の画素データ、マゼンタ用の次の画素データ、イエロー用の次の画素データ、ブラック用の次の画素データを読込み、シアン用の画素データ、マゼンタ用の画素データ、イエロー用の画素データ、ブラック用の画素データ記憶用メモリM10に記憶する。CPU10は、ステップP27の処理が完了した後、ステップP28を実行する。
In step P27, the
ステップP28において、CPU10は、絵柄データのシアン用の次の画素データ、マゼンタ用の次の画素データ、イエロー用の次の画素データ、ブラック用の次の画素データより、印刷絵柄の次の画素データを演算し、印刷絵柄データ記憶用メモリM11のアドレス(X,Y)の位置に記憶する。CPU10は、ステップP28の処理が完了した後、ステップP29を実行する。尚、印刷絵柄の次の画素データは、前記したように、シアン用の次の画素データ、マゼンタ用の次の画素データ、イエロー用の次の画素データ、ブラック用の次の画素データに各色毎に予め定められた係数を乗算し、それらを加算することによって求められる。
In step P28, the
ステップP29において、CPU10は、カウント値X記憶用メモリM9から、カウント値Xを読込む。CPU10は、ステップP29の処理が完了した後、ステップP30を実行する。
ステップP30において、CPU10は、カウント値Xに1を加算し、求めた値をカウント値X記憶用メモリM9に上書きする。CPU10は、ステップP30の処理が完了した後、ステップP31を実行する。
In Step P29, the
In Step P30, the
ステップP31において、CPU10は、カウント値X記憶用メモリM9から、カウント値Xを読込む。CPU10は、ステップP31の処理が完了した後、ステップP32を実行する。
ステップP32において、CPU10は、印刷絵柄の左右方向の総画素数記憶用メモリM5から、印刷絵柄の左右方向の総画素数を読込む。CPU10は、ステップP32の処理が完了した後、ステップP33を実行する。
In Step P31, the
In Step P32, the
ステップP33において、CPU10は、カウント値Xが印刷絵柄の左右方向の総画素数よりも大きいかどうか判断する。CPU10は、カウント値Xが印刷絵柄の左右方向の総画素数よりも大きい場合、ステップP34を実行する。また、CPU10は、カウント値Xが印刷絵柄の左右方向の総画素数よりも大きくない場合、ステップP27を実行する。
In Step P33, the
ステップP34において、CPU10は、カウント値Y記憶用メモリM8から、カウント値Yを読込む。CPU10は、ステップP34の処理が完了した後、ステップP35を実行する。
ステップP35において、CPU10は、カウント値Yに1を加算し、求めた値をカウント値Y記憶用メモリM8に上書きする。CPU10は、ステップP35の処理が完了した後、ステップP36を実行する。
In Step P34, the
In Step P35, the
ステップP36において、CPU10は、カウント値Y記憶用メモリM8から、カウント値Yを読込む。CPU10は、ステップP36の処理が完了した後、ステップP37を実行する。
ステップP37において、CPU10は、印刷絵柄の天地方向の総画素数記憶用メモリM6から、印刷絵柄の天地方向の総画素数を読込む。CPU10は、ステップP37の処理が完了した後、ステップP38を実行する。
In Step P36, the
In Step P37, the
ステップP38において、CPU10は、カウント値Yが印刷絵柄の天地方向の総画素数よりも大きいかどうか判断する。CPU10は、カウント値Yが印刷絵柄の天地方向の総画素数よりも大きい場合、ステップP39を実行する。また、CPU10は、カウント値Yが印刷絵柄の天地方向の総画素数よりも大きくない場合、ステップP26を実行する。
In Step P38, the
以上の動作フローによって、フロッピー・ディスクから読込んだ各画素のシアン用の画素データ、マゼンタ用の画素データ、イエロー用の画素データ、ブラック用の画素データより各画素の印刷絵柄の画素データを求めると共に、各画素の絵柄内における位置に対応するアドレス(X、Y)位置に各画素の印刷絵柄の画素データを記憶する。 By the above operation flow, the pixel data of the print pattern of each pixel is obtained from the pixel data for cyan, the pixel data for magenta, the pixel data for yellow, and the pixel data for black read from the floppy disk. At the same time, the pixel data of the printed picture of each pixel is stored at the address (X, Y) position corresponding to the position of each pixel in the picture.
ステップP39において、CPU10は、カウント値Y記憶用メモリM8に、1を上書きする。CPU10は、ステップP39の処理が完了した後、ステップP40を実行する。
ステップP40において、CPU10は、カウント値X記憶用メモリM9に、1を上書きする。CPU10は、ステップP40の処理が完了した後、ステップP41を実行する。
In Step P39, the
In Step P40, the
ステップP41において、CPU10は、印刷絵柄データ記憶用メモリM11のアドレス(X,Y)の位置より、アドレス(X,Y)の位置の画素データを読込み、アドレス(X,Y)の位置の画素データ記憶用メモリM12に記憶する。CPU10は、ステップP41の処理が完了した後、ステップP42を実行する。
In Step P41, the
ステップP42において、CPU10は、画素データの第1のしきい値記憶用メモリM13から、画素データの第1のしきい値を読込む。CPU10は、ステップP42の処理が完了した後、ステップP43を実行する。尚、第1のしきい値は、動作開始前に、予め画素データの第1のしきい値記憶用メモリM13に記憶されている。また、第1のしきい値は、ほとんど絵柄が無い部分の濃度に近いが、それよりある程度大きい値である。
In Step P42, the
ステップP43において、CPU10は、アドレス(X,Y)の位置の画素データが画素データの第1のしきい値よりも小さいかどうか判断する。CPU10は、アドレス(X,Y)の位置の画素データが画素データの第1のしきい値よりも小さい場合、ステップP44を実行する。また、CPU10は、アドレス(X,Y)の位置の画素データが画素データの第1のしきい値よりも小さくない場合、ステップP47を実行する。
In step P43, the
ステップP44において、CPU10は、カウント値X記憶用メモリM9から、カウント値Xを読込む。CPU10は、ステップP44の処理が完了した後、ステップP45を実行する。
ステップP45において、CPU10は、カウント値Y記憶用メモリM8から、カウント値Yを読込む。CPU10は、ステップP45の処理が完了した後、ステップP46を実行する。
In Step P44, the
In Step P45, the
ステップP46において、CPU10は、印刷絵柄の3値化データ記憶用メモリM15のアドレス(X、Y)の位置に、0を書込む。CPU10は、ステップP46の処理が完了した後、ステップP56を実行する。
In Step P46, the
ステップP47において、CPU10は、アドレス(X,Y)の位置の画素データ記憶用メモリM12から、アドレス(X,Y)の位置の画素データを読込む。CPU10は、ステップP47の処理が完了した後、ステップP48を実行する。
In Step P47, the
ステップP48において、CPU10は、画素データの第2のしきい値記憶用メモリM14から、画素データの第2のしきい値を読込む。CPU10は、ステップP48の処理が完了した後、ステップP49を実行する。尚、第2のしきい値は、動作開始前に、予め画素データの第2のしきい値記憶用メモリM14に記憶されている。また、第2のしきい値は、前記第1のしきい値よりも大きな値であり、ブラックのベタの濃度に近いが、それよりある程度小さい値である。
In Step P48, the
ステップP49において、CPU10は、アドレス(X,Y)の位置の画素データが画素データの第2のしきい値よりも大きいかどうか判断する。CPU10は、アドレス(X,Y)の位置の画素データが画素データの第2のしきい値よりも大きい場合、ステップP50を実行する。また、CPU10は、アドレス(X,Y)の位置の画素データが画素データの第2のしきい値よりも大きくない場合、ステップP53を実行する。
In Step P49, the
ステップP50において、CPU10は、カウント値X記憶用メモリM9から、カウント値Xを読込む。CPU10は、ステップP50の処理が完了した後、ステップP51を実行する。
ステップP51において、CPU10は、カウント値Y記憶用メモリM8から、カウント値Yを読込む。CPU10は、ステップP51の処理が完了した後、ステップP52を実行する。
In Step P50, the
In Step P51, the
ステップP52において、CPU10は、印刷絵柄の3値化データ記憶用メモリM15のアドレス(X,Y)の位置に、1を書込む。CPU10は、ステップP52の処理が完了した後、ステップP56を実行する。
In Step P52, the
ステップP53において、CPU10は、カウント値X記憶用メモリM9から、カウント値Xを読込む。CPU10は、ステップP53の処理が完了した後、ステップP54を実行する。
ステップP54において、CPU10は、カウント値Y記憶用メモリM8から、カウント値Yを読込む。CPU10は、ステップP54の処理が完了した後、ステップP55を実行する。
In Step P53, the
In Step P54, the
ステップP55において、CPU10は、印刷絵柄の3値化データ記憶用メモリM15のアドレス(X,Y)の位置に、2を書込む。CPU10は、ステップP55の処理が完了した後、ステップP56を実行する。
In Step P55, the
ステップP56において、CPU10は、カウント値X記憶用メモリM9から、カウント値Xを読込む。CPU10は、ステップP56の処理が完了した後、ステップP57を実行する。
ステップP57において、CPU10は、カウント値Xに1を加算し、求めた値をカウント値X記憶用メモリM9に上書きする。CPU10は、ステップP57の処理が完了した後、ステップP58を実行する。
In Step P56, the
In Step P57, the
ステップP58において、CPU10は、印刷絵柄の左右方向の総画素数記憶用メモリM5から、印刷絵柄の左右方向の総画素数を読込む。CPU10は、ステップP58の処理が完了した後、ステップP59を実行する。
In Step P58, the
ステップP59において、CPU10は、カウント値Xが印刷絵柄の左右方向の総画素数よりも大きいかどうか判断する。CPU10は、カウント値Xが印刷絵柄の左右方向の総画素数よりも大きい場合、ステップP60を実行する。また、CPU10は、カウント値Xが印刷絵柄の左右方向の総画素数よりも大きくない場合、ステップP41を実行する。
In Step P59, the
ステップP60において、CPU10は、カウント値Y記憶用メモリM8から、カウント値Yを読込む。CPU10は、ステップP60の処理が完了した後、ステップP61を実行する。
ステップP61において、CPU10は、カウント値Yに1を加算し、求めた値をカウント値Y記憶用メモリM8に上書きする。CPU10は、ステップP61の処理が完了した後、ステップP62を実行する。
In Step P60, the
In Step P61, the
ステップP62において、CPU10は、印刷絵柄の天地方向の総画素数記憶用メモリM6から、印刷絵柄の天地方向の総画素数を読込む。CPU10は、ステップP62の処理が完了した後、ステップP63を実行する。
In Step P62, the
ステップP63において、CPU10は、カウント値Yが印刷絵柄の天地方向の総画素数よりも大きいかどうか判断する。CPU10は、カウント値Yが印刷絵柄の天地方向の総画素数よりも大きい場合、ステップP64を実行する。また、CPU10は、カウント値Yが印刷絵柄の天地方向の総画素数よりも大きくない場合、ステップP40を実行する。
In step P63, the
以上の動作フローによって、各画素の印刷絵柄の画素データ、第1及び第2のしきい値より、図3に示すような各画素を3値化して示すデータ・ベースを作成する。 With the above operation flow, the data base shown by ternarizing each pixel as shown in FIG. 3 is created from the pixel data of the printed picture of each pixel and the first and second threshold values.
ステップP64において、CPU10は、カウント値X記憶用メモリM9に、1を上書きする。CPU10は、ステップP64の処理が完了した後、ステップP65を実行する。
ステップP65において、CPU10は、カウント値Y記憶用メモリM8に、21を上書きする。CPU10は、ステップP65の処理が完了した後、ステップP66を実行する。
In Step P64, the
In Step P65, the
ステップP66において、CPU10は、カウント値X記憶用メモリM9から、カウント値Xを読込む。CPU10は、ステップP66の処理が完了した後、ステップP67を実行する。
ステップP67において、CPU10は、カウント値Y記憶用メモリM8から、カウント値Yを読込む。CPU10は、ステップP67の処理が完了した後、ステップP68を実行する。
In Step P66, the
In Step P67, the
ステップP68において、CPU10は、印刷絵柄の3値化データ記憶用メモリM15のアドレス(X,Y)の位置の3値化データを読込み、アドレス(X,Y)の位置の3値化データ記憶用メモリM16に記憶する。CPU10は、ステップP68の処理が完了した後、ステップP69を実行する。
In Step P68, the
ステップP69において、CPU10は、アドレス(X,Y)の位置の3値化データが1であるかどうか判断する。CPU10は、アドレス(X,Y)の位置の3値化データが1である場合、ステップP70を実行する。また、CPU10は、アドレス(X,Y)の位置の3値化データが1でない場合、ステップP85を実行する。
In Step P69, the
ステップP70において、CPU10は、第1の判断用の合計値記憶用メモリM17に、0を上書きする。CPU10は、ステップP70の処理が完了した後、ステップP71を実行する。
In Step P70, the
ステップP71において、CPU10は、カウント値N記憶用メモリM18に、1を上書きする。CPU10は、ステップP71の処理が完了した後、ステップP72を実行する。
ステップP72において、CPU10は、カウント値X記憶用メモリM9から、カウント値Xを読込む。CPU10は、ステップP72の処理が完了した後、ステップP73を実行する。
In Step P71, the
In Step P72, the
ステップP73において、CPU10は、カウント値Y記憶用メモリM8から、カウント値Yを読込む。CPU10は、ステップP73の処理が完了した後、ステップP74を実行する。
ステップP74において、CPU10は、カウント値N記憶用メモリM18から、カウント値Nを読込む。CPU10は、ステップP74の処理が完了した後、ステップP75を実行する。
In Step P73, the
In Step P74, the
ステップP75において、CPU10は、印刷絵柄の3値化データ記憶用メモリM15のアドレス(X,Y−N)の位置の3値化データを読込み、アドレス(X,Y−N)の位置の3値化データ記憶用メモリM19に記憶する。CPU10は、ステップP75の処理が完了した後、ステップP76を実行する。
In Step P75, the
ステップP76において、CPU10は、第1の判断用の合計値記憶用メモリM17から、第1の判断用の合計値を読込む。CPU10は、ステップP76の処理が完了した後、ステップP77を実行する。
In Step P76, the
ステップP77において、CPU10は、第1の判断用の合計値に印刷絵柄の3値化データ記憶用メモリM15のアドレス(X,Y−N)の位置の3値化データを加算し、求めた値を第1の判断用の合計値記憶用メモリM17に上書きする。CPU10は、ステップP77の処理が完了した後、ステップP78を実行する。
In step P77, the
ステップP78において、CPU10は、カウント値N記憶用メモリM18から、カウント値Nを読込む。CPU10は、ステップP78の処理が完了した後、ステップP79を実行する。
In Step P78, the
ステップP79において、CPU10は、カウント値Nに1を加算し、求めた値をカウント値N記憶用メモリM18に上書きする。CPU10は、ステップP79の処理が完了した後、ステップP80を実行する。
In Step P79, the
ステップP80において、CPU10は、カウント値N記憶用メモリM18から、カウント値Nを読込む。CPU10は、ステップP80の処理が完了した後、ステップP81を実行する。
In Step P80, the
ステップP81において、CPU10は、カウント値Nが20よりも大きいかどうか判断する。CPU10は、カウント値Nが20よりも大きい場合、ステップP82を実行する。また、CPU10は、カウント値Nが20よりも大きくない場合、ステップP72を実行する。
In Step P81, the
ステップP82において、CPU10は、第1の判断用の合計値記憶用メモリM17から第1の判断用の合計値を読込む。CPU10は、ステップP82の処理が完了した後、ステップP83を実行する。
In Step P82, the
ステップP83において、CPU10は、第1の判断用の合計値が0がどうか判断する。CPU10は、第1の判断用の合計値が0である場合、ステップP84を実行する。また、CPU10は、第1の判断用の合計値が0でない場合、ステップP85を実行する。
In Step P83, the
ステップP84において、CPU10は、判断用データ記憶用メモリM20のアドレス(X,Y)の位置に、1を上書きする。CPU10は、ステップP84の処理が完了した後、ステップP85を実行する。
ステップP85において、CPU10は、カウント値Y記憶用メモリM8から、カウント値Yを読込む。CPU10は、ステップP85の処理が完了した後、ステップP86を実行する。
In Step P84, the
In Step P85, the
ステップP86において、CPU10は、カウント値Yに1を加算し、求めた値をカウント値Y記憶用メモリM8に上書きする。CPU10は、ステップP86の処理が完了した後、ステップP87を実行する。
ステップP87において、CPU10は、CPU10は、カウント値Y記憶用メモリM8から、カウント値Yを読込む。CPU10は、ステップP87の処理が完了した後、ステップP88を実行する。
In Step P86, the
In Step P87, the
ステップP88において、CPU10は、印刷絵柄の天地方向の総画素数記憶用メモリM6から、印刷絵柄の天地方向の総画素数を読込む。CPU10は、ステップP88の処理が完了した後、ステップP89を実行する。
In Step P88, the
ステップP89において、CPU10は、カウント値Yが印刷絵柄の天地方向の総画素数よりも大きいかどうか判断する。CPU10は、カウント値Yが印刷絵柄の天地方向の総画素数よりも大きい場合、ステップP90を実行する。また、CPU10は、カウント値Yが印刷絵柄の天地方向の総画素数よりも大きくない場合、ステップP66を実行する。
In Step P89, the
ステップP90において、CPU10は、カウント値X記憶用メモリM9から、カウント値Xを読込む。CPU10は、ステップP90の処理が完了した後、ステップP91を実行する。
ステップP91において、CPU10は、カウント値Xに1を加算し、求めた値をカウント値X記憶用メモリM9に上書きする。CPU10は、ステップP91の処理が完了した後、ステップP92を実行する。
In Step P90, the
In Step P91, the
ステップP92において、CPU10は、カウント値Y記憶用メモリM8に、21を上書きする。CPU10は、ステップP92の処理が完了した後、ステップP93を実行する。
ステップP93において、CPU10は、カウント値X記憶用メモリM9から、カウント値Xを読込む。CPU10は、ステップP93の処理が完了した後、ステップP94を実行する。
In Step P92, the
In Step P93, the
ステップP94において、CPU10は、カウント値Y記憶用メモリM8から、カウント値Yを読込む。CPU10は、ステップP94の処理が完了した後、ステップP95を実行する。
In Step P94, the
ステップP95において、CPU10は、印刷絵柄の3値化データ記憶用メモリM15のアドレス(X,Y)の位置の3値化データを読込み、アドレス(X,Y)の位置の3値化データ記憶用メモリM16に記憶する。CPU10は、ステップP95の処理が完了した後、ステップP96を実行する。
In Step P95, the
ステップP96において、CPU10は、(X,Y)のアドレス位置の3値化データが1であるかどうか判断する。CPU10は、(X,Y)のアドレス位置の3値化データが1である場合、ステップP97を実行する。また、CPU10は、(X,Y)のアドレス位置の3値化データが1でない場合、ステップP113を実行する。
In Step P96, the
ステップP97において、CPU10は、第1の判断用の合計値記憶用メモリM17に、0を上書きする。CPU10は、ステップP97の処理が完了した後、ステップP98を実行する。尚、第1の判断用の合計値は、図4のように、天方向の20個の画素の3値化データが0であることを判断する為のものである。
ステップP98において、CPU10は、カウント値N記憶用メモリM18に、1を上書きする。CPU10は、ステップP98の処理が完了した後、ステップP99を実行する。
In Step P97, the
In Step P98, the
ステップP99において、CPU10は、カウント値X記憶用メモリM9から、カウント値Xを読込む。CPU10は、ステップP99の処理が完了した後、ステップP100を実行する。
ステップP100において、CPU10は、カウント値Y記憶用メモリM8から、カウント値Yを読込む。CPU10は、ステップP100の処理が完了した後、ステップP101を実行する。
In Step P99, the
In Step P100, the
ステップP101において、CPU10は、カウント値N記憶用メモリM18から、カウント値Nを読込む。CPU10は、ステップP101の処理が完了した後、ステップP102を実行する。
In Step P101, the
ステップP102において、CPU10は、印刷絵柄の3値化データ記憶用メモリM15のアドレス(X,Y−N)の位置の3値化データを読込み、アドレス(X,Y−N)の位置の3値化データ記憶用メモリM19に記憶する。CPU10は、ステップP102の処理が完了した後、ステップP103を実行する。
In step P102, the
ステップP103において、CPU10は、第1の判断用の合計値記憶用メモリM17から、第1の判断用の合計値を読込む。CPU10は、ステップP103の処理が完了した後、ステップP104を実行する。
In Step P103, the
ステップP104において、CPU10は、第1の判断用の合計値に印刷絵柄の3値化データ記憶用メモリM15のアドレス(X,Y−N)の位置の3値化データを加算し、求めた値を第1の判断用の合計値記憶用メモリM17に上書きする。CPU10は、ステップP104の処理が完了した後、ステップP105を実行する。
In step P104, the
ステップP105において、CPU10は、カウント値N記憶用メモリM18から、カウント値Nを読込む。CPU10は、ステップP105の処理が完了した後、ステップP106を実行する。
In Step P105, the
ステップP106において、CPU10は、カウント値Nに1を加算し、求めた値をカウント値N記憶用メモリM18に上書きする。CPU10は、ステップP106の処理が完了した後、ステップP107を実行する。
In Step P106, the
ステップP107において、CPU10は、カウント値N記憶用メモリM18から、カウント値Nを読込む。CPU10は、ステップP107の処理が完了した後、ステップP108を実行する。
In Step P107, the
ステップP108において、CPU10は、カウント値Nが20よりも大きいかどうか判断する。CPU10は、カウント値Nが20よりも大きい場合、ステップP109を実行する。また、CPU10は、カウント値Nが20より大きくない場合、ステップP99を実行する。
In Step P108, the
ステップP109において、CPU10は、第1の判断用の合計値記憶用メモリM17から、第1の判断用の合計値を読込む。CPU10は、ステップP109の処理が完了した後、ステップP110を実行する。
In Step P109, the
ステップP110において、CPU10は、第1の判断用の合計値が0であるかどうか判断する。CPU10は、第1の判断用の合計値が0である場合、ステップP111を実行する。また、CPU10は、第1の判断用の合計値が0でない場合、ステップP113を実行する。
In step P110, the
ステップP111において、CPU10は、判断用データ記憶用メモリM20のアドレス(X−1,Y)の位置のデータを読込み、アドレス(X−1,Y)の位置の判断用データ記憶用メモリM22に記憶する。CPU10は、ステップP111の処理が完了した後、ステップP112を実行する。
In step P111, the
ステップP112において、CPU10は、判断用データ記憶用メモリM20のアドレス(X−1,Y)の位置のデータに1を加算し、求めた値を判断用データ記憶用メモリM20のアドレス(X,Y)の位置に上書きする。CPU10は、ステップP112の処理が完了した後、ステップP113を実行する。
In Step P112, the
ステップP113において、CPU10は、カウント値Y記憶用メモリM8から、カウント値Yを読込む。CPU10は、ステップP113の処理が完了した後、ステップP114を実行する。
ステップP114において、CPU10は、カウント値Yに1を加算し、求めた値をカウント値Y記憶用メモリM8に上書きする。CPU10は、ステップP114の処理が完了した後、ステップP115を実行する。
In Step P113, the
In step P114, the
ステップP115において、CPU10は、カウント値Y記憶用メモリM8から、カウント値Yを読込む。CPU10は、ステップP115の処理が完了した後、ステップP116を実行する。
ステップP116において、CPU10は、印刷絵柄の天地方向の総画素数記憶用メモリM6から、印刷絵柄の天地方向の総画素数を読込む。CPU10は、ステップP116の処理が完了した後、ステップP117を実行する。
In Step P115, the
In Step P116, the
ステップP117において、CPU10は、カウント値Yが印刷絵柄の天地方向の総画素数よりも大きいかどうか判断する。CPU10は、カウント値Yが印刷絵柄の天地方向の総画素数よりも大きい場合、ステップP118を実行する。また、CPU10は、カウント値Yが印刷絵柄の天地方向の総画素数より大きくない場合、ステップP93を実行する。
In Step P117, the
ステップP118において、CPU10は、カウント値X記憶用メモリM9から、カウント値Xを読込む。CPU10は、ステップP118の処理が完了した後、ステップP119を実行する。
ステップP119において、CPU10は、カウント値Xに1を加算し、求めた値をカウント値X記憶用メモリM9に上書きする。CPU10は、ステップP119の処理が完了した後、ステップP120を実行する。
In Step P118, the
In Step P119, the
ステップP120において、CPU10は、カウント値X記憶用メモリM9から、カウント値Xを読込む。CPU10は、ステップP120の処理が完了した後、ステップP121を実行する。
ステップP121において、CPU10は、印刷絵柄の左右方向の総画素数記憶用メモリM5から、印刷絵柄の左右方向の総画素数を読込む。CPU10は、ステップP121の処理が完了した後、ステップP122を実行する。
In Step P120, the
In Step P121, the
ステップP122において、CPU10は、カウント値Xが印刷絵柄の左右方向の総画素数よりも大きいかどうか判断する。CPU10は、カウント値Xが印刷絵柄の左右方向の総画素数よりも大きい場合、ステップP123を実行する。また、CPU10は、カウント値Xが印刷絵柄の左右方向の総画素数よりも大きくない場合、ステップP92を実行する。
In Step P122, the
以上の動作フローによって、図3に示す各画素を3値化して示すデータ・ベースより、3値化データが1であり、その天方向の20個の画素の3値化データが0である画素を判断用の画素として求めると共に、その画素の左側の画素が判断用の画素でない場合には判断用データとして1を書込み、判断用の画素である場合には左側の画素の判断用データに1を加算した値を判断用データとして書込み、図4に示すような判断用データのデータ・ベースを作成する。 According to the above operation flow, from the data base shown by ternarizing each pixel shown in FIG. 3, the ternary data is 1 and the ternary data of 20 pixels in the sky direction is 0. Is determined as a determination pixel, and if the pixel on the left side of the pixel is not a determination pixel, 1 is written as the determination data. If the pixel is a determination pixel, 1 is added to the determination data of the left pixel. The value obtained by adding is written as determination data, and a data base of determination data as shown in FIG. 4 is created.
ステップP123において、CPU10は、カウント値C記憶用メモリM21に、0を上書きする。CPU10は、ステップP123の処理が完了した後、ステップP124を実行する。
ステップP124において、CPU10は、カウント値X記憶用メモリM9に、10を上書きする。CPU10は、ステップP124の処理が完了した後、ステップP125を実行する。
In Step P123, the
In Step P124, the
ステップP125において、CPU10は、カウント値Y記憶用メモリM8に、21を上書きする。CPU10は、ステップP125の処理が完了した後、ステップP126を実行する。
In Step P125, the
ステップP126において、CPU10は、判断用データ記憶用メモリのアドレス(X,Y)の位置の判断用データを読込み、アドレス(X,Y)の位置の判断用データ記憶用メモリM23に記憶する。CPU10は、ステップP126の処理が完了した後、ステップP127を実行する。
In Step P126, the
ステップP127において、CPU10は、アドレス(X,Y)の位置の判断用データが10以上であるかどうか判断する。CPU10は、アドレス(X,Y)の位置の判断用データが10以上である場合、ステップP128を実行する。また、CPU10は、アドレス(X,Y)の位置の判断用データが10以上でない場合、ステップP193を実行する。
In Step P127, the
ステップP128において、CPU10は、カウント値L記憶用メモリM24に、1を上書きする。CPU10は、ステップP128の処理が完了した後、ステップP129を実行する。
ステップP129において、CPU10は、カウント値Y記憶用メモリM8から、カウント値Yを読込む。CPU10は、ステップP129の処理が完了した後、ステップP130を実行する。
In Step P128, the
In Step P129, the
ステップP130において、CPU10は、カウント値L記憶用メモリM24から、カウント値Lを読込む。CPU10は、ステップP130の処理が完了した後、ステップP131を実行する。
In Step P130, the
ステップP131において、CPU10は、カウント値Yにカウント値Lを加算し、天地方向の画素番号を演算し、天地方向の画素番号記憶用メモリM25に記憶する。CPU10は、ステップP131の処理が完了した後、ステップP132を実行する。
In Step P131, the
ステップP132において、CPU10は、印刷絵柄の天地方向の総画素数記憶用メモリM6から、印刷絵柄の天地方向の総画素数を読込む。CPU10は、ステップP132の処理が完了した後、ステップP133を実行する。
In Step P132, the
ステップP133において、CPU10は、天地方向の画素番号が(印刷絵柄の天地方向の総画素数−19)よりも大きいかどうか判断する。CPU10は、天地方向の画素番号が(印刷絵柄の天地方向の総画素数−19)よりも大きくない場合、ステップP134を実行する。また、CPU10は、天地方向の画素番号が(印刷絵柄の天地方向の総画素数−19)よりも大きい場合、ステップP198を実行する。
In Step P133, the
ステップP134において、CPU10は、印刷絵柄の3値化データ記憶用メモリM15のアドレス(X、Y+L)の位置の3値化データを読込み、アドレス(X,Y+L)の位置の3値化データ記憶用メモリM26に記憶する。CPU10は、ステップP134の処理が完了した後、ステップP135を実行する。
In Step P134, the
ステップP135において、CPU10は、アドレス(X、Y+L)の位置の3値化データが1であるかどうか判断する。CPU10は、アドレス(X、Y+L)の位置の3値化データが1である場合、ステップP136を実行する。また、CPU10は、アドレス(X、Y+L)の位置の3値化データが1でない場合、ステップP138を実行する。
In Step P135, the
ステップP136において、CPU10は、カウント値L記憶用メモリM24から、カウント値Lを読込む。CPU10は、ステップP136の処理が完了した後、ステップP137を実行する。
In Step P136, the
ステップP137において、CPU10は、カウント値Lに1を加算し、求めた値をカウント値L記憶用メモリM24に上書きする。CPU10は、ステップP137の処理が完了した後、ステップP129を実行する。
In Step P137, the
ステップP138において、CPU10は、カウント値L記憶用メモリM24から、カウント値Lを読込む。CPU10は、ステップP138の処理が完了した後、ステップP139を実行する。
In Step P138, the
ステップP139において、CPU10は、第2の判断用のしきい値記憶用メモリM27から、第2の判断用のしきい値を読込む。CPU10は、ステップP139の処理が完了した後、ステップP140を実行する。尚、第2の判断用のしきい値は、レジスター・マークとして選択した絵柄の天地方向の長さが短く、検出器42で検出する際誤検出が発生しないように、一定長さ以上の絵柄部分のみを選択する為に設けられている。
In Step P139, the
ステップP140において、CPU10は、カウント値Lが第2の判断用のしきい値以上であるかどうか判断する。CPU10は、カウント値Lが第2の判断用のしきい値以上である場合、ステップP141を実行する。また、CPU10は、カウント値Lが第2の判断用のしきい値以上でない場合、ステップP193を実行する。
In Step P140, the
ステップP141において、CPU10は、カウント値L記憶用メモリM24から、カウント値Lを読込む。CPU10は、ステップP141の処理が完了した後、ステップP142を実行する。
In Step P141, the
ステップP142において、CPU10は、カウント値Lが1よりも大きいかどうか判断する。CPU10は、カウント値Lが1よりも大きい場合、ステップP143を実行する。また、CPU10は、カウント値Lが1よりも大きくない場合、ステップP165を実行する。
In Step P142, the
ステップP143において、CPU10は、第2の判断用の合計値記憶用メモリM28に、0を上書きする。CPU10は、ステップP143の処理が完了した後、ステップP144を実行する。
In Step P143, the
ステップP144において、CPU10は、カウント値N記憶用メモリM18に、1を上書きする。CPU10は、ステップP144の処理が完了した後、ステップP144−1を実行する。
In Step P144, the
ステップP144−1において、CPU10は、カウント値M記憶用メモリM29に、0を上書きする。CPU10は、ステップP144−1の処理が完了した後、ステップP145を実行する。
In Step P144-1, the
ステップP145において、CPU10は、カウント値X記憶用メモリM9から、カウント値Xを読込む。CPU10は、ステップP145の処理が完了した後、ステップP146を実行する。
ステップP146において、CPU10は、カウント値Y記憶用メモリM8から、カウント値Yを読込む。CPU10は、ステップP146の処理が完了した後、ステップP147を実行する。
In Step P145, the
In Step P146, the
ステップP147において、CPU10は、カウント値N記憶用メモリM18から、カウント値Nを読込む。CPU10は、ステップP147の処理が完了した後、ステップP148を実行する。
In Step P147, the
ステップP148において、CPU10は、カウント値M記憶用メモリM29から、カウント値Mを読込む。CPU10は、ステップP148の処理が完了した後、ステップP149を実行する。
In Step P148, the
ステップP149において、CPU10は、印刷絵柄の3値化データ記憶用メモリM15のアドレス(X−M、Y+N)の位置の3値化データを読込み、アドレス(X−M,Y+N)の位置の3値化データ記憶用メモリM30に記憶する。CPU10は、ステップP149の処理が完了した後、ステップP150を実行する。
In step P149, the
ステップP150において、CPU10は、第2の判断用の合計値記憶用メモリM28から、第2の判断用の合計値を読込む。CPU10は、ステップP150の処理が完了した後、ステップP151を実行する。
In Step P150, the
ステップP151において、CPU10は、第2の判断用の合計値に印刷絵柄の3値化データ記憶用メモリM15のアドレス(X−M,Y+N)の位置の3値化データを加算し、求めた値を第2の判断用の合計値記憶用メモリM28に上書きする。CPU10は、ステップP151の処理が完了した後、ステップP152を実行する。尚、第2の判断用の合計値は、図5の左方向の10個の画素及び地方向の(L−1)個の画素の3値化データがすべて1であること、言い換えれば、A1の範囲のように、矩形の範囲がすべて1であることを判断する為のものである。
In step P151, the
ステップP152において、CPU10は、カウント値M記憶用メモリM29から、カウント値Mを読込む。CPU10は、ステップP152の処理が完了した後、ステップP153を実行する。
In Step P152, the
ステップP153において、CPU10は、カウント値Mに1を加算し、求めた値をカウント値M記憶用メモリM29に上書きする。CPU10は、ステップP153の処理が完了した後、ステップP154を実行する。
In Step P153, the
ステップP154において、CPU10は、カウント値M記憶用メモリM29から、カウント値Mを読込む。CPU10は、ステップP154の処理が完了した後、ステップP155を実行する。
In Step P154, the
ステップP155において、CPU10は、カウント値Mが10であるかどうか判断する。CPU10は、カウント値Mが10である場合、ステップP156を実行する。また、CPU10は、カウント値Mが10でない場合、ステップP145を実行する。
In Step P155, the
ステップP156において、CPU10は、カウント値N記憶用メモリM18から、カウント値Nを読込む。CPU10は、ステップP156の処理が完了した後、ステップP157を実行する。
In Step P156, the
ステップP157において、CPU10は、カウント値Nに1を加算し、求めた値をカウント値N記憶用メモリM18に上書きする。CPU10は、ステップP157の処理が完了した後、ステップP158を実行する。
In Step P157, the
ステップP158において、CPU10は、カウント値N記憶用メモリM18から、カウント値Nを読込む。CPU10は、ステップP158の処理が完了した後、ステップP159を実行する。
In Step P158, the
ステップP159において、CPU10は、カウント値L記憶用メモリM24から、カウント値Lを読込む。CPU10は、ステップP159の処理が完了した後、ステップP160を実行する。
In Step P159, the
ステップP160において、CPU10は、カウント値Nが(カウント値L−1)よりも大きいかどうか判断する。CPU10は、カウント値Nが(カウント値L−1)よりも大きい場合、ステップP161を実行する。また、CPU10は、カウント値Nが(カウント値L−1)よりも大きくない場合、ステップP144−1を実行する。
In Step P160, the
ステップP161において、CPU10は、カウント値L記憶用メモリM24から、カウント値Lを読込む。CPU10は、ステップP161の処理が完了した後、ステップP162を実行する。
In Step P161, the
ステップP162において、CPU10は、(カウント値L−1)に10を乗算し、第2の判断用の値を演算し、第2の判断用の値記憶用メモリM31に記憶する。CPU10は、ステップP162の処理が完了した後、ステップP163を実行する。
In Step P162, the
ステップP163において、CPU10は、第2の判断用の合計値記憶用メモリM28から、第2の判断用の合計値を読込む。CPU10は、ステップP163の処理が完了した後、ステップP164を実行する。
In Step P163, the
ステップP164において、CPU10は、第2の判断用の合計値が第2の判断用の値と等しいかどうか判断する。CPU10は、第2の判断用の合計値が第2の判断用の値と等しい場合、ステップP165を実行する。また、CPU10は、第2の判断用の合計値が第2の判断用の値と等しくない場合、ステップP193を実行する。
In Step P164, the
ステップP165において、CPU10は、第3の判断用の合計値記憶用メモリM32に、0を上書きする。CPU10は、ステップP165の処理が完了した後、ステップP166を実行する。尚、第3の判断用の合計値は、図5の左方向の10個の画素及び地方向の20個の画素の3値化データがすべて0であること、言い換えれば、A0の範囲がすべて0であることを判断する為のものである。
In Step P165, the
ステップP166において、CPU10は、カウント値N記憶用メモリM18に、1を上書きする。CPU10は、ステップP166の処理が完了した後、ステップP166−1を実行する。
In Step P166, the
ステップP166−1において、CPU10は、カウント値M記憶用メモリM29に、0を上書きする。CPU10は、ステップP166−1の処理が完了した後、ステップP167を実行する。
In Step P166-1, the
ステップP167において、CPU10は、カウント値X記憶用メモリM9から、カウント値Xを読込む。CPU10は、ステップP167の処理が完了した後、ステップP168を実行する。
ステップP168において、CPU10は、カウント値Y記憶用メモリM8から、カウント値Yを読込む。CPU10は、ステップP168の処理が完了した後、ステップP169を実行する。
In Step P167, the
In Step P168, the
ステップP169において、CPU10は、カウント値L記憶用メモリM24から、カウント値Lを読込む。CPU10は、ステップP169の処理が完了した後、ステップP170を実行する。
In Step P169, the
ステップP170において、CPU10は、カウント値N記憶用メモリM18から、カウント値Nを読込む。CPU10は、ステップP170の処理が完了した後、ステップP171を実行する。
In Step P170, the
ステップP171において、CPU10は、カウント値M記憶用メモリM29から、カウント値Mを読込む。CPU10は、ステップP171の処理が完了した後、ステップP172を実行する。
In Step P171, the
ステップP172において、CPU10は、印刷絵柄の3値化データ記憶用メモリM15のアドレス(X−M,Y+L−1+N)の位置の3値化データを読込み、アドレス(X−M,Y+L−1+N)の位置の3値化データ記憶用メモリM33に記憶する。CPU10は、ステップP172の処理が完了した後、ステップP173を実行する。
In step P172, the
ステップP173において、CPU10は、第3の判断用の合計値記憶用メモリM32から、第3の判断用の合計値を読込む。CPU10は、ステップP173の処理が完了した後、ステップP174を実行する。
In Step P173, the
ステップP174において、CPU10は、第3の判断用の合計値に印刷絵柄の3値化データ記憶用メモリM15のアドレス(X−M,Y+L−1+N)の位置の3値化データを加算し、求めた値を第3の判断用の合計値記憶用メモリM32に上書きする。CPU10は、ステップP174の処理が完了した後、ステップP175を実行する。
In step P174, the
ステップP175において、CPU10は、カウント値M記憶用メモリM29から、カウント値Mを読込む。CPU10は、ステップP175の処理が完了した後、ステップP176を実行する。
In Step P175, the
ステップP176において、CPU10は、カウント値Mに1を加算し、求めた値をカウント値M記憶用メモリM29に上書きする。CPU10は、ステップP176の処理が完了した後、ステップP177を実行する。
In Step P176, the
ステップP177において、CPU10は、カウント値M記憶用メモリM29から、カウント値Mを読込む。CPU10は、ステップP177の処理が完了した後、ステップP178を実行する。
In Step P177, the
ステップP178において、CPU10は、カウント値Mが10であるかどうか判断する。CPU10は、カウント値Mが10である場合、ステップP179を実行する。また、CPU10は、カウント値Mが10でない場合、ステップP167を実行する。
In Step P178, the
ステップP179において、CPU10は、カウント値N記憶用メモリM18から、カウント値Nを読込む。CPU10は、ステップP179の処理が完了した後、ステップP180を実行する。
In Step P179, the
ステップP180において、CPU10は、カウント値Nに1を加算し、求めた値をカウント値N記憶用メモリM18に上書きする。CPU10は、ステップP180の処理が完了した後、ステップP181を実行する。
In Step P180, the
ステップP181において、CPU10は、カウント値N記憶用メモリM18から、カウント値Nを読込む。CPU10は、ステップP181の処理が完了した後、ステップP182を実行する。
In Step P181, the
ステップP182において、CPU10は、カウント値Nが20よりも大きいかどうか判断する。CPU10は、カウント値Nが20よりも大きい場合、ステップP183を実行する。また、CPU10は、カウント値Nが20よりも大きくない場合、ステップP166−1を実行する。
In Step P182, the
ステップP183において、CPU10は、第3の判断用の合計値記憶用メモリM32から、第3の判断用の合計値を読込む。CPU10は、ステップP183の処理が完了した後、ステップP184を実行する。
In Step P183, the
ステップP184において、CPU10は、第3の判断用の合計値が0であるかどうか判断する。CPU10は、第3の判断用の合計値が0である場合、ステップP185を実行する。また、CPU10は、第3の判断用の合計値が0でない場合、ステップP193を実行する。
In Step P184, the
ステップP185において、CPU10は、カウント値C記憶用メモリM21から、カウント値Cを読込む。CPU10は、ステップP185の処理が完了した後、ステップP186を実行する。
In Step P185, the
ステップP186において、CPU10は、カウント値Cに1を加算し、求めた値をカウント値C記憶用メモリM21に上書きする。CPU10は、ステップP186の処理が完了した後、ステップP187を実行する。
In Step P186, the
ステップP187において、CPU10は、カウント値X記憶用メモリM9から、カウント値Xを読込む。CPU10は、ステップP187の処理が完了した後、ステップP188を実行する。
ステップP188において、CPU10は、カウント値Y記憶用メモリM8から、カウント値Yを読込む。CPU10は、ステップP188の処理が完了した後、ステップP189を実行する。
In Step P187, the
In Step P188, the
ステップP189において、CPU10は、カウント値C記憶用メモリM21から、カウント値Cを読込む。CPU10は、ステップP189の処理が完了した後、ステップP190を実行する。
In Step P189, the
ステップP190において、CPU10は、ターゲット絵柄候補位置記憶用メモリM35のC番目のアドレス位置に、アドレス(X、Y)を書込む。CPU10は、ステップP190の処理が完了した後、ステップP191を実行する。
In Step P190, the
ステップP191において、CPU10は、カウント値L記憶用メモリM24から、カウント値Lを読込む。CPU10は、ステップP191の処理が完了した後、ステップP192を実行する。
In Step P191, the
ステップP192において、CPU10は、ターゲット絵柄候補の長さ記憶用メモリM36のC番目のアドレス位置に、カウント値Lを書込む。CPU10は、ステップP192の処理が完了した後、ステップP193を実行する。
ステップP193において、CPU10は、カウント値Y記憶用メモリM8から、カウント値Yを読込む。CPU10は、ステップP193の処理が完了した後、ステップP194を実行する。
In Step P192, the
In Step P193, the
ステップP194において、CPU10は、カウント値Yに1を加算し、求めた値をカウント値Y記憶用メモリM8に上書きする。CPU10は、ステップP194の処理が完了した後、ステップP195を実行する。
ステップP195において、CPU10は、カウント値Y記憶用メモリM8から、カウント値Yを読込む。CPU10は、ステップP195の処理が完了した後、ステップP196を実行する。
In Step P194, the
In Step P195, the
ステップP196において、CPU10は、印刷絵柄の天地方向の総画素数記憶用メモリM6から、印刷絵柄の天地方向の総画素数を読込む。CPU10は、ステップP196の処理が完了した後、ステップP197を実行する。
In Step P196, the
ステップP197において、CPU10は、カウント値Yが(印刷絵柄の天地方向の総画素数−19)よりも大きいか判断する。CPU10は、カウント値Yが(印刷絵柄の天地方向の総画素数−19)よりも大きい場合、ステップP198を実行する。また、CPU10は、カウント値Yが(印刷絵柄の天地方向の総画素数−19)よりも大きくない場合、ステップP126を実行する。
In Step P197, the
ステップP198において、CPU10は、カウント値X記憶用メモリM9から、カウント値Xを読込む。CPU10は、ステップP198の処理が完了した後、ステップP199を実行する。
ステップP199において、CPU10は、カウント値Xに1を加算し、求めた値をカウント値X記憶用メモリM9に上書きする。CPU10は、ステップP199の処理が完了した後、ステップP200を実行する。
In Step P198, the
In Step P199, the
ステップP200において、CPU10は、カウント値X記憶用メモリM9から、カウント値Xを読込む。CPU10は、ステップP200の処理が完了した後、ステップP201を実行する。
ステップP201において、CPU10は、印刷絵柄の左右方向の総画素数記憶用メモリM5から、印刷絵柄の左右方向の総画素数を読込む。CPU10は、ステップP201の処理が完了した後、ステップP202を実行する。
In Step P200, the
In Step P201, the
ステップP202において、CPU10は、カウント値Xが印刷絵柄の左右方向の総画素数よりも大きいかどうか判断する。CPU10は、カウント値Xが印刷絵柄の左右方向の総画素数よりも大きい場合、ステップP203を実行する。また、CPU10は、カウント値Xが印刷絵柄の左右方向の総画素数よりも大きくない場合、ステップP125を実行する。
In Step P202, the
以上の動作フローによって、図4に示す各画素の判断用データより、図5のA1で示す範囲のすべての画素の3値化データが1であり、A0で示す範囲のすべての画素の3値化データが0である矩形状の絵柄部分の右下の画素のアドレス(X、Y)を求め、ターゲット絵柄候補位置として記憶する。 According to the above operation flow, the ternary data of all the pixels in the range indicated by A1 in FIG. 5 is 1, and the ternary values of all the pixels in the range indicated by A0 are obtained from the determination data for each pixel shown in FIG. The address (X, Y) of the pixel on the lower right of the rectangular picture portion whose digitized data is 0 is obtained and stored as the target picture candidate position.
ステップP203において、CPU10は、カウント値C記憶用メモリM21から、カウント値Cを読込む。CPU10は、ステップP203の処理が完了した後、ステップP204を実行する。
In Step P203, the
ステップP204において、CPU10は、カウント値Cが0であるかどうか判断する。CPU10は、カウント値Cが0である場合、ステップP205を実行する。また、CPU10は、カウント値Cが0でない場合、ステップP206を実行する。
In Step P204, the
ステップP205において、CPU10は、表示器に、エラー・メッセージ「該当ターゲット絵柄無し」を表示する。CPU10は、ステップP206の処理が完了した後、処理を終了する。
In Step P205, the
ステップP206において、CPU10は、カウント値C1記憶用メモリM37に、1を上書きする。CPU10は、ステップP206の処理が完了した後、ステップP207を実行する。
In Step P206, the
ステップP207において、CPU10は、カウント値C1記憶用メモリM37から、カウント値C1を読込む。CPU10は、ステップP207の処理が完了した後、ステップP208を実行する。
In Step P207, the
ステップP208において、CPU10は、ターゲット絵柄候補位置記憶用メモリM35のC1番目のアドレス位置に記憶されたアドレス(X,Y)を読込み、C1番目のアドレス位置のアドレス(X,Y)記憶用メモリM38に記憶する。CPU10は、ステップP208の処理が完了した後、ステップP209を実行する。
In Step P208, the
ステップP209において、CPU10は、ターゲット絵柄候補の長さ記憶用メモリM36のC1番目のアドレス位置に記憶されたカウント値Lを読込み、C1番目のアドレス位置のカウント値L記憶用メモリM39を記憶する。
In Step P209, the
ステップP210において、CPU10は、カウント値N1記憶用メモリM40に、0を上書きする。CPU10は、ステップP210の処理が完了した後、ステップP211を実行する。尚、カウント値N1は、ターゲット絵柄候補位置の画素から天方向に21番目以上離れた画素の左方向の10個の画素の3値化データがすべて0である範囲の天方向の画素数を表している。
In Step P210, the
ステップP211において、CPU10は、C1番目のアドレス位置のアドレス(X,Y)記憶用メモリM38から、C1番目のアドレス位置のカウント値Yを読込む。CPU11は、ステップP210の処理が完了した後、ステップP212を実行する。
In Step P211, the
ステップP212において、CPU10は、カウント値N1記憶用メモリM40から、カウント値N1を読込む。CPU10は、ステップP212の処理が完了した後、ステップP213を実行する。
In Step P212, the
ステップP213において、CPU10は、カウント値Yより21及びカウント値N1を減算し、天地方向の画素番号を演算し、天地方向の画素番号記憶用メモリM25に記憶する。CPU11は、ステップP213の処理が完了した後、ステップP214を実行する。
In Step P213, the
ステップP214において、CPU10は、天地方向の画素番号が1よりも小さいかどうか判断する。CPU10は、天地方向の画素番号が1よりも小さい場合、ステップP232を実行する。また、CPU10は、天地方向の画素番号が1よりも小さくない場合、ステップP215を実行する。
In Step P214, the
ステップP215において、CPU10は、第4の判断用の合計値記憶用メモリM41に、0を上書きする。CPU10は、ステップP215の処理が完了した後、ステップP216を実行する。尚、第4の判断用の合計値は、ターゲット絵柄候補位置の画素から天方向に21番目以上離れた画素の左方向の10個の画素の3値化データがすべて0であるかどうか、又は、ターゲット絵柄候補位置の画素に絵柄の幅を加算し、更に地方向に21番目以上離れた画素の左方向の10個の画素の3値化データがすべて0であるかどうかを判断する為のものである。
In Step P215, the
ステップP216において、CPU10は、カウント値M記憶用メモリM29に、0を上書きする。CPU10は、ステップP216の処理が完了した後、ステップP217を実行する。
In Step P216, the
ステップP217において、CPU10は、C1番目のアドレス位置のアドレス(X,Y)記憶用メモリM38から、C1番目のアドレス位置のカウント値Xを読込む。CPU10は、ステップP217の処理が完了した後、ステップP218を実行する。
In Step P217, the
ステップP218において、CPU10は、C1番目のアドレス位置のアドレス(X,Y)記憶用メモリM38から、C1番目のアドレス位置のカウント値Yを読込む。CPU10は、ステップP218の処理が完了した後、ステップP219を実行する。
In Step P218, the
ステップP219において、CPU10は、カウント値N1記憶用メモリM40から、カウント値N1を読込む。CPU10は、ステップP219の処理が完了した後、ステップP220を実行する。
In Step P219, the
ステップP220において、CPU10は、カウント値M記憶用メモリM29から、カウント値Mを読込む。CPU10は、ステップP220の処理が完了した後、ステップP221を実行する。
In Step P220, the
ステップP221において、CPU10は、印刷絵柄の3値化データ記憶用メモリM15のアドレス(X−M,Y−21−N1)の位置の3値化データを読込み、アドレス(X−M,Y−21−N1)の位置の3値化データ記憶用メモリM42に記憶する。CPU10は、ステップP221の処理が完了した後、ステップP222を実行する。
In Step P221, the
ステップP222において、CPU10は、第4の判断用の合計値記憶用メモリM41から、第4の判断用の合計値を読込む。CPU10は、ステップP222の処理が完了した後、ステップP223を実行する。
In Step P222, the
ステップP223において、CPU10は、第4の判断用の合計値に印刷絵柄の3値化データ記憶用メモリM15のアドレス(X−M,Y−21−N1)の位置の3値化データを加算し、求めた値を第4の判断用の合計値記憶用メモリM41に上書きする。CPU10は、ステップP223の処理が完了した後、ステップP224を実行する。
In Step P223, the
ステップP224において、CPU10は、カウント値M記憶用メモリM29から、カウント値Mを読込む。CPU10は、ステップP224の処理が完了した後、ステップP225を実行する。
In Step P224, the
ステップP225において、CPU10は、カウント値Mに1を加算し、求めた値をカウント値M記憶用メモリM29に上書きする。CPU10は、ステップP225の処理が完了した後、ステップP226を実行する。
In Step P225, the
ステップP226において、CPU10は、カウント値M記憶用メモリM29から、カウント値Mを読込む。CPU10は、ステップP226の処理が完了した後、ステップP227を実行する。
In Step P226, the
ステップP227において、CPU10は、カウント値Mが10であるかどうか判断する。CPU10は、カウント値Mが10である場合、ステップP228を実行する。また、CPU10は、カウント値Mが10でない場合、ステップP217を実行する。
In Step P227, the
ステップP228において、CPU10は、第4の判断用の合計値記憶用メモリM41から、第4の判断用の合計値を読込む。CPU10は、ステップP228の処理が完了した後、ステップP229を実行する。
In Step P228, the
ステップP229において、CPU10は、第4の判断用の合計値が0であるかどうか判断する。CPU10は、第4の判断用の合計値が0である場合、ステップP230を実行する。また、CPU10は、第4の判断用の合計値が0でない場合、ステップP232を実行する。
In Step P229, the
ステップP230において、CPU10は、カウント値N1記憶用メモリM40から、カウント値N1を読込む。CPU10は、ステップP230の処理が完了した後、ステップP231を実行する。
In Step P230, the
ステップP231において、CPU10は、カウント値N1に1を加算し、求めた値をカウント値N1記憶用メモリM40に上書きする。CPU10は、ステップP231の処理が完了した後、ステップP211を実行する。
In Step P231, the
ステップP232において、CPU10は、カウント値N2記憶用メモリM43に、0を上書きする。CPU10は、ステップP232の処理が完了した後、ステップP233を実行する。尚、カウント値N2は、ターゲット絵柄候補位置の画素に絵柄の幅を加算し、更に地方向に21番目以上離れた画素の左方向の10個の画素の3値化データがすべて0である範囲の地方向の画素数を表している。
In Step P232, the
ステップP233において、CPU10は、C1番目のアドレス位置のアドレス(X,Y)記憶用メモリM38から、C1番目のアドレス位置のカウント値Yを読込む。CPU10は、ステップP233の処理が完了した後、ステップP234を実行する。
In Step P233, the
ステップP234において、CPU10は、C1番目のアドレス位置のカウント値L記憶用メモリM39から、C1番目のアドレス位置のカウント値Lを読込む。CPU10は、ステップP234の処理が完了した後、ステップP235を実行する。
In Step P234, the
ステップP235において、CPU10は、カウント値N2記憶用メモリM43から、カウント値N2を読込む。CPU10は、ステップP235の処理が完了した後、ステップP236を実行する。
In Step P235, the
ステップP236において、CPU10は、カウント値Yにカウント値L、20及びカウント値N2を加算し、天地方向の画素番号を演算し、天地方向の画素番号記憶用メモリM25に記憶する。CPU10は、ステップP236の処理が完了した後、ステップP237を実行する。
In Step P236, the
ステップP237において、CPU10は、印刷絵柄の天地方向の総画素数記憶用メモリM6から、印刷絵柄の天地方向の総画素数を読込む。CPU10は、ステップP237の処理が完了した後、ステップP238を実行する。
In Step P237, the
ステップP238において、CPU10は、天地方向の画素番号が印刷絵柄の天地方向の総画素数よりも大きいかどうか判断する。CPU10は、天地方向の画素番号が印刷絵柄の天地方向の総画素数よりも大きい場合、ステップP256を実行する。また、CPU10は、天地方向の画素番号が印刷絵柄の天地方向の総画素数よりも大きくない場合、ステップP239を実行する。
In Step P238, the
ステップP239において、CPU10は、第4の判断用の合計値記憶用メモリM41に、0を上書きする。CPU10は、ステップP239の処理が完了した後、ステップP240を実行する。
In Step P239, the
ステップP240において、CPU10は、カウント値M記憶用メモリM29に、0を上書きする。CPU10は、ステップP240の処理が完了した後、ステップP241を実行する。
In Step P240, the
ステップP241において、CPU10は、C1番目のアドレス位置のアドレス(X,Y)記憶用メモリM38から、C1番目のアドレス位置のカウント値Xを読込む。CPU10は、ステップP241の処理が完了した後、ステップP242を実行する。
In Step P241, the
ステップP242において、CPU10は、C1番目のアドレス位置のアドレス(X,Y)記憶用メモリM38から、C1番目のアドレス位置のカウント値Yを読込む。CPU10は、ステップP242の処理が完了した後、ステップP242−1を実行する。
In Step P242, the
ステップP242−1において、CPU10は、C1番目のアドレス位置のカウント値L記憶用メモリM39から、C1番目のアドレス位置のカウント値Lを読込む。CPU10は、ステップP242−1の処理が完了した後、ステップP243を実行する。
In Step P242-1, the
ステップP243において、CPU10は、カウント値N2記憶用メモリM43から、カウント値N2を読込む。CPU10は、ステップP243の処理が完了した後、ステップP244を実行する。
In Step P243, the
ステップP244において、CPU10は、カウント値M記憶用メモリM29から、カウント値Mを読込む。CPU10は、ステップP244の処理が完了した後、ステップP245を実行する。
In Step P244, the
ステップP245において、CPU10は、印刷絵柄の3値化データ記憶用メモリM15のアドレス(X−M,Y+L+20+N2)の位置の3値化データを読込み、アドレス(X−M,Y+L+20+N2)の位置の3値化データ記憶用メモリM44に記憶する。CPU10は、ステップP245の処理が完了した後、ステップP246を実行する。
In step P245, the
ステップP246において、CPU10は、第4の判断用の合計値記憶用メモリM41から、第4の判断用の合計値を読込む。CPU10は、ステップP246の処理が完了した後、ステップP247を実行する。
In Step P246, the
ステップP247において、CPU10は、第4の判断用の合計値に印刷絵柄の3値化データ記憶用メモリM15のアドレス(X−M,Y+L+20+N2)の位置の3値化データを加算し、求めた値を第4の判断用の合計値記憶用メモリM41に上書きする。CPU10は、ステップP247の処理が完了した後、ステップP248を実行する。
In step P247, the
ステップP248において、CPU10は、カウント値M記憶用メモリM29から、カウント値Mを読込む。CPU10は、ステップP248の処理が完了した後、ステップP249を実行する。
In Step P248, the
ステップP249において、CPU10は、カウント値Mに1を加算し、求めた値をカウント値M記憶用メモリM29に上書きする。CPU10は、ステップP249の処理が完了した後、ステップP250を実行する。
In Step P249, the
ステップP250において、CPU10は、カウント値M記憶用メモリM29から、カウント値Mを読込む。CPU10は、ステップP250の処理が完了した後、ステップP251を実行する。
In Step P250, the
ステップP251において、CPU10は、カウント値Mが10であるかどうか判断する。CPU10は、カウント値Mが10である場合、ステップP252を実行する。また、CPU10は、カウント値Mが10でない場合、ステップP241を実行する。
In Step P251, the
ステップP252において、CPU10は、第4の判断用の合計値記憶用メモリM41から、第4の判断用の合計値を読込む。CPU10は、ステップP252の処理が完了した後、ステップP253を実行する。
In Step P252, the
ステップP253において、CPU10は、第4の判断用の合計値が0であるかどうか判断する。CPU10は、第4の判断用の合計値が0である場合、ステップP254を実行する。また、CPU10は、第4の判断用の合計値が0でない場合、ステップP256を実行する。
In Step P253, the
ステップP254において、CPU10は、カウント値N2記憶用メモリM43から、カウント値N2を読込む。CPU10は、ステップP254の処理が完了した後、ステップP255を実行する。
In Step P254, the
ステップP255において、CPU10は、カウント値N2に1を加算し、求めた値をカウント値N2記憶用メモリM43に上書きする。CPU10は、ステップP255の処理が完了した後、ステップP233を実行する。
In Step P255, the
ステップP256において、CPU10は、カウント値C1記憶用メモリM37から、カウント値C1を読込む。CPU10は、ステップP256の処理が完了した後、ステップP257を実行する。
In Step P256, the
ステップP257において、CPU10は、カウント値N1記憶用メモリM40から、カウント値N1を読込む。CPU10は、ステップP257の処理が完了した後、ステップP258を実行する。
In Step P257, the
ステップP258において、CPU10は、カウント値N2記憶用メモリM43から、カウント値N2を読込む。CPU10は、ステップP258の処理が完了した後、ステップP259を実行する。
In Step P258, the
ステップP259において、CPU10は、カウント値N1にカウント値N2を加算し、ターゲット絵柄の拡大余白部長さを演算し、ターゲット絵柄の拡大余白部長さ記憶用メモリM45のC1番目のアドレス位置に記憶する。CPU10は、ステップP259の処理が完了した後、ステップP260を実行する。
In step P259, the
ステップP260において、CPU10は、カウント値C1記憶用メモリM37から、カウント値C1を読込む。CPU10は、ステップP260の処理が完了した後、ステップP261を実行する。
In Step P260, the
ステップP261において、CPU10は、カウント値C1に1を加算し、求めた値をカウント値C1記憶用メモリM37に上書きする。CPU10は、ステップP261の処理が完了した後、ステップP262を実行する。
In Step P261, the
ステップP262において、CPU10は、カウント値C1記憶用メモリM37から、カウント値C1を読込む。CPU10は、ステップP262の処理が完了した後、ステップP263を実行する。
In Step P262, the
ステップP263において、CPU10は、カウント値C記憶用メモリM21から、カウント値Cを読込む。CPU10は、ステップP263の処理が完了した後、ステップP264を実行する。
In Step P263, the
ステップP264において、CPU10は、カウント値C1がカウント値Cよりも大きいか判断する。CPU10は、カウント値C1がカウント値Cよりも大きい場合、ステップP265を実行する。また、CPU10は、カウント値C1がカウント値Cよりも大きくない場合、ステップP207を実行する。
In Step P264, the
ステップP265において、CPU10は、カウント値C記憶用メモリM21から、カウント値Cを読込む。CPU10は、ステップP265の処理が完了した後、ステップP266を実行する。
In Step P265, the
ステップP266において、CPU10は、カウント値Cが1であるかどうか判断する。CPU10は、カウント値Cが1である場合、ステップP267を実行する。また、CPU10は、カウント値Cが1でない場合、ステップP283を実行する。
In Step P266, the
ステップP267において、CPU10は、ターゲット絵柄の拡大余白部長さ記憶用メモリM45の1番目のアドレス位置に記憶されたターゲット絵柄の拡大余白部長さを読込み、C1番目のアドレス位置に記憶されたターゲット絵柄の拡大余白部長さ記憶用メモリM46に記憶する。CPU10は、ステップP267の処理が完了した後、ステップP268を実行する。
In Step P267, the
ステップP268において、CPU10は、1番目のアドレス位置に記憶されたターゲット絵柄の拡大余白部長さを、余白部の最大長さ記憶用メモリM47に上書きする。CPU10は、ステップP268の処理が完了した後、ステップP269を実行する。
In Step P268, the
ステップP269において、CPU10は、余白部の最大長さ位置記憶用メモリM48に、1を上書きする。CPU10は、ステップP269の処理が完了した後、ステップP270を実行する。
In Step P269, the
ステップP270において、CPU10は、カウント値C1記憶用メモリM37に、2を上書きする。CPU10は、ステップP270の処理が完了した後、ステップP271を実行する。
In Step P270, the
ステップP271において、CPU10は、カウント値C1記憶用メモリM37から、カウント値C1を読込む。CPU10は、ステップP271の処理が完了した後、ステップP272を実行する。
In Step P271, the
ステップP272において、CPU10は、ターゲット絵柄の拡大余白部長さ記憶用メモリM45のC1番目のアドレス位置に記憶されたターゲット絵柄の拡大余白部長さを読込む。CPU10は、ステップP272の処理が完了した後、ステップP273を実行する。
In Step P272, the
ステップP273において、CPU10は、余白部の最大長さ記憶用メモリM47から、余白部の最大長さを読込む。CPU10は、ステップP273の処理が完了した後、ステップP274を実行する。
In Step P273, the
ステップP274において、CPU10は、C1番目のアドレス位置に記憶されたターゲット絵柄の拡大余白部長さが余白部の最大長さよりも大きいかどうか判断する。CPU10は、C1番目のアドレス位置に記憶されたターゲット絵柄の拡大余白部長さが余白部の最大長さよりも大きい場合、ステップP275を実行する。また、CPU10は、C1番目のアドレス位置に記憶されたターゲット絵柄の拡大余白部長さが余白部の最大長さよりも大きくない場合、ステップP278を実行する。
In Step P274, the
ステップP275において、CPU10は、余白部の最大長さ記憶用メモリM47に、C1番目のアドレス位置に記憶されたターゲット絵柄の拡大余白部長さを上書きする。CPU10は、ステップP275の処理が完了した後、ステップP276を実行する。
In Step P275, the
ステップP276において、CPU10は、カウント値C1記憶用メモリM37から、カウント値C1を読込む。CPU10は、ステップP276の処理が完了した後、ステップP277を実行する。
In Step P276, the
ステップP277において、CPU10は、余白部の最大長さ位置記憶用メモリM48に、カウント値C1を上書きする。CPU10は、ステップP277の処理が完了した後、ステップP278を実行する。
In Step P277, the
ステップP278において、CPU10は、カウント値C1記憶用メモリM37から、カウント値C1を読込む。CPU10は、ステップP278の処理が完了した後、ステップP279を実行する。
In Step P278, the
ステップP279において、CPU10は、カウント値C1に1を加算し、求めた値をカウント値C1記憶用メモリM37に上書きする。CPU10は、ステップP279の処理が完了した後、ステップP280を実行する。
In Step P279, the
ステップP280において、CPU10は、カウント値C1記憶用メモリM37から、カウント値C1を読込む。CPU10は、ステップP280の処理が完了した後、ステップP281を実行する。
In Step P280, the
ステップP281において、CPU10は、カウント値C記憶用メモリM21から、カウント値Cを読込む。CPU10は、ステップP281の処理が完了した後、ステップP282を実行する。
In Step P281, the
ステップP282において、CPU10は、カウント値C1がカウント値Cよりも大きいかどうか判断する。CPU10は、カウント値C1がカウント値Cよりも大きい場合、ステップP286を実行する。また、CPU10は、カウント値C1がカウント値Cよりも大きくない場合、ステップP271を実行する。
In Step P282, the
ステップP283において、CPU10は、ターゲット絵柄の拡大余白部長さ記憶用メモリM45の1番目のアドレス位置に記憶されたターゲット絵柄の拡大余白部長さを読込み、C1番目のアドレス位置に記憶されたターゲット絵柄の拡大余白部長さ記憶用メモリM46に記憶する。CPU10は、ステップP283の処理が完了した後、ステップP284を実行する。
In step P283, the
ステップP284において、CPU10は、1番目のアドレス位置に記憶されたターゲット絵柄の拡大余白部長さを、余白部の最大長さ記憶用メモリM47に上書きする。CPU10は、ステップP284の処理が完了した後、ステップP285を実行する。
In Step P284, the
ステップP285において、CPU10は、余白部の最大長さ位置記憶用メモリM48に、1を上書きする。CPU10は、ステップP285の処理が完了した後、ステップP286を実行する。
In Step P285, the
以上の動作フローによって、ターゲット絵柄候補位置のうち、天地方向に最も大きな拡大余白部があるものを、ターゲット絵柄として選択する。 Through the above operation flow, the target picture candidate position having the largest expanded margin in the top-to-bottom direction is selected as the target picture.
ステップP286において、CPU10は、印刷絵柄の左右方向の長さ記憶用メモリM3から、印刷絵柄の左右方向の長さを読込む。CPU10は、ステップP286の処理が完了した後、ステップP287を実行する。
In Step P286, the
ステップP287において、CPU10は、印刷絵柄の左右方向の総画素数記憶用メモリM5から、印刷絵柄の左右方向の総画素数を読込む。CPU10は、ステップP287の処理が完了した後、ステップP288を実行する。
In Step P287, the
ステップP288において、CPU10は、印刷絵柄の左右方向の長さを印刷絵柄の左右方向の総画素数で除算し、各画素の左右方向の長さを演算し、各画素の左右方向の長さ記憶用メモリM49に記憶する。CPU10は、ステップP288の処理が完了した後、ステップP289を実行する。
In step P288, the
ステップP289において、CPU10は、印刷絵柄の天地方向の長さ記憶用メモリM4から、印刷絵柄の天地方向の長さを読込む。CPU10は、ステップP289の処理が完了した後、ステップP290を実行する。
In Step P289, the
ステップP290において、CPU10は、印刷絵柄の天地方向の総画素数記憶用メモリM6から、印刷絵柄の天地方向の総画素数を読込む。CPU10は、ステップP290の処理が完了した後、ステップP291を実行する。
In Step P290, the
ステップP291において、CPU10は、印刷絵柄の天地方向の長さを印刷絵柄の天地方向の総画素数で除算し、各画素の天地方向の長さを演算し、各画素の天地方向の長さ記憶用メモリM50に記憶する。CPU10は、ステップP291の処理が完了した後、ステップP292を実行する。
In step P291, the
ステップP292において、CPU10は、余白部の最大長さ位置記憶用メモリM48に記憶されたカウント値C1を読込む。CPU10は、ステップP292の処理が完了した後、ステップP293を実行する。
In Step P292, the
ステップP293において、CPU10は、ターゲット絵柄候補位置記憶用メモリM35のC1番目のアドレス位置に記憶されたアドレス(X,Y)を読込み、ターゲット絵柄のアドレス記憶用メモリM51に記憶する。CPU10は、ステップP293の処理が完了した後、ステップP294を実行する。
In Step P293, the
ステップP294において、CPU10は、ターゲット絵柄候補の長さ記憶用メモリM36のC1番目のアドレス位置に記憶されたカウント値Lを読込み、ターゲット絵柄の長さ記憶用メモリM52に記憶する。CPU10は、ステップP294の処理が完了した後、ステップP295を実行する。
In Step P294, the
ステップP295において、CPU10は、ターゲット絵柄のアドレス記憶用メモリM51より、カウント値Xの値を読込む。CPU10は、ステップP295の処理が完了した後、ステップP296を実行する。
In Step P295, the
ステップP296において、CPU10は、各画素の左右方向の長さ記憶用メモリM49から、各画素の左右方向の長さを読込む。CPU10は、ステップP296の処理が完了した後、ステップP297を実行する。
In Step P296, the
ステップP297において、CPU10は、((カウント値X−5)×(各画素の左右方向の長さ))を演算してターゲット絵柄の左右方向中心の印刷絵柄内の位置を求め、ターゲット絵柄の左右方向中心の印刷絵柄内の位置記憶用メモリM53に記憶する。CPU10は、ステップP297の処理が完了した後、ステップP298を実行する。
In step P297, the
ステップP298において、CPU10は、左側の余白部長さ記憶用メモリM1から、左側の余白部長さを読込む。CPU10は、ステップP298の処理が完了した後、ステップP299を実行する。
In Step P298, the
ステップP299において、CPU10は、ターゲット絵柄の左右方向中心の印刷絵柄内の位置に左側の余白部長さを加算し、ターゲット絵柄の左右方向の中心位置を演算し、ターゲット絵柄の左右方向の中心位置記憶用メモリM54に記憶する。CPU10は、ステップP299の処理が完了した後、ステップP300を実行する。
In step P299, the
ステップP300において、CPU10は、ターゲット絵柄のアドレス記憶用メモリM51より、カウント値Yの値を読込む。CPU10は、ステップP300の処理が完了した後、ステップP301を実行する。
In Step P300, the
ステップP301において、CPU10は、各画素の天地方向の長さ記憶用メモリM50から、各画素の天地方向の長さを読込む。CPU10は、ステップP301の処理が完了した後、ステップP302を実行する。
In Step P301, the
ステップP302において、CPU10は、((カウント値Y−1)×(各画素の天地方向の長さ))を演算してターゲット絵柄の天方向端の印刷絵柄内の位置を求め、ターゲット絵柄の天方向端の印刷絵柄内の位置記憶用メモリM55に記憶する。CPU10は、ステップP302の処理が完了した後、ステップP303を実行する。
In step P302, the
ステップP303において、CPU10は、天側の余白部長さ記憶用メモリM2から、天側の余白部長さを読込む。CPU10は、ステップP303の処理が完了した後、ステップP304を実行する。
In Step P303, the
ステップP304において、CPU10は、ターゲット絵柄の天方向端の印刷絵柄内の位置に天側の余白部長さを加算し、ターゲット絵柄の天方向端の基準位置を演算し、ターゲット絵柄の天方向端の基準位置記憶用メモリM56に記憶する。CPU10は、ステップP304の処理が完了した後、ステップP305を実行する。
In step P304, the
ステップP305において、CPU10は、ターゲット絵柄の長さ記憶用メモリM52から、ターゲット絵柄の長さ(カウント値L)を読込む。CPU10は、ステップP305の処理が完了した後、ステップP306を実行する。
In Step P305, the
ステップP306において、CPU10は、各画素の天地方向の長さ記憶用メモリM50から、各画素の天地方向の長さを読込む。CPU10は、ステップP306の処理が完了した後、ステップP307を実行する。
In Step P306, the
ステップP307において、CPU10は、(ターゲット絵柄の長さ(カウント値L)×各画素の天地方向の長さ)を演算してターゲット絵柄の天地方向の基準長さを求め、ターゲット絵柄の天地方向の基準長さ記憶用メモリM57に記憶する。CPU10は、ステップP307の処理が完了した後、ステップP308を実行する。
In step P307, the
ステップP308において、CPU10は、カット・オフ・コントロール装置の制御開始スイッチ19がオペレータによりONにされているかどうか判断する。CPU10は、カット・オフ・コントロール装置の制御開始スイッチ19がオペレータによりONにされている場合、ステップP309を実行する。また、CPU10は、カット・オフ・コントロール装置の制御開始スイッチ19がオペレータによりONにされていない場合、ステップP308を実行する。
In Step P308, the
ステップP309において、CPU10は、ターゲット絵柄の左右方向の中心位置−検出器左右方向位置検出用カウンタのカウント値変換テーブル記憶用メモリM58から、ターゲット絵柄の左右方向の中心位置−検出器左右方向位置検出用カウンタのカウント値変換テーブルを読込む。CPU10は、ステップP309の処理が完了した後、ステップP310を実行する。
In step P309, the
ステップP310において、CPU10は、ターゲット絵柄の左右方向の中心位置記憶用メモリM54から、ターゲット絵柄の左右方向の中心位置を読込む。CPU10は、ステップP310の処理が完了した後、ステップP311を実行する。
In Step P310, the
ステップP311において、CPU10は、ターゲット絵柄の左右方向の中心位置−検出器左右方向位置検出用カウンタのカウント値変換テーブルを用いて、ターゲット絵柄の左右方向の中心位置より、ターゲット絵柄の左右方向の中心位置に対応する検出器左右方向位置検出用カウンタのカウント値を求め、ターゲット絵柄の左右方向の中心位置に対応する検出器左右方向位置検出用カウンタのカウント値記憶用メモリM59に記憶する。CPU10は、ステップP311の処理が完了した後、ステップP312を実行する。
In step P311, the
ステップP312において、CPU10は、検出器左右方向位置検出用カウンタ29より、カウント値を読込み、検出器左右方向位置検出用カウンタのカウント値記憶用メモリM60に記憶する。CPU10は、ステップP312の処理が完了した後、ステップP313を実行する。
In Step P312, the
ステップP313において、CPU10は、ターゲット絵柄の左右方向の中心位置に対応する検出器左右方向位置検出用カウンタのカウント値が検出器左右方向位置検出用カウンタのカウント値と等しいかどうか判断する。CPU10は、ターゲット絵柄の左右方向の中心位置に対応する検出器左右方向位置検出用カウンタのカウント値が検出器左右方向位置検出用カウンタのカウント値と等しい場合、ステップP325を実行する。また、CPU10は、ターゲット絵柄の左右方向の中心位置に対応する検出器左右方向位置検出用カウンタのカウント値が検出器左右方向位置検出用カウンタのカウント値と等しくない場合、ステップP314を実行する。
In Step P313, the
ステップP314において、CPU10は、ターゲット絵柄の左右方向の中心位置に対応する検出器左右方向位置検出用カウンタのカウント値が検出器左右方向位置検出用カウンタのカウント値よりも大きいかどうか判断する。CPU10は、ターゲット絵柄の左右方向の中心位置に対応する検出器左右方向位置検出用カウンタのカウント値が検出器左右方向位置検出用カウンタのカウント値よりも大きい場合、ステップP315を実行する。また、CPU10は、ターゲット絵柄の左右方向の中心位置に対応する検出器左右方向位置検出用カウンタのカウント値が検出器左右方向位置検出用カウンタのカウント値よりも大きくない場合、ステップP320を実行する。
In Step P314, the
ステップP315において、CPU10は、検出器左右方向位置調整用モータ・ドライバ27に、正転指令を出力する。CPU10は、ステップP315の処理が完了した後、ステップP316を実行する。
In Step P315, the
ステップP316において、CPU10は、ターゲット絵柄の左右方向の中心位置に対応する検出器左右方向位置検出用カウンタのカウント値記憶用メモリM59から、ターゲット絵柄の左右方向の中心位置に対応する検出器左右方向位置検出用カウンタのカウント値を読込む。CPU10は、ステップP316の処理が完了した後、ステップP317を実行する。
In Step P316, the
ステップP317において、CPU10は、検出器左右方向位置検出用カウンタ29より、カウント値を読込み、検出器左右方向位置検出用カウンタのカウント値記憶用メモリM60に記憶する。CPU10は、ステップP317の処理が完了した後、ステップP318を実行する。
In Step P317, the
ステップP318において、CPU10は、ターゲット絵柄の左右方向の中心位置に対応する検出器左右方向位置検出用カウンタのカウント値が検出器左右方向位置検出用カウンタのカウント値と等しいかどうか判断する。CPU10は、ターゲット絵柄の左右方向の中心位置に対応する検出器左右方向位置検出用カウンタのカウント値が検出器左右方向位置検出用カウンタのカウント値と等しい場合、ステップP319を実行する。また、CPU10は、ターゲット絵柄の左右方向の中心位置に対応する検出器左右方向位置検出用カウンタのカウント値が検出器左右方向位置検出用カウンタのカウント値と等しくない場合、ステップP316を実行する。
In Step P318, the
ステップP319において、CPU10は、検出器左右方向位置調整用モータ・ドライバ27への正転指令の出力を停止する。CPU10は、ステップP319の処理が完了した後、ステップP325を実行する。
In Step P319, the
ステップP320において、CPU10は、検出器左右方向位置調整用モータ・ドライバ27に、逆転指令を出力する。CPU10は、ステップP320の処理が完了した後、ステップP321を実行する。
In Step P320, the
ステップP321において、CPU10は、ターゲット絵柄の左右方向の中心位置に対応する検出器左右方向位置検出用カウンタのカウント値記憶用メモリM59から、ターゲット絵柄の左右方向の中心位置に対応する検出器左右方向位置検出用カウンタのカウント値を読込む。CPU10は、ステップP321の処理が完了した後、ステップP322を実行する。
In Step P321, the
ステップP322において、CPU10は、検出器左右方向位置検出用カウンタ29より、カウント値を読込み、検出器左右方向位置検出用カウンタのカウント値記憶用メモリM60に記憶する。CPU10は、ステップP322の処理が完了した後、ステップP323を実行する。
In Step P322, the
ステップP323において、CPU10は、ターゲット絵柄の左右方向の中心位置に対応する検出器左右方向位置検出用カウンタのカウント値が検出器左右方向位置検出用カウンタのカウント値と等しいかどうか判断する。CPU10は、ターゲット絵柄の左右方向の中心位置に対応する検出器左右方向位置検出用カウンタのカウント値が検出器左右方向位置検出用カウンタのカウント値と等しい場合、ステップP324を実行する。また、CPU10は、ターゲット絵柄の左右方向の中心位置に対応する検出器左右方向位置検出用カウンタのカウント値が検出器左右方向位置検出用カウンタのカウント値と等しくない場合、ステップP321を実行する。
In Step P323, the
ステップP324において、CPU10は、検出器左右方向位置調整用モータ・ドライバ27への逆転指令の出力を停止する。CPU10は、ステップP324の処理が完了した後、ステップP325を実行する。
In Step P324, the
以上の動作フローによって、ターゲット絵柄の左右方向の中心位置が求められると共に、検出器42がターゲット絵柄の左右方向の中心位置に位置付けられる。
With the above operation flow, the center position in the left-right direction of the target pattern is obtained, and the
ステップP325において、CPU10は、ターゲット絵柄の天地方向の基準長さ記憶用メモリM57から、ターゲット絵柄の天地方向の基準長さを読込む。CPU10は、ステップP325の処理が完了した後、ステップP326を実行する。
In step P325, the
ステップP326において、CPU10は、ターゲット絵柄の天地方向の基準長さより、ターゲット絵柄の天地方向の基準長さに対応する印刷機の回転位相検出用カウンタ39のカウント値を求め、ターゲット絵柄の天地方向の基準長さに対応する印刷機の回転位相検出用カウンタ39のカウント値記憶用メモリM61に記憶する。CPU10は、ステップP326の処理が完了した後、ステップP327を実行する。
In step P326, the
ステップP327において、CPU10は、ターゲット絵柄の天方向端の基準位置−印刷機の回転位相検出用カウンタのカウント値変換テーブル記憶用メモリM62から、ターゲット絵柄の天方向端の基準位置−印刷機の回転位相検出用カウンタ39のカウント値変換テーブルを読込む。CPU10は、ステップP327の処理が完了した後、ステップP328を実行する。
In step P327, the
ステップP328において、CPU10は、ターゲット絵柄の天方向端の基準位置記憶用メモリM56から、ターゲット絵柄の天方向端の基準位置を読込む。CPU10は、ステップP328の処理が完了した後、ステップP329を実行する。
In Step P328, the
ステップP329において、CPU10は、ターゲット絵柄の天方向端の基準位置−印刷機の回転位相検出用カウンタ39のカウント値変換テーブルを用いて、ターゲット絵柄の天方向端の基準位置より、ターゲット絵柄の天方向端の基準位置に対応する印刷機の回転位相検出用カウンタ39のカウント値を求め、ターゲット絵柄の天方向端の基準位置−印刷機の回転位相検出用カウンタ39のカウント値記憶用メモリM63に記憶する。CPU10は、ステップP329の処理が完了した後、ステップP330を実行する。
In Step P329, the
ステップP330において、CPU10は、検出範囲(カウンタのカウント値)記憶用メモリM64から、検出範囲(15画素分の天地方向の長さに相当するカウンタのカウント値)を読込む。CPU10は、ステップP330の処理が完了した後、ステップP331を実行する。
In Step P330, the
ステップP331において、CPU10は、ターゲット絵柄の天方向端の位置に対応する印刷機の回転位相検出用カウンタ39のカウント値より検出範囲(カウンタのカウント値)を減算し、検出開始時の印刷機の回転位相検出用カウンタ39のカウント値を演算し、検出開始時の印刷機の回転位相検出用カウンタのカウント値記憶用メモリM65に記憶する。CPU10は、ステップP331の処理が完了した後、ステップP332を実行する。
In Step P331, the
ステップP332において、CPU10は、検出開始用カウンタ31に、検出開始時の印刷機の回転位相検出用カウンタ39のカウント値を出力し、検出開始時の印刷機の回転位相検出用カウンタ39のカウント値を設定する。CPU10は、ステップP332の処理が完了した後、ステップP333を実行する。
In step P332, the
ステップP333において、CPU10は、ターゲット絵柄の天方向端の基準位置に対応する印刷機の回転位相検出用カウンタのカウント値記憶用メモリM63から、ターゲット絵柄の天方向端の基準位置に対応する印刷機の回転位相検出用カウンタ39のカウント値を読込む。CPU10は、ステップP333の処理が完了した後、ステップP334を実行する。
In Step P333, the
ステップP334において、CPU10は、検出範囲(カウンタのカウント値)記憶用メモリM64から、検出範囲(カウンタのカウント値)を読込む。CPU10は、ステップP334の処理が完了した後、ステップP335を実行する。
In Step P334, the
ステップP335において、CPU10は、ターゲット絵柄の天方向端の基準位置に対応する印刷機の回転位相検出用カウンタ39のカウント値に検出範囲(カウンタのカウント値)を加算し、検出終了時の印刷機の回転位相検出用カウンタ39のカウント値を演算し、検出終了時の印刷機の回転位相検出用カウンタのカウント値記憶用メモリM66に記憶する。CPU10は、ステップP335の処理が完了した後、ステップP336を実行する。
In step P335, the
ステップP336において、CPU10は、検出終了用カウンタ32に、検出終了時の印刷機の回転位相検出用カウンタ39のカウント値を出力し、検出終了用カウンタ32に、検出終了時の印刷機の回転位相検出用カウンタ39のカウント値を設定する。CPU10は、ステップP336の処理が完了した後、ステップP337を実行する。
In Step P336, the
以上の動作フローによって、ターゲット絵柄の天方向端に対応する印刷機の基準回転位相及び天地方向基準長さが求められると共に、検出器42がターゲット絵柄を検出すべき検出範囲が設定される。
With the above operation flow, the reference rotation phase and the vertical direction reference length of the printing machine corresponding to the top edge of the target picture are obtained, and the detection range in which the
ステップP337において、CPU10は、検出器42に接続された立ち上がり用ワン・ショット・パルス発生回路36の出力がONになっているかどうか判断する。CPU10は、検出器42に接続された立ち上がり用ワン・ショット・パルス発生回路36の出力がONになっている場合、ステップP338を実行する。また、CPU10は、検出器42に接続された立ち上がり用ワン・ショット・パルス発生回路36の出力がONになっていない場合、ステップP337を再度実行する。
In Step P337, the
ステップP338において、CPU10は、立ち上がり用ラッチ35より、ターゲット絵柄の天方向端検出時の印刷機の回転位相検出用カウンタ39のカウント値を読込み、ターゲット絵柄の天方向端の位置に対応する印刷機の回転位相検出用カウンタのカウント値記憶用メモリM67に記憶する。CPU10は、ステップP338の処理が完了した後、ステップP339を実行する。
In Step P338, the
ステップP339において、CPU10は、検出器42に接続された立ち下がり用ワン・ショット・パルス発生回路37の出力がONになっているかどうか判断する。CPU10は、検出器42に接続された立ち下がり用ワン・ショット・パルス発生回路37の出力がONになっている場合、ステップP340を実行する。また、CPU10は、検出器42に接続された立ち下がり用ワン・ショット・パルス発生回路37の出力がONになっていない場合、ステップP339を再度実行する。
In Step P339, the
ステップP340において、CPU10は、立ち下がり用ラッチ38より、ターゲット絵柄の地方向端検出時の印刷機の回転位相検出用カウンタ39のカウント値を読込み、ターゲット絵柄の地方向端の位置に対応する印刷機の回転位相検出用カウンタ39のカウント値記憶用メモリM68に記憶する。CPU10は、ステップP340の処理が完了した後、ステップP341を実行する。
In step P340, the
ステップP341において、CPU10は、ターゲット絵柄の地方向端の位置に対応する印刷機の回転位相検出用カウンタ39のカウント値よりターゲット絵柄の天方向端の位置に対応する印刷機の回転位相検出用カウンタ39のカウント値を減算し、ターゲット絵柄の天地方向の長さに対応する印刷機の回転位相検出用カウンタ39のカウント値を求め、ターゲット絵柄の天地方向の長さに対応する印刷機の回転位相検出用カウンタのカウント値記憶用メモリM69に記憶する。CPU10は、ステップP341の処理が完了した後、ステップP342を実行する。
In Step P341, the
ステップP342において、CPU10は、ターゲット絵柄の天地方向の基準長さに対応する印刷機の回転位相検出用カウンタのカウント値記憶用メモリM61から、ターゲット絵柄の天地方向の基準長さに対応する印刷機の回転位相検出用カウンタ39のカウント値を読込む。CPU10は、ステップP342の処理が完了した後、ステップP343を実行する。
In Step P342, the
ステップP343において、CPU10は、ターゲット絵柄の天地方向の長さに対応する印刷機の回転位相検出用カウンタ39のカウント値よりターゲット絵柄の天地方向の基準長さに対応する印刷機の回転位相検出用カウンタ39のカウント値を減算し、ターゲット絵柄の天地方向の長さの差(カウンタのカウント値)を演算し、ターゲット絵柄の天地方向の長さの差(カウンタのカウント値)記憶用メモリM70に記憶する。CPU10は、ステップP343の処理が完了した後、ステップP344を実行する。
In Step P343, the
ステップP344において、CPU10は、ターゲット絵柄の天地方向の長さの差(カウンタのカウント値)よりターゲット絵柄の天地方向の長さの差(カウンタのカウント値)の絶対値を演算し、ターゲット絵柄の天地方向の長さの差(カウンタのカウント値)の絶対値記憶用メモリM71に記憶する。CPU10は、ステップP344の処理が完了した後、ステップP345を実行する。
In step P344, the
ステップP345において、CPU10は、ターゲット絵柄の天地方向の長さの差の許容値(カウンタのカウント値)記憶用メモリM72から、ターゲット絵柄の天地方向の長さの差の許容値(カウンタのカウント値)を読込む。CPU10は、ステップP345の処理が完了した後、ステップP346を実行する。
In Step P345, the
ステップP346において、CPU10は、ターゲット絵柄の天地方向の長さの差(カウンタのカウント値)の絶対値がターゲット絵柄の天地方向の長さの差の許容値(カウンタのカウント値)以下であるかどうか判断する。CPU10は、ターゲット絵柄の天地方向の長さの差(カウンタのカウント値)の絶対値がターゲット絵柄の天地方向の長さの差の許容値(カウンタのカウント値)以下である場合、ステップP347を実行する。また、CPU10は、ターゲット絵柄の天地方向の長さの差(カウンタのカウント値)の絶対値がターゲット絵柄の天地方向の長さの差の許容値(カウンタのカウント値)以下でない場合、ステップP337を実行する。
In Step P346, the
ステップP347において、CPU10は、ターゲット絵柄の天方向端の位置に対応する印刷機の回転位相検出用カウンタのカウント値記憶用メモリM67から、ターゲット絵柄の天方向端の位置に対応する印刷機の回転位相検出用カウンタ39のカウント値を読込む。CPU10は、ステップP347の処理が完了した後、ステップP348を実行する。
In Step P347, the
ステップP348において、CPU10は、ターゲット絵柄の天方向端の位置に対応する印刷機の回転位相検出用カウンタ39のカウント値よりターゲット絵柄検出時の印刷機の回転位相検出用カウンタ39のカウント値を減算し、印刷機の回転位相検出用カウンタ39のカウント値差を演算し、印刷機の回転位相検出用カウンタのカウント値差記憶用メモリM73に記憶する。CPU10は、ステップP348の処理が完了した後、ステップP349を実行する。
In step P348, the
ステップP349において、CPU10は、印刷機の回転位相検出用カウンタ39のカウント値差より、印刷機の回転位相検出用カウンタ39のカウント値差の絶対値を演算し、印刷機の回転位相検出用カウンタのカウント値差の絶対値記憶用メモリM74を記憶する。CPU10は、ステップP349の処理が完了した後、ステップP350を実行する。
In step P349, the
ステップP350において、CPU10は、許容値(カウンタのカウント値)記憶用メモリM75から、許容値(カウンタのカウント値)を読込む。CPU10は、ステップP350の処理が完了した後、ステップP351を実行する。
In step P350, the
ステップP351において、CPU10は、印刷機の回転位相検出用カウンタ39のカウント値差の絶対値が許容値(カウンタのカウント値)よりも大きいかどうか判断する。CPU10は、印刷機の回転位相検出用カウンタ39のカウント値差の絶対値が許容値(カウンタのカウント値)よりも大きい場合、ステップP352を実行する。また、CPU10は、印刷機の回転位相検出用カウンタ39のカウント値差の絶対値が許容値(カウンタのカウント値)よりも大きくない場合、ステップP370を実行する。
In Step P351, the
ステップP352において、CPU10は、印刷機の回転位相検出用カウンタのカウント値差−コンペンセータ・ロール位置検出用カウンタのカウント値変換テーブル記憶用メモリM76から、印刷機の回転位相検出用カウンタ39のカウント値差−コンペンセータ・ロール位置検出用カウンタ45のカウント値変換テーブルを読込む。CPU10は、ステップP352の処理が完了した後、ステップP353を実行する。
In step P352, the
ステップP353において、CPU10は、印刷機の回転位相検出用カウンタのカウント値差記憶用メモリM73から、印刷機の回転位相検出用カウンタ39のカウント値差を読込む。CPU10は、ステップP353の処理が完了した後、ステップP354を実行する。
In Step P353, the
ステップP354において、CPU10は、印刷機の回転位相検出用カウンタ39のカウント値差−コンペンセータ・ロール位置検出用カウンタ45のカウント値変換テーブルを用いて、印刷機の回転位相検出用カウンタのカウント値差より、補正すべきコンペンセータ・ロール位置検出用カウンタ45のカウント値を求め、補正すべきコンペンセータ・ロール位置検出用カウンタのカウント値記憶用メモリM77に記憶する。CPU10は、ステップP354の処理が完了した後、ステップP355を実行する。
In Step P354, the
ステップP355において、CPU10は、補正すべきコンペンセータ・ロール位置検出用カウンタ45のカウント値が0であるかどうか判断する。CPU10は、補正すべきコンペンセータ・ロール位置検出用カウンタ45のカウント値が0である場合、ステップP370を実行する。また、CPU10は、補正すべきコンペンセータ・ロール位置検出用カウンタ45のカウント値が0でない場合、ステップP356を実行する。
In Step P355, the
ステップP356において、CPU10は、コンペンセータ・ロール位置検出用カウンタ45より、カウント値を読込み、コンペンセータ・ロール位置検出用カウンタのカウント値記憶用メモリM78に記憶する。CPU10は、ステップP356の処理が完了した後、ステップP357を実行する。
In Step P356, the
ステップP357において、CPU10は、コンペンセータ・ロール位置検出用カウンタ45のカウント値に補正すべきコンペンセータ・ロール位置検出用カウンタ45のカウント値を加算し、目標とするコンペンセータ・ロール位置検出用カウンタ45のカウント値を演算し、目標とするコンペンセータ・ロール位置検出用カウンタ45のカウント値記憶用メモリM79に記憶する。CPU10は、ステップP357の処理が完了した後、ステップP358を実行する。
In Step P357, the
ステップP358において、CPU10は、コンペンセータ・ロール位置検出用カウンタ45より、カウント値を読込み、コンペンセータ・ロール位置検出用カウンタ45のカウント値記憶用メモリM78に記憶する。CPU10は、ステップP358の処理が完了した後、ステップP359を実行する。
In Step P358, the
ステップP359において、CPU10は、目標とするコンペンセータ・ロール位置検出用カウンタ45のカウント値がコンペンセータ・ロール位置検出用カウンタ45のカウント値よりも大きいかどうか判断する。CPU10は、目標とするコンペンセータ・ロール位置検出用カウンタ45のカウント値がコンペンセータ・ロール位置検出用カウンタ45のカウント値よりも大きい場合、ステップP360を実行する。また、CPU10は、目標とするコンペンセータ・ロール位置検出用カウンタ45のカウント値がコンペンセータ・ロール位置検出用カウンタ45のカウント値よりも大きくない場合、ステップP365を実行する。
In Step P359, the
ステップP360において、CPU10は、コンペンセータ・ロール位置調整用モータ・ドライバ43に、正転指令を出力する。CPU10は、ステップP360の処理が完了した後、ステップP361を実行する。
In Step P360, the
ステップP361において、CPU10は、目標とするコンペンセータ・ロール位置検出用カウンタのカウント値記憶用メモリM79から、目標とするコンペンセータ・ロール位置検出用カウンタ45のカウント値を読込む。CPU10は、ステップP361の処理が完了した後、ステップP362を実行する。
In Step P361, the
ステップP362において、CPU10は、コンペンセータ・ロール位置検出用カウンタ45より、カウント値を読込み、コンペンセータ・ロール位置検出用カウンタのカウント値記憶用メモリM78に記憶する。CPU10は、ステップP362の処理が完了した後、ステップP363を実行する。
In Step P362, the
ステップP363において、CPU10は、目標とするコンペンセータ・ロール位置検出用カウンタ45のカウント値がコンペンセータ・ロール位置検出用カウンタ45のカウント値と等しいかどうか判断する。CPU10は、目標とするコンペンセータ・ロール位置検出用カウンタ45のカウント値がコンペンセータ・ロール位置検出用カウンタ45のカウント値と等しい場合、ステップP364を実行する。また、CPU10は、目標とするコンペンセータ・ロール位置検出用カウンタ45のカウント値がコンペンセータ・ロール位置検出用カウンタ45のカウント値と等しくない場合、ステップP361を実行する。
In Step P363, the
ステップP364において、CPU10は、コンペンセータ・ロール位置調整用モータ・ドライバ43への正転指令の出力を停止する。CPU10は、ステップP364の処理が完了した後、ステップP370を実行する。
In Step P364, the
ステップP365において、CPU10は、コンペンセータ・ロール位置調整用モータ・ドライバ43に、逆転指令を出力する。CPU10は、ステップP365の処理が完了した後、ステップP366を実行する。
In Step P365, the
ステップP366において、CPU10は、目標とするコンペンセータ・ロール位置検出用カウンタのカウント値記憶用メモリM79から、目標とするコンペンセータ・ロール位置検出用カウンタ45のカウント値を読込む。CPU10は、ステップP366の処理が完了した後、ステップP367を実行する。
In Step P366, the
ステップP367において、CPU10は、コンペンセータ・ロール位置検出用カウンタ45より、カウント値を読込み、コンペンセータ・ロール位置検出用カウンタのカウント値記憶用メモリM78に記憶する。CPU10は、ステップP367の処理が完了した後、ステップP368を実行する。
In Step P367, the
ステップP368において、CPU10は、目標とするコンペンセータ・ロール位置検出用カウンタ45のカウント値がコンペンセータ・ロール位置検出用カウンタ45のカウント値と等しいかどうか判断する。CPU10は、目標とするコンペンセータ・ロール位置検出用カウンタ45のカウント値がコンペンセータ・ロール位置検出用カウンタ45のカウント値と等しい場合、ステップP369を実行する。また、CPU10は、目標とするコンペンセータ・ロール位置検出用カウンタ45のカウント値がコンペンセータ・ロール位置検出用カウンタ45のカウント値と等しくない場合、ステップP366を実行する。
In Step P368, the
ステップP369において、CPU10は、コンペンセータ・ロール位置調整用モータ・ドライバ43への逆転指令の出力を停止する。CPU10は、ステップP369の処理が完了した後、ステップP370を実行する。
In Step P369, the
以上の動作フローによって、検出器42によって実際に検出されたターゲット絵柄の天方向端に対応する印刷機の回転位相とターゲット絵柄の天方向端に対応する印刷機の基準回転位相の差に応じて、コンペンセータ・ロール61の位置が調整され、断裁胴67が各絵柄の間隔の中央部分でウェブ57を断裁するようになる。
According to the above operation flow, according to the difference between the rotational phase of the printing press corresponding to the top end of the target pattern actually detected by the
ステップP370において、CPU10は、カット・オフ・コントロール装置の制御終了スイッチ20がオペレータによりONにされているかどうか判断する。CPU10は、カット・オフ・コントロール装置の制御終了スイッチ20がオペレータによりONにされている場合、処理を終了する。また、CPU10は、カット・オフ・コントロール装置の制御終了スイッチ20がオペレータによりONにされていない場合、ステップP308を実行する。
In Step P370, the
以上のように、本発明に係る帯状体断裁位置制御装置及び帯状体断裁位置制御方法によれば、PPF等の印刷絵柄のデジタル情報から、カット・オフ・コントロールに最適なターゲット絵柄を検索し、印刷開始前に帯状体断裁位置制御装置へ検索したターゲット絵柄の座標と特徴とをプリセットし、印刷を開始する前にプリセットされたターゲット絵柄の座標へセンサを移動させることができる。 As described above, according to the strip cutting position control device and the strip cutting position control method according to the present invention, the optimal target pattern for cut-off control is searched from the digital information of the printed pattern such as PPF, It is possible to preset the coordinates and features of the searched target picture to the strip cutting position control device before starting printing, and to move the sensor to the preset target picture coordinates before starting printing.
したがって、本発明に係る帯状体断裁位置制御装置及び帯状体断裁位置制御方法によれば、プリセットされたターゲット絵柄の座標位置へセンサを自動で移動させるため、ターゲット絵柄を見失うことなく断裁位置を制御でき、従来必要であったセンサ位置移動の必要がなくなり調整時間を削減することができる。また、センサの移動忘れ、移動位置の正確さなど人為的なミスがなくなり、センサ位置を変更し直すといった無駄時間を削減することができる。 Therefore, according to the strip cutting position control device and strip cutting position control method according to the present invention, the sensor is automatically moved to the preset coordinate position of the target pattern, so that the cutting position is controlled without losing sight of the target pattern. This eliminates the need to move the sensor position, which was necessary in the past, and can reduce the adjustment time. In addition, there is no human error such as forgetting to move the sensor or the accuracy of the moving position, and it is possible to reduce wasted time such as changing the sensor position again.
42 検出器
44 モータ
50 印刷機
51 給紙部
52 印刷部
53 乾燥部
54 ウェブパス部
55 折部
56 スタンド
57 ウェブ
58 ガイドローラ群
59 絵柄
61 コンペンセータ・ロール
63 制御部
64 三角フォーマ
65 ガイドローラ
66 ニップローラ
67 断裁胴
42
Claims (10)
前記印刷手段によって印刷された絵柄を検出する検出手段と、
前記印刷手段で印刷された前記帯状体を、帯状体搬送方向と直行する方向に断裁する断裁手段と、
前記検出手段が前記絵柄を検出した時の前記断裁手段の回転位相を求め、求めた回転位相と予め定められた基準の回転位相を比較し、比較した結果に応じて前記断裁手段による前記帯状体の断裁位置を調整する制御手段と、
を備えた帯状体断裁位置制御装置において、
前記制御手段が、
前記印刷手段で印刷される絵柄の画像データを、各色の画像データに予め定められた各色毎の係数を乗算し、それらの乗算された各色毎の画像データを加算することによって求め、
第1のしきい値と第1のしきい値より大きい第2のしきい値を記憶し、
前記印刷手段で印刷される絵柄の画像データのうち、第1のしきい値より小さい画像データの第1の画素の位置を求めると共に、
前記印刷手段で印刷される絵柄の画像データのうち、第2のしきい値より大きい画像データの第2の画素の位置を求め、
前記第1の画素の位置及び前記第2の画素の位置より、前記印刷手段で印刷される絵柄の画像データ内の基準とすべき絵柄を選択し、
前記基準とすべき絵柄の位置より基準とすべき前記断裁手段の回転位相を求め、
前記基準とすべき前記断裁手段の回転位相を前記予め定められた基準の回転位相とする、
ことを特徴とする帯状体断裁位置制御装置。 Printing means for printing a pattern on the belt;
Detecting means for detecting a picture printed by the printing means;
Cutting means for cutting the strip printed by the printing means in a direction perpendicular to the strip transport direction;
When the detecting means detects the pattern, the rotational phase of the cutting means is obtained, the obtained rotational phase is compared with a predetermined reference rotational phase, and the strip by the cutting means according to the comparison result. Control means for adjusting the cutting position of
In the strip cutting position control device comprising:
The control means is
The image data of the pattern printed by the printing means is obtained by multiplying the image data of each color by a predetermined coefficient for each color, and adding the multiplied image data for each color,
Storing a first threshold and a second threshold greater than the first threshold;
While obtaining the position of the first pixel of the image data smaller than the first threshold among the image data of the pattern printed by the printing means,
Obtaining the position of the second pixel of the image data larger than the second threshold among the image data of the pattern printed by the printing means;
From the position of the first pixel and the position of the second pixel, select a pattern to be a reference in the image data of the pattern printed by the printing unit,
Obtain the rotation phase of the cutting means to be the reference from the position of the pattern to be the reference,
The rotational phase of the cutting means to be the reference is the predetermined reference rotational phase,
A strip-shaped body cutting position control device.
ことを特徴とする請求項1に記載の帯状体断裁位置制御装置。 The control means has a first predetermined value in a first direction parallel to the belt conveyance direction from the position of the second pixel, based on the position of the first pixel and the position of the second pixel. The position of the second pixel in which the positions of the first pixels of the number are continuously arranged are determined as the position of the third pixel.
The strip-shaped body cutting position control device according to claim 1.
ことを特徴とする請求項2に記載の帯状体断裁位置制御装置。 The control means continues from the position of the third pixel by a predetermined second number of the positions of the third pixels in a direction orthogonal to the strip conveyance direction from the position of the third pixels. The position of the third pixel arranged side by side is obtained and set as the position of the fourth pixel
The strip-shaped body cutting position control device according to claim 2.
前記第4の画素の位置のうち、前記第4の画素の位置から帯状体搬送方向と直交する方向に第2の数の範囲内で、帯状体搬送方向に平行な方向の第1の方向に第3の数の範囲内が、前記第2の画素の位置である前記第4の画素の位置を求め、第5の画素の位置とする、
ことを特徴とする請求項3に記載の帯状体断裁位置制御装置。 The control means counts the number of positions of the second pixels arranged continuously from the position of the fourth pixels to the upstream side in the belt conveyance direction among the positions of the fourth pixels, And the number of
Among the positions of the fourth pixels, within a second number range from the position of the fourth pixels in a direction orthogonal to the band transport direction, in a first direction parallel to the strip transport direction Within the third number range, the position of the fourth pixel, which is the position of the second pixel, is obtained and is set as the position of the fifth pixel.
The strip-shaped body cutting position control device according to claim 3.
ことを特徴とする請求項4に記載の帯状体断裁位置制御装置。 The control means has a second number of ranges of the fifth pixel in a direction perpendicular to the band transport direction from the position of the fifth pixel and in a direction parallel to the band transport direction. A range in which a fourth number in a direction opposite to the first direction is the position of the first pixel is obtained, and is set as a picture to be used as the reference;
The strip-shaped body cutting position control device according to claim 4.
前記印刷手段によって印刷された絵柄を検出する検出手段と、
前記印刷手段で印刷された前記帯状体を、帯状体搬送方向と直行する方向に断裁する断裁手段と、
前記検出手段が前記絵柄を検出した時の前記断裁手段の回転位相を求め、求めた回転位相と予め定められた基準の回転位相を比較し、比較した結果に応じて前記断裁手段による前記帯状体の断裁位置を調整する制御手段と
を備えた帯状体断裁位置制御装置における帯状体断裁位置制御方法において、
前記印刷手段で印刷される絵柄の画像データを、各色の画像データに予め定められた各色毎の係数を乗算し、それらの乗算された各色毎の画像データを加算することによって求め、
第1のしきい値と第1のしきい値より大きい第2のしきい値を記憶し、
前記印刷手段で印刷される絵柄の画像データのうち、第1のしきい値より小さい画像データの第1の画素の位置を求めると共に、
前記印刷手段で印刷される絵柄の画像データのうち、第2のしきい値より大きい画像データの第2の画素の位置を求め、
前記第1の画素の位置及び前記第2の画素の位置より、前記印刷手段で印刷される絵柄の画像データ内の基準とすべき絵柄を選択し、
前記基準とすべき絵柄の位置より基準とすべき前記断裁手段の回転位相を求め、
前記基準とすべき前記断裁手段の回転位相を前記予め定められた基準の回転位相とする、
ことを特徴とする帯状体断裁位置制御方法。 Printing means for printing a pattern on the belt;
Detecting means for detecting a picture printed by the printing means;
Cutting means for cutting the strip printed by the printing means in a direction perpendicular to the strip transport direction;
When the detecting means detects the pattern, the rotational phase of the cutting means is obtained, the obtained rotational phase is compared with a predetermined reference rotational phase, and the strip by the cutting means according to the comparison result. In the strip cutting position control method in the strip cutting position control device comprising a control means for adjusting the cutting position of
The image data of the pattern printed by the printing means is obtained by multiplying the image data of each color by a predetermined coefficient for each color and adding the multiplied image data for each color,
Storing a first threshold and a second threshold greater than the first threshold;
While obtaining the position of the first pixel of the image data smaller than the first threshold among the image data of the pattern printed by the printing means,
Obtaining the position of the second pixel of the image data larger than the second threshold among the image data of the pattern printed by the printing means;
From the position of the first pixel and the position of the second pixel, select a pattern to be a reference in the image data of the pattern printed by the printing unit,
Obtain the rotation phase of the cutting means to be the reference from the position of the pattern to be the reference,
The rotational phase of the cutting means to be the reference is the predetermined reference rotational phase,
A strip cutting position control method characterized by the above.
ことを特徴とする請求項6に記載の帯状体断裁位置制御方法。 From the position of the first pixel and the position of the second pixel, a first number of the first number determined in advance in a first direction parallel to the strip transporting direction from the position of the second pixel. The position of the second pixel in which the positions of the one pixel are continuously arranged is obtained and set as the position of the third pixel.
The strip-shaped body cutting position control method according to claim 6.
ことを特徴とする請求項7に記載の帯状体断裁位置制御方法。 A predetermined number of third pixel positions are successively arranged from the position of the third pixel in a direction orthogonal to the strip conveyance direction from the position of the third pixel. The position of the third pixel is obtained and set as the position of the fourth pixel.
The strip-shaped body cutting position control method according to claim 7.
前記第4の画素の位置のうち、前記第4の画素の位置から帯状体搬送方向と直交する方向に第2の数の範囲内で、帯状体搬送方向に平行な方向の第1の方向に第3の数の範囲内が、前記第2の画素の位置である前記第4の画素の位置を求め、第5の画素の位置とする、
ことを特徴とする請求項8に記載の帯状体断裁位置制御方法。 Among the positions of the fourth pixels, the number of the positions of the second pixels that are continuously arranged from the position of the fourth pixels to the upstream side in the belt conveyance direction is counted, and the third number is obtained.
Among the positions of the fourth pixels, within a second number range from the position of the fourth pixels in a direction orthogonal to the band transport direction, in a first direction parallel to the strip transport direction Within the third number range, the position of the fourth pixel, which is the position of the second pixel, is obtained and is set as the position of the fifth pixel.
The strip-shaped body cutting position control method according to claim 8.
ことを特徴とする請求項9に記載の帯状体断裁位置制御方法。 A first direction in a direction parallel to the strip transport direction within a second number of positions of the fifth pixel in a direction orthogonal to the strip transport direction from the position of the fifth pixel; A range in which the fourth number in the opposite direction is the position of the first pixel is obtained and set as the pattern to be used as the reference;
The strip-shaped body cutting position control method according to claim 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013164275A JP5726246B2 (en) | 2007-09-19 | 2013-08-07 | Strip-shaped body cutting position control device and strip-shaped body cutting position control method |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007241990 | 2007-09-19 | ||
JP2007241990 | 2007-09-19 | ||
JP2013164275A JP5726246B2 (en) | 2007-09-19 | 2013-08-07 | Strip-shaped body cutting position control device and strip-shaped body cutting position control method |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008239599A Division JP5399031B2 (en) | 2007-09-19 | 2008-09-18 | Strip-shaped body cutting position control device and strip-shaped body cutting position control method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014012406A true JP2014012406A (en) | 2014-01-23 |
JP5726246B2 JP5726246B2 (en) | 2015-05-27 |
Family
ID=40663105
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008239599A Active JP5399031B2 (en) | 2007-09-19 | 2008-09-18 | Strip-shaped body cutting position control device and strip-shaped body cutting position control method |
JP2013164275A Expired - Fee Related JP5726246B2 (en) | 2007-09-19 | 2013-08-07 | Strip-shaped body cutting position control device and strip-shaped body cutting position control method |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008239599A Active JP5399031B2 (en) | 2007-09-19 | 2008-09-18 | Strip-shaped body cutting position control device and strip-shaped body cutting position control method |
Country Status (1)
Country | Link |
---|---|
JP (2) | JP5399031B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110587704A (en) * | 2019-08-29 | 2019-12-20 | 瀚德(中国)汽车密封系统有限公司 | Method, equipment and system for determining cutting-off position |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01261156A (en) * | 1988-02-19 | 1989-10-18 | Asea Brown Boveri Ag | Method of measuring position of measurement for printer |
JPH0516336A (en) * | 1991-07-11 | 1993-01-26 | Dainippon Printing Co Ltd | Device and method for controlling cutting position |
JPH06109653A (en) * | 1992-09-25 | 1994-04-22 | Dainippon Printing Co Ltd | Image inspecting apparatus |
JP2002292831A (en) * | 2001-03-30 | 2002-10-09 | Dainippon Printing Co Ltd | Registered image extracting device, cutting position control device and cutting position control system |
-
2008
- 2008-09-18 JP JP2008239599A patent/JP5399031B2/en active Active
-
2013
- 2013-08-07 JP JP2013164275A patent/JP5726246B2/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01261156A (en) * | 1988-02-19 | 1989-10-18 | Asea Brown Boveri Ag | Method of measuring position of measurement for printer |
JPH0516336A (en) * | 1991-07-11 | 1993-01-26 | Dainippon Printing Co Ltd | Device and method for controlling cutting position |
JPH06109653A (en) * | 1992-09-25 | 1994-04-22 | Dainippon Printing Co Ltd | Image inspecting apparatus |
JP2002292831A (en) * | 2001-03-30 | 2002-10-09 | Dainippon Printing Co Ltd | Registered image extracting device, cutting position control device and cutting position control system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110587704A (en) * | 2019-08-29 | 2019-12-20 | 瀚德(中国)汽车密封系统有限公司 | Method, equipment and system for determining cutting-off position |
Also Published As
Publication number | Publication date |
---|---|
JP2009090656A (en) | 2009-04-30 |
JP5399031B2 (en) | 2014-01-29 |
JP5726246B2 (en) | 2015-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020145718A1 (en) | Display substrate | |
WO2021137505A1 (en) | Display apparatus | |
WO2016024730A1 (en) | Refrigerator and controlling method thereof | |
WO2010082800A2 (en) | Portable display device | |
WO2015183050A1 (en) | Optical tracking system, and method for calculating posture and location of marker part in optical tracking system | |
JP2009018565A (en) | Liquid transfer member position adjusting method and apparatus of rotary stencil-printing plate liquid-coating machine | |
CN101229708A (en) | Ink transfer member position adjusting method and apparatus of rotary stencil printing press | |
JP5399032B2 (en) | Strip-shaped body cutting position control device and strip-shaped body cutting position control method | |
WO2021215589A1 (en) | Ocr-based document analysis system and method | |
JP5726246B2 (en) | Strip-shaped body cutting position control device and strip-shaped body cutting position control method | |
CN101259776A (en) | Contact-pressure adjusting method and contact-pressure adjusting system for liquid application machine | |
EP2014466A2 (en) | Liquid transfer member position adjusting method and apparatus of rotary stencil printing plate liquid coating machine | |
EP2002977A2 (en) | Liquid transfer member pressing force adjusting method and apparatus of rotary stencil printing plate liquid coating machine | |
JP5394646B2 (en) | Method and apparatus for adjusting pressing force of liquid transfer member of rotary stencil liquid coating machine | |
JP2009018563A (en) | Method and apparatus for adjusting pressing force of liquid transfer member of rotary stencil printing plate liquid coating machine | |
JP5457341B2 (en) | Color adjustment method for printed matter | |
WO2022265272A1 (en) | Method for rewarding player of gaming device having wheel assembly interface | |
WO2022149739A1 (en) | Electronic device including hinge structure | |
US6157684A (en) | One bit matched filter with low complexity and high speed | |
EP2002978B2 (en) | Liquid transfer member pressing force adjusting method and apparatus of rotary stencil printing plate liquid coating machine | |
JP5416818B2 (en) | Printing stop method and apparatus for web-fed rotary printing press | |
WO2022097854A1 (en) | Block type vehicle body assembly structure | |
JP2009023140A (en) | Method and device for stopping printing of web rotary press | |
CN101648457B (en) | Method and apparatus for driving a printing press | |
WO2024147515A1 (en) | Interface device integrally provided with cover |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140701 |
|
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: 20150310 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150331 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5726246 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |