[go: up one dir, main page]

JPH04271337A - Tilt image correction processor - Google Patents

Tilt image correction processor

Info

Publication number
JPH04271337A
JPH04271337A JP3032848A JP3284891A JPH04271337A JP H04271337 A JPH04271337 A JP H04271337A JP 3032848 A JP3032848 A JP 3032848A JP 3284891 A JP3284891 A JP 3284891A JP H04271337 A JPH04271337 A JP H04271337A
Authority
JP
Japan
Prior art keywords
image
correction
tilt
image information
tilted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP3032848A
Other languages
Japanese (ja)
Other versions
JP3207209B2 (en
Inventor
Akira Nukutsuma
奴久妻 章
Shinya Uchikawa
内川 真也
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.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
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)

Abstract

PURPOSE:To offer a tilt image correction processor provided with a function for automatically judging whether or not the tilt of image information is corrected in the case that the inputted image information is tilted. CONSTITUTION:A CPU 30 is decided whether or not the image information inputted in an image memory part 37 is tilted, and further it decides whether or not the correction of the tilt of the image is executed. Therefore, efficiency for processing the image information is enhanced and a malfunction in the case of executing the correction of the tilt is prevented.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

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

【0002】0002

【従来の技術】最近では、例えばマイクロフィルム等に
写し込まれている画像情報を自動的にデジタル化して光
ディスクなどに入力,あるいはその画像情報を複写する
等の画像処理装置においては、写し込まれている画像情
報の傾きを自動的に補正するようにしたものがある。つ
まり、画像情報は通常は正立像となるようにマイクロフ
ィルムに写し込まれているわけであるが、このようなも
のに限らずに、中には傾いて写し込まれてしまっている
ものも存在する。このように画像情報が傾いて写し込ま
れていると、正立像として光ディスク等への入力又は複
写をしようとする際には、その傾きをいちいち補正する
必要がある。この傾きの補正を人手によらずに自動的に
行なうようにしているのである。このような補正を行な
うことによって、画像情報のある程度までの傾きが自動
的に補正され、正立像としての入力又は複写を可能とし
ている。
[Prior Art] Recently, image processing devices that automatically digitize image information imprinted on microfilm, etc., input it to an optical disk, etc., or copy the image information, etc. There is a system that automatically corrects the tilt of image information. In other words, image information is usually imprinted on microfilm so that it is an upright image, but there are some images that are imprinted at an angle. do. If the image information is imprinted at an angle in this manner, it is necessary to correct the inclination each time when attempting to input or copy onto an optical disk or the like as an erect image. This tilt correction is automatically performed without manual intervention. By performing such correction, the tilt of the image information is automatically corrected to a certain extent, making it possible to input or copy the image as an erect image.

【0003】0003

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

【0004】0004

【課題を解決するための手段】上記目的を達成するため
の本発明は、受像部に対して原稿画像を投影する投影手
段と、当該原稿画像と当該受像部との傾きを検出する検
出手段と、当該検出手段による検出結果に応じて前記原
稿画像と前記受像部との傾きを補正する補正手段と、当
該補正手段によって補正を実行するか否かを判定する判
定手段とを有することを特徴とする。
[Means for Solving the Problems] To achieve the above object, the present invention includes a projection means for projecting an original image onto an image receiving section, a detecting means for detecting the inclination of the original image and the image receiving section. , comprising a correction means for correcting the inclination of the original image and the image receiving section according to a detection result by the detection means, and a determination means for determining whether or not the correction is to be performed by the correction means. do.

【0005】この判定手段は、前記原稿画像が矩形であ
るか否かを判定することを特徴とする。この矩形である
か否かの判定は、前記原稿画像の複数箇所で前記原稿画
像と前記受像部との傾きを算出し、この算出した各傾き
の差が所定値以下の場合、前記原稿画像が矩形であると
判定するか、あるいは、前記原稿画像の頂点を検出し、
この検出した頂点が4箇所のとき、前記原稿画像が矩形
であると判定することを特徴とする。
[0005] The determining means is characterized in that it determines whether or not the document image is rectangular. This determination of whether or not the original image is a rectangle is made by calculating the inclinations between the original image and the image receiving section at multiple locations on the original image, and if the difference between the calculated inclinations is less than a predetermined value, the original image is determining that it is a rectangle, or detecting the apex of the document image;
The present invention is characterized in that when there are four detected vertices, it is determined that the document image is rectangular.

【0006】[0006]

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

【0007】[0007]

