JPH06290260A - Mat input device - Google Patents

Mat input device

Info

Publication number
JPH06290260A
JPH06290260A JP5072670A JP7267093A JPH06290260A JP H06290260 A JPH06290260 A JP H06290260A JP 5072670 A JP5072670 A JP 5072670A JP 7267093 A JP7267093 A JP 7267093A JP H06290260 A JPH06290260 A JP H06290260A
Authority
JP
Japan
Prior art keywords
mount
image
frequency distribution
inclination
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5072670A
Other languages
Japanese (ja)
Inventor
Tomohiro Sawada
朋宏 澤田
Takashi Suzuki
高志 鈴木
Tomohiko Matsuda
智彦 松田
Mayumi Ishimori
真由美 石森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toppan Inc
Original Assignee
Toppan Printing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toppan Printing Co Ltd filed Critical Toppan Printing Co Ltd
Priority to JP5072670A priority Critical patent/JPH06290260A/en
Publication of JPH06290260A publication Critical patent/JPH06290260A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide the device which automatically corrects the inclination of a layout sheet to a reference axis on the basis of position information on the reference line on the map only by inputting the layout sheet where a plate making frame, etc., are drawn from an image input means. CONSTITUTION:On the basis of plural pieces of position information that a position information extracting means 12 finds as to information regarding the reference information in a layout sheet image inputted from the image input means 11, a frequency distribution arithmetic means 14 finds inclination data on the reference line and also calculates the frequency distribution of the inclination data. Then a frequency distribution correcting means 15 deletes unnecessary inclination data from the frequency distribution and an image rotating means 17 rotates image information on the layout sheet according to the inclination of the reference lie found on the basis of the remaining frequency distribution.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上に利用分野】本発明は、例えば製版工程におい
て用いられる台紙入力装置、詳しくは雑誌、ポスタ等の
印刷物での写真位置、文字位置、図形位置を示す図形等
が描かれた台紙を読み込む台紙入力装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a mount input device used in, for example, a plate making process, more specifically, a mount on which printed figures such as magazines, posters and the like, such as a photograph position, a character position and a graphic indicating a graphic position are read. Regarding a mount input device.

【0002】[0002]

【従来の技術】従来の台紙入力装置は、例えば図3の台
紙30に描かれている製版枠31やレイアウト枠35等
の線画を読み込むフラットベッド型のイメージスキャナ
と、該読み込まれた線画に対して二値化等の処理を行な
うコンピュータ本体と、読み込まれた線画を表示するデ
ィスプレイ等から構成されていた。そしてスキャナーの
オペレータは、前記読み込まれた線画と別に読み込まれ
た写真等の画像データを、ディスプレイ上に呼出し、レ
イアウト枠(トリミング枠)35に対するトリミング等
を行っていた。
2. Description of the Related Art A conventional mount input device is a flat bed type image scanner for reading line drawings such as a plate making frame 31 and a layout frame 35 drawn on a mount 30 of FIG. It is composed of a computer main body that performs processing such as binarization and the like, a display that displays the read line drawing, and the like. Then, the operator of the scanner calls the image data such as a photograph read separately from the read line drawing on the display, and trims the layout frame (trimming frame) 35.

【0003】このような従来の台紙入力装置において、
スキャナオペレータが台紙に描かれている線画をイメー
ジスキャナに読み込ませる際に、台紙が基準軸に対して
傾いた状態、即ちイメージスキャナの読み取り走査方向
に対して傾いた状態で台紙を載置してしまう場合があ
る。この傾いた状態のまま読み込まれた台紙画像上のレ
イアウト枠に対して写真等の他の画像データの位置決め
を行なうと、該画像データが傾いた状態で割付けられて
しまう等の不都合が生じていた。
In such a conventional mount input device,
When the scanner operator reads the line drawing drawn on the mount into the image scanner, the mount is placed with the mount tilted with respect to the reference axis, that is, with respect to the reading scanning direction of the image scanner. It may end up. If other image data such as a photograph is positioned with respect to the layout frame on the mount image that is read in the tilted state, there is a problem that the image data is allocated in the tilted state. .

