Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3207209B2 - Tilt image correction processor - Google Patents
[go: Go Back, main page]

JP3207209B2 - Tilt image correction processor - Google Patents

Tilt image correction processor

Info

Publication number
JP3207209B2
JP3207209B2 JP03284891A JP3284891A JP3207209B2 JP 3207209 B2 JP3207209 B2 JP 3207209B2 JP 03284891 A JP03284891 A JP 03284891A JP 3284891 A JP3284891 A JP 3284891A JP 3207209 B2 JP3207209 B2 JP 3207209B2
Authority
JP
Japan
Prior art keywords
image
correction
inclination
unit
tilt
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.)
Expired - Lifetime
Application number
JP03284891A
Other languages
Japanese (ja)
Other versions
JPH04271337A (en
Inventor
章 奴久妻
真也 内川
Original Assignee
ミノルタ株式会社
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 ミノルタ株式会社 filed Critical ミノルタ株式会社
Priority to JP03284891A priority Critical patent/JP3207209B2/en
Publication of JPH04271337A publication Critical patent/JPH04271337A/en
Application granted granted Critical
Publication of JP3207209B2 publication Critical patent/JP3207209B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Projection-Type Copiers In General (AREA)
  • Projection Apparatus (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、例えばマイクロフィル
ムに写し込まれている画像の傾きを自動的に補正して正
立像とする機能を有する画像処理装置において、その補
正を行なうか否かを自動的に判断する機能を有する傾き
画像補正処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus having a function of automatically correcting the inclination of an image projected on a microfilm to obtain an erect image. The present invention relates to a tilt image correction processing device having a function of automatically determining.

【0002】[0002]

【従来の技術】最近では、例えばマイクロフィルム等に
写し込まれている画像情報を自動的にデジタル化して光
ディスクなどに入力,あるいはその画像情報を複写する
等の画像処理装置においては、写し込まれている画像情
報の傾きを自動的に補正するようにしたものがある。つ
まり、画像情報は通常は正立像となるようにマイクロフ
ィルムに写し込まれているわけであるが、このようなも
のに限らずに、中には傾いて写し込まれてしまっている
ものも存在する。このように画像情報が傾いて写し込ま
れていると、正立像として光ディスク等への入力又は複
写をしようとする際には、その傾きをいちいち補正する
必要がある。この傾きの補正を人手によらずに自動的に
行なうようにしているのである。このような補正を行な
うことによって、画像情報のある程度までの傾きが自動
的に補正され、正立像としての入力又は複写を可能とし
ている。
2. Description of the Related Art Recently, for example, in an image processing apparatus for automatically digitizing image information printed on a microfilm or the like and inputting it to an optical disk or copying the image information, the image information is printed. In some cases, the inclination of image information is automatically corrected. In other words, image information is usually imprinted on a microfilm so as to be an erect image, but not limited to this, there are some images that are imprinted I do. If the image information is imprinted with an inclination as described above, it is necessary to correct the inclination when inputting or copying an erect image to an optical disk or the like. The correction of the inclination is automatically performed without manual operation. By performing such a correction, the inclination of the image information to a certain degree is automatically corrected, and input or copying as an erect image is enabled.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、このよ
うに画像情報の傾きを自動的に補正するようにしている
従来の画像処理装置にあっては、常に正立像を入力等し
得るという点では非常に便利であるといえるが、反面、
その補正は、画像情報が傾いている,いない,に拘らず
に常に行われることから、画像情報の入力等には比較的
時間が多くかかってしまう,つまり生産性が低下すると
いう不具合がある。また、画像情報の濃度や形状によっ
てはその補正の実行によってかえって画像の質の低下を
引き起こすなどの問題が起こってしまうこともある。本
発明は、このような従来の不具合に鑑みて成されたもの
であり、対象となる画像情報の傾き補正を実行すべき
か,すべきでないか,の判断機能を備えることで上記の
不具合を解消した傾き画像補正処理装置の提供を目的と
する。
However, in the conventional image processing apparatus which automatically corrects the inclination of the image information, it is very difficult to always input an erect image. Although it can be said that it is convenient,
Since the correction is always performed irrespective of whether the image information is inclined or not, there is a problem that it takes a relatively long time to input the image information or the like, that is, the productivity is reduced. Further, depending on the density and the shape of the image information, there may be a problem that the quality of the image is deteriorated by executing the correction. The present invention has been made in view of such a conventional problem, and solves the above problem by providing a function of determining whether or not to perform inclination correction of target image information. It is an object to provide a tilted image correction processing device.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するため
の本発明は、受像部に対して原稿画像を投影する投影手
段と、当該原稿画像と当該受像部との傾きを検出する検
出手段と、当該検出手段による検出結果に応じて前記原
稿画像と前記受像部との傾きを補正する補正手段と、
記原稿画像が矩形であるか否かを判断することによっ
て、当該補正手段によって補正を実行するか否かを判定
する判定手段とを有し、前記検出手段によって前記原稿
画像と前記受像部との傾きが検出されていても、当該判
定手段によって補正を実行しないと判定されたときには
前記補正手段による補正は実行しないことを特徴とす
る。
To achieve the above object, the present invention provides a projecting means for projecting a document image on an image receiving unit, a detecting means for detecting an inclination between the document image and the image receiving unit. a correction means for correcting the inclination of the image receiving unit and the original image in accordance with the detection result by the detection means, before
By determining whether the original image is rectangular or not,
Te, and a determination means for determining whether to perform the correction by said correcting means, be detected inclination between the image receptor and the original image by said detecting means, the correction by the determination means When it is determined that the correction is not performed, the correction by the correction unit is not performed.

【0005】この矩形であるか否かの判定は、前記原稿
画像の複数箇所で前記原稿画像と前記受像部との傾きを
算出し、この算出した各傾きの差が所定値以下の場合、
前記原稿画像が矩形であると判定するか、あるいは、前
記原稿画像の頂点を検出し、この検出した頂点が4箇所
のとき、前記原稿画像が矩形であると判定することを特
徴とする。さらに、上記目的を達成するための本発明
は、画像情報が入力される入力手段と、当該入力手段に
入力された画像情報の傾きを検出する検出手段と、当該
検出手段による検出結果に応じて前記画像情報の傾きを
補正する補正手段と、前記画像情報が矩形であるか否か
を判断することによって、当該補正手段によって補正を
実行するか否かを判定する判定手段とを有し、前記検出
手段によって前記画像情報の傾きが検出されていても、
当該判定手段によって補正を実行しないと判定されたと
きには前記補正手段による補正は実行しないことを特徴
とする。
[0005] The determination as to whether or not this is a rectangle is performed by calculating the inclination between the original image and the image receiving portion at a plurality of locations in the original image, and when the difference between the calculated inclinations is equal to or smaller than a predetermined value,
It is characterized in that it is determined that the document image is rectangular, or that vertices of the document image are detected, and when the detected vertices are at four places, it is determined that the document image is rectangular. Further, according to the present invention for achieving the above object, there is provided an input unit for inputting image information, a detecting unit for detecting a tilt of the image information input to the input unit, and a detecting unit for detecting an inclination of the image information. Correction means for correcting the inclination of the image information, and whether or not the image information is rectangular
And determining means for determining whether or not to execute the correction by the correction means , even if the inclination of the image information is detected by the detection means,
When it is determined that the correction is not performed by the determination unit, the correction by the correction unit is not performed.

【0006】[0006]

【作用】このように構成すると、補正手段は、検出手段
によって検出された原稿画像と受像部との傾きに基づい
て、その傾きを補正することになる。判定手段はこの補
正手段による補正を行なうか否かを判定することにな
る。したがって、真に傾き補正が必要な画像情報に対し
てのみ傾き補正が行われることになり、生産性の向上や
誤動作の防止が図られることになる。
With this configuration, the correcting means corrects the inclination of the original image and the image receiving section detected by the detecting means based on the inclination. The determining means determines whether or not to perform the correction by the correcting means. Therefore, the skew correction is performed only for the image information that truly requires skew correction, thereby improving productivity and preventing malfunction.

【0007】[0007]

【実施例】以下、本発明の実施例を図面に基づいて詳細
に説明する。図1は、本発明に係る傾き画像補正処理装
置が内蔵されたマイクロ画像処理装置の外観図、図2
は、図1に示した装置の光路系の概略構成図である。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is an external view of a micro image processing apparatus incorporating a tilt image correction processing apparatus according to the present invention.
2 is a schematic configuration diagram of an optical path system of the device shown in FIG.

【0008】マイクロ画像処理装置10には、マイクロ
フィルムに写し込まれている画像情報をスクリーン11
に拡大投影するリーダーとしての機能と、その画像情報
を複写するプリンターとしての機能との2つの機能を備
えている。スクリーン11の左下に設けられているLE
D12は、自動傾き補正の実行の有無を表示するもので
ある。また、スクリーン11の下部に設けられている操
作部13には、各種の操作スイッチが設けられている。
プリント釦14はその画像情報を複写する場合に用いら
れるスイッチであり、補正モード釦15は自動傾き補正
の実行の有無を指定するスイッチである。この補正モー
ド釦15がオンされると、自動傾き補正が実行されるモ
ードに設定される。このとき、LED12は点灯して、
自動傾き補正が実行されるモードであることを示す。
[0008] The micro-image processing apparatus 10 transmits image information imprinted on a micro-film to a screen 11.
It has two functions, a function as a reader for enlarging and projecting the image and a function as a printer for copying the image information. LE provided at the lower left of screen 11
D12 indicates whether or not automatic tilt correction has been performed. Various operation switches are provided on an operation unit 13 provided below the screen 11.
The print button 14 is a switch used when copying the image information, and the correction mode button 15 is a switch for specifying whether or not to execute automatic tilt correction. When the correction mode button 15 is turned on, a mode is set in which automatic tilt correction is executed. At this time, the LED 12 lights up,
Indicates that the mode is a mode in which the automatic tilt correction is executed.

【0009】この画像情報をスクリーン11に、あるい
は図示されていないプリンターに出力させる光路系は図
2に示すように構成されており、次のようにして画像情
報を投影等することになる。光源20からの光は、コン
デンサレンズ21によって集光された後、図示しないキ
ャリアに装填されているマイクロフィルムFを照射して
通過し、投影レンズ22に至る。その後、傾き補正用プ
リズム23を通過する。このようにして画像投影光路A
が形成される。光路切替ミラー25が図示点線で示した
退避位置にあるときには、すなわち、リーダーとして機
能するときには、補正用プリズム23を通過した光が固
定ミラー24からリーダーミラー26に至るリーダー光
路A1が形成される。リーダーミラー26によって折り
曲げられた光はスクリーン11に到達することとなり、
マイクロフィルムFに写し込まれている画像情報が拡大
投影されることになる。尚、後述する第1スキャンミラ
ー27及び第2スキャンミラー28は、光路切替ミラー
25が退避位置にあるリーダー光路A1 が形成されてい
るときには、共に図示右端の退避位置にある。
An optical path system for outputting the image information to the screen 11 or to a printer (not shown) is configured as shown in FIG. 2, and projects the image information as follows. The light from the light source 20 is condensed by the condenser lens 21, irradiates and passes through the microfilm F loaded in the carrier (not shown), and reaches the projection lens 22. Thereafter, the light passes through the inclination correcting prism 23. Thus, the image projection optical path A
Is formed. When the optical path switching mirror 25 is at the retracted position shown by the dotted line in the drawing, that is, when it functions as a reader, a reader optical path A1 is formed in which the light that has passed through the correction prism 23 travels from the fixed mirror 24 to the reader mirror 26. The light bent by the reader mirror 26 reaches the screen 11,
The image information projected on the microfilm F is enlarged and projected. The first scan mirror 27 and the second scan mirror 28, which will be described later, are both in the retracted position at the right end in the drawing when the leader optical path A1 in which the optical path switching mirror 25 is in the retracted position is formed.

【0010】一方、光路切替ミラー25が図示実線位置
にあるときには、すなわち、プリンターとして機能する
ときには、補正用プリズム23を通過した光が固定ミラ
ー24から光路切替ミラー25,第1スキャンミラー2
7及び第2スキャンミラー28を介してCCDラインセ
ンサLに至る読取光路A2 が形成される。マイクロフィ
ルムの画像情報をCCDラインセンサLに読み取らせる
動作が開始されると、まず、光路切替ミラー25が退避
位置から図示実線で示される作動位置にスライド移動
し、同時に、第1スキャンミラー27及び第2スキャン
ミラー28が退避位置から図示実線で示される左端位置
に連動して予備走査される。光路切替ミラー25は作動
位置で停止し、第1スキャンミラー27と第2スキャン
ミラー28は左端位置から退避位置へと連動して走査移
動する。したがって、固定ミラー24を反射した光は、
光路切替ミラー25によって反射され、走査移動してい
る第1スキャンミラー27及び第2反射ミラー28を介
してCCDラインセンサLに導かれることになる。これ
によってマイクロフィルムFの画像情報がCCDライン
センサLに投影露光されて読み取られることになる。そ
して、このCCDラインセンサLによって光電変換され
た画像信号は、レーザープリンター等に入力され、この
画像信号に基づいて複写や表示などが行われることにな
る。
On the other hand, when the optical path switching mirror 25 is at the position indicated by the solid line in the drawing, that is, when it functions as a printer, light passing through the correction prism 23 is transmitted from the fixed mirror 24 to the optical path switching mirror 25 and the first scan mirror 2.
A reading optical path A2 extending to the CCD line sensor L via the seventh and second scan mirrors 28 is formed. When the operation of causing the CCD line sensor L to read the image information of the microfilm is started, first, the optical path switching mirror 25 slides from the retracted position to the operating position indicated by the solid line in the drawing, and at the same time, the first scan mirror 27 and the The second scan mirror 28 is prescanned from the retracted position in conjunction with the left end position indicated by the solid line in the drawing. The optical path switching mirror 25 stops at the operating position, and the first scan mirror 27 and the second scan mirror 28 scan and move from the left end position to the retracted position. Therefore, the light reflected from the fixed mirror 24 is
The light is reflected by the optical path switching mirror 25 and is guided to the CCD line sensor L via the first scanning mirror 27 and the second reflecting mirror 28 which are scanningly moving. As a result, the image information of the microfilm F is projected and exposed on the CCD line sensor L and read. The image signal photoelectrically converted by the CCD line sensor L is input to a laser printer or the like, and copying, display, and the like are performed based on the image signal.

【0011】以上の動作が終了すると、光路切替ミラー
25,第1スキャンミラー27及び第2スキャンミラー
28はそれぞれ退避位置に戻って、スクリーン11には
マイクロフィルムFの画像情報が再び投影されることに
なる。
When the above operation is completed, the optical path switching mirror 25, the first scan mirror 27 and the second scan mirror 28 return to the retracted positions, respectively, and the image information of the microfilm F is projected on the screen 11 again. become.

【0012】図3は、本発明にかかる傾き画像補正処理
装置の制御系のブロック図である。操作パネル13に
は、図1に示したようにプリント釦14と補正モード釦
15とが設けられており、これらからの信号はCPU3
0に入力される。クロック発生回路31からは所定の周
波数のクロック信号が出力され、このクロック信号はC
PU30及びCCDラインセンサLに与えられる。A/D
変換器32は、前述したようなミラー走査によってCC
DラインセンサLにアナログ電気信号として捕らえられ
たマイクロフィルムFの画像情報を、CPU30からの
変換信号に基づいてデジタル画像信号に変換するもので
あり、この変換後のデジタル画像信号はシェーディング
回路33に入力され、CPU30から出力されるシェー
ディング信号に基づいて濃淡画像形成のための濃淡画像
信号に変換される。この濃淡画像信号は比較回路34に
入力されることになる。閾値マトリックス記憶部35に
は比較回路34における濃淡比較のための基準濃度が複
数記憶されている。比較回路34において使用される基
準濃度は、CPU30から出力される閾値マトリックス
選択信号に基づいて選択されることとなり、この選択さ
れた閾値マトリックスは、閾値信号として比較回路34
に与えられることになる。選択出力回路36は、CPU
30から出力される有効画像信号に基づいて2値化され
た画像信号を選択的に出力する。画像メモリー部37
は、この選択出力回路36から出力された画像信号を記
憶し、CPU30に画像信号として出力する。CPU3
0は、画像メモリー部37から出力された画像信号を、
EPROM38に記憶されているプログラムに基づいて
演算し、傾き補正とその補正を行なうか否かの判断をす
ることになる。CPU30からは画像の傾きを調整する
プリズムを回転させるためのプリズム回転信号が出力さ
れる一方、CPU30にはこのプリズムの定位置信号が
入力される。尚、EPROM38は、後述する傾き補正
及びその補正を行なうか否かの判断のためのプログラム
を記憶しているものであり、RAM39は、CPU30
が各種の処理を行なう際の演算結果などを一時記憶して
おくためのものである。また、DIPスイッチ40は、
マイクロ画像処理装置の動作態様,例えば、装填される
マイクロフィルムの種類の相違に応じた動作をさせる場
合などに用いられるスイッチである。
FIG. 3 is a block diagram of a control system of the tilt image correction processing device according to the present invention. The operation panel 13 is provided with a print button 14 and a correction mode button 15 as shown in FIG.
Input to 0. A clock signal of a predetermined frequency is output from the clock generation circuit 31, and this clock signal is
It is provided to the PU 30 and the CCD line sensor L. A / D
The converter 32 performs CC scanning by mirror scanning as described above.
The image information of the microfilm F captured as an analog electric signal by the D line sensor L is converted into a digital image signal based on a conversion signal from the CPU 30. The converted digital image signal is transmitted to the shading circuit 33. The shading signal input and output from the CPU 30 is converted into a grayscale image signal for forming a grayscale image. This grayscale image signal is input to the comparison circuit 34. The threshold matrix storage unit 35 stores a plurality of reference densities for the gray scale comparison in the comparison circuit 34. The reference density used in the comparison circuit 34 is selected based on a threshold matrix selection signal output from the CPU 30, and the selected threshold matrix is used as a threshold signal in the comparison circuit 34.
Will be given to The selection output circuit 36 includes a CPU
The binarized image signal is selectively output based on the effective image signal output from the output terminal 30. Image memory unit 37
Stores the image signal output from the selection output circuit 36 and outputs it to the CPU 30 as an image signal. CPU3
0 indicates that the image signal output from the image memory unit 37 is
The calculation is performed based on the program stored in the EPROM 38 to determine the inclination correction and whether or not to perform the correction. While the CPU 30 outputs a prism rotation signal for rotating the prism for adjusting the tilt of the image, the CPU 30 receives a fixed position signal of the prism. The EPROM 38 stores a program for tilt correction described later and a determination as to whether or not to perform the correction.
Are for temporarily storing the calculation results and the like when performing various processes. Also, the DIP switch 40
This is a switch used in an operation mode of the micro image processing apparatus, for example, when an operation is performed in accordance with a difference in the type of micro film to be loaded.

【0013】次に、本発明にかかる傾き補正処理装置の
概略の動作を図4のフローチャートに基づいて説明す
る。マイクロ画像処理装置10にマイクロフィルムFを
装填し、読み取り動作が完了したら、プリント釦14を
オンして読み取り動作を開始させる。この読み取り動作
の開始によって、傾き補正を行なうか否かを判断するた
めの予備測光スキャンが開始される(S1)。この予備
測光スキャンによってCCDラインセンサLに入力され
た画像情報は、前述のA/D 変換器32,シェーディング
回路33,比較回路34及び選択出力回路35を介し
て、画像メモリー部37格納される(S2)。そして、
CPU30はこの画像メモリー部37に記憶されている
画像信号に基づいて、傾き補正を自動的に行なうべきか
否かの判断をする。尚、このステップの処理が行われる
ときには、図5又は図7に示してあるサブルーチンフロ
ーチャートが処理されることになる(S3)。この判断
の結果傾き補正を行なうとの判断がされたときには、L
ED12を点灯させて自動傾き補正処理を行なう。つま
り、補正用プリズム23を光軸を中心として回転させる
ことによって、マイクロフィルムFに写し込まれている
画像情報がCCDラインセンサLに真っ直ぐに投影され
るようにする。一方、傾き補正を行なわないとの判断が
されたときには、この自動傾き処理を行なわずに次のス
テップに進む。尚、自動傾き補正処理を行なわないとの
判断がされたときにはLED12は消灯する(S3,S
4)。以上の処理が実行された後に本スキャンが行わ
れ、このスキャンによってCCDラインセンサLが得た
画像情報を例えばレーザービームプリンターなどの外部
装置に出力する(S5,S6)。このように、傾き補正
を自動的に行なわないと判断した場合には、LED12
が消灯してその旨をオペレーターに知らせると共に傾き
補正は行われずに本スキャンが行われることになる。一
方、傾き補正を自動的に行なうと判断した場合には、L
ED12を点灯させると共に傾き補正を自動的に行なっ
た後に本スキャンが行われることになる。
Next, the general operation of the inclination correction processing device according to the present invention will be described with reference to the flowchart of FIG. After the microfilm F is loaded into the micro image processing apparatus 10 and the reading operation is completed, the print button 14 is turned on to start the reading operation. By the start of this reading operation, a preliminary photometric scan for determining whether or not to perform tilt correction is started (S1). The image information input to the CCD line sensor L by the preliminary photometric scan is stored in the image memory unit 37 via the above-described A / D converter 32, shading circuit 33, comparison circuit 34, and selection output circuit 35 ( S2). And
The CPU 30 determines whether or not the inclination correction should be automatically performed based on the image signal stored in the image memory unit 37. When the processing of this step is performed, the subroutine flowchart shown in FIG. 5 or FIG. 7 is processed (S3). When it is determined that the inclination is to be corrected as a result of this determination, L
The ED 12 is turned on to perform an automatic tilt correction process. That is, by rotating the correction prism 23 about the optical axis, the image information projected on the microfilm F is projected straight to the CCD line sensor L. On the other hand, when it is determined that the inclination correction is not performed, the process proceeds to the next step without performing the automatic inclination processing. When it is determined that the automatic inclination correction process is not performed, the LED 12 is turned off (S3, S3
4). After the above processing is performed, a main scan is performed, and image information obtained by the CCD line sensor L by this scan is output to an external device such as a laser beam printer (S5, S6). As described above, when it is determined that the inclination correction is not automatically performed, the LED 12
Is turned off and the operator is notified of this, and the main scan is performed without performing tilt correction. On the other hand, when it is determined that the inclination correction is automatically performed, L
The main scan is performed after the ED 12 is turned on and the inclination correction is automatically performed.

【0014】図5に示してあるフローチャートは、傾き
補正を行なうか否かの判断をする処理を示すサブルーチ
ンフローチャートであり、図4に示したフローチャート
のS3のステップにおいて行われるものである。尚、こ
のフローチャートの動作説明は、図6を参照して説明す
ることとする。図6に示すように、マイクロフィルムF
には画像情報40が図示のように傾いて写されているも
のとする。尚、通常はこのように極端に傾いて写し込ま
れているものはほとんど無いと思われるが、このように
したのは、発明の理解を容易にするためである。また、
画像情報40は、ポジフィルムの場合には周囲に比較し
て白く、また、ネガフィルムの場合には周囲に比較して
黒くなっているが、本発明では、いずれのフィルムに対
しても傾き補正処理を行なうか否かの判断をすることが
できる。
The flowchart shown in FIG. 5 is a subroutine flowchart showing a process for determining whether or not to perform inclination correction, which is performed in step S3 of the flowchart shown in FIG. The operation of this flowchart will be described with reference to FIG. As shown in FIG.
It is assumed that the image information 40 is photographed at an angle as shown in FIG. In general, it is considered that there is almost no image that is extremely inclined as described above, but this is done to facilitate understanding of the invention. Also,
The image information 40 is white in comparison with the surroundings in the case of a positive film, and black in comparison with the surroundings in the case of a negative film. It can be determined whether or not to perform the processing.

【0015】まず、CPU30は画像メモリ部37に記
憶されている画像情報に基づいて、その画像情報を構成
するデータが黒から白あるいは白から黒に変化する点A
i ,Bi (i=1 〜n )を検索する。つまり、画像情報4
0の輪郭線を検索することになる(S10)。次に、求
められた上記の点Ai ,Bi (i=1 〜n )それぞれの点
における任意の2点間のX,Y方向距離Xi ,Yi (i=
1 〜n )を求める。例えば図6の2点A1 ,B1 におけ
るX,Y方向距離X1 ,Y1 、あるいは2点Ai ,Bi
におけるX,Y方向距離Xi ,Yi を求めることになる
(S11)。以上の処理によって求められた任意の2点
間を結ぶ線の傾きθi (i=1 〜n )を求める。上記の例
においては、前記2点A1 ,B1 を結ぶ線分の傾きθ1
、または2点Ai ,Bi を結ぶ線分の傾きθi を求め
る(S12)。次にS12のステップで求められたそれ
ぞれの傾きθi (i=1 〜n )それぞれの差が十分に小さ
いか否かが判断される。つまり、傾きθ1 と傾きθi と
の差が十分小さいかどうかを判断する(S13)。その
差が十分に小さいと判断されたときには、その入力した
画像が傾き補正処理可能な矩形画像であると判断して、
その画像を正立像として外部の装置に出力するための傾
き補正が行われる。具体的には、補正用プリズム23の
回転量を演算するわけであるが、この回転量はS12の
ステップにおいて求められた全ての点についての傾きθ
1 〜θn の平均値の1/2である(S14)。CPU3
0はこの演算結果に基づいてプリズム回転信号を出力
し、定位置信号を入力しながら補正用プリズム23を回
転駆動させる(S15)。S13のステップにおける判
断において、その差が十分に小さくないと判断されたと
きには、LED12を消灯させて傾き補正処理を自動で
行なわない旨の表示をして、図4のフローチャートの処
理に戻り、本スキャンが実行されることになる(S1
6)。以上の処理においては、画像情報を構成するデー
タが黒から白あるいは白から黒に変化する点を多数検索
し、その結果に基づいて画像情報の傾きを算出するよう
にしたが、処理速度の関係から、その算出に支障が無け
ればその検索の対象とする点をある程度減少させても良
い。
First, based on the image information stored in the image memory section 37, the CPU 30 determines a point A at which the data constituting the image information changes from black to white or from white to black.
i and Bi (i = 1 to n) are searched. That is, image information 4
A contour line of 0 is searched (S10). Next, the distances Xi, Yi in the X and Y directions between any two points among the obtained points Ai and Bi (i = 1 to n) (i =
1 to n). For example, distances X1, Y1 in the X and Y directions at two points A1, B1 in FIG. 6, or two points Ai, Bi
Then, the distances Xi and Yi in the X and Y directions are calculated (S11). The inclination θi (i = 1 to n) of the line connecting any two points obtained by the above processing is obtained. In the above example, the inclination θ1 of the line connecting the two points A1 and B1
Or the gradient .theta.i of a line connecting the two points Ai and Bi (S12). Next, it is determined whether or not the difference between the respective inclinations θi (i = 1 to n) obtained in step S12 is sufficiently small. That is, it is determined whether the difference between the inclination θ1 and the inclination θi is sufficiently small (S13). When it is determined that the difference is sufficiently small, it is determined that the input image is a rectangular image that can be subjected to the inclination correction processing,
Tilt correction for outputting the image as an erect image to an external device is performed. Specifically, the amount of rotation of the correction prism 23 is calculated, and the amount of rotation is calculated based on the inclination θ of all the points obtained in step S12.
It is 1/2 of the average value of 1 to .theta.n (S14). CPU3
0 outputs a prism rotation signal based on the calculation result, and drives the correction prism 23 to rotate while inputting a fixed position signal (S15). If it is determined in step S13 that the difference is not sufficiently small, the LED 12 is turned off, a message is displayed indicating that the inclination correction process is not to be performed automatically, and the process returns to the flowchart of FIG. Scan is to be executed (S1
6). In the above processing, a large number of points at which the data constituting the image information changes from black to white or from white to black are searched, and the inclination of the image information is calculated based on the result. Therefore, if there is no problem in the calculation, the number of points to be searched may be reduced to some extent.

【0016】図7に示すフローチャートは、傾き補正を
行なうか否かの判断をする他の処理を示すサブルーチン
フローチャートである。尚、このフローチャートの動作
説明は、図8を参照して説明することとする。まず、C
PU30は画像メモリ部37に記憶されている画像情報
に基づいて、その画像情報を構成するデータが黒−白−
黒あるいは白−黒−白に変化するラインを図8に示すよ
うに縦方向及び横方向に検索し、その変化する距離が最
少の点すなわち極小点を求める。この検索によって、画
像情報の頂点、例えば図8においては点P1 ,P2が求
められることになる。頂点では上記の黒白黒あるいは白
黒白の変化距離が最少になっているからである(S2
0)。以上の検索によって検出された極小点が4つあれ
ば、その入力した画像が傾き補正処理可能な矩形画像で
あると判断し、その求められた頂点の各座標からその画
像情報の傾きの平均を求め、その画像を正立像として外
部の装置に出力するための傾き補正が行われる。具体的
には、補正用プリズム23の回転量を演算するわけであ
るが、この回転量はS22のステップにおいて求められ
た傾きの1/2である(S21〜S23)。CPU30
はこの演算結果に基づいてプリズム回転信号を出力し、
定位置信号を入力しながら補正用プリズム23を回転駆
動させる(S24)。S21のステップにおける判断に
おいて、極小点が4つでなければ、つまり3つ以下ある
いは5つ以上であるときには、LED12を消灯させて
傾き補正処理を自動で行なわない旨の表示をして、図4
のフローチャートの処理に戻り、本スキャンが実行され
ることになる(S25)。
The flowchart shown in FIG. 7 is a subroutine flowchart showing another process for determining whether or not to perform inclination correction. The operation of this flowchart will be described with reference to FIG. First, C
Based on the image information stored in the image memory unit 37, the PU 30 determines that the data constituting the image information is black-white-
A line that changes to black or white-black-white is searched in the vertical and horizontal directions as shown in FIG. 8, and a point at which the change distance is the minimum, that is, a minimum point is obtained. By this search, the vertices of the image information, for example, the points P1 and P2 in FIG. 8, are obtained. This is because the change distance between the black-and-white and black-and-white or white-and-white is minimum at the top (S2
0). If there are four minimum points detected by the above search, it is determined that the input image is a rectangular image that can be subjected to the inclination correction process, and the average of the inclination of the image information is calculated from the obtained coordinates of the vertices. Then, inclination correction for outputting the image as an erect image to an external device is performed. Specifically, the amount of rotation of the correction prism 23 is calculated, and the amount of rotation is 1 / of the inclination obtained in step S22 (S21 to S23). CPU 30
Outputs a prism rotation signal based on the calculation result,
The correction prism 23 is driven to rotate while inputting the home position signal (S24). If the number of the minimum points is not four, that is, three or less or five or more in the determination in the step of S21, the LED 12 is turned off and a message indicating that the inclination correction process is not automatically performed is displayed.
Returning to the processing of the flowchart in (1), the main scan is executed (S25).

【0017】尚、以上の実施例においては、マイクロフ
ィルムに写し込まれている画像情報を読み取るマイクロ
画像処理装置を例示して説明したが、本発明はこれに限
られず、一般の原稿画像を読み取るイメージスキャナー
のようなもの、または、複写機などにおいても適用可能
である。また、傾きの補正を補正用プリズムを使用して
光学的に行なうものを例示したが、電気的に、例えば、
フレームメモリに画像情報を傾いたまま記憶し、読みだ
しの際の読みだしアドレスによってその傾きを補正する
ようにしたり、フレームメモリに画像情報を書き込む際
の書き込みアドレスのアドレッシングによってその傾き
を補正するようにしても良い。さらに、マイクロフィル
ムを光学系を固定したまま回転させたり、CCDライン
センサLを回転させるようにしてその傾きを補正するよ
うにしたものでも良い。また、どのような画像情報につ
いても一律に自動的に傾き補正を行なうモードと、本実
施例のようにその補正を行うか否かを自動的に判定した
上で自動的に傾き補正を行なうモードとを選択できるよ
うにしても良い。さらに、画像情報がネガ画像であるか
ポジ画像であるかによって、画像が傾いているか否かの
判断を行なうプログラムを選択するモードを備えさせ、
その判断の信頼性を向上させるようにすることも考えら
れる。以上のように動作する本発明の装置によれば、
(1) 矩形ではない画像を傾き補正してしまうような誤動
作を防止できる。(2) 傾き補正をしないということが自
動的に判断されることで、オペレーターが補正モード釦
15を操作して補正モードを解除し、再度その画像を読
み取るという動作を省くことができる。(3) LED12
によって、自動傾き補正を行なうのか行なわないのかを
知らせることができる。(4) 自動黒枠消しなどの編集処
理機能を向上させることができる等の種々の効果を生ず
ることとなる。
In the above embodiment, the micro image processing apparatus for reading the image information imprinted on the micro film has been described as an example. However, the present invention is not limited to this, and the present invention is not limited to this. The present invention is also applicable to an image scanner or a copying machine. Also, an example in which the inclination is corrected optically using a correction prism has been described, but electrically, for example,
The image information is stored in the frame memory while being tilted, and the tilt is corrected by the read address at the time of reading, or the tilt is corrected by addressing the write address when writing the image information to the frame memory. You may do it. Further, the microfilm may be rotated while the optical system is fixed, or the inclination may be corrected by rotating the CCD line sensor L. In addition, a mode in which the tilt is automatically and uniformly corrected for any image information, and a mode in which the tilt is automatically determined after automatically determining whether to perform the correction as in the present embodiment. May be selectable. Further, according to whether the image information is a negative image or a positive image, a mode for selecting a program for determining whether the image is tilted is provided,
It is also conceivable to improve the reliability of the judgment. According to the device of the present invention operating as described above,
(1) It is possible to prevent a malfunction such as correcting the inclination of an image that is not a rectangle. (2) Since it is automatically determined that the tilt correction is not performed, the operation in which the operator operates the correction mode button 15 to release the correction mode and read the image again can be omitted. (3) LED12
Thus, whether or not to perform automatic tilt correction can be notified. (4) Various effects such as improvement of an editing processing function such as automatic black frame erasure can be obtained.

【0018】[0018]

【発明の効果】以上述べたように本発明によれば、対象
となる画像情報の傾き補正を実行すべきか,すべきでな
いか,の判断機能を備えているから、画像処理に要する
時間の短縮化を図ることができることとなり、さらに、
不適切な画像を補正するような誤動作をも防止し得るこ
とになる。
As described above, according to the present invention, since the function of determining whether or not to perform the inclination correction of the target image information is provided, the time required for image processing can be reduced. Can be achieved, and furthermore,
A malfunction such as correcting an inappropriate image can also be prevented.

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

【図1】本発明に係る傾き画像補正処理装置が内蔵され
たマイクロ画像処理装置の外観図である。
FIG. 1 is an external view of a micro image processing apparatus including a tilt image correction processing apparatus according to the present invention.

【図2】図1に示した装置の光路系の概略構成図であ
る。
FIG. 2 is a schematic configuration diagram of an optical path system of the device shown in FIG.

【図3】本発明にかかる傾き画像補正処理装置の制御系
のブロック図である。
FIG. 3 is a block diagram of a control system of the tilt image correction processing device according to the present invention.

【図4】本発明にかかる傾き画像補正処理装置のメイン
フローチャートである。
FIG. 4 is a main flowchart of the tilt image correction processing device according to the present invention.

【図5】本発明にかかる傾き画像補正処理装置におい
て、傾き補正を実行するか否かを判断させるためのサブ
ルーチンフローチャートである。
FIG. 5 is a subroutine flowchart for determining whether to execute tilt correction in the tilt image correction processing device according to the present invention.

【図6】図5に示したフローチャートの演算過程を説明
するための図である。
FIG. 6 is a diagram for explaining a calculation process of the flowchart shown in FIG. 5;

【図7】本発明にかかる傾き画像補正処理装置におい
て、傾き補正を実行するか否かを判断させるための他の
処理を示すサブルーチンフローチャートである。
FIG. 7 is a subroutine flowchart showing another process for determining whether or not to execute tilt correction in the tilt image correction processing device according to the present invention.

【図8】図7に示したフローチャートの演算過程を説明
するための図である。
FIG. 8 is a diagram for explaining a calculation process of the flowchart shown in FIG. 7;

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

10…マイクロ画像処理装置 11…スクリーン 12…LED 13…操作パネル 14…プリント
釦 15…補正モード釦 20…光源 23…補正用プ
リズム L…CCDラインセンサ 30…CPU 37…画
像メモリー部
DESCRIPTION OF SYMBOLS 10 ... Micro image processing apparatus 11 ... Screen 12 ... LED 13 ... Operation panel 14 ... Print button 15 ... Correction mode button 20 ... Light source 23 ... Correction prism L ... CCD line sensor 30 ... CPU 37 ... Image memory part

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭63−10144(JP,A) 特開 昭62−251736(JP,A) 特開 昭62−293880(JP,A) 特開 平2−130550(JP,A) 特開 平2−146572(JP,A) 特開 平2−102470(JP,A) ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-63-10144 (JP, A) JP-A-62-251736 (JP, A) JP-A-62-293880 (JP, A) JP-A-2- 130550 (JP, A) JP-A-2-146572 (JP, A) JP-A-2-102470 (JP, A)

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 受像部に対して原稿画像を投影する投影
手段と、 当該原稿画像と当該受像部との傾きを検出する検出手段
と、 当該検出手段による検出結果に応じて前記原稿画像と前
記受像部との傾きを補正する補正手段と、前記原稿画像が矩形であるか否かを判断することによっ
て、 当該補正手段によって補正を実行するか否かを判定
する判定手段とを有し、 前記検出手段によって前記原稿画像と前記受像部との傾
きが検出されていても、当該判定手段によって補正を実
行しないと判定されたときには前記補正手段による補正
は実行しないことを特徴とする傾き画像補正処理装置。
A projection unit configured to project an original image onto an image receiving unit; a detecting unit configured to detect an inclination between the original image and the image receiving unit; Correcting means for correcting the inclination with respect to the image receiving portion; and determining whether or not the document image is rectangular.
Te, and a determination means for determining whether to perform the correction by said correcting means, be detected inclination between the image receptor and the original image by said detecting means, the correction by the determination means A tilt image correction processing device, wherein when it is determined that the correction is not performed, the correction by the correction unit is not performed.
【請求項2】 前記判定手段は、前記原稿画像の複数箇
所で前記原稿画像と前記受像部との傾きを算出し、この
算出した各傾きの差が所定値以下の場合、前記原稿画像
が矩形であると判定することを特徴とする請求項1記載
の傾き画像補正処理装置。
2. The method according to claim 1, wherein the determining unit calculates the inclination between the document image and the image receiving unit at a plurality of locations on the document image, and when the calculated difference between the inclinations is equal to or less than a predetermined value, the document image is rectangular. The tilt image correction processing apparatus according to claim 1 , wherein the inclination image correction processing apparatus determines that the tilt angle is equal to or smaller than the angle.
【請求項3】 前記判定手段は、前記原稿画像の頂点を
検出し、この検出した頂点が4箇所のとき、前記原稿画
像が矩形であると判定することを特徴とする請求項1記
の傾き画像補正処理装置。
Wherein said determining means, said detecting the vertices of the original image, when the vertex was the detection of positions 4, claim 1 Symbol, wherein the original image is determined to be a rectangle
A mounted tilt image correction processing device.
【請求項4】 画像情報が入力される入力手段と、 当該入力手段に入力された画像情報の傾きを検出する検
出手段と、 当該検出手段による検出結果に応じて前記画像情報の傾
きを補正する補正手段と、前記画像情報が矩形であるか否かを判断することによっ
て、 当該補正手段によって補正を実行するか否かを判定
する判定手段とを有し、 前記検出手段によって前記画像情報の傾きが検出されて
いても、当該判定手段によって補正を実行しないと判定
されたときには前記補正手段による補正は実行しないこ
とを特徴とする傾き画像補正処理装置。
4. An input unit for inputting image information, a detecting unit for detecting a tilt of the image information input to the input unit, and correcting the tilt of the image information according to a detection result by the detecting unit. Correcting means and determining whether the image information is rectangular or not.
A determination unit that determines whether or not the correction is to be performed by the correction unit. Even if the inclination of the image information is detected by the detection unit, the determination unit determines that the correction is not to be performed. Wherein the correction by the correction means is not performed when the error occurs.
JP03284891A 1991-02-27 1991-02-27 Tilt image correction processor Expired - Lifetime JP3207209B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03284891A JP3207209B2 (en) 1991-02-27 1991-02-27 Tilt image correction processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03284891A JP3207209B2 (en) 1991-02-27 1991-02-27 Tilt image correction processor

Publications (2)

Publication Number Publication Date
JPH04271337A JPH04271337A (en) 1992-09-28
JP3207209B2 true JP3207209B2 (en) 2001-09-10

Family

ID=12370255

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03284891A Expired - Lifetime JP3207209B2 (en) 1991-02-27 1991-02-27 Tilt image correction processor

Country Status (1)

Country Link
JP (1) JP3207209B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09130549A (en) * 1995-11-06 1997-05-16 Minolta Co Ltd Digital image forming device
JP3598646B2 (en) * 1996-04-24 2004-12-08 ミノルタ株式会社 Image reading device

Also Published As

Publication number Publication date
JPH04271337A (en) 1992-09-28

Similar Documents

Publication Publication Date Title
US5440403A (en) Image reading means for reading a document including a plurality of images and space
WO2000000930A1 (en) Image correction device
JPH05252379A (en) Image processor
US20190018220A1 (en) Projector and focus adjustment method
JP3207209B2 (en) Tilt image correction processor
JP2004310726A (en) Image inspection method, image inspection apparatus, and program
JP3382346B2 (en) Imaging device
JP2003198809A (en) Document size detection device, document size detection method, and image forming device
JP2885969B2 (en) Micro film reader
JP3563975B2 (en) Image reading apparatus, image reading method, and storage medium
JPH11103371A (en) Image scanner having center position detection function and method for detecting center position of the image scanner
JP2745256B2 (en) Micro film reader
JPH09261448A (en) Image processor
JPH0364258A (en) Image reader
JPH03179880A (en) Image reading and playback device
JP3164644B2 (en) Image reading device
WO2025166569A1 (en) Projection correction device, projection system, and projection method
JP4533481B2 (en) Image reading apparatus and autofocus control method
JPH0693057B2 (en) Autofocus device
JPH06291973A (en) Picture reader
JP2599645B2 (en) Image scanning device
JPH05268417A (en) Picture reader
JPH09247376A (en) Picture inclination detecting method
JPH0528256A (en) Image reading processor
JPH057290A (en) Image processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080706

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20080706

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090706

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090706

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100706

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110706

Year of fee payment: 10

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110706

Year of fee payment: 10