【実施例】以下、本発明の実施例を図面に基づいて詳細
に説明する。図1は、本発明に係る傾き画像補正処理装
置が内蔵されたマイクロ画像処理装置の外観図、図2は
、図1に示した装置の光路系の概略構成図である。
Embodiments Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is an external view of a micro image processing device incorporating a tilted image correction processing device according to the present invention, and FIG. 2 is a schematic diagram of the 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 device 10 has a screen 11 for transmitting image information imprinted on the micro film.
It has two functions: a reader function for enlarging and projecting image information, and a printer function for copying the image information. LE provided at the bottom left of screen 11
D12 displays whether or not automatic tilt correction is being executed. Further, the operation section 13 provided at the bottom of the screen 11 is provided with various operation switches. 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 perform automatic tilt correction. When this correction mode button 15 is turned on, a mode is set in which automatic tilt correction is executed. At this time, LED 12 lights up,
Indicates the mode in which 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 が形成されて
いるときには、共に図示右端の退避位置にある。
The optical path system for outputting this image information to the screen 11 or to a printer (not shown) is constructed as shown in FIG. 2, and the image information is projected in the following manner. The light from the light source 20 is condensed by a condenser lens 21, then irradiates and passes through a microfilm F loaded in a carrier (not shown), and reaches the projection lens 22. Thereafter, it passes through a tilt correction prism 23. In this way, the image projection optical path A
is formed. When the optical path switching mirror 25 is in the retracted position indicated by the dotted line in the figure, that is, when it functions as a reader, a reader optical path A1 is formed in which light passing through the correction prism 23 extends from the fixed mirror 24 to the reader mirror 26. The light bent by the leader mirror 26 reaches the screen 11,
The image information imprinted on the microfilm F is enlarged and projected. Note that a first scan mirror 27 and a second scan mirror 28, which will be described later, are both in the retracted position at the right end in the figure when the leader optical path A1 is formed in which the optical path switching mirror 25 is in the retracted position.

【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 solid line position shown in the figure, that is, when it functions as a printer, the light that has passed through the correction prism 23 is transferred from the fixed mirror 24 to the optical path switching mirror 25 and the first scan mirror 2.
7 and the second scan mirror 28, a reading optical path A2 is formed which reaches the CCD line sensor L. 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 shown by the solid line in the figure, and at the same time, the first scanning mirror 27 and The second scan mirror 28 is preliminarily scanned from the retracted position to the left end position indicated by the solid line in the figure. The optical path switching mirror 25 stops at the operating position, and the first scan mirror 27 and the second scan mirror 28 interlock and scan from the left end position to the retracted position. Therefore, the light reflected by the fixed mirror 24 is
The light is reflected by the optical path switching mirror 25 and 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 on the microfilm F is projected onto the CCD line sensor L and is read. The image signal photoelectrically converted by this CCD line sensor L is input to a laser printer or the like, and copying, display, etc. are performed based on this image signal.

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

【0012】図3は、本発明にかかる傾き画像補正処理
装置の制御系のブロック図である。操作パネル13には
、図1に示したようにプリント釦14と補正モード釦1
5とが設けられており、これらからの信号はCPU30
に入力される。クロック発生回路31からは所定の周波
数のクロック信号が出力され、このクロック信号はCP
U30及びCCDラインセンサLに与えられる。A/D
 変換器32は、前述したようなミラー走査によってC