【0004】従来、この種の台紙画像の傾きは、読み込
まれた線画をディスプレイ上に表示し、スキャナオペレ
ータがディスプレイを目視しながら、線画に対しての回
転指示を与えることにより、修正が行われていた。
Conventionally, the inclination of the mount image of this type is corrected by displaying the read line image on the display and giving a rotation instruction to the line image while the scanner operator visually checks the display. Was there.

【0005】一方台紙画像の傾きに対して、特開平3−
105691号公報等を応用して、画像入力手段が読み
込む台紙30の輪郭36もしくは製版枠31を検出する
ことにより、傾き角度の算出及び修正を行なうことも可
能であった。
On the other hand, with respect to the inclination of the mount image, Japanese Patent Laid-Open No.
It was also possible to calculate and correct the tilt angle by detecting the contour 36 of the mount 30 or the plate making frame 31 read by the image inputting means by applying the publication No. 105691.

【0006】[0006]

【発明が解決しようとする課題】しかし前者の方法で
は、目視により一度に傾き角度の検出を行なうことは困
難であり、修正を行うためには、数回の回転指示が必要
であった。そしてこの修正は、人の感覚により行われる
ので、常に正確に傾き角度の修正が行われるわけではな
く、しかも手間と時間がかかるという欠点があった。
However, with the former method, it is difficult to detect the tilt angle at once by visual observation, and several rotation instructions are required to make corrections. Since this correction is performed by a human sense, the inclination angle is not always corrected accurately, and there is a drawback that it takes time and labor.

【0007】また後者の技術において、画像入力手段が
輪郭36の傾き角度を検出して修正を行なう場合、輪郭
36の傾き角度を正確に修正することは可能であるが、
画像データの位置決め等の基準は製版枠であり、輪郭3
6と製版枠31の傾き角度が一致しない場合は、製版枠
31の傾きを修正したことにはならず、基準軸34に対
して傾いたままの場合があった。一方、後者の技術で、
輪郭36ではなく、製版枠31を検出することも考えら
れるが、製版枠31の外に描かれている図形(例えば
黄、赤、藍及び墨の4色に分解された版の位置合わせに
用いられるトンボあるいはレジスターマークと呼ばれる
十字形の基準図形32や、4色に分解された版のそれぞ
れが何色のものであるかを示す為の色玉33等)をスキ
ャナが読み込む可能性があった。スキャナがこれらの図
形を製版枠31の情報として読み込んでしまうと、誤っ
た傾き角度を検出してしまうことになる。
In the latter technique, when the image input means detects the inclination angle of the contour 36 and corrects it, it is possible to correct the inclination angle of the contour 36 accurately.
The standard for positioning the image data is the plate making frame, and the contour 3
When the inclination angles of 6 and the plate making frame 31 do not match, the inclination of the plate making frame 31 is not corrected, and there is a case where the plate making frame 31 remains tilted with respect to the reference axis 34. On the other hand, with the latter technology,
It is conceivable to detect the plate making frame 31 instead of the contour 36, but it is used to align the figure drawn on the outside of the plate making frame 31 (for example, the positions of the plates separated into four colors of yellow, red, indigo, and black). There is a possibility that the scanner may read a cross-shaped reference figure 32 called a register mark or a register mark, and a colored ball 33 for indicating what color each of the four color-separated plates are. . If the scanner reads these figures as the information of the plate making frame 31, it will detect an incorrect tilt angle.

【0008】[0008]

【課題を解決するための手段】上記のような課題を解決
するために、本発明に係わる台紙入力装置にあっては、
台紙に描かれた画像を取り込む画像入力手段11と、前
記取り込まれた台紙の画像情報から台紙に描かれた基準
線(例えば製版枠31を構成する各辺)について、複数
の位置情報を求める位置情報抽出手段12と、前記複数
の位置情報間の所定方向(基準軸方向)の位置差を求め
る位置差演算手段13と、前記位置差に基いて、前記基
準線の傾きデータを求め、該傾きデータの頻度分布を演
算する頻度分布演算手段14と、前記傾きデータの頻度
分布から不要な傾きデータを削除する頻度分布修正手段
15と、修正後の頻度分布に基づき、最終的な前記基準
線の傾きデータを求める傾き演算手段16と、前記傾き
演算手段で求められた傾きデータに基づいて、前記台紙
の画像情報を回転させる画像回転手段17とを具備する
ことを特徴とする台紙入力装置である。
In order to solve the above problems, in the mount input device according to the present invention,
An image input unit 11 that captures an image drawn on a mount, and a position for which a plurality of position information is obtained with respect to a reference line (for example, each side that constitutes the plate making frame 31) drawn on the mount from the image information of the imported mount The information extracting means 12, the position difference calculating means 13 for obtaining the position difference in the predetermined direction (reference axis direction) between the plurality of position information, and the inclination data of the reference line based on the position difference, and the inclination A frequency distribution calculating unit 14 for calculating a frequency distribution of data, a frequency distribution correcting unit 15 for deleting unnecessary slope data from the frequency distribution of the slope data, and a final reference line based on the corrected frequency distribution. It is characterized by comprising tilt calculation means 16 for calculating tilt data, and image rotation means 17 for rotating the image information of the mount based on the tilt data calculated by the tilt calculation means. A paper input device.

【0009】[0009]

【作用】従って本発明に係わる台紙入力装置において
は、画像入力手段11から読み込まれた台紙の画像情報
の中から基準線の複数の位置情報を位置情報抽出手段1
2が求め、該位置情報から位置差演算手段13が、X軸
方向の距離の差を求め、頻度分布演算手段14はこのX
軸方向の距離の差に基いて前記基準線の傾きデータを求
め、該傾きデータの頻度分布を演算し、頻度分布修正手
段15はこの傾きデータの頻度分布から不要な傾きデー
タの削除を行い、傾き演算手段16は該削除後の頻度分
布に基づき最終的な前記基準線の傾きを求め、この傾き
に基いて画像回転手段17は前記台紙の画像情報を回転
させる。
Therefore, in the mount input device according to the present invention, a plurality of position information of the reference line is extracted from the position information extraction unit 1 from the image information of the mount read from the image input unit 11.
2, the position difference calculating means 13 calculates the distance difference in the X-axis direction from the position information, and the frequency distribution calculating means 14 calculates the X difference.
The inclination data of the reference line is obtained based on the difference in the axial distance, the frequency distribution of the inclination data is calculated, and the frequency distribution correction means 15 deletes unnecessary inclination data from the frequency distribution of the inclination data. The inclination calculating means 16 obtains the final inclination of the reference line based on the frequency distribution after the deletion, and the image rotating means 17 rotates the image information of the mount based on this inclination.

【0010】[0010]

【実施例】以下に本発明の実施例について図面を用いて
説明する。図2は本発明の一実施例に係わる台紙入力装
置の外観図である。この台紙入力装置は、フラットベッ
ド型のイメージスキャナ21、コンピュータ本体22、
ディスプレイ23、磁気ディスクユニット24、光磁気
ディスクユニット25及びマウス26から構成されてい
る。イメージスキャナ21は、台紙30に描かれた製版
枠31やレイアウト枠35等を読み込むものである。こ
のイメージスキャナ21は透明な読み取り台211と遮
光扉212を備えている。この読み取り台211の所定
の位置には、台紙30がその画像面を下にして載置され
る構成となっている。遮光扉212は、読み取り台21
1上の台紙30を固定するとともに、イメージスキャナ
21の外部からの光を遮断する機能を有している。この
ような構成よりなるイメージスキャナ21は、基準軸3
4のX軸方向に主走査を、Y軸方向に副走査を行いなが
ら、読み取り台211上の台紙を、複数の画素ごとの階
調データで表した階調画像データとして取り込むもので
ある。コンピュータ本体22は、イメージスキャナ21
から取り込まれた階調画像データの二値化を行い、この
二値画像データをもとに画像データの傾きの検出や回転
等の処理を行なうものである。ディスプレイ23は、台
紙30に描かれた線画及び写真等の画像を表示するもの
である。磁気ディスクユニット24は、各種の処理のた
めのプログラムデータ等が書き込まれるものであり、光
磁気ディスクユニット25は、画像データ等が書き込ま
れるものである。マウス26は、台紙30の入力指示及
び写真の割付指示等に用いられるものである。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 2 is an external view of a mount input device according to an embodiment of the present invention. This mount input device includes a flatbed image scanner 21, a computer main body 22,
It is composed of a display 23, a magnetic disk unit 24, a magneto-optical disk unit 25 and a mouse 26. The image scanner 21 reads the plate making frame 31, the layout frame 35, and the like drawn on the mount 30. The image scanner 21 includes a transparent reading table 211 and a light shielding door 212. The mount 30 is placed at a predetermined position on the reading table 211 with its image side facing down. The light-blocking door 212 is the reading table 21.
It has a function of fixing the backing sheet 30 on 1 and blocking light from the outside of the image scanner 21. The image scanner 21 having the above-mentioned configuration is provided with the reference axis 3
4, while the main scanning is performed in the X-axis direction and the sub-scanning is performed in the Y-axis direction, the mount on the reading table 211 is captured as gradation image data represented by gradation data for each of a plurality of pixels. The computer main body 22 is an image scanner 21.
The gradation image data captured from the image data is binarized, and processing such as inclination detection and rotation of the image data is performed based on the binary image data. The display 23 displays images such as line drawings and photographs drawn on the mount 30. The magnetic disk unit 24 is for writing program data and the like for various processes, and the magneto-optical disk unit 25 is for writing image data and the like. The mouse 26 is used for inputting instructions on the mount 30 and allocating photographs.