CDラインセンサLにアナログ電気信号として捕らえら
れたマイクロフィルムFの画像情報を、CPU30から
の変換信号に基づいてデジタル画像信号に変換するもの
であり、この変換後のデジタル画像信号はシェーディン
グ回路33に入力され、CPU30から出力されるシェ
ーディング信号に基づいて濃淡画像形成のための濃淡画
像信号に変換される。この濃淡画像信号は比較回路34
に入力されることになる。閾値マトリックス記憶部35
には比較回路34における濃淡比較のための基準濃度が
複数記憶されている。比較回路34において使用される
基準濃度は、CPU30から出力される閾値マトリック
ス選択信号に基づいて選択されることとなり、この選択
された閾値マトリックスは、閾値信号として比較回路3
4に与えられることになる。選択出力回路36は、CP
U30から出力される有効画像信号に基づいて2値化さ
れた画像信号を選択的に出力する。画像メモリー部37
は、この選択出力回路36から出力された画像信号を記
憶し、CPU30に画像信号として出力する。CPU3
0は、画像メモリー部37から出力された画像信号を、
EPROM38に記憶されているプログラムに基づいて
演算し、傾き補正とその補正を行なうか否かの判断をす
ることになる。CPU30からは画像の傾きを調整する
プリズムを回転させるためのプリズム回転信号が出力さ
れる一方、CPU30にはこのプリズムの定位置信号が
入力される。尚、EPROM38は、後述する傾き補正
及びその補正を行なうか否かの判断のためのプログラム
を記憶しているものであり、RAM39は、CPU30
が各種の処理を行なう際の演算結果などを一時記憶して
おくためのものである。また、DIPスイッチ40は、
マイクロ画像処理装置の動作態様,例えば、装填される
マイクロフィルムの種類の相違に応じた動作をさせる場
合などに用いられるスイッチである。
FIG. 3 is a block diagram of the control system of the tilted image correction processing apparatus according to the present invention. As shown in FIG. 1, the operation panel 13 has a print button 14 and a correction mode button 1.
5 are provided, and signals from these are sent to the CPU 30.
is input. A clock signal of a predetermined frequency is output from the clock generation circuit 31, and this clock signal is
It is applied to U30 and CCD line sensor L. A/D
Transducer 32 converts C by mirror scanning as described above.
The image information of the microfilm F captured by the CD line sensor L as an analog electrical signal is converted into a digital image signal based on a conversion signal from the CPU 30, and this converted digital image signal is sent to the shading circuit 33. Based on the input shading signal output from the CPU 30, it is converted into a grayscale image signal for forming a grayscale image. This grayscale image signal is sent to the comparator circuit 34.
will be entered into. Threshold matrix storage unit 35
A plurality of reference densities are stored in the comparison circuit 34 for comparison of gradations. The reference density used in the comparison circuit 34 is selected based on a threshold matrix selection signal output from the CPU 30, and this selected threshold matrix is used as a threshold signal in the comparison circuit 3.
It will be given to 4. The selection output circuit 36
A binarized image signal is selectively output based on the effective image signal output from U30. Image memory section 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 is the image signal output from the image memory section 37,
Calculations are made based on the program stored in the EPROM 38 to determine whether or not to correct the tilt. The CPU 30 outputs a prism rotation signal for rotating a prism for adjusting the inclination of an image, while a fixed position signal of the prism is input to the CPU 30. Note that the EPROM 38 stores a program for tilt correction, which will be described later, and for determining whether or not to perform the correction.
It is used to temporarily store calculation results when performing various processes. Further, the DIP switch 40 is
This switch is used to operate the micro image processing device in accordance with the operating mode, for example, depending on the type of microfilm 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が
消灯してその旨をオペレーターに知らせると共に傾き補
正は行われずに本スキャンが行われることになる。一方
、傾き補正を自動的に行なうと判断した場合には、LE
D12を点灯させると共に傾き補正を自動的に行なった
後に本スキャンが行われることになる。
Next, the general operation of the tilt correction processing apparatus according to the present invention will be explained based on the flowchart shown in FIG. After loading the microfilm F into the micro image processing device 10 and completing the reading operation, the print button 14 is turned on to start the reading operation. With 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 this preliminary photometric scan is stored in the image memory section 37 via the A/D converter 32, shading circuit 33, comparison circuit 34, and selection output circuit 35 ( S2). and,
Based on the image signal stored in the image memory section 37, the CPU 30 determines whether or not tilt correction should be performed automatically. Note that when this step is performed, the subroutine flowchart shown in FIG. 5 or 7 is processed (S3). As a result of this judgment, when it is determined that the tilt correction is to be performed, the L
The ED 12 is turned on to perform automatic tilt correction processing. That is, by rotating the correction prism 23 about the optical axis, the image information imprinted on the microfilm F is projected straight onto the CCD line sensor L. On the other hand, if it is determined not to perform tilt correction, the process proceeds to the next step without performing this automatic tilt processing. Note that when it is determined that automatic tilt correction processing is not to be performed, the LED 12 turns off (S3, S
4). After the above processing is executed, a main scan is performed, and the 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). In this manner, when it is determined that the tilt correction is not to be performed automatically, the LED 12 is turned off to notify the operator of this fact, and the main scan is performed without performing the tilt correction. On the other hand, if it is determined that the tilt correction is to be performed automatically, the LE
The main scan will be performed after turning on D12 and automatically performing tilt correction.

【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 tilt correction, and is carried out in step S3 of the flowchart shown in FIG. Note that the operation of this flowchart will be explained with reference to FIG. As shown in Figure 6, microfilm F
Assume that the image information 40 is tilted as shown in the figure. It should be noted that normally, it is thought that there are almost no images that are imprinted at an extreme inclination like this, but the reason for doing so is to make the invention easier to understand. Also,
In the case of a positive film, the image information 40 is white compared to the surroundings, and in the case of a negative film, it is black compared to the surroundings, but in the present invention, tilt correction can be applied to any film. It is possible to judge whether or not to perform processing.