【0011】次に、以上の如く構成した台紙入力装置の
作用について、図5に示すフローチャート、図3、図4
及び図6を用いて説明する。先ず、スキャナのオペレー
タは、イメージスキャナ21の読み取り台211に台紙
30を載置する(SP1)。この時台紙30の製版枠3
1は図3に示されるように、基準軸34に対して角度θ
だけ傾いて載置されたとする。イメージスキャナ21
は、X軸方向に主走査を行い、台紙30に描かれた画像
を、例えば8bitの階調画像データとして読み込み
(SP2)、コンピュータ本体22へと入力を行なう。
Next, the operation of the mount input device configured as described above will be described with reference to the flow chart shown in FIG. 5, FIG. 3 and FIG.
And FIG. 6 will be described. First, the scanner operator places the mount 30 on the reading base 211 of the image scanner 21 (SP1). At this time, the plate making frame 3 of the mount 30
1 is an angle θ with respect to the reference axis 34, as shown in FIG.
It is assumed that it is placed with a tilt. Image scanner 21
Performs main scanning in the X-axis direction, reads an image drawn on the mount 30 as, for example, 8-bit gradation image data (SP2), and inputs it to the computer main body 22.

【0012】コンピュータ本体22は、入力された階調
画像データを二値化するための、所定のしきい値を決定
する(SP3)。ここでしきい値の決定には、例えば判
別分析法、モード法、P−タイル法及び微分ヒストグラ
ム法等が用いられる。そしてSP3により決定されたし
きい値に従い、全ての階調画像データの二値化を行い
(SP4)、その結果は例えば図4の二値画像データ4
1’及び42’のようになる 続いてコンピュータ本体22は、SP4において得られ
た二値画像データの中から、例えば50ライン毎のよう
に一定ライン間隔(以下「スキャン間隔」という)の二
値画像データについてスタートポイント及びエンドポイ
ントを決定する(SP5)。スタートポイント及びエン
ドポイントとは、SP2の主走査の各ラインの読み込み
において、最初に線画として認識された点及び最後に線
画として認識された点である。例えば二値画像データ4
1において、スタートポイントは411及び412であ
り、エンドポイントは411’及び412’である。そ
してコンピュータ本体22は、辺45上の隣り合う2つ
のスタートポイント間のX軸方向の距離の差を前記2値
画像データより算出する(SP6)。例えばスタートポ
イント411とスタートポイント412のX軸方向の距
離の差はδである。
The computer main body 22 determines a predetermined threshold value for binarizing the input gradation image data (SP3). Here, for example, a discriminant analysis method, a mode method, a P-tile method, a differential histogram method, or the like is used to determine the threshold value. Then, all the gradation image data are binarized according to the threshold value determined by SP3 (SP4), and the result is, for example, the binary image data 4 of FIG.
1'and 42 '. Subsequently, the computer main body 22 selects a binary value of a constant line interval (hereinafter referred to as "scan interval") from the binary image data obtained in SP4, for example, every 50 lines. A start point and an end point are determined for the image data (SP5). The start point and the end point are a point first recognized as a line drawing and a point finally recognized as a line drawing in reading each line of the main scan of SP2. For example, binary image data 4
In 1, the start points are 411 and 412 and the end points are 411 'and 412'. Then, the computer main body 22 calculates the difference in the X-axis direction distance between two adjacent start points on the side 45 from the binary image data (SP6). For example, the difference in distance between the start point 411 and the start point 412 in the X-axis direction is δ.

【0013】次に、コンピュータ22は、SP6で求め
られた全てのX軸方向の距離の差に基いて、頻度分布図
を例えば図5のように作成し(SP7)、該頻度分布図
から頻度の少ないデータ(例えば511及び513)
や、予め設定された範囲に含まれないデータ(例えば±
45度以上の傾きを表すデータ)を削除し、残りのデー
タ(例えば512)の平均をとり(SP8)、この平均
の値と、SP2における「スキャン間隔」に基づいて、
修正する傾き角度θの算出を行ない、該傾き角度θの符
号により、台紙30の傾き方向を求める(SP9)。そ
してコンピュータ22は、SP9によって得られた傾き
角度θ及び傾き方向に基づいて、二値画像データの回転
を行なう(SP10)。該回転は、例えばアフィン変換
を用いて行なう。台紙30の画像上の座標を(x,
y)、該座標を回転した後の座標を(X,Y)とおき、
原点を軸として座標(x,y)を角度(−θ)だけ回転
させるとする。アフィン回転によれば、回転後の座標
は、「X=xcos(−θ)−ysin(−θ),Y=
xsin(−θ)+ycos(−θ)」となる。このよ
うにして、台紙30の画像上のすべての座標について回
転を行なうことにより、台紙30の画像は(−θ)だけ
回転する。このように、二値画像データの傾きの修正を
行なうことにより、台紙30の傾きを修正することがで
きる。
Next, the computer 22 creates a frequency distribution map as shown in, for example, FIG. 5 based on all the distance differences in the X-axis direction obtained in SP6 (SP7), and the frequency is calculated from the frequency distribution map. Low data (eg 511 and 513)
Or data that is not included in the preset range (for example ±
(Data representing a slope of 45 degrees or more) is deleted, and the average of the remaining data (for example, 512) is calculated (SP8). Based on the average value and the "scan interval" in SP2,
The tilt angle θ to be corrected is calculated, and the tilt direction of the mount 30 is obtained from the sign of the tilt angle θ (SP9). Then, the computer 22 rotates the binary image data based on the tilt angle θ and the tilt direction obtained in SP9 (SP10). The rotation is performed using, for example, affine transformation. The coordinates on the image of the mount 30 are (x,
y), the coordinates after rotating the coordinates are set as (X, Y),
It is assumed that the coordinates (x, y) are rotated by an angle (−θ) around the origin. According to the affine rotation, the coordinate after the rotation is “X = xcos (−θ) −ysin (−θ), Y =
xsin (−θ) + ycos (−θ) ”. In this way, by rotating all the coordinates on the image of the mount 30, the image of the mount 30 is rotated by (−θ). In this way, the inclination of the mount 30 can be corrected by correcting the inclination of the binary image data.

【0014】さらにコンピュータ本体22は、マウス2
6を用いてのオペレータの指示に基いて、修正後の二値
画像データに、光磁気ディスク25に入力されている写
真等の画像データ重ねて、ディスプレイ23に表示する
(SP11)とともに、磁気ディスク24へと書き込み
を行なう(SP12)。
Further, the computer main body 22 is a mouse 2
In accordance with the operator's instruction using 6, the image data such as a photograph input to the magneto-optical disk 25 is superimposed on the corrected binary image data and displayed on the display 23 (SP11), and the magnetic disk is also displayed. Writing is performed to 24 (SP12).

【0015】上述したように、本実施例の台紙入力装置
では、取り込まれた画像情報の傾きデータの中から、不
要なデータを省き、残りの画像データに基づいて台紙3
0の傾き角度θの検出を行なうので、読み取りライン4
3のように、色玉33をエンドポイントとして読み込ん
でしまった場合や、読み取り台211上のゴミを画像デ
ータとして読み込んでしまった場合、もしくは読み取り
ライン42と読み取りライン44のエンドポイントから
傾きデータを求めてしまった場合でも、正確に画像デー
タの傾きの修正を行なうことができる。
As described above, in the mount input device of the present embodiment, unnecessary data is omitted from the tilt data of the captured image information, and the mount 3 is based on the remaining image data.
Since the inclination angle θ of 0 is detected, the reading line 4
3, when the colored ball 33 is read as an end point, dust on the reading table 211 is read as image data, or inclination data is obtained from the end points of the reading line 42 and the reading line 44. Even if it is obtained, the inclination of the image data can be corrected accurately.

【0016】尚、本発明は上述した実施例に限定される
ものではない。例えば、イメージスキャナ21はフラッ
トベッド型スキャナに限定されず、ドラム型スキャナや
ビデオカメラ等を用いても差し支えない。また、上述し
た方法においては、スタートポイントに関するデータ、
つまり製版枠31の辺45についてのみ、ヒストグラム
の作成及び傾き角度の算出を行っているが、SP4にお
いて読み込まれた二値画像データに基いて、製版枠31
を構成する辺45以外の辺(辺46、辺47及び辺4
8)についてもX軸方向の距離の差を求めて、その結果
に基いて傾きθを算出することも可能である。ここで、
辺47及び辺48上における2点のX軸方向の距離の差
は、SP5において決定されたエンドポイントから算出
される。もしくは、SP2において、イメージスキャナ
21が読み込む線は、製版枠31を構成する辺にはこだ
わらず、任意の直線でもよい。そして、前記各辺毎に作
成された計4つのヒストグラムの中から最もばらつきの
少ないものをコンピュータ22が選出し、そのヒストグ
ラムに基づいて修正を行なう傾き角度θを算出すること
ができる。もしくは、前記4個のヒストグラムそれぞれ
に基づいて傾きを算出したり、製版枠31以外の情報、
例えば色玉33等をスタートポイント及びエンドポイン
トとして多数含む可能性のある辺47に関するヒストグ
ラムをコンピュータ22が削除し、残りのヒストグラム
のそれぞれに基づいて傾きを算出し、その平均をとる等
により、製版枠31の傾き角度θをより正確に求めるこ
とができる。
The present invention is not limited to the above embodiment. For example, the image scanner 21 is not limited to the flatbed type scanner, and a drum type scanner, a video camera or the like may be used. In addition, in the method described above, the data regarding the start point,
That is, although the histogram is created and the tilt angle is calculated only for the side 45 of the plate making frame 31, the plate making frame 31 is based on the binary image data read in SP4.
Of the sides other than the side 45 (side 46, side 47 and side 4
Also for 8), it is possible to obtain the difference in the distance in the X-axis direction and calculate the inclination θ based on the result. here,
The difference in distance between the two points on the side 47 and the side 48 in the X-axis direction is calculated from the end point determined in SP5. Alternatively, in SP2, the line read by the image scanner 21 may be an arbitrary straight line instead of sticking to the sides forming the plate making frame 31. Then, the computer 22 can select the one with the least variation from the total of four histograms created for each side, and the tilt angle θ for correction can be calculated based on the histogram. Alternatively, the inclination is calculated based on each of the four histograms, information other than the plate making frame 31,
For example, the computer 22 deletes the histogram relating to the side 47 that may include a large number of colored balls 33 and the like as the start point and the end point, calculates the slope based on each of the remaining histograms, and takes the average to obtain the plate making. The tilt angle θ of the frame 31 can be obtained more accurately.

【0017】そして、画像の回転を行なう方法はアフィ
ン変換に限定されることなく、他の方法により回転を行
なうことも可能である。また、SP6において算出され
るX軸方向の距離の差は、一定の「スキャン間隔」毎
(例えば4スキャン間隔毎)に抽出した2つのスタート
ポイントから算出してもよい。もしくは、一定の「スキ
ャン間隔」にこだわらず、様々な「スキャン間隔」につ
いて、X軸方向の距離の差を算出し、それぞれの距離の
差に基いて求められた製版枠31の傾き角度θに基い
て、前記ヒストグラムを作成してもよい。また、上記実
施例の距離の差はいずれもスタートポイントもしくはエ
ンドポイントのX軸方向の距離の差を使用しているが、
SP4において読み込まれた二値画像データのY軸方向
の距離の差を使用して、前記ヒストグラムを作成しても
よい。
The method of rotating the image is not limited to the affine transformation, and the rotation can be performed by another method. Further, the difference in distance in the X-axis direction calculated in SP6 may be calculated from two start points extracted at fixed "scan intervals" (for example, every 4 scan intervals). Alternatively, instead of sticking to a fixed “scan interval”, a difference in distance in the X-axis direction is calculated for various “scan intervals”, and the tilt angle θ of the plate making frame 31 is calculated based on the difference in each distance. Based on this, the histogram may be created. In addition, the difference in the distances in the above embodiments uses the difference in the X-axis direction distance between the start point and the end point.
The histogram may be created using the difference in the Y-axis direction distance of the binary image data read in SP4.

【0018】[0018]

【発明の効果】本発明は以上のように、台紙30に描か
れた基準線上の2点間の所定方向の距離の差を複数算出
し、その結果に基づいて作成された傾きデータのヒスト
グラムを使用して、明らかに台紙30の基準線上の点か
ら求められた距離の差得られたものではないと考えられ
る傾きデータを除外し、残りの傾きデータに基づいて傾
き角度θを決定するので、もしもスキャナが台紙30の
傷やゴミもしくは基準軸以外の図形を基準軸として認識
してしまった場合でも、画像データの正確な修正を行な
うことができる。
As described above, according to the present invention, a plurality of differences in the distance in the predetermined direction between two points on the reference line drawn on the mount 30 are calculated, and a histogram of inclination data created based on the result is calculated. Since the inclination data which is apparently not obtained by the difference in the distances obtained from the points on the reference line of the mount 30 is excluded and the inclination angle θ is determined based on the remaining inclination data, Even if the scanner recognizes scratches or dust on the mount 30 or a figure other than the reference axis as the reference axis, the image data can be corrected accurately.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明における台紙入力装置のブロック図であ
る。
FIG. 1 is a block diagram of a mount input device according to the present invention.

【図2】本発明の一実施例に係わる台紙入力装置の外観
図である。
FIG. 2 is an external view of a mount input device according to an embodiment of the present invention.

【図3】同実施例に係わる台紙の説明図である。FIG. 3 is an explanatory diagram of a mount according to the embodiment.

【図4】同実施例におけるスキャニングの一例である。FIG. 4 is an example of scanning in the same embodiment.

【図5】同実施例の作用を説明するためのフローチャー
トである。
FIG. 5 is a flow chart for explaining the operation of the embodiment.

【図6】同実施例におけるヒストグラムの一例である。FIG. 6 is an example of a histogram in the example.

【符号の説明】[Explanation of symbols]

11…画像入力手段 12…位置情報抽出手段 13…位置差演算手段 14…頻度分布演算手段 15…頻度分布修正手段 16…傾き演算手段 17…傾き回転手段 21…イメージスキャナ 211…読み取り台 212…遮光扉 22…コンピュータ本体 23…ディスプレイ 24…磁気ディスクユニット 25…光磁気ディスクユニット 26…マウス 30…台紙 31…製版枠 32…基準図形 33…色玉 34…基準軸 35…レイアウト枠 36…輪郭 41、42、43、44…読み取りライン 41’、42’…二値画像データ 45、46、47、48…辺 11 ... Image input means 12 ... Position information extraction means 13 ... Position difference calculation means 14 ... Frequency distribution calculation means 15 ... Frequency distribution correction means 16 ... Tilt calculation means 17 ... Tilt rotation means 21 ... Image scanner 211 ... Reading board 212 ... Shading Door 22 ... Computer main body 23 ... Display 24 ... Magnetic disk unit 25 ... Magneto-optical disk unit 26 ... Mouse 30 ... Mount 31 ... Plate making frame 32 ... Reference figure 33 ... Color ball 34 ... Reference axis 35 ... Layout frame 36 ... Contour 41, 42, 43, 44 ... Read line 41 ', 42' ... Binary image data 45, 46, 47, 48 ... Side

フロントページの続き (72)発明者 石森 真由美 東京都台東区台東一丁目5番1号 凸版印 刷株式会社内Front page continuation (72) Mayumi Ishimori Inventor Mayumi 1-5-1 Taito, Taito-ku, Tokyo Toppan Printing Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】台紙に描かれた画像を取り込む画像入力手
段と、 前記取り込まれた台紙の画像情報から台紙に描かれた基
準線について、複数の位置情報を求める位置情報抽出手
段と、 前記複数の位置情報間の所定方向の位置差を求める位置
差演算手段と、 前記位置差に基いて、前記基準線の傾きデータを求め、
該傾きデータの頻度分布を演算する頻度分布演算手段
と、 前記傾きデータの頻度分布から不要な傾きデータを削除
する頻度分布修正手段と、 修正後の頻度分布に基づき、最終的な前記基準軸の傾き
データを求める傾き演算手段と、 前記傾き演算手段で求められた傾きデータに基づいて、
前記台紙の画像情報を回転させる画像回転手段と、を具
備することを特徴とする台紙入力装置。
1. An image input unit for taking in an image drawn on a mount, a position information extracting unit for obtaining a plurality of position information about a reference line drawn on the mount from the image information of the taken-in mount, and the plurality of units. Position difference calculation means for obtaining a position difference in a predetermined direction between the position information, and, based on the position difference, obtain inclination data of the reference line,
Frequency distribution calculating means for calculating the frequency distribution of the slope data, frequency distribution correcting means for deleting unnecessary slope data from the frequency distribution of the slope data, and the final reference axis of the reference axis based on the corrected frequency distribution. Based on the inclination data obtained by the inclination calculation means for obtaining the inclination data and the inclination calculation means,
An image input device for rotating the image information of the mount, the mount input device comprising:
JP5072670A 1993-03-31 1993-03-31 Mat input device Pending JPH06290260A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5072670A JPH06290260A (en) 1993-03-31 1993-03-31 Mat input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5072670A JPH06290260A (en) 1993-03-31 1993-03-31 Mat input device

Publications (1)

Publication Number Publication Date
JPH06290260A true JPH06290260A (en) 1994-10-18

Family

ID=13496032

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5072670A Pending JPH06290260A (en) 1993-03-31 1993-03-31 Mat input device

Country Status (1)

Country Link
JP (1) JPH06290260A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2296443A2 (en) 1999-06-04 2011-03-16 Semiconductor Energy Laboratory Co, Ltd. Electro-optical device with an insulating layer
WO2011155161A1 (en) * 2010-06-11 2011-12-15 パナソニック株式会社 Image processing apparatus and image processing method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2296443A2 (en) 1999-06-04 2011-03-16 Semiconductor Energy Laboratory Co, Ltd. Electro-optical device with an insulating layer
WO2011155161A1 (en) * 2010-06-11 2011-12-15 パナソニック株式会社 Image processing apparatus and image processing method
US9088715B2 (en) 2010-06-11 2015-07-21 Panasonic Intellectual Property Corporation Of America Image processing apparatus and image processing method for image correction

Similar Documents

Publication Publication Date Title
US6774889B1 (en) System and method for transforming an ordinary computer monitor screen into a touch screen
US6956587B1 (en) Method of automatically cropping and adjusting scanned images
EP0701225B1 (en) System for transcribing images on a board using a camera based board scanner
CN111474184A (en) AOI character defect detection method and device based on industrial machine vision
US4823395A (en) Image information recognition apparatus
US9049397B2 (en) Image processing device and image processing method
US8615129B2 (en) Pattern separating extraction device, and pattern separating extraction method
CN109101963A (en) Certificate image automatic positive method, image processing apparatus and readable storage medium storing program for executing
US7068855B2 (en) System and method for manipulating a skewed digital image
US20060215232A1 (en) Method and apparatus for processing selected images on image reproduction machines
US6034759A (en) Image processing apparatus and photographic printing apparatus
JPH06290260A (en) Mat input device
JP3698867B2 (en) Circular pattern determination method, apparatus and recording medium
JPH05197122A (en) Layout sheet input device
JP2006107018A (en) Method and apparatus for image analysis, method and system for image processing, and operation program therefor
US20210390325A1 (en) System for determining alignment of a user-marked document and method thereof
JPH09135331A (en) Image processor
JPH10269357A (en) Method for inspecting printed matter
JP2964594B2 (en) Mark inspection method
JPH09185683A (en) Method and device for processing image for character checking device
JP2734628B2 (en) Character recognition device
CN116228579A (en) Twisted page image correction method and system based on infinitesimal method
JPH0623983B2 (en) Distortion correction device
KR20220017705A (en) System and method for measuring crack of structure and a recording medium having computer readable program for executing the method
JPH10289311A (en) Check method and device for printed matter