【0015】まず、CPU30は画像メモリ部37に記
憶されている画像情報に基づいて、その画像情報を構成
するデータが黒から白あるいは白から黒に変化する点A
i ,Bi (i=1 〜n )を検索する。つまり、
画像情報40の輪郭線を検索することになる(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 を求めることになる(S
11)。以上の処理によって求められた任意の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)。CPU30はこの演算結果に基
づいてプリズム回転信号を出力し、定位置信号を入力し
ながら補正用プリズム23を回転駆動させる(S15)
。S13のステップにおける判断において、その差が十
分に小さくないと判断されたときには、LED12を消
灯させて傾き補正処理を自動で行なわない旨の表示をし
て、図4のフローチャートの処理に戻り、本スキャンが
実行されることになる(S16)。以上の処理において
は、画像情報を構成するデータが黒から白あるいは白か
ら黒に変化する点を多数検索し、その結果に基づいて画
像情報の傾きを算出するようにしたが、処理速度の関係
から、その算出に支障が無ければその検索の対象とする
点をある程度減少させても良い。
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.
Search for i, Bi (i=1 to n). In other words,
The outline of the image information 40 will be searched (S10)
. Next, the above-determined points Ai, Bi (i=1
~n) Find the distances Xi, Yi (i=1~n) in the X and Y directions between any two points at each point. For example, the distances X1 and Y1 in the X and Y directions at the two points A1 and B1 in FIG. 6, or the distances Xi and Yi in the X and Y directions at the two points Ai and Bi in FIG.
11). The slope θi (i=1 to n) of a line connecting any two points determined by the above processing is determined. In the above example, the slope θ1 of the line segment connecting the two points A1 and B1 or the slope θi of the line segment connecting the two points Ai and Bi are determined (S12). Next, it is determined whether the difference between the respective slopes θi (i=1 to n) obtained in step S12 is sufficiently small. That is, it is determined whether the difference between the slope θ1 and the slope θi is sufficiently small (S13). When the difference is determined to be sufficiently small, it is determined that the input image is a rectangular image that can be processed for tilt correction, and tilt correction is performed to output the image to an external device as an erect image. . Specifically, the amount of rotation of the correction prism 23 is calculated, and this amount of rotation is 1 of the average value of the slopes θ1 to θn for all the points found in step S12.
/2 (S14). The CPU 30 outputs a prism rotation signal based on this calculation result, and rotates the correction prism 23 while inputting the fixed position signal (S15).
. If it is determined in step S13 that the difference is not small enough, the LED 12 is turned off to display that the tilt correction process will not be performed automatically, and the process returns to the flowchart in FIG. A scan will be executed (S16). In the above processing, the data forming the image information is searched for many points where it changes from black to white or from white to black, and the slope of the image information is calculated based on the results. Therefore, if there is no problem with 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 tilt correction. Note that the operation of this flowchart will be explained with reference to FIG. First, C
Based on the image information stored in the image memory section 37, the PU 30 determines whether the data constituting the image information is black, white, or black.
A line that changes to black or white to black to white is searched for in the vertical and horizontal directions as shown in FIG. 8, and the point where the distance of the change is the smallest, that is, the minimum point, is found. Through this search, the vertices of the image information, for example, points P1 and P2 in FIG. 8, are found. This is because at the vertex, the distance of change between black and white or black and white is the minimum (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 tilt correction processing, and the average slope of the image information is calculated from the coordinates of each of the obtained vertices. Then, tilt correction is performed to output the image to an external device as an erect image. Specifically, the amount of rotation of the correction prism 23 is calculated, and this amount of rotation is 1/2 of the inclination determined in step S22 (S21 to S23). CPU30
outputs a prism rotation signal based on this calculation result,
The correction prism 23 is rotationally driven while inputting the fixed position signal (S24). In the judgment in step S21, if there are not four minimum points, that is, three or less or five or more, the LED 12 is turned off to display that the tilt correction process will not be performed automatically, and the process shown in FIG.
Returning to the process of the flowchart, the main scan is executed (S25).

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

【0018】[0018]

【発明の効果】以上述べたように本発明によれば、対象
となる画像情報の傾き補正を実行すべきか,すべきでな
いか,の判断機能を備えているから、画像処理に要する
時間の短縮化を図ることができることとなり、さらに、
不適切な画像を補正するような誤動作をも防止し得るこ
とになる。
[Effects of the Invention] As described above, according to the present invention, the time required for image processing is reduced because the present invention has a function to determine whether or not to perform tilt correction on target image information. In addition,
It is also possible to prevent malfunctions such as correcting inappropriate images.

【図面の簡単な説明】[Brief explanation of the drawing]

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

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

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

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

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

【図6】図5に示したフローチャートの演算過程を説明
するための図である。
FIG. 6 is a diagram for explaining the 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 perform tilt correction in the tilt image correction processing device according to the present invention.

【図8】図7に示したフローチャートの演算過程を説明
するための図である。
FIG. 8 is a diagram for explaining the 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…画像メモリー部
10...Micro image processing device 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 section

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】  受像部に対して原稿画像を投影する投
影手段と、当該原稿画像と当該受像部との傾きを検出す
る検出手段と、当該検出手段による検出結果に応じて前
記原稿画像と前記受像部との傾きを補正する補正手段と
、当該補正手段によって補正を実行するか否かを判定す
る判定手段とを有することを特徴とする傾き画像補正処
理装置
1. Projection means for projecting a document image onto an image receiving section; detecting means for detecting the inclination of the document image and the image receiving section; A tilted image correction processing device comprising a correction means for correcting the tilt with respect to an image receiving section, and a determination means for determining whether or not the correction is to be performed by the correction means.
【請求項2】  前記判定手段は、前記原稿画像が矩形
であるか否かを判定することを特徴とする請求項第1項
記載の傾き画像補正処理装置。
2. The tilted image correction processing apparatus according to claim 1, wherein the determining means determines whether or not the document image is rectangular.
【請求項3】  前記判定手段は、前記原稿画像の複数
箇所で前記原稿画像と前記受像部との傾きを算出し、こ
の算出した各傾きの差が所定値以下の場合、前記原稿画
像が矩形であると判定することを特徴とする請求項第2
項記載の傾き画像補正処理装置。
3. The determining means calculates a tilt between the document image and the image receiving section at a plurality of locations on the document image, and if the difference between the calculated tilts is equal to or less than a predetermined value, the document image is rectangular. Claim 2 characterized in that it is determined that
The tilted image correction processing device described in .
【請求項4】  前記判定手段は、前記原稿画像の頂点
を検出し、この検出した頂点が4箇所のとき、前記原稿
画像が矩形であると判定することを特徴とする請求項第
2項記載の傾き画像補正処理装置。
4. The determining means detects vertices of the document image, and determines that the document image is rectangular when there are four detected vertices. Tilt image correction processing device.
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 true JPH04271337A (en) 1992-09-28
JP3207209B2 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5715497A (en) * 1995-11-06 1998-02-03 Minolta Co., Ltd. Image forming apparatus
US5854964A (en) * 1996-04-24 1998-12-29 Minolta Co., Ltd. Image reading apparatus having an auto document feeder

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5715497A (en) * 1995-11-06 1998-02-03 Minolta Co., Ltd. Image forming apparatus
US5854964A (en) * 1996-04-24 1998-12-29 Minolta Co., Ltd. Image reading apparatus having an auto document feeder

Also Published As

Publication number Publication date
JP3207209B2 (en) 2001-09-10

Similar Documents

Publication Publication Date Title
US5440403A (en) Image reading means for reading a document including a plurality of images and space
JPH05252379A (en) Image processor
US5719968A (en) Digital copy machine that carries out optimum copy regardless of original mounted position
JP2001223894A (en) Picture processor, picture processing method and storage medium
US5327261A (en) Image reading apparatus capable of detecting paper size
US5335093A (en) Film image reading system
US5282064A (en) Apparatus for simultaneous reading of reflective and light conductive portions of an original
JPH04271337A (en) Tilt image correction processor
US6028966A (en) Image reading apparatus and method including pre-scanning
JP2003198809A (en) Original size detection apparatus, original size detection method, and image forming apparatus
JPH07283991A (en) Image pickup device
JP2885969B2 (en) Micro film reader
JP2745256B2 (en) Micro film reader
JP3164644B2 (en) Image reading device
JP3258794B2 (en) Convergence adjustment device
JPH09261448A (en) Image processor
JPH0693057B2 (en) Autofocus device
JPH04253471A (en) Method and device for processing picture
JPH057290A (en) Image processor
JPH07203184A (en) Image information handling unit
JPH0364258A (en) Image reader
JP2001223892A (en) Picture processor, picture processing method and storage medium
JPH10145602A (en) Image recording device
JP2728645B2 (en) Image magnification device
JPH11308414A (en) Image read system and storage medium storing control procedure for the image read system

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