JPH09321983A - Image processing method and device - Google Patents

Image processing method and device

Info

Publication number
JPH09321983A
JPH09321983A JP8137838A JP13783896A JPH09321983A JP H09321983 A JPH09321983 A JP H09321983A JP 8137838 A JP8137838 A JP 8137838A JP 13783896 A JP13783896 A JP 13783896A JP H09321983 A JPH09321983 A JP H09321983A
Authority
JP
Japan
Prior art keywords
image
image data
detecting
unit
area
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
JP8137838A
Other languages
Japanese (ja)
Inventor
Akio Kojima
章夫 小嶋
Yasuhiro Kuwabara
康浩 桑原
Masao Kataoka
雅雄 片岡
Akiyuki Naka
昭行 仲
Tsuneharu Tomita
常張 富田
Atsushi Sogami
淳 曽我美
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP8137838A priority Critical patent/JPH09321983A/en
Publication of JPH09321983A publication Critical patent/JPH09321983A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain the image data whose tilt is automatically corrected by detecting the tilt of an image that is read out of a detected boundary and then correcting the tilt of the image of the image data. SOLUTION: A blocking means 11 detects whether all unit blocks forming each of block areas divided in a prescribed size in the image data are blank or not and then outputs the block data to show whether every block 20 is identical to an information area or a blank area. Then a 1st tilt detection means 12 detects the tilt of an image based on the block data, and a tilt correction means 13 corrects the tilt of the image data based on the tilt information outputted from the means 12. Thus, the image tilt can be automatically detected and corrected, so that a user can obtain the image data whose tilt is automatically corrected without having any troublesome operation.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ハンドスキャナ等
の画像読取装置により読み込んだ画像データの処理方
法、及び装置に関し、特に、該読み込んだ画像データを
利用者が利用または加工し易い形態のデータに,自動的
に補正する画像処理方法,及び画像処理装置に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for processing image data read by an image reading device such as a hand scanner, and in particular, data in a form in which the read image data is easily used or processed by a user. In addition, the present invention relates to an image processing method and an image processing apparatus for automatically correcting.

【0002】[0002]

【従来の技術】スキャナ等で画像を読み込み、この読み
込まれた画像データを表示、あるいはこの画像データを
加工して利用することは従来より行われており、また、
ハンドスキャナ等で原稿画像の上を走査することによ
り、より面積の広い原稿,あるいは不定形の原稿の画像
データを取り込むことが可能であった。
2. Description of the Related Art It has been conventionally practiced to read an image with a scanner or the like, display the read image data, or process the image data for use.
By scanning the original image with a hand scanner or the like, it was possible to capture image data of an original having a wider area or an irregular original.

【0003】また、特願平7−80568号には、フリ
ーハンドスキャナを用い、原稿読み取り時に、各走査領
域の重なり領域の画像データを比較して、画像データの
位置ズレを補正することにより、ズレの無い広い面積の
画像データを得る技術が開示されている。
Further, in Japanese Patent Application No. 7-80568, a freehand scanner is used to compare the image data in the overlapping area of each scanning area and correct the positional deviation of the image data when reading a document. A technique for obtaining image data of a large area without deviation is disclosed.

【0004】[0004]

【発明が解決しようとする課題】上記特願平7−805
68号に示されているようなフリーハンドスキャナを用
いて原稿を読み取る画像処理装置では、画像データを、
原稿を読み込む走査開始時にフリーハンドスキャナが置
かれた方向を基準軸の方向として、生成するので、使用
者が走査開始時に、原稿の水平,及び垂直線から傾いた
方向にスキャナを置いて走査を始めた時は、この走査に
より得られた画像データはスキャナが走査開始時に傾い
ている角度分だけ実際の水平,及び垂直線から傾いた画
像データとなる。
[Patent Document 1] Japanese Patent Application No. 7-805
In an image processing apparatus that reads a document using a freehand scanner as shown in No. 68, the image data is
When a document is scanned, it is generated with the direction in which the free-hand scanner is placed as the reference axis direction at the beginning of scanning, so when the user starts scanning, the scanner is placed in a direction tilted from the horizontal and vertical lines of the document and scanned. At the beginning, the image data obtained by this scanning becomes image data inclined from the actual horizontal and vertical lines by the angle at which the scanner is inclined at the start of scanning.

【0005】また、この読み取りの対象となる原稿が、
新聞,雑誌等の場合、得られる画像の縦軸,横軸が傾い
たものは、非常に見づらいものとなってしまい、また、
この傾きを修正するためには、得られた画像データが原
稿の水平,垂直線に対してどれだけ傾いているかを求
め、この角度分だけ画像を回転させるような座標変換処
理をさらに行わねばならず、この修正は使用者にとって
非常に面倒な作業であるか、または使用者には不可能な
作業であった。
The original document to be read is
In the case of newspapers, magazines, etc., if the vertical and horizontal axes of the obtained image are tilted, it will be very difficult to see.
In order to correct this inclination, it is necessary to find out how much the obtained image data is inclined with respect to the horizontal and vertical lines of the original, and further perform coordinate conversion processing to rotate the image by this angle. However, this modification is very troublesome work for the user or impossible for the user.

【0006】また、ハンドスキャナ等で新聞,雑誌の必
要な記事を読み込む場合、実際には、必要な領域よりや
や広い領域も走査することになり、走査により得られた
画像データの全領域のうち必要領域の画像データのみを
抽出するためには、画像データの必要領域の範囲を指定
してこれを切り取る作業をさらに行わねばならず、この
編集作業は使用者にとって非常に面倒な作業であるか、
または使用者には不可能な作業であった。
Further, when reading a necessary article in a newspaper or a magazine with a hand scanner or the like, an area slightly larger than the necessary area is actually scanned, and among all areas of the image data obtained by the scanning. In order to extract only the image data of the required area, it is necessary to further specify the range of the required area of the image data and cut it out. Is this editing work very troublesome for the user? ,
Or it was impossible for the user.

【0007】また、読み取る原稿が新聞,雑誌等であっ
て、段組み,頁替わり等により分割された記事を読み込
む場合に、上記特願平7−80568号に示されている
ようなフリーハンドスキャナを用いて、これらの分割さ
れた記事のそれぞれを別々に読み込むことで、所望の記
事領域のみを読み込むことができる。しかし、分割され
たそれぞれの記事を一つの画像データとして得るには、
それぞれの記事を各画像データとして読み込んだのち、
これらの必要部分を指定して、これを並べる編集作業が
必要であった。
When the manuscript to be read is a newspaper, a magazine, etc., and when reading an article divided by columns, page changes, etc., a freehand scanner as disclosed in Japanese Patent Application No. 7-80568. It is possible to read only the desired article area by reading each of these divided articles separately using. However, to get each divided article as one image data,
After reading each article as each image data,
It was necessary to specify these necessary parts and edit them to arrange them.

【0008】本発明は以上のような問題を解決するため
になされたもので、ハンドスキャナ等で読み込んだ画像
データの傾きを自動的に補正できる画像処理方法,及び
画像処理装置を提供することを目的とする。
The present invention has been made to solve the above problems, and it is an object of the present invention to provide an image processing method and an image processing apparatus capable of automatically correcting the inclination of image data read by a hand scanner or the like. To aim.

【0009】また、得られた画像データのうちの必要領
域を自動的に選択し、不必要なデータ領域を含まない画
像データを得ることができる画像処理方法,及び画像処
理装置を提供することを目的とする。
It is also an object of the present invention to provide an image processing method and an image processing apparatus capable of automatically selecting a necessary area of the obtained image data and obtaining image data not including an unnecessary data area. To aim.

【0010】また、順次読み込む各画像データを自動的
に並べて配置することができる画像処理方法,及び画像
処理装置を提供することを目的とする。
It is another object of the present invention to provide an image processing method and an image processing apparatus capable of automatically arranging sequentially read image data.

【0011】さらにまた、上述したそれぞれの画像処理
を組み合わせて行うことができる画像処理方法,及び画
像処理装置を提供することを目的とする。
Still another object of the present invention is to provide an image processing method and an image processing apparatus which can perform the above-mentioned image processing in combination.

【0012】[0012]

【課題を解決するための手段】本発明(請求項1)の画
像処理方法は、画像読取部を備えた画像読取手段により
読み込んだ画像データを処理する画像処理方法におい
て、前記画像データ上の所定の大きさに区切られた各ブ
ロック領域を構成する複数の単位ブロックの全ての単位
ブロックが、空白であるか否かを検出して上記複数の各
ブロック領域が情報領域か空白領域かを示すブロックデ
ータを得、該ブロックデータから画像の情報領域と空白
領域との境界を検出し、該検出された境界から前記読み
込んだ画像の傾きを検出し、前記画像データの,前記画
像の傾きを補正するものである。
An image processing method according to the present invention (claim 1) is an image processing method for processing image data read by an image reading unit having an image reading unit. A block indicating whether all the unit blocks of a plurality of unit blocks forming each block area divided into the size are blank and indicating whether each of the plurality of block areas is an information area or a blank area. Data is obtained, the boundary between the information area and the blank area of the image is detected from the block data, the inclination of the read image is detected from the detected boundary, and the inclination of the image of the image data is corrected. It is a thing.

【0013】また、本発明(請求項2)の画像処理方法
は、任意の方向に走査可能な画像読取部を備えた画像読
取手段により読み込んだ画像データを処理する画像処理
方法において、前記画像読取部をある基準の方向に所定
の長さ以上直進させ、その直進した方向を、前記画像読
取部の両端の移動量を示す2つの移動量検出出力から検
出し、この検出した直進方向と、この画像の読み取り開
始時の前記画像読取部の基準軸とから、読み取った画像
の傾きを検出し、前記画像データの,前記画像の傾きを
補正するものである。
Further, the image processing method of the present invention (claim 2) is an image processing method for processing image data read by an image reading means having an image reading unit capable of scanning in any direction. The unit is moved straight in a certain reference direction for a predetermined length or more, and the straightened direction is detected from two movement amount detection outputs indicating the movement amounts of both ends of the image reading unit. The tilt of the read image is detected from the reference axis of the image reading unit at the start of reading the image, and the tilt of the image of the image data is corrected.

【0014】また、本発明(請求項3)の画像処理方法
は、画像読取部を備えた画像読取手段により読み込んだ
画像データを処理する画像処理方法において、前記画像
データ上の所定の大きさに区切られた各ブロック領域を
構成する複数の単位ブロックの全ての単位ブロックが、
空白であるか否かを検出して上記複数の各ブロックが情
報領域か空白領域かを示すブロックデータを得、該ブロ
ックデータから画像の空白領域を検出し、該空白領域か
ら四方を該空白領域で囲まれたすべての情報領域を囲む
ことのできる空白領域よりなる最外枠を検出し、前記画
像データの,前記検出した空白領域最外枠で囲まれる画
像データのみを出力するものである。
An image processing method according to the present invention (claim 3) is an image processing method for processing image data read by an image reading means having an image reading section, and the image data has a predetermined size on the image data. All the unit blocks of the plurality of unit blocks forming each of the divided block areas are
Block data indicating whether each of the plurality of blocks is an information area or a blank area is obtained by detecting whether or not the block is blank, a blank area of an image is detected from the block data, and the blank area is detected in four directions from the blank area. The outermost frame composed of a blank area capable of enclosing all the information areas surrounded by is detected, and only the image data of the image data surrounded by the outermost frame of the detected blank area is output.

【0015】また、本発明(請求項4)の画像処理方法
は、任意の方向に走査可能な画像読取部を備えた画像読
取装置により読み込んだ画像データを処理する画像処理
方法において、順次読み込まれる複数の前記画像データ
の端座標を読み取り走査ごとにそれぞれ検出し、前記複
数の画像データが順次並んで配置されるように、順次読
み込んだ画像データの一方端の端座標を前回読み込んだ
画像データの他方端の端座標に揃えるよう変換するもの
である。
The image processing method of the present invention (claim 4) is an image processing method for processing image data read by an image reading device having an image reading unit capable of scanning in an arbitrary direction, which is sequentially read. The end coordinates of the plurality of image data are detected for each scanning, and the end coordinates of one end of the sequentially read image data of the previously read image data are arranged so that the plurality of image data are sequentially arranged. The conversion is performed so that the coordinates of the other end are aligned.

【0016】本発明(請求項5)の画像処理装置は、画
像読取部を備え、画像データを読み取る画像読取手段
と、前記読み取った画像データ上の所定の大きさに区切
られた各ブロック領域を構成する複数の単位ブロックの
全ての単位ブロックが、空白であるか否かを検出し、上
記複数の各ブロックが情報領域か空白領域かを示すブロ
ックデータを出力するブロック化手段と、前記ブロック
データから画像の傾きを検出する第1の傾き検出手段
と、前記第1の傾き検出手段から出力される傾き情報を
用いて前記画像データの傾きを補正する傾き補正手段と
を備えたものである。
An image processing apparatus according to the present invention (Claim 5) comprises an image reading unit, and comprises an image reading unit for reading image data and each block area divided into a predetermined size on the read image data. Blocking means for detecting whether or not all the unit blocks of the plurality of unit blocks constituting the block are blank and outputting block data indicating whether each of the plurality of blocks is an information area or a blank area, and the block data. The first inclination detecting means for detecting the inclination of the image, and the inclination correcting means for correcting the inclination of the image data by using the inclination information output from the first inclination detecting means.

【0017】また、本発明(請求項6)の画像処理装置
は、任意の方向に走査可能な画像読取部を備え、画像デ
ータを読み取る画像読取手段と、前記画像読取部の両端
の移動量を出力する2つの移動量検出手段と、前記各移
動量検出手段から出力される各移動量情報から、前記画
像読取部が所定の長さ以上直進した方向を検出する直進
検出手段と、前記直進検出手段で検出された直進方向
と、この画像の読み取り開始時の前記画像読取部の基準
軸とから読み取った画像の傾きを検出する第2の傾き検
出手段と、前記第2の傾き検出手段で検出された傾き情
報を用いて前記画像データの傾きを補正する傾き補正手
段とを備えたものである。
An image processing apparatus according to the present invention (claim 6) is provided with an image reading unit capable of scanning in an arbitrary direction, and an image reading unit for reading image data and a movement amount of both ends of the image reading unit. Based on the two movement amount detecting means to be output, and the movement amount information output from each of the movement amount detecting means, a straight movement detecting means for detecting a direction in which the image reading section has gone straight for a predetermined length or more, and the straight movement detection. Second inclination detecting means for detecting the inclination of the image read from the straight-ahead direction detected by the means and the reference axis of the image reading portion at the start of reading the image, and the second inclination detecting means. And a tilt correction means for correcting the tilt of the image data by using the tilt information thus obtained.

【0018】また、本発明(請求項7)の画像処理装置
は、画像読取部を備え、画像データを読み取る画像読取
手段と、前記読み取った画像データ上の所定の大きさに
区切られた各ブロック領域を構成する複数の単位ブロッ
クの全ての単位ブロックが、空白であるか否かを検出
し、上記複数の各ブロックが情報領域か空白領域かを示
すブロックデータを出力するブロック化手段と、前記ブ
ロックデータから画像の空白領域を検出する空白領域検
出手段と、前記空白領域検出手段で検出した前記空白領
域から四方を空白領域で囲まれたすべての情報領域を囲
むことのできる,空白領域よりなる最外枠を検出する最
外枠検出手段と、前記画像データの,検出した前記最外
枠で囲まれる画像データのみを出力する画像切取手段と
を備えたものである。
Further, an image processing apparatus of the present invention (claim 7) comprises an image reading section, image reading means for reading image data, and each block divided into a predetermined size on the read image data. Blocking means for detecting whether or not all unit blocks of a plurality of unit blocks forming an area are blank and outputting block data indicating whether each of the plurality of blocks is an information area or a blank area, A blank area detecting means for detecting a blank area of the image from the block data; and a blank area capable of enclosing all information areas surrounded by blank areas on all sides from the blank area detected by the blank area detecting means. An outermost frame detecting means for detecting an outermost frame and an image cutting means for outputting only the image data of the image data enclosed by the detected outermost frame are provided.

【0019】また、本発明(請求項8)の画像処理装置
は、任意の方向に走査可能な画像読取部を備え、画像デ
ータを読み取る画像読取手段と、順次読み込まれる任意
の大きさの複数の前記画像データの端座標を読み取り走
査ごとにそれぞれ検出し、前記複数の画像データが順次
並んで配置されるように、順次読み込んだ画像データの
一方端の端座標を前回読み込んだ画像データの他方端の
端座標に揃えるよう変換する接続配置手段を備えたもの
である。
An image processing apparatus according to the present invention (claim 8) includes an image reading unit capable of scanning in an arbitrary direction, an image reading unit for reading image data, and a plurality of sequentially read arbitrary sizes. The edge coordinates of the image data are detected for each scanning, and the edge coordinates of one end of the sequentially read image data are transferred to the other end of the previously read image data so that the plurality of image data are sequentially arranged. It is provided with a connecting and arranging means for converting so as to align with the end coordinates of.

【0020】また、本発明(請求項9)の画像処理装置
は、画像読取部を備え、画像データを読み取る画像読取
手段と、前記読み取った画像データ上の所定の大きさに
区切られた各ブロック領域を構成する複数の単位ブロッ
クの全ての単位ブロックが、空白であるか否かを検出
し、上記複数の各ブロックが情報領域か空白領域かを示
すブロックデータを出力するブロック化手段と、前記ブ
ロックデータから画像の傾きを検出する第1の傾き検出
手段と、前記第1の傾き検出手段から出力される傾き情
報を用いて前記画像データの傾きを補正する傾き補正手
段とを備え、かつ、前記ブロック化手段により得られる
ブロックデータから画像の空白領域を検出する空白領域
検出手段と、前記空白領域検出手段で検出した前記空白
領域から四方を空白領域で囲まれたすべての情報領域を
囲むことのできる,空白領域よりなる最外枠を検出する
最外枠検出手段と、前記画像データの,検出した前記最
外枠で囲まれる画像データのみを出力する画像切取手段
とを備えたものである。
An image processing apparatus according to the present invention (claim 9) includes an image reading unit, image reading means for reading image data, and each block divided into a predetermined size on the read image data. Blocking means for detecting whether or not all unit blocks of a plurality of unit blocks forming an area are blank and outputting block data indicating whether each of the plurality of blocks is an information area or a blank area, A first tilt detecting means for detecting the tilt of the image from the block data; and a tilt correcting means for correcting the tilt of the image data using the tilt information output from the first tilt detecting means, and Blank area detection means for detecting a blank area of the image from the block data obtained by the blocking means, and blanks on all four sides of the blank area detected by the blank area detection means The outermost frame detection means for detecting the outermost frame composed of a blank area capable of enclosing all the information areas surrounded by the area, and only the image data of the image data enclosed by the detected outermost frame. And an image cutting means for outputting.

【0021】また、本発明(請求項10)の画像処理装
置は、任意の方向に走査可能な画像読取部を備え、画像
データを読み取る画像読取手段と、前記画像読取部の両
端の移動量を出力する2つの移動量検出手段と、前記各
移動量検出手段から出力される各移動量情報から、前記
画像読取部が所定の長さ以上直進した方向を検出する直
進検出手段と、前記直進検出手段で検出された直進方向
と、この画像を読み取り開始時の前記画像読取部の基準
軸とから読み取った画像の傾きを検出する第2の傾き検
出手段と、前記第2の傾き検出手段で検出された傾き情
報を用いて前記画像データの傾きを補正する傾き補正手
段とを備え、かつ、画像データ上の所定の大きさに区切
られた各ブロック領域を構成する複数の単位ブロックの
全ての単位ブロックが、空白であるか否かを検出し、上
記複数の各ブロックが情報領域か空白領域かを示すブロ
ックデータを出力するブロック化手段と、前記ブロック
データから画像の空白領域を検出する空白領域検出手段
と、前記空白領域検出手段で検出した前記空白領域から
四方を空白領域で囲まれたすべての情報領域を囲むこと
のできる,空白領域よりなる最外枠を検出する最外枠検
出手段と、前記画像データの,検出した前記最外枠で囲
まれる画像データのみを出力する画像切取手段とを備え
たものである。
Further, an image processing apparatus of the present invention (claim 10) is provided with an image reading unit capable of scanning in any direction, and an image reading unit for reading image data and a moving amount of both ends of the image reading unit are provided. Based on the two movement amount detecting means to be output, and the movement amount information output from each of the movement amount detecting means, the straight-movement detecting means for detecting the direction in which the image reading unit has gone straight for a predetermined length or more, and the straight-movement detection. Second tilt detecting means for detecting the tilt of the image read from the straight-ahead direction detected by the means and the reference axis of the image reading portion at the start of reading the image, and detected by the second tilt detecting means. A unit for correcting the inclination of the image data by using the obtained inclination information, and all units of a plurality of unit blocks forming each block area divided into a predetermined size on the image data. Block , A block forming means for detecting whether or not each of the plurality of blocks is blank and outputting block data indicating whether each of the plurality of blocks is an information area or a blank area, and a blank area detection for detecting a blank area of an image from the block data. Means and outermost frame detection means for detecting the outermost frame composed of a blank area, which can enclose all information areas surrounded by blank areas on all sides from the blank area detected by the blank area detection means, An image cropping unit that outputs only the detected image data of the image data enclosed by the outermost frame is provided.

【0022】また、本発明(請求項11)の画像処理装
置は、任意の方向に走査可能な画像読取部を備え、画像
データを読み取る画像読取手段と、前記読み取った画像
データ上の所定の大きさに区切られた各ブロック領域を
構成する複数の単位ブロックの全ての単位ブロックが、
空白であるか否かを検出し、上記複数の各ブロックが情
報領域か空白領域かを示すブロックデータを出力するブ
ロック化手段と、前記ブロックデータから画像の空白領
域を検出する空白領域検出手段と、前記空白領域検出手
段で検出した前記空白領域から四方を空白領域で囲まれ
たすべての情報領域を囲むことのできる,空白領域より
なる最外枠を検出する最外枠検出手段と、前記画像デー
タの,検出した前記最外枠で囲まれる画像データのみを
出力する画像切取手段とを備え、かつ、順次読み込まれ
る複数の前記画像データの端座標を読み取り走査ごとに
それぞれ検出し、前記複数の画像データが順次並んで配
置されるように、順次読み込んだ画像データの一方端の
端座標を前回読み込んだ画像データの他方端の端座標に
揃えるよう変換する接続配置手段を備えたものである。
An image processing apparatus according to the present invention (claim 11) includes an image reading unit capable of scanning in any direction, and an image reading unit for reading image data and a predetermined size on the read image data. All the unit blocks of the plurality of unit blocks forming each block area divided into
Blocking means for detecting whether or not each block is blank and outputting block data indicating whether each of the plurality of blocks is an information area or a blank area, and a blank area detecting means for detecting a blank area of an image from the block data. An outermost frame detecting means for detecting an outermost frame composed of a blank area, which can enclose all information areas surrounded by blank areas on all sides from the blank area detected by the blank area detecting means; Image cutting means for outputting only the detected image data enclosed by the outermost frame, and detecting the edge coordinates of the plurality of sequentially read image data for each scanning, Convert the end coordinates of one end of the sequentially read image data to the end coordinates of the other end of the previously read image data so that the image data are arranged side by side. Those having a connection arrangement means.

【0023】また、本発明(請求項12)の画像処理装
置は、任意の方向に走査可能な画像読取部を備え、画像
データを読み取る画像読取手段と、 前記読み取った画
像データ上の所定の大きさに区切られた各ブロック領域
を構成する複数の単位ブロックの全ての単位ブロック
が、空白であるか否かを検出し、上記複数の各ブロック
が情報領域か空白領域かを示すブロックデータを出力す
るブロック化手段と、前記ブロックデータから画像の傾
きを検出する第1の傾き検出手段と、前記第1の傾き検
出手段から出力される傾き情報を用いて前記画像データ
の傾きを補正する傾き補正手段と、前記ブロックデータ
から画像の空白領域を検出する空白領域検出手段と、前
記空白領域検出手段で検出した前記空白領域から四方を
空白領域で囲まれたすべての情報領域を囲むことのでき
る,空白領域よりなる最外枠を検出する最外枠検出手段
と、前記画像データの,検出した前記最外枠で囲まれる
画像データのみを出力する画像切取手段とを備え、か
つ、順次読み込まれる複数の前記画像データの端座標を
読み取り走査ごとにそれぞれ検出し、前記複数の画像デ
ータが順次並んで配置されるように、順次読み込んだ画
像データの一方端の端座標を前回読み込んだ画像データ
の他方端の端座標に揃えるよう変換する接続配置手段を
備えたものである。
An image processing apparatus according to the present invention (claim 12) is provided with an image reading unit capable of scanning in any direction, an image reading unit for reading image data, and a predetermined size on the read image data. Detects whether or not all unit blocks of the plurality of unit blocks forming each block area are blank and outputs block data indicating whether each of the plurality of blocks is an information area or a blank area Blocking means, first tilt detecting means for detecting the tilt of the image from the block data, and tilt correction for correcting the tilt of the image data using the tilt information output from the first tilt detecting means. Means, a blank area detecting means for detecting a blank area of the image from the block data, and a blank area surrounded by blank areas on all sides from the blank area detected by the blank area detecting means. Outermost frame detecting means for detecting the outermost frame composed of a blank area capable of enclosing all the information areas, and image clipping for outputting only the image data of the image data enclosed by the detected outermost frame And one end of the sequentially read image data so that the edge coordinates of the plurality of sequentially read image data are detected for each reading scan and the plurality of image data are sequentially arranged. The connection arranging means is provided for converting the edge coordinates of the above into the edge coordinates of the other end of the image data read last time.

【0024】また、本発明(請求項13)の画像処理装
置は、任意の方向に走査可能な画像読取部を備え、画像
データを読み取る画像読取手段と、前記画像読取部の両
端の移動量を出力する2つの移動量検出手段と、前記各
移動量検出手段から出力される各移動量情報から、前記
画像読取部が所定の長さ以上直進した方向を検出する直
進検出手段と、前記直進検出手段で検出された直進方向
と、この画像の読み取り開始時の前記画像読取部の基準
軸とから読み取った画像の傾きを検出する第2の傾き検
出手段と、前記第2の傾き検出手段で検出された傾き情
報を用いて前記画像データの傾きを補正する傾き補正手
段と、画像データ上の所定の大きさに区切られた各ブロ
ック領域を構成する複数の単位ブロックの全ての単位ブ
ロックが、空白であるか否かを検出し、上記複数の各ブ
ロックが情報領域か空白領域かを示すブロックデータを
出力するブロック化手段と、前記ブロックデータから画
像の空白領域を検出する空白領域検出手段と、前記空白
領域検出手段で検出した前記空白領域から四方を空白領
域で囲まれたすべての情報領域を囲むことのできる,空
白領域よりなる最外枠を検出する最外枠検出手段と、前
記画像データの,検出した前記最外枠で囲まれる画像デ
ータのみを出力する画像切取手段とを備え、かつ、順次
読み込まれる複数の前記画像データの端座標を読み取り
走査ごとにそれぞれ検出し、前記複数の画像データが順
次並んで配置されるように、順次読み込んだ画像データ
の一方端の端座標を前回読み込んだ画像データの他方端
の端座標に揃えるよう変換する接続配置手段を備えたも
のである。
An image processing apparatus according to the present invention (claim 13) is provided with an image reading unit capable of scanning in an arbitrary direction, and an image reading unit for reading image data and a movement amount of both ends of the image reading unit are provided. Based on the two movement amount detecting means to be output, and the movement amount information output from each of the movement amount detecting means, a straight movement detecting means for detecting a direction in which the image reading section has gone straight for a predetermined length or more, and the straight movement detection. Second inclination detecting means for detecting the inclination of the image read from the straight-ahead direction detected by the means and the reference axis of the image reading portion at the start of reading the image, and the second inclination detecting means. An inclination correcting unit that corrects the inclination of the image data using the obtained inclination information, and all unit blocks of a plurality of unit blocks that form each block area divided into a predetermined size on the image data are blank. so Block means for detecting whether or not each of the plurality of blocks is an information area or a blank area, and a blank area detecting means for detecting a blank area of an image from the block data, Outermost frame detection means for detecting the outermost frame composed of blank areas, which can enclose all information areas surrounded by blank areas on all sides from the blank area detected by the blank area detection means, and the image data An image cropping means for outputting only the image data surrounded by the outermost frame that has been detected, and detecting the edge coordinates of the plurality of sequentially read image data for each scanning, A connection that converts the end coordinates of one end of sequentially read image data to the end coordinates of the other end of previously read image data so that the Those having a location means.

【0025】また、本発明(請求項14)の画像処理装
置は、前記画像処理装置(請求項5,9または12)に
おいて、前記第1の傾き検出手段は、前記ブロックデー
タから画像の情報領域のエッジを検出する情報領域エッ
ジ検出手段と、前記検出した情報領域のエッジから画像
の傾きを検出する情報領域エッジ傾き検出手段とを備え
たものである。
According to the image processing apparatus of the present invention (Claim 14), in the image processing apparatus (Claim 5, 9 or 12), the first inclination detecting means is an information area of an image from the block data. Information area edge detecting means for detecting the edge of the information area, and information area edge inclination detecting means for detecting the inclination of the image from the detected edge of the information area.

【0026】また、本発明(請求項15)の画像処理装
置は、前記画像処理装置(請求項5,9または12)に
おいて、前記ブロック化手段は、読み取る画像によっ
て、前記ブロック領域のサイズを切り替える切替手段を
備えたものである。
Further, in the image processing apparatus of the present invention (Claim 15), in the image processing apparatus (Claim 5, 9 or 12), the blocking means switches the size of the block area according to the image to be read. It is provided with a switching means.

【0027】また、本発明(請求項16)の画像処理装
置は、前記画像処理装置(請求項7,9ないし13)に
おいて、前記最外枠検出手段は、横方向に所定の長さ以
上連続する空白領域を検出する横枠検出手段と、縦方向
に所定の長さ以上連続する空白領域を検出する縦枠検出
手段とを備え、前記横枠検出手段,及び縦枠検出手段に
より検出された横枠と縦枠とにより作成される閉じる枠
のうちの最大枠を最外枠として出力するものである。
According to the image processing apparatus of the present invention (Claim 16), in the image processing apparatus (Claims 7, 9 to 13), the outermost frame detection means is continuous in a lateral direction for a predetermined length or more. A horizontal frame detecting means for detecting a blank area and a vertical frame detecting means for detecting a blank area continuous in the vertical direction for a predetermined length or more, and the horizontal frame detecting means and the vertical frame detecting means detect the horizontal area. The maximum frame among the closed frames created by the horizontal frame and the vertical frame is output as the outermost frame.

【0028】また、本発明(請求項17)の画像処理装
置は、前記画像処理装置(請求項8,11ないし13)
において、前記接続配置手段は、順次読み込まれる画像
データのメモリ上の座標を、直前に座標変換された変換
画像データの後述する端座標検出手段からの端座標を用
いて変換する座標変換手段と、前記座標変換手段から出
力される,変換された画像データから、該変換画像デー
タの端座標を検出して記憶し、かつ、前回の読み取り走
査時に記憶した前記座標変換した端座標データを、前記
座標変換手段に出力する端座標検出手段とからなるもの
である。
An image processing apparatus of the present invention (Claim 17) is the image processing apparatus (Claim 8 or 11 to 13).
In the connection placement means, the coordinate conversion means for converting the coordinates on the memory of the sequentially read image data by using the end coordinates from the end coordinate detection means described later of the converted image data whose coordinates have been immediately converted, From the converted image data output from the coordinate conversion means, the edge coordinates of the converted image data are detected and stored, and the edge-converted edge coordinate data stored at the time of the previous reading scan is converted into the coordinates. It is composed of an end coordinate detecting means for outputting to the converting means.

【0029】また、本発明(請求項18)の画像処理装
置は、前記画像処理装置(請求項8,11ないし13)
において、前記接続配置手段は、読み取り走査ごとに、
該読み取り画像データの端座標を検出する端座標検出手
段と、前記端座標検出手段から出力される前記端座標を
用いて、次の画像を生成するための初期座標を生成する
初期座標生成手段とを備えたものである。
An image processing apparatus according to the present invention (claim 18) is the image processing apparatus (claims 8, 11 to 13).
In, the connection arrangement means, for each reading scan,
Edge coordinate detection means for detecting edge coordinates of the read image data, and initial coordinate generation means for generating initial coordinates for generating the next image using the edge coordinates output from the edge coordinate detection means. It is equipped with.

【0030】また、本発明(請求項19)の画像処理装
置は、前記画像処理装置(請求項8,11ないし13)
において、座標変換手段は、前記順次読み取った画像デ
ータの座標が重ならないように接続配置するものであ
る。
An image processing apparatus according to the present invention (claim 19) is the image processing apparatus (claims 8, 11 to 13).
In the above, the coordinate conversion means is connected and arranged so that the coordinates of the sequentially read image data do not overlap.

【0031】また、本発明(請求項20)の画像処理装
置は、前記画像処理装置(請求項11ないし13)にお
いて、前記端座標の検出は、前記画像切取手段より出力
される,切り取られた画像データから端座標を検出する
ものである。
According to the image processing apparatus of the present invention (Claim 20), in the image processing apparatus (Claims 11 to 13), the detection of the edge coordinates is output by the image cutting means and is clipped. The edge coordinates are detected from the image data.

【0032】[0032]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.本発明の実施の形態1における画像処理
方法は、スキャナ等により画像を読み取って画像データ
を得る画像処理方法において、生成される画像データの
傾きを、自動的に補正しようとするものである。
Embodiment 1. The image processing method according to the first embodiment of the present invention is an image processing method in which an image is read by a scanner or the like to obtain image data, and the inclination of the generated image data is automatically corrected.

【0033】即ち、本発明の実施の形態1による画像処
理方法は、画像読取部を備えた画像読取手段により読み
込んだ画像データを処理する画像処理方法において、前
記画像データ上の所定の大きさに区切られた各ブロック
領域を構成する複数の単位ブロックの全ての単位ブロッ
クが、空白であるか否かを検出して上記複数の各ブロッ
ク領域が情報領域か空白領域かを示すブロックデータを
得、該ブロックデータから画像の情報領域と空白領域と
の境界を検出し、該検出された境界から読み込んだ画像
の傾きを検出し、画像データの,前記画像の傾きを補正
するものである。
That is, the image processing method according to the first embodiment of the present invention is the image processing method for processing the image data read by the image reading means having the image reading unit, and the image data having a predetermined size on the image data is obtained. All the unit blocks of the plurality of unit blocks forming each of the separated block areas are detected to obtain block data indicating whether each of the plurality of block areas is an information area or a blank area, The boundary between the information area and the blank area of the image is detected from the block data, the inclination of the read image is detected from the detected boundary, and the inclination of the image of the image data is corrected.

【0034】図1は本発明の実施の形態1における画像
処理装置のブロック図を示している。図において、10
は画像生成手段、11はブロック化手段、12は第1の
傾き検出手段、13は傾き補正手段である。
FIG. 1 is a block diagram of an image processing apparatus according to the first embodiment of the present invention. In the figure, 10
Is an image generating means, 11 is a blocking means, 12 is a first inclination detecting means, and 13 is an inclination correcting means.

【0035】以下、本実施の形態1における画像処理装
置の動作について説明する。図1に示した画像生成手段
10は、画像データを、例えば、画像読取手段(図示せ
ず)と座標生成手段(図示せず)とにより従来同様に生
成する。
The operation of the image processing apparatus according to the first embodiment will be described below. The image generating means 10 shown in FIG. 1 generates image data in the same manner as in the past by using, for example, an image reading means (not shown) and a coordinate generating means (not shown).

【0036】次に、このように生成された画像データを
ブロック化手段11によりブロック化する。このブロッ
ク化処理について、図2,図3を用いて説明する。図2
において、20,21,22,23はそれぞれブロック
化フィルタの1単位を示したもので、r1〜r4はそれ
ぞれ単位ブロックを示している。ブロック化フィルタ2
0は縦2単位ブロック,横2単位ブロックの4単位ブロ
ックよりなる正方形形状のブロック領域よりなり、ブロ
ック化フィルタ23は縦2単位ブロック,横8単位ブロ
ックよりなる横に長い長方形形状のブロック領域よりな
る。
Next, the image data thus generated is divided into blocks by the block forming means 11. This blocking process will be described with reference to FIGS. 2 and 3. FIG.
In the above, reference numerals 20, 21, 22, and 23 respectively indicate one unit of the blocking filter, and r1 to r4 respectively indicate unit blocks. Blocking filter 2
0 is composed of a square block area composed of 4 unit blocks of vertical 2 unit blocks and horizontal 2 unit blocks, and the blocking filter 23 is composed of a horizontally long rectangular block area composed of vertical 2 unit blocks and horizontal 8 unit blocks. Become.

【0037】画像生成手段10により得られた画像デー
タを、図2(a) に示したブロック化フィルタ20のサイ
ズの各ブロック領域に区分し、このブロック領域を構成
するの単位ブロックr1〜r4のうちの少なくとも1つ
が空白でない場合は、図2(b) に示したブロック化フィ
ルタ21のように、該ブロック領域を黒とし、また単位
画素r1〜r4の全てが空白である場合は図2(c) に示
したブロック化フィルタ22のように該ブロック領域を
白とし、この処理を画像データの全領域について行い、
各ブロック領域が黒であるか白であるか、即ち情報領域
であるか空白領域であるかを示したブロックデータを得
る。
The image data obtained by the image generating means 10 is divided into each block area having the size of the blocking filter 20 shown in FIG. 2A, and the unit blocks r1 to r4 constituting this block area are divided. When at least one of them is not blank, as in the blocking filter 21 shown in FIG. 2B, the block area is black, and when all of the unit pixels r1 to r4 are blank, FIG. As in the blocking filter 22 shown in c), the block area is white, and this processing is performed for all areas of the image data.
Block data indicating whether each block area is black or white, that is, whether it is an information area or a blank area is obtained.

【0038】ここで、図2では、このブロック化フィル
タの例として、縦横2単位ブロックよりなるブロック化
フィルタ20,あるいは縦2単位ブロック横8単位ブロ
ックよりなるブロック化フィルタ23を示したが、これ
らのフロック化フィルタのサイズは、読み込む原稿の種
類により所望のサイズ,及び形状のものとすることがで
きる。なお、このようなブロック化フィルタのサイズ,
及び形状の選択は、ブロック化フィルタのサイズを切り
替える切替手段を備えることにより実現できる。
Here, in FIG. 2, as an example of this blocking filter, a blocking filter 20 consisting of vertical and horizontal 2 unit blocks or a blocking filter 23 consisting of vertical 2 unit blocks and horizontal 8 unit blocks is shown. The size of the flocking filter can be set to a desired size and shape depending on the type of document to be read. Note that the size of such blocking filter,
The selection of the shape and the shape can be realized by providing a switching unit that switches the size of the blocking filter.

【0039】図3(a),(b) は、このようなブロック化処
理により得られたブロックデータを模式的に示したもの
であり、図3(a) は、図2(a) に示したような正方形の
ブロック化フィルタによりブロック化処理を行った,情
報領域31,及び空白領域32よりなるブロックデータ
を、また図3(b) は、得られた図3(a) に示したような
ブロックデータに、さらに図2(d) に示したような横長
の長方形のブロック化フィルタによりブロック化処理を
行った,情報領域33,及び空白領域34よりなるブロ
ックデータそれぞれを示したものである。本実施の形態
1では、2回のブロック化により、図3(b) で示したよ
うな、情報領域33が大きな一つの領域を形成したブロ
ックデータを得る。なお、本実施の形態1では、上述し
たブロックデータを得るのに異なるサイズ及び形状のブ
ロック化フィルタを用いて2回のブロック化処理を行っ
たが、これは1回あるいは3回以上でもよく、情報領域
が大きな一つの領域を形成しているブロックデータが得
られればよい。
FIGS. 3 (a) and 3 (b) schematically show block data obtained by such blocking processing, and FIG. 3 (a) is shown in FIG. 2 (a). The block data consisting of the information area 31 and the blank area 32, which has been subjected to the blocking processing by the square blocking filter as described above, and FIG. 3 (b) are as shown in the obtained FIG. 3 (a). 2B shows block data composed of an information area 33 and a blank area 34, which are obtained by further performing block processing on the block data with a horizontally long rectangular block filter as shown in FIG. 2D. . In the first embodiment, the block data is obtained by forming the information area 33 into one large area as shown in FIG. In the first embodiment, the blocking processing is performed twice using the blocking filters having different sizes and shapes to obtain the above-described block data, but this may be performed once or three times or more. It suffices to obtain block data that forms one area having a large information area.

【0040】このブロック化処理により、原稿の情報領
域(文字領域)と空白領域との境界(エッジ)を明確に
識別することができる。
By this blocking processing, the boundary (edge) between the information area (character area) and the blank area of the document can be clearly identified.

【0041】図4は、図1で示した第1の傾き検出手段
12の構成の例を示したブロック図であり、図中で図1
と同一符号のものは同一または相当する部分を示してい
る。この第1の傾き検出手段では、得られた,図3(b)
に示したようなブロックデータから、画像の傾きを検出
する。即ち、この第1の傾き検出手段12は、情報領域
エッジ検出手段41で、上記ブロックデータから情報領
域の境界(エッジ)を検出し、該エッジから情報領域エ
ッジ傾き検出手段42により情報領域の傾き即ち、画像
データ上の画像の傾きを検出する。
FIG. 4 is a block diagram showing an example of the configuration of the first inclination detecting means 12 shown in FIG. 1, and FIG.
The same reference numerals as those in FIG. 2 denote the same or corresponding portions. In this first inclination detecting means, it is obtained as shown in FIG.
The inclination of the image is detected from the block data as shown in FIG. That is, in the first inclination detecting means 12, the information area edge detecting means 41 detects the boundary (edge) of the information area from the block data, and from the edge, the information area edge inclination detecting means 42 detects the inclination of the information area. That is, the inclination of the image on the image data is detected.

【0042】この情報領域エッジ検出手段41でのエッ
ジ検出について説明する。図5は情報領域エッジ検出手
段での動作を説明するための図で、51〜57は、縦2
行,横2列の4単位ブロックよりなるフィルタを表して
いる。図中33は、図3で示した情報領域33に相当す
る部分である。
The edge detection by the information area edge detection means 41 will be described. FIG. 5 is a diagram for explaining the operation of the information area edge detection means.
It shows a filter consisting of 4 unit blocks in rows and 2 columns. 33 in the figure is a portion corresponding to the information area 33 shown in FIG.

【0043】まず、図5(a) に示したような,縦2行,
横2列の4単位ブロックよりなり、右下の情報領域
(黒)である単位ブロックと,該右下以外の空白領域
(白)である単位ブロックとにより構成されるフィルタ
51を用い、該フィルタ51と同様の構成を有する,ブ
ロックデータ上の,ある縦2行,横2列の4単位ブロッ
クよりなる部分を検索する。これにより、図5(a) の右
側に示したように、情報領域33の,左上側に突き出た
の角部分(図3に示す位置p1,p3,p5,p7を囲
む各部分)にあたる位置を検出する。この各位置のうち
最も左側にある位置p1をスタート位置として情報領域
エッジの検出を行う。
First, as shown in FIG. 5A, two vertical lines,
The filter 51 is composed of four unit blocks arranged in two rows and is composed of a unit block which is a lower right information area (black) and a unit block which is a blank area (white) other than the lower right area. The block data having a configuration similar to that of 51 is searched for a portion consisting of 4 unit blocks in two vertical rows and two horizontal columns. As a result, as shown on the right side of FIG. 5A, the position corresponding to the corner portion (each portion surrounding the positions p1, p3, p5, p7 shown in FIG. 3) of the information area 33 protruding to the upper left side is set. To detect. The information area edge is detected using the leftmost position p1 among these positions as the start position.

【0044】このスタート位置p1から右側に、図5
(b) に示したような,上側の2つが空白領域(白)であ
る単位ブロックと,下側の2つが情報領域(黒)である
単位ブロックとにより構成されるフィルタ52を用い、
ブロックデータ上でこのフィルタ52と同様の構成を持
つ部分の位置を順次たどることにより、横方向エッジの
検出を行い、たどれなくなった位置(図3中p2)で横
方向エッジの検出をやめる。そして、横方向エッジの検
出をやめた位置p2を囲む4つの単位ブロックの構成
が、図5(c) に示したフィルタ53の構成と同様である
場合は、この位置p2から上方向にフィルタ54を用
い、ブロックデータ上でこのフィルタ54と同様の構成
を持つ部分の位置を順次たどることにより、縦方向エッ
ジの検出を行う。また横方向エッジの検出をやめた位置
p2を囲む4つの単位ブロックの構成が、フィルタ55
の構成と同様である場合は、位置p2から下方向にフィ
ルタ56を用い、縦方向エッジの検出を行う。そして、
たどれなくなった位置(p3)で縦方向エッジの検出を
やめる。ここで、このブロックデータは、上述したブロ
ック化により情報領域が大きな一つの領域を形成し、複
雑な形状を持たない程度にまでブロック化されているの
で、この縦方向のエッジ検出をやめた位置を囲む4つの
単位ブロックの構成は、図5(a) に示したフィルタ51
もしくは図5(d) に示したフィルタ57のような構成と
なっており、このフィルタ51,あるいはフィルタ57
の位置をスタート位置として、再度右方向,及び上下方
向にエッジの検出を行う。以降同様に横方向エッジ、及
び上下方向エッジを情報領域の右端まで検出する。
From the start position p1 to the right side, as shown in FIG.
As shown in (b), using a filter 52 composed of unit blocks whose upper two are blank areas (white) and unit blocks whose lower two are information areas (black),
The horizontal edge is detected by sequentially tracing the position of the portion having the same structure as the filter 52 on the block data, and the horizontal edge is stopped at the traced position (p2 in FIG. 3). If the configuration of the four unit blocks surrounding the position p2 where the detection of the horizontal edge is stopped is the same as the configuration of the filter 53 shown in FIG. 5C, the filter 54 is moved upward from this position p2. By using the block data, the position of the portion having the same configuration as the filter 54 is sequentially traced to detect the vertical edge. Further, the configuration of four unit blocks surrounding the position p2 at which the detection of the horizontal direction edge is stopped is performed by the filter 55.
When the configuration is the same as that of (1), the filter 56 is used downward from the position p2 to detect the vertical edge. And
The detection of the vertical edge is stopped at the lost position (p3). Here, since this block data forms one area with a large information area by the above-described block formation and is divided into blocks to the extent that it does not have a complicated shape, the position where this edge detection in the vertical direction is stopped is set. The configuration of the four surrounding unit blocks is the filter 51 shown in FIG.
Alternatively, it has a structure like the filter 57 shown in FIG.
The edge is detected again in the right direction and the up and down direction with the position of as the start position. After that, the horizontal edge and the vertical edge are similarly detected up to the right end of the information area.

【0045】なお、上述したエッジの検出において、フ
ィルタ53として、その左上の単位ブロック以外が黒
(情報領域)である構成のものを示したが、このフィル
タ53として、この黒の単位ブロックのうち右下の単位
ブロックが、白でも黒でかまわないものとしたフィルタ
を用いることもでき、また同様に、フィルタ57はその
右上の単位ブロック以外が黒である構成のものを示した
が、このフィルタ57として、この黒の単位ブロックの
うち左下の単位ブロックが、白でも黒でかまわないもの
としたフィルタを用いることもできる。これにより、図
3の(a) のブロックデータを右方向に90度回転させた
ような,情報領域がその角どうしで接触してつながって
いるブロックデータについてもそのエッジを検出するこ
とができる。
In the above-described edge detection, the filter 53 has a structure in which the unit block other than the upper left unit block is black (information area), but the filter 53 is one of the black unit blocks. It is also possible to use a filter in which the lower right unit block may be white or black, and similarly, the filter 57 has a configuration in which the unit block other than the upper right unit block is black. As 57, it is also possible to use a filter in which the lower left unit block of the black unit blocks may be white or black. As a result, the edge can be detected even for the block data in which the information areas are connected by contacting each other at their corners, such as when the block data in FIG. 3A is rotated 90 degrees to the right.

【0046】次に、情報領域エッジ傾き検出手段42
で、このように検出された横方向エッジと縦方向エッジ
とを基に画像データの傾きを求める。即ち、検出された
スタート位置p1からp2までの長さ,及びp2からp
3までの高さを基に第1の傾きθ1を求める。また第2
のスタート位置p3からp4までの長さ,及びp4から
p5までの高さを基に第2の傾きθ2を求める。以降順
次傾きθを求めた後、傾きθを横軸に、該傾きが出現す
る度数を縦軸にして図6に示すような度数分布表を作成
する。この際、各傾きθの度数は、該傾きを求める基と
なった横方向エッジの長さ分(ブロック数分)カウント
する。
Next, the information area edge inclination detecting means 42
Then, the inclination of the image data is obtained based on the horizontal edge and the vertical edge thus detected. That is, the length from the detected start position p1 to p2 and the length from p2 to p2
The first inclination θ1 is obtained based on the heights up to 3. Also the second
The second inclination θ2 is obtained based on the length from the start position p3 to p4 and the height from p4 to p5. After that, the gradient θ is sequentially obtained, and then a frequency distribution table as shown in FIG. 6 is created with the gradient θ as the horizontal axis and the frequency at which the gradient appears as the vertical axis. At this time, the frequency of each inclination θ is counted by the length of the lateral edge (the number of blocks) that is the basis for obtaining the inclination.

【0047】このようにして作成された図6に示す度数
分布表の、傾き角θが所定の範囲内(例えば±10度の
範囲内)にあるもので、かつ所定の度数以上検出されて
いるデータに対して、このデータのピークを示す傾きθ
aを求め、これを傾きとする。
In the frequency distribution table shown in FIG. 6 created in this way, the inclination angle θ is within a predetermined range (for example, within ± 10 degrees), and more than the predetermined frequency is detected. Slope θ showing the peak of this data
Find a and use this as the slope.

【0048】なお、この傾きは、上記ピークの傾きθa
から所定の範囲内であるθbからθcまでの平均を取る
ことにより求めてもよく、またメディアン値(中央値)
を傾きとしてもよい。また、情報領域エッジ検出手段4
1により検出される横方向エッジが所定の長さ以上あっ
た場合は傾きがゼロであると判断する。
The slope is the slope θa of the peak.
Can be obtained by averaging from θb to θc within a predetermined range from, and median value (median value)
May be the slope. Further, the information area edge detection means 4
If the horizontal edge detected by 1 is equal to or longer than the predetermined length, it is determined that the inclination is zero.

【0049】このようにして第1の傾き検出手段12で
求められた傾きθを傾き補正手段13に出力する。傾き
補正手段13では、上述のようにして得られた傾きθを
もとに、この傾きθを補正するような,画像データの座
標変換処理を行い、これにより、傾きの補正された画像
データを得る。
The inclination θ obtained by the first inclination detecting means 12 in this manner is output to the inclination correcting means 13. The inclination correction means 13 performs coordinate conversion processing of the image data so as to correct the inclination θ based on the inclination θ obtained as described above, and thereby the image data whose inclination has been corrected is obtained. obtain.

【0050】なお本実施の形態1ではエッジの検出は左
端から右端までとしたが、情報領域全周のエッジを検出
し、これにより縦,横の基準軸に対してその各エッジが
どれだけ傾いているかを求めてもよい。
In the first embodiment, the edges are detected from the left end to the right end, but the edges of the entire circumference of the information area are detected, and by this, how much each edge is inclined with respect to the vertical and horizontal reference axes. You may ask.

【0051】このように、本発明の実施の形態1におけ
る画像処理装置によれば、画像データ上の所定の大きさ
に区切られた各ブロック領域20を構成する複数の単位
ブロック(r1〜r4)の全ての単位ブロックが、空白
であるか否かを検出し、上記複数の各ブロック20が情
報領域か空白領域かを示すブロックデータを出力するブ
ロック化手段11と、前記ブロックデータから画像の傾
きθを検出する第1の傾き検出手段12と、前記第1の
傾き検出手段12から出力される傾き情報を用いて前記
画像データの傾きを補正する傾き補正手段13とを備え
たので、画像の傾きを自動的に検出し補正することがで
き、これにより、使用者が面倒な操作をしなくとも、自
動的に傾きが補正された画像データを得ることができる
効果がある。
As described above, according to the image processing apparatus in the first embodiment of the present invention, a plurality of unit blocks (r1 to r4) forming each block area 20 divided into a predetermined size on the image data. Block unit 11 for detecting whether or not all the unit blocks are blank and outputting block data indicating whether each of the plurality of blocks 20 is an information area or a blank area, and an inclination of an image from the block data. Since the first inclination detecting means 12 for detecting θ and the inclination correcting means 13 for correcting the inclination of the image data by using the inclination information output from the first inclination detecting means 12 are provided. The tilt can be automatically detected and corrected, and thus, there is an effect that the image data with the tilt automatically corrected can be obtained without the user performing a troublesome operation.

【0052】また、本発明の実施の形態1における画像
処理装置によれば、上記ブロック化手段11は、読み取
る画像によって、ブロック領域20のサイズを切り替え
る切替手段を備えるようにしたので、対象となる原稿画
像に適合したサイズのブロックフィルタでブロック化を
行うことができ、これにより第1の傾き検出手段による
傾きの検出を、正確に行うことができる効果がある。
Further, according to the image processing apparatus in the first embodiment of the present invention, the blocking means 11 is provided with the switching means for switching the size of the block area 20 according to the image to be read, which is a target. Blocking can be performed by a block filter having a size suitable for the original image, and thus, the inclination can be accurately detected by the first inclination detecting means.

【0053】実施の形態2.本発明の実施の形態2にお
ける画像処理方法は、任意の方向に走査可能なフリーハ
ンドスキャナ等により画像を読み取って画像データを生
成する画像処理方法において、生成される画像データの
傾きを、自動的に補正しようとするものである。
Embodiment 2 The image processing method according to the second embodiment of the present invention is an image processing method in which an image is generated by reading an image with a freehand scanner or the like that can scan in an arbitrary direction, and the inclination of the generated image data is automatically detected. It is intended to be corrected to.

【0054】即ち、本発明の実施の形態2による画像処
理方法は、任意の方向に走査可能な画像読取部を備えた
画像読取手段により読み取った画像データを処理する画
像処理方法において、前記画像読取部をある基準の方向
に所定の長さ以上直進させ、その直進した方向を、前記
画像読取部の両端の移動量を示す2つの移動量検出出力
から検出し、この検出した直進方向と、この画像の読み
取り開始時の前記画像読取部の基準軸とから、読み取っ
た画像の傾きを検出し、前記画像データの,前記画像の
傾きを補正するものである。
That is, the image processing method according to the second embodiment of the present invention is the image processing method for processing the image data read by the image reading means having the image reading unit capable of scanning in any direction. The unit is moved straight in a certain reference direction for a predetermined length or more, and the straightened direction is detected from two movement amount detection outputs indicating the movement amounts of both ends of the image reading unit. The tilt of the read image is detected from the reference axis of the image reading unit at the start of reading the image, and the tilt of the image in the image data is corrected.

【0055】図は本発明の実施の形態2における画像処
理装置のブロック図を示している。図において、71は
画像読取手段、72は画像生成手段、73,74はそれ
ぞれ移動量検出手段、75は座標生成手段、76は直進
検出手段、77は第2の傾き検出手段、78は傾き補正
手段である。
The figure shows a block diagram of an image processing apparatus according to the second embodiment of the present invention. In the figure, 71 is an image reading means, 72 is an image generating means, 73 and 74 are movement amount detecting means respectively, 75 is a coordinate generating means, 76 is a straight-ahead detecting means, 77 is a second inclination detecting means, and 78 is an inclination correction. It is a means.

【0056】図8は本実施の形態2における画像読み取
りを行う様子を示す模式図で、81は画像読取部、8
2,83はそれぞれ移動量検出部である。
FIG. 8 is a schematic diagram showing how an image is read in the second embodiment. Reference numeral 81 is an image reading unit.
Reference numerals 2 and 83 are movement amount detection units.

【0057】本実施の形態2においては、例えば、従来
例であげた特願平7−80568号に示されたような任
意の方向に走査できるフリーハンドスキャナを用いて画
像データを読み取るものであり、図7に示した画像読取
手段71は画像読取部81により画像を読み取るもので
あり、2つの移動量検出手段73,74は移動量検出部
82,83によりそれぞれ移動量情報を得るものであ
る。また、該各移動量検出部82,83は、例えば、図
8に示すように上記画像読取部81の両端に配置されて
おり、移動量検出手段73,74からは各移動量検出部
82,83の移動量情報が座標生成手段75に出力さ
れ、上記画像読取部81で読み取る画像の座標を生成す
る。画像生成手段72では、この座標生成手段75で生
成される画像読取部81の座標情報と、上記画像読取部
81で読み取った画像情報とにより画像データを生成す
る。なお、各移動量検出部82,83は画像読取部81
の両端に限定されるものでなく、数も2つでなくてもよ
い。
In the second embodiment, for example, image data is read by using a free hand scanner capable of scanning in any direction as shown in Japanese Patent Application No. 7-80568 mentioned in the conventional example. The image reading unit 71 shown in FIG. 7 reads an image by the image reading unit 81, and the two moving amount detecting units 73 and 74 obtain moving amount information by the moving amount detecting units 82 and 83, respectively. . Further, the moving amount detecting sections 82, 83 are arranged at both ends of the image reading section 81 as shown in FIG. 8, and the moving amount detecting sections 82, The movement amount information 83 is output to the coordinate generation unit 75, and the coordinates of the image read by the image reading unit 81 are generated. The image generating means 72 generates image data based on the coordinate information of the image reading section 81 generated by the coordinate generating means 75 and the image information read by the image reading section 81. The movement amount detection units 82 and 83 are the image reading unit 81.
The number is not limited to the two ends, and the number may not be two.

【0058】以下に、本実施の形態2における画像処理
装置の動作について説明する。上記のようなフリーハン
ドスキャナを用い読み取り走査を開始する時、使用者
が、図8に示すように、原稿の水平線,垂直線に対して
ある角度θだけ傾いた位置から読み取り走査を始めてし
まうことはしばしば起こる。この場合、得られる画像デ
ータは、画像データの生成が読取開始時のフリーハンド
スキャナの方向を基準軸として生成しているため、原稿
の水平,垂直線が、読み取りの基準となる水平(垂直)
線に対して角度θ分傾いた画像データとなってしまう。
The operation of the image processing apparatus according to the second embodiment will be described below. When the scanning using the free hand scanner as described above is started, the user may start the scanning from a position inclined by a certain angle θ with respect to the horizontal and vertical lines of the document, as shown in FIG. Often happens. In this case, since the generated image data is generated with the direction of the freehand scanner at the start of reading as the reference axis, the horizontal and vertical lines of the document are the horizontal (vertical) lines that are the reference for reading.
The image data is inclined by an angle θ with respect to the line.

【0059】ここでこのように、仮に、走査の開始位置
が原稿の水平,垂直線より角度θ傾いていたとしても、
新聞,雑誌等の原稿のように記載内容の縦,横の配列が
明確にある場合には、使用者は心理的にも、図8に示す
ように、序々にその水平,垂直方向、即ち図の直進部分
Lの方向に走査を行うようになる傾向がある。これに鑑
み、本実施の形態2ではハンドスキャナを直進走査させ
る方向を検出し、この方向を読み取りの基準軸、とする
ことにより傾きを検出し、この方向きを補正するように
したものである。なお、勿論、この原稿の水平方向への
走査を、意識して行うこともできるものである。
As described above, even if the scanning start position is inclined by the angle θ with respect to the horizontal and vertical lines of the document, as described above,
When there is a clear vertical and horizontal arrangement of the contents, such as in newspapers, magazines, etc., the user can psychologically, as shown in FIG. There is a tendency that scanning is performed in the direction of the straight traveling portion L of. In view of this, in the second embodiment, the direction in which the hand scanner scans straight is detected, and the tilt is detected by using this direction as the reading reference axis, and this direction is corrected. . Of course, the scanning of the original in the horizontal direction can be consciously performed.

【0060】即ち、本発明の実施の形態2における画像
処理装置では、移動量検出手段73,74から,各移動
量検出部82,83の移動量情報が直進検出手段76に
出力され、この2つの移動量情報により画像読取部81
で直進した部分(8図中直進部分L部分)の直進方向を
求める。
That is, in the image processing apparatus according to the second embodiment of the present invention, the movement amount detecting means 73, 74 outputs the movement amount information of the movement amount detecting portions 82, 83 to the straight-ahead detecting means 76, and The image reading unit 81 according to the information about one movement amount.
The straight traveling direction of the straight traveling portion (the straight traveling portion L portion in FIG. 8) is obtained.

【0061】第2の傾き検出手段77では、このように
して求められた画像読取部81の直進方向と、画像デー
タを生成する基準となる座標の水平方向(垂直方向)と
がズレている角度、即ち傾きθを検出する。
In the second inclination detecting means 77, the angle at which the straight-ahead direction of the image reading section 81 obtained in this way and the horizontal direction (vertical direction) of the reference coordinates for generating the image data deviate from each other. That is, the inclination θ is detected.

【0062】傾き補正手段78では、上述したように第
2の傾き検出手段77により得られた傾きθをもとに、
この傾きθを補正するような,画像データの座標変換を
行い、これにより傾きの補正された画像データを得る。
In the inclination correcting means 78, based on the inclination θ obtained by the second inclination detecting means 77 as described above,
The coordinate conversion of the image data is performed so as to correct the inclination θ, and thus the image data whose inclination is corrected is obtained.

【0063】このように本発明の実施の形態2における
画像処理装置によれば、任意の方向に走査可能な画像読
取部81を備え、画像データを読み取る画像読取手段7
1と、画像読取部81の両端の移動量を出力する2つの
移動量検出手段73,74と、各移動量検出手段73,
74から出力される各座標情報から、画像読取部81が
所定の長さ以上直進した方向を検出する直進検出手段7
6と、直進検出手段76で検出された直進方向と、この
画像の読み取り開始時の前記画像読取部の基準軸とから
読み取った画像の傾きθを検出する第2の傾き検出手段
77と、第2の傾き検出手段77で検出された傾き情報
を用いて画像データの傾きを補正する傾き補正手段78
とを備えたものであるので、原稿の水平,垂直線より角
度θ傾いた位置から原稿の読み取り走査を開始したとし
ても、その後画像読取部を直進方向に走査させた場合に
は、この角度θ分の傾きが補正された画像データを自動
的に得ることができる効果がある。
As described above, according to the image processing apparatus in the second embodiment of the present invention, the image reading unit 7 that includes the image reading unit 81 that can scan in any direction is used.
1 and two movement amount detecting means 73, 74 for outputting the movement amount of both ends of the image reading section 81, and each movement amount detecting means 73,
From the coordinate information output from 74, the straight-movement detecting means 7 for detecting the direction in which the image reading unit 81 has gone straight for a predetermined length or more.
6, a straight traveling direction detected by the straight traveling detecting means 76, and a second inclination detecting means 77 for detecting the inclination θ of the image read from the reference axis of the image reading unit at the start of reading the image, Inclination correction means 78 for correcting the inclination of the image data using the inclination information detected by the inclination detection means 77 of No. 2.
Therefore, even if the reading scanning of the original is started from a position inclined by the angle θ with respect to the horizontal and vertical lines of the original, if the image reading unit is scanned in the straight direction thereafter, this angle θ There is an effect that image data in which the inclination of the minute is corrected can be automatically obtained.

【0064】実施の形態3.本発明の実施の形態3にお
ける画像処理方法は、スキャナ等により画像を読み取っ
て画像データを得る画像処理方法において、画像生成手
段により生成される画像データの全領域のうち必要な領
域を、自動的に検出し、画像データの該必要領域をのみ
を出力しようとするものである。
Embodiment 3 The image processing method according to the third embodiment of the present invention is an image processing method in which an image is read by a scanner or the like to obtain image data. It is intended to output only the necessary area of the image data after detection.

【0065】即ち、本発明の実施の形態3による画像処
理方法は、画像読取部を備えた画像読取手段により読み
込んだ画像データを処理する画像処理方法において、前
記画像データ上の所定の大きさに区切られた各ブロック
領域を構成する複数の単位ブロックの全ての単位ブロッ
クが、空白であるか否かを検出して上記複数の各ブロッ
クが情報領域か空白領域かを示すブロックデータを得、
該ブロックデータから画像の空白領域を検出し、該空白
領域から四方を空白領域で囲まれたすべての情報領域を
囲むことのできる空白領域よりなる最外枠を検出し、前
記画像データの,前記検出した空白領域最外枠で囲まれ
る画像データのみを出力するものである。
That is, the image processing method according to the third embodiment of the present invention is the image processing method for processing the image data read by the image reading means provided with the image reading unit, and the image data having a predetermined size on the image data is obtained. All the unit blocks of the plurality of unit blocks constituting each of the divided block areas are detected to obtain block data indicating whether each of the plurality of blocks is an information area or a blank area,
A blank area of an image is detected from the block data, an outermost frame composed of blank areas capable of enclosing all information areas surrounded by blank areas on all sides from the blank area is detected, Only the image data surrounded by the outermost frame of the detected blank area is output.

【0066】図9は本発明の実施の形態3における画像
処理装置のブロック図を示している。図において、90
は画像生成手段、91は空白領域検出手段、92は最外
枠検出手段、93は画像切取手段である。また、図10
は本実施の形態3の動作を説明するための模式図であ
る。
FIG. 9 shows a block diagram of an image processing apparatus according to the third embodiment of the present invention. In the figure, 90
Is an image generating means, 91 is a blank area detecting means, 92 is an outermost frame detecting means, and 93 is an image cutting means. FIG.
FIG. 9 is a schematic diagram for explaining the operation of the third embodiment.

【0067】以下に、本実施の形態3における画像処理
装置の動作について説明する。まず、図9に示した画像
生成手段90により、例えば、上記実施の形態2で説明
したような画像読取手段71と座標生成手段75とから
の情報により画像データを生成する。
The operation of the image processing apparatus according to the third embodiment will be described below. First, the image generation means 90 shown in FIG. 9 generates image data based on the information from the image reading means 71 and the coordinate generation means 75 as described in the second embodiment, for example.

【0068】次に、上記実施の形態1で説明したブロッ
ク化手段を備えた空白領域検出手段91で、所望のブロ
ック化フィルタによりブロック化を行い、該ブロック化
手段により得られたブロックデータから上記画像データ
の空白領域を検出する。このブロック化処理により、例
えば原稿が図10(a) に示したような新聞,雑誌等の,
段組みされた文字よりなるものである場合、その原稿の
情報領域(文字領域)と空白領域とを明確に識別するこ
とができ、図10(b) に模式的に示したような空白領域
101が検出される。
Next, the blank area detecting means 91 provided with the blocking means described in the first embodiment performs blocking by a desired blocking filter, and the block data obtained by the blocking means is used for the above Detect blank areas in image data. By this block forming process, for example, a manuscript such as a newspaper or magazine shown in FIG.
When the document is composed of columns of characters, the information area (character area) and the blank area of the original can be clearly discriminated, and the blank area 101 as schematically shown in FIG. Is detected.

【0069】次に、最外枠検出手段92では、このよう
な空白領域101の情報を用いて、四方が空白領域によ
り囲まれている全ての情報領域を囲むことのできる最大
の枠である最外枠w1を検出する(図10(b) )。
Next, the outermost frame detecting means 92 uses such information of the blank area 101 to determine the maximum frame which can surround all the information areas surrounded by the blank areas on all sides. The outer frame w1 is detected (FIG. 10 (b)).

【0070】この最外枠w1の検出について説明する。
図11は最外枠の検出を説明する図であり、図11(a)
は、例えば上述したようなブロック化により得られたブ
ロックデータを模式的に表したものであり、図(b) は1
1ブロックデータ上の,縦に連続する5つのブロックよ
りなる枠形成領域11Aを表したものであり、図11
(c) はブロックデータ上の,横に連続する5つのブロッ
クよりなる枠形成領域11Bを示したものであり、図1
1(d) は図11(a) のブロックデータを基に検出された
縦枠と横枠のみを模式的に示したものである。また図中
点線で示されているのは検出された縦枠を示しており、
一点鎖線は、検出された横枠を示している。
The detection of the outermost frame w1 will be described.
FIG. 11 is a diagram for explaining the detection of the outermost frame, and FIG.
Is a schematic representation of block data obtained by, for example, blocking as described above, and FIG.
11 shows a frame forming area 11A composed of five vertically continuous blocks on one block data.
FIG. 1C shows a frame forming area 11B composed of five horizontally continuous blocks on the block data.
1 (d) schematically shows only the vertical and horizontal frames detected based on the block data of FIG. 11 (a). Also, the dotted line in the figure shows the detected vertical frame,
The alternate long and short dash line indicates the detected horizontal frame.

【0071】まず、ブロック化により得られたブロック
データにおいて、縦方向に所定の長さ以上,図の場合5
つ連続する,図11(b) に示すような枠形成領域11A
が全て空白である場合、図11(b) に示すように、その
枠形成領域11Aの中心線を縦枠と見なし、ブロックデ
ータ全域についてこれを求めて、複数の縦枠(図中点
線)を得る。また同様に、横方向に所定の長さ以上,図
の場合5つ連続する,図11(c) に示すような領域が、
全て空白である場合に、図11(c) に示すように、その
枠形成領域領域9Bの中心線を横枠と見なし、ブロック
データ全域についてこれを求めて、複数の横枠(図中一
点鎖線)を得る。
First, in the block data obtained by blocking, a predetermined length or more in the vertical direction, 5 in the case of FIG.
Frame forming area 11A as shown in FIG.
If all are blank, the centerline of the frame forming area 11A is regarded as a vertical frame as shown in FIG. obtain. In the same way, the area as shown in FIG. 11 (c), which is more than a predetermined length in the lateral direction and is continuous in the case of 5 in the figure, is
When all are blank, the center line of the frame forming area 9B is regarded as a horizontal frame as shown in FIG. ) Get.

【0072】上述のように検出された縦枠の任意の2本
と横枠の任意の2本とにより形成される4角形のうち、
その面積が最大となるような4角形を求めることによ
り、最外枠w2を検出することができる。このように最
外枠の形状を4角形に限定することで、複雑な演算を省
き、最外枠の検出を容易に行うことができる。
Of the quadrangles formed by the arbitrary two vertical frames and the arbitrary two horizontal frames detected as described above,
The outermost frame w2 can be detected by obtaining a quadrangle having the maximum area. In this way, by limiting the shape of the outermost frame to a quadrangle, complicated calculations can be omitted and the outermost frame can be easily detected.

【0073】また、上述の最外枠検出の方法は、最外枠
が4角形に限定されるものであるが、最外枠が4角形に
限定されないその他の最外枠検出の方法について、図1
1(d) を用いて説明する。
Further, in the above-mentioned outermost frame detection method, the outermost frame is limited to the quadrangle, but the other outermost frame detection method is not limited to the quadrangle. 1
An explanation will be given using 1 (d).

【0074】上記検出した縦枠(図中点線),及び横枠
(図中一点鎖線)を、以下の手順により、たどってゆく
ことにより形成されたラインを最外枠とする。即ち、図
11(d) に示した検出された縦枠のうち最も左側の上端
の点(図中α)から、上記検出した縦枠,及び横枠を、
分岐点では進行方向に対して左,直進,右の優先順位で
方向を変えながらたどってゆき、行き止まったら前の分
岐点に戻るという動作を繰り返し、一度通った分岐点に
戻ってきて閉ループを形成したらこれにより枠が形成さ
れたことになり、出発点に戻ったら第1回目の枠検出処
理を終了する。そして、次に、上記最も左側の縦枠の次
の左側の縦枠の上端の点から同様の処理を行う。この第
2回目の枠検出における開始点が第1回目の枠検出で通
った点となる場合、そこで処理を終了する。このように
して得られた枠のうち面積が最大になるものを最外枠w
3とする。
A line formed by tracing the detected vertical frame (dotted line in the figure) and horizontal frame (dashed line in the figure) by the following procedure is taken as the outermost frame. That is, from the leftmost uppermost point (α in the figure) among the detected vertical frames shown in FIG.
At the fork point, the direction is changed in the order of priority of left, straight, and right with respect to the traveling direction, and when the vehicle stops, the operation of returning to the previous fork is repeated, returning to the fork that has passed once, and the closed loop is executed. If formed, this means that a frame has been formed, and when returning to the starting point, the first frame detection process ends. Then, the same processing is performed from the point at the upper end of the left vertical frame next to the leftmost vertical frame. If the starting point in the second frame detection is the point that has passed in the first frame detection, the process ends there. Of the frames thus obtained, the one having the largest area is the outermost frame w
3 is assumed.

【0075】この検出処理を図11(d) に示した枠につ
いて行うと、最も左側の縦枠の上端の点αから、分岐点
111で進行方向に対して左、即ち図の右方向に進み、
分岐点112では左方向に枠がないので直進、即ち図の
右方向に進み、分岐点113でも同様に図の右方向に進
み、分岐点114,分岐点115,分岐点116でも同
様に図の右方向に進む。その後点βで行き止まりになる
ので、分岐点119に戻り、左方向、即ち図の下方向に
進む。今度は点γで行き止まりとなるので、分岐点11
6に戻り、図の左方向に進む。分岐点115では図の下
方向に進み、分岐点11aでは図の下方向に進み、分岐
点117では進行方向の左方向に枠はなく、直進方向が
行き止まりなので、右方向、即ち図の左方向へ進み、分
岐点118では進行方向の左方向が行き止まりで直進方
向に枠がないので右、即ち図の上方向に進み、分岐点1
1bでは左に枠がないので直進方向、即ち図の上方向に
進み分岐点11cでも同様に図の上方向に進み、分岐点
111に戻り、点αに戻って終了する。これにより、こ
のようにして行った最外枠のための行程のうちの往復し
たパスを除いた閉ループを形成するパスにより最外枠w
3が形成される。
When this detection processing is performed for the frame shown in FIG. 11 (d), from the point α at the upper end of the leftmost vertical frame, the process moves to the left at the branch point 111, that is, to the right in the figure. ,
At the branch point 112, since there is no frame to the left, the vehicle goes straight, that is, goes to the right in the figure, and also at the branch point 113, goes to the right in the figure, and at the branch point 114, the branch point 115, and the branch point 116. Go right. After that, since it becomes a dead end at the point β, it returns to the branch point 119 and proceeds leftward, that is, downward in the figure. This time, it becomes a dead end at point γ, so branch point 11
Return to 6 and move to the left in the figure. At the branch point 115, proceed downward in the figure, at the branch point 11a proceed downward in the figure, and at the branch point 117, there is no frame to the left in the traveling direction, and the straight direction is a dead end, so it is rightward, that is, leftward in the figure. At the branch point 118, the left side of the traveling direction is a dead end and there is no frame in the straight traveling direction.
In 1b, since there is no frame on the left, the vehicle advances straight ahead, that is, in the upward direction in the figure, and also in the branch point 11c, similarly in the upward direction in the figure, returns to the branch point 111, returns to the point α, and ends. As a result, the outermost frame w is formed by the path forming the closed loop excluding the reciprocating path in the process for the outermost frame performed in this way.
3 is formed.

【0076】ここで、上記枠の検出において、各縦枠の
上端の分岐点は全て通っているので、枠検出処理を終了
し、この図に示すブロックデータの場合、上記分岐点1
11,115,117,118で囲まれた領域が最外枠
w3として検出されたことになる。
Here, in the detection of the frame, all the branch points at the upper end of each vertical frame pass, so the frame detection processing is terminated, and in the case of the block data shown in this figure, the branch point 1
The area surrounded by 11, 115, 117 and 118 is detected as the outermost frame w3.

【0077】次に、画像切取手段93により、元の画像
データの,上記検出した最外枠w1で囲まれる位置(図
10(c) )にある画像データのみ切り取り、出力する。
これにより必要な領域のみの画像データ(図10(d) )
を自動的に得ることができる。
Next, the image cutting means 93 cuts and outputs only the image data of the original image data at the position surrounded by the detected outermost frame w1 (FIG. 10 (c)).
As a result, image data of only the necessary area (Fig. 10 (d))
Can be obtained automatically.

【0078】なお、上記の説明では最外枠w3は四角形
となったが、上記手法によれば、最大枠が四角形になら
ない場合にも、最外枠の検出ができるものである。
Although the outermost frame w3 is a quadrangle in the above description, the above method can detect the outermost frame even when the maximum frame is not a quadrangle.

【0079】このように、本発明の実施の形態3におけ
る画像処理装置によれば、画像データ上の所定の大きさ
に区切られた各ブロック領域を構成する複数の単位ブロ
ックの全ての単位ブロックが、空白であるか否かを検出
し、上記複数の各ブロックが情報領域か空白領域かを示
すブロックデータを出力するブロック化手段と、ブロッ
クデータから画像の空白領域を検出する空白領域検出手
段91と、空白領域検出手段91で検出した空白領域1
01から四方を空白領域で囲まれたすべての情報領域を
囲むことのできる,空白領域よりなる最外枠w1を検出
する最外枠検出手段92と、画像データの,検出した最
外枠w1で囲まれる画像データのみを出力する画像切取
手段93とを備えたので、読み取りを行った全領域のう
ち必要な領域のみを検出することができ、該必要な領域
のみの画像データを自動的に得ることができる効果があ
る。
As described above, according to the image processing apparatus in the third embodiment of the present invention, all the unit blocks of the plurality of unit blocks forming each block area divided into a predetermined size on the image data are , A block forming means for detecting whether or not each block is blank and outputting block data indicating whether each of the plurality of blocks is an information area or a blank area, and a blank area detecting means 91 for detecting a blank area of an image from the block data. And the blank area 1 detected by the blank area detecting means 91.
The outermost frame detecting means 92 for detecting the outermost frame w1 composed of the blank area, which can enclose all the information areas surrounded by blank areas from 01 to four, and the detected outermost frame w1 of the image data. Since the image cutting means 93 for outputting only the enclosed image data is provided, it is possible to detect only the necessary region out of the entire read region, and automatically obtain the image data only for the necessary region. There is an effect that can be.

【0080】また、最外枠検出手段92は、横方向に所
定の長さ以上連続する空白領域を検出する横枠検出手段
と、縦方向に所定の長さ以上連続する空白領域を検出す
る縦枠検出手段とを備え、前記横枠検出手段,及び縦枠
検出手段により検出された横枠と縦枠とにより作成され
る閉じる枠のうちの最大枠を最外枠として出力するもの
であるので、画像データの必要領域を正確に検出するこ
とができる効果がある。
Further, the outermost frame detecting means 92 detects a horizontal area which is continuous for a predetermined length or more in the horizontal direction and a vertical area for detecting a blank area which is continuous for a predetermined length or more in the vertical direction. A frame detecting unit is provided, and the maximum frame among the closing frames created by the horizontal frame detecting unit and the horizontal frame and the vertical frame detected by the vertical frame detecting unit is output as the outermost frame. The effect is that the required area of the image data can be accurately detected.

【0081】実施の形態4.本発明の実施の形態4にお
ける画像処理方法は、任意の方向に走査可能なフリーハ
ンドスキャナ等により画像を読み込む画像処理方法にお
いて、順次読み込んだ複数の画像を、該各複数の画像並
んで配置されるように該各画像データの座標を自動的に
変換しようとするものである。
Embodiment 4 The image processing method according to the fourth embodiment of the present invention is an image processing method for reading an image by a freehand scanner or the like that can scan in any direction, and a plurality of images that are sequentially read are arranged side by side. As described above, the coordinates of each image data are automatically converted.

【0082】即ち、本発明の実施の形態4による画像処
理方法は、任意の方向に走査可能な画像読取部を備えた
画像読取装置により読み込んだ不定形の画像データを処
理する画像処理方法において、順次読み込まれる複数の
前記画像データの端座標を読み取り走査ごとにそれぞれ
検出し、前記複数の画像データが順次並んで配置される
ように、順次読み込んだ画像データの一方端の端座標を
前回読み込んだ画像データの他方端の端座標に揃えるよ
う変換するものである。
That is, the image processing method according to the fourth embodiment of the present invention is an image processing method for processing irregular-shaped image data read by an image reading apparatus having an image reading unit capable of scanning in an arbitrary direction. The end coordinates of the plurality of sequentially read image data are detected for each reading scan, and the end coordinates of one end of the sequentially read image data are read last time so that the plurality of image data are sequentially arranged. The image data is converted so as to be aligned with the other end coordinates of the image data.

【0083】図12は本発明の実施の形態4における画
像処理装置を示したブロック図であり、図において12
1は画像読取手段、122は座標生成手段、123は画
像生成手段で、その内部に第1の画像メモリ124,及
び第2の画像メモリ125を備えている。なおこの第1
の画像メモリ124,及び第2の画像メモリ125は同
じメモリを用いてもよい。また126は第1の接続配置
手段を示しており、この接続配置手段126は座標変換
手段127と端座標検出手段128とを備えている。
FIG. 12 is a block diagram showing an image processing apparatus according to the fourth embodiment of the present invention.
Reference numeral 1 is an image reading unit, 122 is a coordinate generation unit, and 123 is an image generation unit, which is provided with a first image memory 124 and a second image memory 125. This first
The image memory 124 and the second image memory 125 may use the same memory. Further, reference numeral 126 denotes a first connecting and arranging means, and this connecting and arranging means 126 includes a coordinate converting means 127 and an end coordinate detecting means 128.

【0084】以下に本実施の形態4による画像処理装置
の動作について、図12,図14を参照して説明する。
まず、画像読取手段121からの画像情報,及び座標生
成手段122からの座標情報により画像生成手段123
で画像データ141が生成され、第1の画像メモリ12
4には生成された画像データ141が記録される。そし
て、画像の走査が画像141のものから画像142のも
のに切り替わることを示す画像切替信号が第1の接続配
置手段126に入力されると、座標変換手段127は、
第1の画像メモリ124に記録されている画像データ1
41の座標を入力するが、第1回目の走査においては、
座標変換は行われず、そのままの座標を第2の画像メモ
リ125,及び端座標検出手段128に出力する。端座
標検出手段128は、座標変換手段127から出力され
た座標の端座標を検出して記憶する。そして、第2回目
の走査が開始され、画像生成手段123の第1の画像メ
モリ124に生成された画像データ142が記録され
る。その後、第2回目の走査が切り替わることを示す画
像切替信号が第1の接続配置手段126に入力される
と、端座標検出手段128で記録されていた前回の走査
の画像データ141の端座標が座標変換手段127に入
力され、座標変換手段127では、この前回の画像デー
タ141の端座標と、第1の画像メモリ124に記録さ
れている第2回目の走査の画像データ142の座標情報
により、第1回の走査による画像データ141と第2回
の走査による画像データ142とが重ならないように、
かつ接続して配置されるように、第2回目の走査により
得られた画像データ142の座標を変換して変換された
画像データ142’を第2の画像メモリ125,及び端
座標検出手段128に出力する。端座標検出手段128
は座標変換手段127から出力された変換された画像デ
ータ142’の座標の端座標を検出して記憶する。そし
て第3回の走査を開始し、以下順次同様に処理を行うこ
とにより。各走査ごとの画像データ141,142,1
43が変換された画像データ141,142’,14
3’として順次接続配置された画像データを得る。
The operation of the image processing apparatus according to the fourth embodiment will be described below with reference to FIGS.
First, based on the image information from the image reading unit 121 and the coordinate information from the coordinate generating unit 122, the image generating unit 123.
Image data 141 is generated in the first image memory 12
In 4, the generated image data 141 is recorded. Then, when an image switching signal indicating that the scanning of the image is switched from that of the image 141 to that of the image 142 is input to the first connection arrangement means 126, the coordinate conversion means 127
Image data 1 recorded in the first image memory 124
Enter the coordinates of 41, but in the first scan,
No coordinate conversion is performed, and the coordinates as they are are output to the second image memory 125 and the edge coordinate detection means 128. The edge coordinate detection means 128 detects and stores the edge coordinates of the coordinates output from the coordinate conversion means 127. Then, the second scanning is started, and the generated image data 142 is recorded in the first image memory 124 of the image generating means 123. After that, when an image switching signal indicating that the second scan is switched is input to the first connection arrangement unit 126, the end coordinates of the image data 141 of the previous scan recorded by the end coordinate detection unit 128 are changed. It is input to the coordinate conversion means 127, and the coordinate conversion means 127 uses the edge coordinates of the previous image data 141 and the coordinate information of the image data 142 of the second scan recorded in the first image memory 124. In order that the image data 141 obtained by the first scanning and the image data 142 obtained by the second scanning do not overlap,
In addition, the image data 142 ′ obtained by converting the coordinates of the image data 142 obtained by the second scanning so as to be connected and arranged is stored in the second image memory 125 and the edge coordinate detecting means 128. Output. Edge coordinate detection means 128
Detects and stores the edge coordinates of the coordinates of the converted image data 142 ′ output from the coordinate conversion means 127. Then, the third scanning is started, and the same processes are sequentially performed thereafter. Image data 141, 142, 1 for each scan
43 is converted image data 141, 142 ', 14
Image data sequentially connected and arranged as 3'is obtained.

【0085】このように本実施の形態4における画像処
理装置によれば、任意の方向に走査可能な画像読取部に
より不定形の画像データを読み取る画像処理装置におい
て、順次読み込まれる複数の前記画像データの端座標を
読み取り走査ごとにそれぞれ検出し、前記複数の画像デ
ータが順次並んで配置されるように、順次読み込んだ画
像データの一方端の端座標を前回読み込んだ画像データ
の他方端の端座標に揃えるよう変換する接続配置手段1
26を備えたので、新聞雑誌等の原稿における,段組
み,頁変わりによって分離した記事が順次並んで配置さ
れた画像を、面倒な編集の操作なく、自動的に得ること
ができる。
As described above, according to the image processing apparatus of the fourth embodiment, in the image processing apparatus that reads indefinite image data by the image reading unit that can scan in any direction, the plurality of image data that are sequentially read. Edge coordinates of each of the scanning is detected, and the edge coordinates of one edge of the sequentially read image data are coordinated with the other edge of the previously read image data so that the plurality of image data are sequentially arranged. Connection arrangement means 1 for converting so that
Since 26 is provided, it is possible to automatically obtain an image in which manuscripts such as newspapers and magazines are sequentially arranged with articles separated by columns and page changes without tedious editing operations.

【0086】また、上記画像処理装置において、接続配
置手段126は、順次読み込まれる画像データのメモリ
上の座標を、直前に座標変換された変換画像データの端
座標検出手段128からの端座標を用いて変換する座標
変換手段127と、座標変換手段127から出力され
る,変換された画像データから、該変換画像データの端
座標を検出して記憶し、かつ、前回の読み取り走査時に
記憶した座標変換した端座標データを、前記座標変換手
段127に出力する端座標検出手段128とからなるも
のであるので、前回走査の画像データの端座標により今
回走査の画像データを所望の位置へ座標変換できる。
Further, in the image processing apparatus, the connection arranging means 126 uses the coordinates on the memory of the sequentially read image data as the end coordinates from the end coordinate detecting means 128 of the converted image data which has been subjected to the coordinate conversion immediately before. Coordinate conversion means 127 for converting the converted image data, and the edge conversion of the converted image data detected and stored from the converted image data output from the coordinate conversion means 127, and the coordinate conversion stored during the previous reading scan. Since the edge coordinate data is composed of the edge coordinate detecting means 128 which outputs the edge coordinate data to the coordinate converting means 127, the image data of the current scan can be coordinate-converted to a desired position by the edge coordinates of the image data of the previous scan.

【0087】実施の形態5.本発明の実施の形態5にお
ける画像処理方法は、実施の形態4と同様に、任意の方
向に走査可能なフリーハンドスキャナ等により画像を読
み込む画像処理方法において、順次読み込んだ複数の画
像を、該各複数の画像並んで配置されるように該各画像
データの座標を自動的に変換しようとするものである。
Embodiment 5. The image processing method according to the fifth embodiment of the present invention is similar to the fourth embodiment, in the image processing method of reading an image by a freehand scanner or the like capable of scanning in an arbitrary direction. The coordinate of each image data is automatically converted so that each image is arranged side by side.

【0088】即ち、本発明の実施の形態5による画像処
理方法は、任意の方向に走査可能な画像読取部を備えた
画像読取装置により読み込んだ不定形の画像データを処
理する画像処理方法において、順次読み込まれる複数の
前記画像データの端座標を読み取り走査ごとにそれぞれ
検出し、前記複数の画像データが順次並んで配置される
ように、順次読み込んだ画像データの一方端の端座標を
前回読み込んだ画像データの他方端の端座標に揃えるよ
う変換するものである。
That is, the image processing method according to the fifth embodiment of the present invention is an image processing method for processing irregular-shaped image data read by an image reading apparatus having an image reading unit capable of scanning in an arbitrary direction. The end coordinates of the plurality of sequentially read image data are detected for each reading scan, and the end coordinates of one end of the sequentially read image data are read last time so that the plurality of image data are sequentially arranged. The image data is converted so as to be aligned with the other end coordinates of the image data.

【0089】図13は本実施の形態5における画像処理
装置のその他の例を示すブロック図であり、図におい
て、131は画像読取手段、132座標生成手段は、1
33は画像生成手段、134は第2の接続配置手段、1
35は端座標検出手段、136は初期座標検出手段であ
る。
FIG. 13 is a block diagram showing another example of the image processing apparatus according to the fifth embodiment, in which 131 is an image reading means and 132 coordinate generation means is 1
33 is an image generation means, 134 is a second connection arrangement means, 1
Reference numeral 35 is an edge coordinate detecting means, and 136 is an initial coordinate detecting means.

【0090】以下に本実施の形態5による画像処理装置
の動作を図13、図14について説明する。まず、画像
読取手段131からの画像情報,及び座標生成手段13
2からの座標情報により画像生成手段133で画像デー
タ141が生成される。このとき座標生成手段132は
その座標情報を第2の接続配置手段134にも出力す
る。そして、画像の走査が切り替わることを示す画像切
替信号が入力されると、第2の接続配置手段134内の
端座標検出手段135がこの走査切替信号を受けて、上
記座標情報から該画像データ141の端座標を検出し、
この端座標情報を初期座標生成手段136に出力する。
初期座標生成手段136は検出された端座標情報から、
次に表示すべき画像データの初期座標、即ち、次の走査
により読み込まれる画像データ142が、今回の走査に
よる画像データ141に重ならないように、かつ並んで
配置されるようになる端座標(141の図示左下端)を
生成し、座標生成手段132に出力する。座標生成手段
132はこの初期座標を用いて次の画像の座標を生成す
るので、第2回目の走査により生成される画像データ1
42’は、第1回目の走査により得られた画像データに
接続配置されることになる。以降、順次画像を読み取る
ごとに、各画像が順次接続配置された画像データ14
1,142’,143’を得る。
The operation of the image processing apparatus according to the fifth embodiment will be described below with reference to FIGS. 13 and 14. First, the image information from the image reading unit 131 and the coordinate generation unit 13
The image data 141 is generated by the image generation unit 133 based on the coordinate information from 2. At this time, the coordinate generation means 132 also outputs the coordinate information to the second connection arrangement means 134. Then, when the image switching signal indicating that the scanning of the image is switched is input, the edge coordinate detecting means 135 in the second connection arranging means 134 receives the scanning switching signal, and the image data 141 is obtained from the coordinate information. Detects the edge coordinates of
This edge coordinate information is output to the initial coordinate generation means 136.
The initial coordinate generation means 136 uses the detected edge coordinate information to
The initial coordinates of the image data to be displayed next, that is, the image data 142 read by the next scan are arranged side by side so as not to overlap the image data 141 of the current scan (141 (Lower left end in the drawing) is generated and output to the coordinate generation means 132. Since the coordinate generation means 132 uses the initial coordinates to generate the coordinates of the next image, the image data 1 generated by the second scan is generated.
42 'is connected to the image data obtained by the first scan. Thereafter, each time the images are sequentially read, the image data 14 in which the images are sequentially connected and arranged is displayed.
1,142 ', 143' are obtained.

【0091】このように本実施の形態5における画像処
理装置によれば、任意の方向に走査可能な画像読取部に
より不定形の画像データを読み取る画像処理装置におい
て、順次読み込まれる複数の前記画像データの端座標を
読み取り走査ごとにそれぞれ検出し、前記複数の画像デ
ータが順次並んで配置されるように、順次読み込んだ画
像データの一方端の端座標を前回読み込んだ画像データ
の他方端の端座標に揃えるよう変換する接続配置手段1
34を備えたので、新聞雑誌等の原稿における,段組
み,頁変わりによって分離した記事が順次並んで配置さ
れた画像を、面倒な編集の操作なく、自動的に得ること
ができる。
As described above, according to the image processing apparatus of the fifth embodiment, in the image processing apparatus which reads indefinite image data by the image reading unit capable of scanning in any direction, the plurality of image data sequentially read. Edge coordinates of each of the scanning is detected, and the edge coordinates of one edge of the sequentially read image data are coordinated with the other edge of the previously read image data so that the plurality of image data are sequentially arranged. Connection arrangement means 1 for converting so that
Since 34 is provided, it is possible to automatically obtain an image in which manuscripts, such as newspapers and magazines, in which articles separated by columns and page changes are sequentially arranged side by side without a troublesome editing operation.

【0092】また、接続配置手段134は、読み取り走
査ごとに、該読み取り画像データの端座標を検出する端
座標検出手段135と、端座標検出手段135から出力
される端座標を用いて、次の画像を生成するための初期
座標を生成する初期座標生成手段136とを備えたの
で、順次接続配置されていく画像データをリアルタイム
に得ることができる。
Further, the connection arranging means 134 uses the edge coordinate detecting means 135 for detecting the edge coordinates of the read image data and the edge coordinates output from the edge coordinate detecting means 135 for each reading scan, and Since the initial coordinate generating means 136 for generating initial coordinates for generating an image is provided, it is possible to obtain image data sequentially connected and arranged in real time.

【0093】実施の形態6.本発明の実施の形態6にお
ける画像処理装置は、フリーハンドスキャナを用い、原
稿を読み取る際の各走査ごとの画像データの重なり領域
の画像データを比較して、各走査ごとの画像データの位
置ズレを補正することにより、ズレの無い広い面積の画
像データを得る画像処理方法において、画像の傾きを自
動的に補正し、必要領域のみを切り取り、かつ該切り取
った領域の画像データを、順次並んで配置されるように
該各画像データの座標を自動的に変換しようとするもの
である。
Sixth Embodiment The image processing apparatus according to the sixth embodiment of the present invention uses a freehand scanner to compare image data in an overlapping region of image data for each scan when reading a document, and to shift the position of the image data for each scan. In the image processing method for obtaining image data of a large area without deviation by correcting, the inclination of the image is automatically corrected, only the necessary area is cut, and the image data of the cut area is sequentially arranged. It is intended to automatically convert the coordinates of each image data so as to be arranged.

【0094】本実施の形態6による画像処理装置につい
て説明する。図15は本実施の形態6で用いる画像処理
装置を説明するためのブロック図であり、これは従来例
であげた特願平7−80568号に示された画像処理装
置を示している。図において、150は原稿、151は
画像読取部、152a,152bは移動量検出部、15
3は座標生成手段、154は走査位置検出回路、155
は画像生成手段、156は画像バッファ、157は写像
回路、158は位置ずれ検出回路、159は画像メモリ
をそれぞれ示している。
An image processing apparatus according to the sixth embodiment will be described. FIG. 15 is a block diagram for explaining the image processing apparatus used in the sixth embodiment, which shows the image processing apparatus shown in Japanese Patent Application No. 7-80568 mentioned in the conventional example. In the figure, 150 is an original, 151 is an image reading unit, 152a and 152b are movement amount detection units, and 15
3 is a coordinate generation means, 154 is a scanning position detection circuit, 155.
Is an image generating means, 156 is an image buffer, 157 is a mapping circuit, 158 is a displacement detection circuit, and 159 is an image memory.

【0095】図16はこの画像処理装置のフリーハンド
スキャナを用いて原稿を走査した時の状態を示す模式図
であり、A点とB点を結ぶ線上(以下、「読み取り位置
A−B」と称す)からC点とD点を結ぶ線上(読み取り
位置C−D)まで走査し、その後折り返し、E点とF点
を結ぶ線上(読み取り位置E−F)まで走査した状態を
示したものである。
FIG. 16 is a schematic diagram showing a state in which a document is scanned using the freehand scanner of this image processing apparatus, and is on a line connecting points A and B (hereinafter referred to as "reading position AB"). The scanning is performed from a line (referred to) to a line connecting the points C and D (reading position C-D), then folded, and then scanned up to a line connecting the points E and F (reading position E-F). .

【0096】この画像処理装置は、原稿150を走査し
て読み取った画像データと、該画像データに対応する走
査位置とを順次入力し、走査位置に基づいて前記画像デ
ータを画像メモリ159に格納する画像処理装置であっ
て、図16に示すように、走査領域CDFEの画像デー
タと画像メモリ159に格納された領域ABCDの格納
データとから、重複して走査する重なり走査領域(領域
CEGD)の前記走査位置の位置ずれを,位置ずれ検出
回路158により検出し、前記位置ずれを補正する補正
値を出力する手段と、補正された走査位置に基づいて前
記画像データを前記画像メモリに格納する写像回路15
7とを備えたものであり、これにより、位置ずれのない
高品位な画像データを得ることができるものである。こ
のような画像処理装置を用いて以下の実施例のように本
実施の形態6の画像処理装置を構成する。
The image processing apparatus sequentially inputs the image data read by scanning the original 150 and the scanning position corresponding to the image data, and stores the image data in the image memory 159 based on the scanning position. In the image processing apparatus, as shown in FIG. 16, the overlap scanning area (area CEGD) for overlapping scanning from the image data of the scanning area CDFE and the storage data of the area ABCD stored in the image memory 159 is used. Means for detecting the positional deviation of the scanning position by the positional deviation detection circuit 158 and outputting a correction value for correcting the positional deviation, and a mapping circuit for storing the image data in the image memory based on the corrected scanning position. 15
7 is provided, whereby high-quality image data with no positional deviation can be obtained. Using such an image processing apparatus, the image processing apparatus of the sixth embodiment is configured as in the following examples.

【0097】実施例1.本実施の形態6の実施例1にお
ける画像処理装置は、上述した図15の画像処理装置に
加えて、さらに実施の形態1で述べたようなブロック化
手段11、第1の傾き検出手段12、傾き補正手段13
を備え、さらに実施の形態3で述べたような空白領域検
出手段91、最外枠検出手段92、画像切取手段93を
備え、さらに実施の形態4で述べたような第1の接続配
置手段126を備えたもので、これにより、画像データ
の傾きが補正された補正画像データを得ることができ、
上記補正画像データの必要領域のみが切り取られた画像
データを得ることができ、かつ上記切り取られた画像が
並ぶように配置された画像データを得ることができるも
のである。
Embodiment 1 The image processing apparatus according to the first embodiment of the sixth embodiment includes, in addition to the above-described image processing apparatus shown in FIG. Tilt correction means 13
And the blank area detection means 91, the outermost frame detection means 92, and the image cutting means 93 as described in the third embodiment, and the first connection arrangement means 126 as described in the fourth embodiment. With this, it is possible to obtain corrected image data in which the inclination of the image data is corrected,
It is possible to obtain the image data in which only the necessary area of the corrected image data is cut out, and to obtain the image data in which the cut out images are arranged side by side.

【0098】本実施の形態6の実施例1の画像処理装置
においては、この場合、図1で示した画像生成手段10
は図13に示した画像生成手段155に対応するもので
あり、図1で示した傾き補正手段13から出力される補
正画像データが図9の空白領域検出手段91及び画像切
り取り手段93に入力されることとなり、画像切り取り
手段93から出力される画像データが図12の第1の画
像メモリ124に記録されることとなる。
In the image processing apparatus of Example 1 of Embodiment 6, in this case, the image generation means 10 shown in FIG.
13 corresponds to the image generation means 155 shown in FIG. 13, and the corrected image data output from the inclination correction means 13 shown in FIG. As a result, the image data output from the image cropping unit 93 is recorded in the first image memory 124 of FIG.

【0099】このように、本実施の形態6の実施例1に
よる画像処理装置によれば、任意の方向に走査可能な画
像読取部を備え、画像データを読み取る画像読取手段
と、読み取った画像データ上の所定の大きさに区切られ
た各ブロック領域を構成する複数の単位ブロックの全て
の単位ブロックが、空白であるか否かを検出し、上記複
数の各ブロックが情報領域か空白領域かを示すブロック
データを出力するブロック化手段11と、ブロックデー
タから画像の傾きを検出する第1の傾き検出手段12
と、第1の傾き検出手段12から出力される傾き情報を
用いて前記画像データの傾きを補正する傾き補正手段1
3と、ブロックデータから画像の空白領域を検出する空
白領域検出手段91と、空白領域検出手段91で検出し
た空白領域から四方を空白領域で囲まれたすべての情報
領域を囲むことのできる,空白領域よりなる最外枠を検
出する最外枠検出手段92と、画像データの,検出した
前記最外枠で囲まれる画像データのみを出力する画像切
取手段93とを備え、かつ、順次読み込まれる複数の前
記画像データの端座標を読み取り走査ごとにそれぞれ検
出し、前記複数の画像データが順次並んで配置されるよ
うに、順次読み込んだ画像データの一方端の端座標を前
回読み込んだ画像データの他方端の端座標に揃えるよう
変換する接続配置手段126を備えたので、面倒な編集
操作なしに、記事の傾きが補正され、必要部分が切り取
られ、かつそれぞれの記事部分が配列された画像データ
を自動的に得ることができる効果がある。
As described above, according to the image processing apparatus according to the first embodiment of the sixth embodiment, the image reading unit capable of scanning in any direction is provided, the image reading unit for reading the image data, and the read image data. It is detected whether or not all the unit blocks of the plurality of unit blocks forming each block area divided into the above predetermined size are blank, and whether each of the plurality of blocks is an information area or a blank area is detected. Blocking means 11 for outputting the block data shown, and first tilt detecting means 12 for detecting the tilt of the image from the block data.
And a tilt correction means 1 for correcting the tilt of the image data using the tilt information output from the first tilt detection means 12.
3, a blank area detecting unit 91 for detecting a blank area of an image from block data, and a blank area capable of enclosing all information areas surrounded by blank areas on all sides from the blank area detected by the blank area detecting unit 91. Outermost frame detecting means 92 for detecting the outermost frame made up of areas, and image cutting means 93 for outputting only the image data of the image data enclosed by the detected outermost frame are provided. The edge coordinates of the image data are detected for each reading scan, and the edge coordinates of one end of the sequentially read image data are transferred to the other of the previously read image data so that the plurality of image data are sequentially arranged. Since the connecting and arranging means 126 for converting so as to align with the end coordinates of the end is provided, the inclination of the article is corrected, necessary portions are cut out, and each of them is cut without any troublesome editing operation. There is an effect that it is possible to obtain the image data article part is arranged automatically.

【0100】実施例2.また、上記実施例1において
は、傾きの補正を行うために実施の形態1の構成を備え
たものとしたが、この傾きの補正を実施の形態2で説明
した構成により行うこともでき、これは、上述した図1
5の画像処理装置に加えて、さらに実施の形態2で述べ
た図7の直進検出手段76、第2の傾き検出手段77、
及び傾き補正手段78を備え、さらに実施の形態3で述
べたような空白領域検出手段91、最外枠検出手段9
2、画像切取手段93を備え、さらに実施の形態4で述
べたような第1の接続配置手段126を備えたもので、
これにより、画像データの傾きが補正された補正画像デ
ータを得ることができ、上記補正画像データの必要領域
のみが切り取られた画像データを得ることができ、かつ
上記切り取られた画像が並ぶように配置された画像デー
タを得ることができるものである。
Example 2. Further, although the configuration of the first embodiment is provided in order to correct the tilt in the above-described first embodiment, the tilt correction can be performed by the structure described in the second embodiment. Is shown in FIG.
In addition to the image processing apparatus of FIG. 5, the straight-ahead detection means 76, the second inclination detection means 77 of FIG.
And a tilt correction means 78, and further includes a blank area detection means 91 and an outermost frame detection means 9 as described in the third embodiment.
2. The image cutting means 93 is provided, and the first connection arrangement means 126 as described in the fourth embodiment is further provided.
Thereby, it is possible to obtain corrected image data in which the inclination of the image data is corrected, obtain image data in which only the necessary area of the corrected image data is cut out, and arrange the cut out images in line. The arranged image data can be obtained.

【0101】本実施の形態6の実施例2の画像処理装置
においては、この場合、図7で示した画像生成手段72
は図15に示した画像生成手段155に対応するもので
あり、図15に示した移動量検出部152,152bに
より得られる信号が図7に示した直進検出手段76に入
力され、図7で示した傾き補正手段78から出力される
補正画像データが図9の空白領域検出手段91及び画像
切り取り手段93に入力されることとなり、画像切り取
り手段93から出力される画像データが図12の第1の
画像メモリ124に記録されることとなる。
In the image processing apparatus of Example 2 of Embodiment 6, in this case, the image generating means 72 shown in FIG.
Corresponds to the image generation means 155 shown in FIG. 15, and the signals obtained by the movement amount detection units 152 and 152b shown in FIG. 15 are input to the straight-ahead detection means 76 shown in FIG. The corrected image data output from the inclination correction unit 78 shown in FIG. 9 is input to the blank area detection unit 91 and the image clipping unit 93 in FIG. 9, and the image data output from the image clipping unit 93 is the first image in FIG. Will be recorded in the image memory 124.

【0102】このように、本実施の形態6の実施例2に
よる画像処理装置によれば、任意の方向に走査可能な画
像読取部81を備え、画像データを読み取る画像読取手
段71と、画像読取部91の両端の移動量を出力する2
つの移動量検出手段73,74と、各移動量検出手段7
3,74から出力される各移動量情報から、画像読取部
81が所定の長さ以上直進した方向を検出する直進検出
手段76と、直進検出手段76で検出された直進方向
と、この画像の読み取り開始時の前記画像読取部の基準
軸とから読み取った画像の傾きを検出する第2の傾き検
出手段77と、第2の傾き検出手段77で検出された傾
き情報を用いて前記画像データの傾きを補正する傾き補
正手段78と、画像データ上の所定の大きさに区切られ
た各ブロック領域を構成する複数の単位ブロックの全て
の単位ブロックが、空白であるか否かを検出し、上記複
数の各ブロックが情報領域か空白領域かを示すブロック
データを出力するブロック化手段と、ブロックデータか
ら画像の空白領域を検出する空白領域検出手段91と、
空白領域検出手段91で検出した前記空白領域から四方
を空白領域で囲まれたすべての情報領域を囲むことので
きる,空白領域よりなる最外枠を検出する最外枠検出手
段92と、画像データの,検出した前記最外枠で囲まれ
る画像データのみを出力する画像切取手段93とを備
え、かつ、順次読み込まれる複数の前記画像データの端
座標を読み取り走査ごとにそれぞれ検出し、前記複数の
画像データが順次並んで配置されるように、順次読み込
んだ画像データの一方端の端座標を前回読み込んだ画像
データの他方端の端座標に揃えるよう変換する接続配置
手段126を備えたので、面倒な編集操作なしに、画像
の傾きが補正され、必要部分が切り取られ、かつそれぞ
れの記事部分が配列された画像データを自動的に得るこ
とができる効果がある。
As described above, according to the image processing apparatus according to the second embodiment of the sixth embodiment, the image reading unit 81 capable of scanning in any direction is provided, and the image reading unit 71 for reading image data and the image reading unit. Outputs the movement amount of both ends of the part 91 2
One moving amount detecting means 73, 74 and each moving amount detecting means 7
From the respective movement amount information output from 3, 74, the straight advancing detection means 76 for detecting the direction in which the image reading section 81 has gone straight ahead for a predetermined length, the straight advancing direction detected by the straight advancing detection means 76, and this image A second tilt detecting unit 77 for detecting the tilt of the image read from the reference axis of the image reading unit at the start of reading, and the tilt information detected by the second tilt detecting unit 77 is used to extract the image data. The inclination correcting unit 78 for correcting the inclination and the unit blocks of the plurality of unit blocks forming each block area divided into a predetermined size on the image data are detected as to whether or not each unit block is blank, and Blocking means for outputting block data indicating whether each of the plurality of blocks is an information area or a blank area, and blank area detecting means 91 for detecting a blank area of an image from the block data,
Outermost frame detecting means 92 for detecting the outermost frame composed of blank areas, which can enclose all information areas surrounded by blank areas on all sides from the blank area detected by the blank area detecting means 91, and image data Of the detected image data enclosed by the outermost frame, and the edge coordinates of the plurality of image data that are sequentially read are detected for each reading scan. Since the arrangement arrangement means 126 is provided so as to align the end coordinates of one end of the sequentially read image data with the end coordinates of the other end of the previously read image data so that the image data are arranged side by side, it is troublesome. The effect of being able to automatically obtain the image data in which the image inclination is corrected, the necessary portions are cut out, and the respective article portions are arranged is automatically obtained without performing a complicated editing operation. .

【0103】実施例3.上述した本実施の形態6の実施
例1では、実施の形態1と,実施の形態3と,実施の形
態4とを組み合わせて行う実施例を、また、実施例2で
は、実施の形態1と,実施の形態3と,実施の形態4と
を組み合わせて行う実施例をそれぞれ説明したが、傾き
の補正処理を行う実施の形態1,及び実施の形態2,画
像データの必要領域を切り取る処理を行う実施の形態
3,及び画像データを接続配置する処理を行う実施の形
態4、及び実施の形態5の3種類の処理を行う画像処理
装置を、上記実施例1及び2とは異なる実施の形態の組
み合わせにより構成することもでき、また、この3種類
の処理のうちの2つの処理を含むものとすることもで
き、目的に合わせ所望の処理(所望の実施の形態)を組
み合わせて行う画像処理装置を構成することができる。
Example 3. In the example 1 of the sixth embodiment described above, an example in which the first embodiment, the third embodiment, and the fourth embodiment are combined, and in the second example, the first embodiment is described. Although the embodiments performed by combining the third embodiment and the fourth embodiment have been described, respectively, the first embodiment and the second embodiment that perform the inclination correction process perform the process of cutting out a necessary area of the image data. An image processing apparatus that performs three types of processing, that is, the third embodiment to be performed, the fourth embodiment to perform processing for connecting and arranging image data, and the fifth embodiment, is an embodiment different from the first and second embodiments. It is also possible to configure the image processing apparatus by combining the desired processing (desired embodiment) according to the purpose. Can be configured Kill.

【0104】以上のように、実施の形態1(あるいは実
施の形態2)で述べた傾きの補正を行う処理と、実施の
形態3で述べた所望領域の画像データのみを切り取り出
力する処理と、さらに加えて実施の形態4(あるいは実
施の形態5)で述べた画像データが順次並ぶように接続
配置する処理とを組み合わせて行う実施の形態6の画像
処理装置によれば、画像データの,画像の傾きを自動的
に補正し、必要領域のみを検出し手切り取り、かつ該切
り取った領域の画像データを自動的に並べることができ
るので、使用者が新聞雑誌等の原稿の各記事部分を順次
走査するだけで、面倒な編集操作なく自動的に、記事の
傾きが補正され、必要部分が切り取られ、かつそれぞれ
の記事部分が配列された画像データを得ることができる
効果がある。
As described above, the processing for correcting the inclination described in the first embodiment (or the second embodiment) and the processing for cutting out and outputting only the image data of the desired area described in the third embodiment, Further, according to the image processing apparatus of the sixth embodiment, which is combined with the processing of connecting and arranging the image data described in the fourth embodiment (or the fifth embodiment) so as to be sequentially arranged, Automatically corrects the inclination, detects only the necessary area, cuts it out manually, and automatically arranges the image data of the cut out area, so that the user can sequentially copy each article part of the manuscript such as newspaper magazine. The effect of being able to obtain image data in which the inclination of the article is automatically corrected, necessary portions are cut out, and the respective article portions are arrayed can be automatically obtained by only scanning, without complicated editing operations.

【0105】また、実施の形態3で述べた所望領域の画
像データのみを切り取り出力する処理と、さらに加えて
実施の形態4(あるいは実施の形態5)で述べた画像デ
ータが順次並ぶように接続配置する処理とを組み合わせ
て行う実施例においては、端座標の検出は、画像切取手
段より出力される,切り取られた画像データから端座標
を検出することにより、より整然と各画像データを配列
することができる効果がある。
Further, the processing for cutting out and outputting only the image data of the desired area described in the third embodiment, and in addition, the image data described in the fourth embodiment (or the fifth embodiment) are connected so as to be sequentially arranged. In the embodiment which is performed in combination with the arranging process, the edge coordinates are detected by detecting the edge coordinates from the cut image data output from the image cutting means, thereby arranging the image data more orderly. There is an effect that can be.

【0106】[0106]

【発明の効果】本発明(請求項1)の画像処理方法によ
れば、画像読取部を備えた画像読取手段により読み込ん
だ画像データを処理する画像処理方法において、前記画
像データ上の所定の大きさに区切られた各ブロック領域
を構成する複数の単位ブロックの全ての単位ブロック
が、空白であるか否かを検出して上記複数の各ブロック
領域が情報領域か空白領域かを示すブロックデータを
得、該ブロックデータから画像の情報領域と空白領域と
の境界を検出し、該検出された境界から前記読み込んだ
画像の傾きを検出し、前記画像データの,前記画像の傾
きを補正するので、画像の傾きを自動的に検出し補正す
ることができ、これにより、使用者が面倒な操作をしな
くとも、自動的に傾きが補正された画像データを得るこ
とができる効果がある。
According to the image processing method of the present invention (Claim 1), in the image processing method for processing the image data read by the image reading means having the image reading section, a predetermined size on the image data is provided. All the unit blocks of the plurality of unit blocks that make up each of the divided block areas are detected to determine whether or not each block area is blank, and block data indicating whether each of the plurality of block areas is an information area or a blank area is generated. Then, the boundary between the information area and the blank area of the image is detected from the block data, the inclination of the read image is detected from the detected boundary, and the inclination of the image of the image data is corrected. The inclination of the image can be automatically detected and corrected, and thus there is an effect that the image data whose inclination is automatically corrected can be obtained even if the user does not perform a troublesome operation.

【0107】また、本発明(請求項2)の画像処理方法
によれば、任意の方向に走査可能な画像読取部を備えた
画像読取手段により読み込んだ画像データを処理する画
像処理方法において、前記画像読取部をある基準の方向
に所定の長さ以上直進させ、その直進した方向を、前記
画像読取部の両端の移動量を示す2つの移動量検出出力
から検出し、この検出した直進方向と、この画像の読み
取り開始時の前記画像読取部の基準軸とから、読み取っ
た画像の傾きを検出し、前記画像データの,前記画像の
傾きを補正するので、原稿の水平,垂直線より角度θ傾
いた位置から原稿の読み取り走査を開始したとしても、
その後画像読取部を基準方向に直進して走査させること
により、この角度θ分の傾きが補正された画像データを
自動的に得ることができる効果がある。
According to the image processing method of the present invention (Claim 2), there is provided an image processing method for processing image data read by an image reading means having an image reading unit capable of scanning in an arbitrary direction. The image reading unit is moved straight in a certain reference direction for a predetermined length or more, and the straightened direction is detected from two movement amount detection outputs indicating the movement amounts of both ends of the image reading unit. The inclination of the read image is detected from the reference axis of the image reading unit at the start of reading the image, and the inclination of the image in the image data is corrected. Even if you start scanning the original from an inclined position,
After that, the image reading unit is moved straight in the reference direction and scanned, whereby there is an effect that the image data in which the inclination by the angle θ is corrected can be automatically obtained.

【0108】また、本発明(請求項3)の画像処理方法
によれば、画像読取部を備えた画像読取手段により読み
込んだ画像データを処理する画像処理方法において、前
記画像データ上の所定の大きさに区切られた各ブロック
領域を構成する複数の単位ブロックの全ての単位ブロッ
クが、空白であるか否かを検出して上記複数の各ブロッ
クが情報領域か空白領域かを示すブロックデータを得、
該ブロックデータから画像の空白領域を検出し、該空白
領域から四方を該空白領域で囲まれたすべての情報領域
を囲むことのできる空白領域よりなる最外枠を検出し、
前記画像データの,前記検出した空白領域最外枠で囲ま
れる画像データのみを出力するので、読み取りを行った
全領域のうち必要な領域のみを検出することができ、該
必要な領域のみの画像データを自動的に得ることができ
る効果がある。
According to the image processing method of the present invention (Claim 3), in the image processing method for processing the image data read by the image reading means having the image reading unit, a predetermined size on the image data is provided. The block data indicating whether each of the plurality of blocks is an information area or a blank area is detected by detecting whether or not all the unit blocks of the plurality of unit blocks constituting each of the divided block areas are blank. ,
Detecting a blank area of the image from the block data, detecting an outermost frame composed of a blank area capable of enclosing all information areas surrounded by the blank area on all sides from the blank area,
Since only the image data surrounded by the outermost frame of the detected blank area of the image data is output, it is possible to detect only the necessary area out of all the read areas, and the image of only the necessary area is detected. There is an effect that data can be obtained automatically.

【0109】また、本発明(請求項4)の画像処理方法
によれば、任意の方向に走査可能な画像読取部を備えた
画像読取装置により読み込んだ画像データを処理する画
像処理方法において、順次読み込まれる複数の前記画像
データの端座標を読み取り走査ごとにそれぞれ検出し、
前記複数の画像データが順次並んで配置されるように、
順次読み込んだ画像データの一方端の端座標を前回読み
込んだ画像データの他方端の端座標に揃えるよう変換す
るので、新聞雑誌等の原稿における,段組み,頁変わり
によって分離した記事が順次並んで配置された画像を、
面倒な編集の操作なく、自動的に得ることができる効果
がある。
Further, according to the image processing method of the present invention (claim 4), in the image processing method for processing the image data read by the image reading device having the image reading unit capable of scanning in any direction, Detecting the edge coordinates of the plurality of image data to be read for each scanning scan,
In order that the plurality of image data are arranged side by side,
Since the coordinates of one end of the sequentially read image data are converted to match the coordinates of the other end of the previously read image data, articles separated by columns and page changes in manuscripts such as newspaper magazines are sequentially arranged. The arranged image,
There is an effect that can be obtained automatically without a troublesome editing operation.

【0110】本発明(請求項5)の画像処理装置によれ
ば、画像読取部を備え、画像データを読み取る画像読取
手段と、前記読み取った画像データ上の所定の大きさに
区切られた各ブロック領域を構成する複数の単位ブロッ
クの全ての単位ブロックが、空白であるか否かを検出
し、上記複数の各ブロックが情報領域か空白領域かを示
すブロックデータを出力するブロック化手段と、前記ブ
ロックデータから画像の傾きを検出する第1の傾き検出
手段と、前記第1の傾き検出手段から出力される傾き情
報を用いて前記画像データの傾きを補正する傾き補正手
段とを備えたので、画像の傾きを自動的に検出し補正す
ることができ、これにより、使用者が面倒な操作をしな
くとも、自動的に傾きが補正された画像データを得るこ
とができる効果がある。
According to the image processing apparatus of the present invention (Claim 5), the image reading unit is provided, the image reading unit for reading the image data, and each block divided into a predetermined size on the read image data. Blocking means for detecting whether or not all unit blocks of a plurality of unit blocks forming an area are blank and outputting block data indicating whether each of the plurality of blocks is an information area or a blank area, Since the first inclination detecting means for detecting the inclination of the image from the block data and the inclination correcting means for correcting the inclination of the image data by using the inclination information output from the first inclination detecting means are provided, It is possible to automatically detect and correct the tilt of the image, which has the effect of being able to obtain image data whose tilt is automatically corrected without the user performing a troublesome operation. .

【0111】また、本発明(請求項6)の画像処理装置
によれば、任意の方向に走査可能な画像読取部を備え、
画像データを読み取る画像読取手段と、前記画像読取部
の両端の移動量を出力する2つの移動量検出手段と、前
記各移動量検出手段から出力される各移動量情報から、
前記画像読取部が所定の長さ以上直進した方向を検出す
る直進検出手段と、前記直進検出手段で検出された直進
方向と、この画像の読み取り開始時の前記画像読取部の
基準軸とから読み取った画像の傾きを検出する第2の傾
き検出手段と、前記第2の傾き検出手段で検出された傾
き情報を用いて前記画像データの傾きを補正する傾き補
正手段とを備えたので、原稿の水平,垂直線より角度θ
傾いた位置から原稿の読み取り走査を開始したとして
も、その後画像読取部を基準方向に直進して走査させる
ことにより、この角度θ分の傾きが補正された画像デー
タを自動的に得ることができる効果がある。
According to the image processing apparatus of the present invention (claim 6), an image reading unit capable of scanning in any direction is provided.
From the image reading means for reading the image data, the two movement amount detecting means for outputting the movement amount of both ends of the image reading portion, and the movement amount information output from each of the movement amount detecting means,
The image reading unit reads from a straight-movement detection unit that detects a direction in which the image has moved straight for a predetermined length or more, a straight-movement direction detected by the straight-movement detection unit, and a reference axis of the image reading unit at the start of reading the image. Since the second inclination detecting means for detecting the inclination of the image and the inclination correcting means for correcting the inclination of the image data by using the inclination information detected by the second inclination detecting means are provided, Angle from horizontal and vertical lines
Even if the reading scanning of the original is started from the tilted position, the image reading unit can automatically obtain the image data in which the tilt by the angle θ is corrected by moving the image reading unit straight in the reference direction for scanning. effective.

【0112】また、本発明(請求項7)の画像処理装置
によれば、画像読取部を備え、画像データを読み取る画
像読取手段と、前記読み取った画像データ上の所定の大
きさに区切られた各ブロック領域を構成する複数の単位
ブロックの全ての単位ブロックが、空白であるか否かを
検出し、上記複数の各ブロックが情報領域か空白領域か
を示すブロックデータを出力するブロック化手段と、前
記ブロックデータから画像の空白領域を検出する空白領
域検出手段と、前記空白領域検出手段で検出した前記空
白領域から四方を空白領域で囲まれたすべての情報領域
を囲むことのできる,空白領域よりなる最外枠を検出す
る最外枠検出手段と、前記画像データの,検出した前記
最外枠で囲まれる画像データのみを出力する画像切取手
段とを備えたので、読み取りを行った全領域のうち必要
な領域のみを検出することができ、該必要な領域のみの
画像データを自動的に得ることができる効果がある。
Further, according to the image processing apparatus of the present invention (Claim 7), the image reading unit is provided, and the image reading unit for reading the image data and the predetermined size on the read image data are partitioned. Blocking means for detecting whether all unit blocks of a plurality of unit blocks forming each block area are blank and outputting block data indicating whether each of the plurality of blocks is an information area or a blank area. Blank area detection means for detecting a blank area of the image from the block data, and a blank area capable of enclosing all information areas surrounded by blank areas on all sides from the blank area detected by the blank area detection means The outermost frame detecting means for detecting the outermost frame and the image cutting means for outputting only the image data of the image data surrounded by the detected outermost frame. It is possible to detect only the space required within the entire area was read, there is an effect that it is possible to obtain automatically the image data of only the necessary area.

【0113】また、本発明(請求項8)の画像処理装置
によれば、任意の方向に走査可能な画像読取部を備え、
画像データを読み取る画像読取手段と、順次読み込まれ
る任意の大きさの複数の前記画像データの端座標を読み
取り走査ごとにそれぞれ検出し、前記複数の画像データ
が順次並んで配置されるように、順次読み込んだ画像デ
ータの一方端の端座標を前回読み込んだ画像データの他
方端の端座標に揃えるよう変換するので、新聞雑誌等の
原稿における,段組み,頁変わりによって分離した記事
が順次並んで配置された画像を、面倒な編集の操作な
く、自動的に得ることができる。
According to the image processing apparatus of the present invention (claim 8), an image reading unit capable of scanning in any direction is provided.
Image reading means for reading image data, and edge coordinates of a plurality of image data of arbitrary size to be sequentially read are detected for each reading scan, and the plurality of image data are sequentially arranged so as to be arranged side by side. Since the end coordinates of one end of the read image data are converted to match the end coordinates of the other end of the previously read image data, articles separated by columns or page changes in manuscripts such as newspaper magazines are arranged sequentially. The obtained image can be automatically obtained without a troublesome editing operation.

【0114】また、本発明(請求項9)の画像処理装置
によれば、画像読取部を備え、画像データを読み取る画
像読取手段と、前記読み取った画像データ上の所定の大
きさに区切られた各ブロック領域を構成する複数の単位
ブロックの全ての単位ブロックが、空白であるか否かを
検出し、上記複数の各ブロックが情報領域か空白領域か
を示すブロックデータを出力するブロック化手段と、前
記ブロックデータから画像の傾きを検出する第1の傾き
検出手段と、前記第1の傾き検出手段から出力される傾
き情報を用いて前記画像データの傾きを補正する傾き補
正手段とを備え、かつ、前記ブロック化手段により得ら
れるブロックデータから画像の空白領域を検出する空白
領域検出手段と、前記空白領域検出手段で検出した前記
空白領域から四方を空白領域で囲まれたすべての情報領
域を囲むことのできる,空白領域よりなる最外枠を検出
する最外枠検出手段と、前記画像データの,検出した前
記最外枠で囲まれる画像データのみを出力する画像切取
手段とを備えたので、画像の傾きを自動的に検出し補正
することができ、また読み取りを行った全領域のうち必
要な領域のみを検出することができ、これにより、使用
者が面倒な操作をしなくとも、自動的に傾きが補正さ
れ、必要な領域のみが選択された画像データを得ること
ができる効果がある。
Further, according to the image processing apparatus of the present invention (Claim 9), the image reading unit is provided, and the image reading unit for reading the image data and the predetermined size on the read image data are partitioned. Blocking means for detecting whether all unit blocks of a plurality of unit blocks forming each block area are blank and outputting block data indicating whether each of the plurality of blocks is an information area or a blank area. A first inclination detecting means for detecting the inclination of the image from the block data, and an inclination correcting means for correcting the inclination of the image data using the inclination information output from the first inclination detecting means, And a blank area detecting means for detecting a blank area of the image from the block data obtained by the blocking means, and a square area from the blank area detected by the blank area detecting means. Outermost frame detecting means for detecting the outermost frame composed of a blank area capable of enclosing all information areas surrounded by a blank area, and only the image data of the image data enclosed by the outermost frame detected Since the image cutting means for outputting the Even if the user does not perform a troublesome operation, the tilt is automatically corrected, and the image data in which only the necessary area is selected can be obtained.

【0115】また、本発明(請求項10)の画像処理装
置によれば、任意の方向に走査可能な画像読取部を備
え、画像データを読み取る画像読取手段と、前記画像読
取部の両端の移動量を出力する2つの移動量検出手段
と、前記各移動量検出手段から出力される各移動量情報
から、前記画像読取部が所定の長さ以上直進した方向を
検出する直進検出手段と、前記直進検出手段で検出され
た直進方向と、この画像を読み取り開始時の前記画像読
取部の基準軸とから読み取った画像の傾きを検出する第
2の傾き検出手段と、前記第2の傾き検出手段で検出さ
れた傾き情報を用いて前記画像データの傾きを補正する
傾き補正手段とを備え、かつ、画像データ上の所定の大
きさに区切られた各ブロック領域を構成する複数の単位
ブロックの全ての単位ブロックが、空白であるか否かを
検出し、上記複数の各ブロックが情報領域か空白領域か
を示すブロックデータを出力するブロック化手段と、前
記ブロックデータから画像の空白領域を検出する空白領
域検出手段と、前記空白領域検出手段で検出した前記空
白領域から四方を空白領域で囲まれたすべての情報領域
を囲むことのできる,空白領域よりなる最外枠を検出す
る最外枠検出手段と、前記画像データの,検出した前記
最外枠で囲まれる画像データのみを出力する画像切取手
段とを備えたので、原稿の水平,垂直線より角度θ傾い
た位置から原稿の読み取り走査を開始したとしても、そ
の後画像読取部を基準方向に直進して走査させることに
より、この角度θ分の傾きが補正された画像データを自
動的に得ることができ、また読み取りを行った全領域の
うち必要な領域のみを検出することができ、これによ
り、使用者が面倒な操作をしなくとも、自動的に傾きが
補正され、必要な領域のみが選択された画像データを得
ることができる効果がある。
According to the image processing apparatus of the present invention (Claim 10), the image reading unit capable of scanning in any direction is provided, and the image reading unit for reading the image data and the movement of both ends of the image reading unit. Two movement amount detecting means for outputting the amount, straight movement detecting means for detecting a direction in which the image reading unit has gone straight for a predetermined length or more, based on each movement amount information output from each movement amount detecting means, Second tilt detecting means for detecting the tilt of the image read from the straight direction detected by the straight detecting means and the reference axis of the image reading section at the start of reading the image, and the second tilt detecting means. An inclination correction unit that corrects the inclination of the image data by using the inclination information detected by the above, and all of a plurality of unit blocks that form each block area divided into a predetermined size on the image data. Unit of Blocking means for detecting whether the lock is blank and outputting block data indicating whether each of the plurality of blocks is an information area or a blank area, and a blank area for detecting a blank area of an image from the block data A detection means, and an outermost frame detection means for detecting an outermost frame composed of a blank area, which can enclose all information areas surrounded by blank areas on all sides from the blank area detected by the blank area detection means. Since the image cutting means for outputting only the detected image data of the image data surrounded by the outermost frame is provided, the reading scanning of the original is started from the position inclined by the angle θ from the horizontal and vertical lines of the original. However, by moving the image reading unit straight in the reference direction and scanning the image data, the image data in which the inclination of this angle θ has been corrected can be automatically obtained and the reading can be performed. In addition, it is possible to detect only the necessary area of all the areas, so that even if the user does not perform a troublesome operation, the tilt is automatically corrected and only the necessary area is selected to obtain image data. There is an effect that can be.

【0116】また、本発明(請求項11)の画像処理装
置によれば、任意の方向に走査可能な画像読取部を備
え、画像データを読み取る画像読取手段と、前記読み取
った画像データ上の所定の大きさに区切られた各ブロッ
ク領域を構成する複数の単位ブロックの全ての単位ブロ
ックが、空白であるか否かを検出し、上記複数の各ブロ
ックが情報領域か空白領域かを示すブロックデータを出
力するブロック化手段と、前記ブロックデータから画像
の空白領域を検出する空白領域検出手段と、前記空白領
域検出手段で検出した前記空白領域から四方を空白領域
で囲まれたすべての情報領域を囲むことのできる,空白
領域よりなる最外枠を検出する最外枠検出手段と、前記
画像データの,検出した前記最外枠で囲まれる画像デー
タのみを出力する画像切取手段とを備え、かつ、順次読
み込まれる複数の前記画像データの端座標を読み取り走
査ごとにそれぞれ検出し、前記複数の画像データが順次
並んで配置されるように、順次読み込んだ画像データの
一方端の端座標を前回読み込んだ画像データの他方端の
端座標に揃えるよう変換する接続配置手段を備えたの
で、読み取りを行った全領域のうち必要な領域のみを検
出することができ、新聞雑誌等の原稿における,段組
み,頁変わりによって分離した記事の必要な領域のみが
順次並んで配置された画像を、面倒な編集の操作なく、
自動的に得ることができる効果がある。
According to the image processing apparatus of the present invention (Claim 11), an image reading unit capable of scanning in any direction is provided, and an image reading unit for reading image data and a predetermined unit on the read image data. Block data indicating whether all unit blocks of a plurality of unit blocks forming each block area divided into the size are blank and indicating whether each of the plurality of blocks is an information area or a blank area. A block forming means for outputting, a blank area detecting means for detecting a blank area of an image from the block data, and all information areas surrounded by blank areas on all sides from the blank area detected by the blank area detecting means. Outermost frame detection means for detecting the outermost frame which can be surrounded and is composed of a blank area, and an image for outputting only the image data of the image data enclosed by the detected outermost frame. One of the sequentially read image data is provided so that the edge coordinates of the plurality of image data that are sequentially read are respectively detected for each reading scan, and that the plurality of image data are sequentially arranged. Since the connection arrangement means for converting the edge coordinates of the edge to the edge coordinate of the other edge of the previously read image data is provided, it is possible to detect only the necessary area of the entire area that has been read, and newspaper magazines An image in which only the necessary areas of articles separated by columns and page changes are arranged side by side in a manuscript, etc., without tedious editing operations.
There is an effect that can be obtained automatically.

【0117】また、本発明(請求項12)の画像処理装
置によれば、任意の方向に走査可能な画像読取部を備
え、画像データを読み取る画像読取手段と、 前記読み
取った画像データ上の所定の大きさに区切られた各ブロ
ック領域を構成する複数の単位ブロックの全ての単位ブ
ロックが、空白であるか否かを検出し、上記複数の各ブ
ロックが情報領域か空白領域かを示すブロックデータを
出力するブロック化手段と、前記ブロックデータから画
像の傾きを検出する第1の傾き検出手段と、前記第1の
傾き検出手段から出力される傾き情報を用いて前記画像
データの傾きを補正する傾き補正手段と、前記ブロック
データから画像の空白領域を検出する空白領域検出手段
と、前記空白領域検出手段で検出した前記空白領域から
四方を空白領域で囲まれたすべての情報領域を囲むこと
のできる,空白領域よりなる最外枠を検出する最外枠検
出手段と、前記画像データの,検出した前記最外枠で囲
まれる画像データのみを出力する画像切取手段とを備
え、かつ、順次読み込まれる複数の前記画像データの端
座標を読み取り走査ごとにそれぞれ検出し、前記複数の
画像データが順次並んで配置されるように、順次読み込
んだ画像データの一方端の端座標を前回読み込んだ画像
データの他方端の端座標に揃えるよう変換する接続配置
手段を備えたので、画像の傾きを自動的に検出し補正す
ることができ、また読み取りを行った全領域のうち必要
な領域のみを検出することができ、これにより、使用者
が面倒な操作をしなくとも自動的に傾きが補正され、新
聞雑誌等の原稿における,段組み,頁変わりによって分
離した記事の必要な領域のみが順次並んで配置された画
像を、自動的に得ることができる効果がある。
According to the image processing apparatus of the present invention (Claim 12), an image reading unit capable of scanning in an arbitrary direction is provided, and an image reading unit for reading image data and a predetermined unit on the read image data. Block data indicating whether or not all unit blocks of a plurality of unit blocks constituting each block area divided into the size are blank and indicating whether each of the plurality of blocks is an information area or a blank area. Is output from the block data, the first inclination detection unit detects the inclination of the image from the block data, and the inclination information output from the first inclination detection unit is used to correct the inclination of the image data. Inclination correction means, blank area detection means for detecting a blank area of the image from the block data, and blank areas surrounded by four blank areas from the blank area detected by the blank area detection means. An outermost frame detecting means for detecting an outermost frame composed of a blank area capable of enclosing all the information areas that are surrounded, and an image for outputting only the image data of the image data enclosed by the detected outermost frame. One of the sequentially read image data is provided so that the edge coordinates of the plurality of image data that are sequentially read are respectively detected for each reading scan, and the plurality of image data are sequentially arranged. Since the connection arrangement means for converting the edge coordinates of the edge to the edge coordinate of the other edge of the previously read image data is provided, it is possible to automatically detect and correct the tilt of the image, and also to read all the read data. It is possible to detect only the necessary area of the area, and this automatically corrects the inclination without any troublesome operation by the user, so that there is no column or page change in manuscripts such as newspapers and magazines. The images placed side by side only the necessary areas of articles separated successively by an effect that can be automatically obtained.

【0118】また、本発明(請求項13)の画像処理装
置によれば、任意の方向に走査可能な画像読取部を備
え、画像データを読み取る画像読取手段と、前記画像読
取部の両端の移動量を出力する2つの移動量検出手段
と、前記各移動量検出手段から出力される各移動量情報
から、前記画像読取部が所定の長さ以上直進した方向を
検出する直進検出手段と、前記直進検出手段で検出され
た直進方向と、この画像の読み取り開始時の前記画像読
取部の基準軸とから読み取った画像の傾きを検出する第
2の傾き検出手段と、前記第2の傾き検出手段で検出さ
れた傾き情報を用いて前記画像データの傾きを補正する
傾き補正手段と、画像データ上の所定の大きさに区切ら
れた各ブロック領域を構成する複数の単位ブロックの全
ての単位ブロックが、空白であるか否かを検出し、上記
複数の各ブロックが情報領域か空白領域かを示すブロッ
クデータを出力するブロック化手段と、前記ブロックデ
ータから画像の空白領域を検出する空白領域検出手段
と、前記空白領域検出手段で検出した前記空白領域から
四方を空白領域で囲まれたすべての情報領域を囲むこと
のできる,空白領域よりなる最外枠を検出する最外枠検
出手段と、前記画像データの,検出した前記最外枠で囲
まれる画像データのみを出力する画像切取手段とを備
え、かつ、順次読み込まれる複数の前記画像データの端
座標を読み取り走査ごとにそれぞれ検出し、前記複数の
画像データが順次並んで配置されるように、順次読み込
んだ画像データの一方端の端座標を前回読み込んだ画像
データの他方端の端座標に揃えるよう変換する接続配置
手段を備えたので、原稿の水平,垂直線より角度θ傾い
た位置から原稿の読み取り走査を開始したとしても、そ
の後画像読取部を基準方向に直進して走査させることに
より、この角度θ分の傾きを補正することができ、また
読み取りを行った全領域のうち必要な領域のみを検出す
ることができ、これにより、使用者が面倒な操作をしな
くとも自動的に傾きが補正され、新聞雑誌等の原稿にお
ける,段組み,頁変わりによって分離した記事の必要な
領域のみが順次並んで配置された画像を、自動的に得る
ことができる効果がある。
According to the image processing apparatus of the present invention (Claim 13), an image reading unit capable of scanning in any direction is provided, and the image reading unit for reading image data and the movement of both ends of the image reading unit. Two movement amount detecting means for outputting the amount, straight movement detecting means for detecting a direction in which the image reading unit has gone straight for a predetermined length or more, based on each movement amount information output from each movement amount detecting means, Second tilt detecting means for detecting the tilt of the image read from the straight direction detected by the straight detecting means and the reference axis of the image reading unit at the start of reading the image, and the second tilt detecting means. An inclination correction unit that corrects the inclination of the image data by using the inclination information detected by the above, and all unit blocks of a plurality of unit blocks that form each block area divided into a predetermined size on the image data. , Blocking means for detecting whether it is white or not, and outputting block data indicating whether each of the plurality of blocks is an information area or a blank area, and a blank area detecting means for detecting a blank area of an image from the block data. An outermost frame detecting means for detecting an outermost frame composed of a blank area capable of enclosing all information areas surrounded by blank areas on all sides from the blank area detected by the blank area detecting means; Image cutting means for outputting only the detected image data enclosed by the outermost frame, and detecting the edge coordinates of the plurality of sequentially read image data for each scanning, Convert the end coordinates of one end of the sequentially read image data to the end coordinates of the other end of the previously read image data so that the image data are arranged side by side. Since the connection arranging means is provided, even if the reading scanning of the original is started from a position inclined by the angle θ with respect to the horizontal and vertical lines of the original, the angle θ is obtained by moving the image reading unit straight in the reference direction and scanning. The inclination of the minute can be corrected, and only the necessary area can be detected out of the entire area that has been scanned, which allows the inclination to be automatically corrected without the user performing a troublesome operation. In a manuscript such as a newspaper or magazine, there is an effect that it is possible to automatically obtain an image in which only necessary areas of articles separated by columns and page changes are sequentially arranged.

【0119】また、本発明(請求項14)の画像処理装
置によれば、前記画像処理装置(請求項5,9または1
2)において、前記第1の傾き検出手段は、前記ブロッ
クデータから画像の情報領域のエッジを検出する情報領
域エッジ検出手段と、前記検出した情報領域のエッジか
ら画像の傾きを検出する情報領域エッジ傾き検出手段と
を備えたので、画像データの情報領域と空白領域との境
界を検出することができ、画像データの傾きを正確に検
出することができる効果がある。
According to the image processing apparatus of the present invention (Claim 14), the image processing apparatus (Claim 5, 9 or 1)
In 2), the first inclination detecting means detects the edge of the information area of the image from the block data, and the information area edge detecting the inclination of the image from the edge of the detected information area. Since the inclination detecting means is provided, it is possible to detect the boundary between the information area and the blank area of the image data, and it is possible to accurately detect the inclination of the image data.

【0120】また、本発明(請求項15)の画像処理装
置によれば、前記画像処理装置(請求項5,9または1
2)において、前記ブロック化手段は、読み取る画像に
よって、前記ブロック領域のサイズを切り替える切替手
段を備えたので、対象となる原稿画像に適合したサイズ
の前記ブロック領域でブロック化を行うことができ、こ
れにより前記第1の傾き検出手段による傾きの検出を、
正確に行うことができる効果がある。
According to the image processing apparatus of the present invention (Claim 15), the image processing apparatus (Claim 5, 9 or 1) is provided.
In 2), since the blocking unit includes a switching unit that switches the size of the block area according to the image to be read, it is possible to perform blocking in the block area having a size suitable for the target original image, As a result, the tilt detection by the first tilt detection means
There is an effect that can be performed accurately.

【0121】また、本発明(請求項16)の画像処理装
置によれば、前記画像処理装置(請求項7,9ないし1
3)において、前記最外枠検出手段は、横方向に所定の
長さ以上連続する空白領域を検出する横枠検出手段と、
縦方向に所定の長さ以上連続する空白領域を検出する縦
枠検出手段とを備え、前記横枠検出手段,及び縦枠検出
手段により検出された横枠と縦枠とにより作成される閉
じる枠のうちの最大枠を最外枠として出力するので、枠
と見なすべき空白領域のみを検出することができ、必要
な領域のみを含む最外枠を正確に選択することができる
効果がある。
According to the image processing apparatus of the present invention (Claim 16), the image processing apparatus (Claims 7, 9 to 1)
In 3), the outermost frame detection means includes horizontal frame detection means for detecting a blank area continuous in a horizontal direction for a predetermined length or more,
A vertical frame detection unit for detecting a blank area continuous in a vertical direction for a predetermined length or more, and a horizontal frame detection unit, and a closed frame created by the horizontal frame and the vertical frame detected by the vertical frame detection unit. Since the largest frame among them is output as the outermost frame, it is possible to detect only the blank area that should be regarded as the frame, and it is possible to accurately select the outermost frame including only the necessary area.

【0122】また、本発明(請求項17)の画像処理装
置によれば、前記画像処理装置(請求項8,11ないし
13)において、前記接続配置手段は、順次読み込まれ
る画像データのメモリ上の座標を、直前に座標変換され
た変換画像データの端座標検出手段からの端座標を用い
て変換する座標変換手段と、前記座標変換手段から出力
される,変換された画像データから、該変換画像データ
の端座標を検出して記憶し、かつ、前回の読み取り走査
時に記憶した前記座標変換した端座標データを、前記座
標変換手段に出力する端座標検出手段とからなるので、
前回走査の画像データの端座標により今回走査の画像デ
ータを所望の位置へ座標変換でき、前記分離した記事が
順次並んで配置された画像を、面倒な編集の操作なく、
自動的に得ることができる効果がある。
Further, according to the image processing apparatus of the present invention (Claim 17), in the image processing apparatus (Claims 8 and 11 to 13), the connection arrangement means is on the memory of the image data to be sequentially read. From the converted image data output from the coordinate conversion means, the coordinate conversion means for converting the coordinates using the edge coordinates from the edge coordinate detection means of the converted image data immediately before the coordinate conversion Since the edge coordinates of the data are detected and stored, and the edge coordinate data that has been subjected to the coordinate conversion stored at the time of the previous reading scan is output to the coordinate conversion means.
The image data of the current scan can be coordinate-converted to a desired position by the edge coordinates of the image data of the previous scan, and the images in which the separated articles are sequentially arranged are arranged without a troublesome editing operation.
There is an effect that can be obtained automatically.

【0123】また、本発明(請求項18)の画像処理装
置によれば、前記画像処理装置(請求項8,11ないし
13)において、前記接続配置手段は、読み取り走査ご
とに、該読み取り画像データの端座標を検出する端座標
検出手段と、前記端座標検出手段から出力される前記端
座標を用いて、次の画像を生成するための初期座標を生
成する初期座標生成手段とを備えたので、面倒な編集の
操作なく、前記分離した記事が、リアルタイムに順次並
んで配置された画像データを得ることができる効果があ
る。
According to the image processing apparatus of the present invention (Claim 18), in the image processing apparatus (Claim 8 or 11 to 13), the connection arranging means is configured to read the read image data every scan. Since it is provided with an edge coordinate detecting means for detecting the edge coordinate of and an initial coordinate generating means for generating an initial coordinate for generating the next image using the edge coordinate output from the edge coordinate detecting means. There is an effect that the separated articles can obtain image data in which the separated articles are sequentially arranged in real time without a troublesome editing operation.

【0124】また、本発明(請求項19)の画像処理装
置によれば、前記画像処理装置(請求項8,11ないし
13)において、座標変換手段は、前記順次読み取った
画像データの座標が重ならないように接続配置するの
で、前記分離した記事が見やすく接続配置された画像デ
ータを得ることができる。
Further, according to the image processing apparatus of the present invention (Claim 19), in the image processing apparatus (Claims 8 and 11 to 13), the coordinate conversion means has the coordinates of the sequentially read image data overlapped. Since the connection is arranged so as not to occur, it is possible to obtain the image data in which the separated articles are connected and arranged so that they can be easily seen.

【0125】また、本発明(請求項20)の画像処理装
置によれば、前記画像処理装置(請求項11ないし1
3)において、前記端座標の検出は、前記画像切取手段
より出力される,切り取られた画像データから端座標を
検出するので、必要な領域のみがより整然と配列された
画像データを、面倒な編集の操作なく、自動的に得るこ
とができる効果がある。
According to the image processing apparatus of the present invention (Claim 20), the image processing apparatus (Claims 11 to 1)
In 3), the detection of the edge coordinates detects the edge coordinates from the clipped image data output from the image clipping means, so that the image data in which only necessary regions are arranged more neatly can be troublesomely edited. There is an effect that can be automatically obtained without the operation of.

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

【図1】本発明の実施の形態1における画像処理装置の
ブロック図である。
FIG. 1 is a block diagram of an image processing apparatus according to a first embodiment of the present invention.

【図2】ブロック化フィルタを示した模式図である。FIG. 2 is a schematic diagram showing a blocking filter.

【図3】ブロックデータを模式的に示した図である。FIG. 3 is a diagram schematically showing block data.

【図4】本発明の実施の形態1における画像処理装置の
ブロック図である。
FIG. 4 is a block diagram of an image processing apparatus according to Embodiment 1 of the present invention.

【図5】本発明の実施の形態1における情報領域エッジ
の検出を説明するための図である。
FIG. 5 is a diagram for explaining detection of an information area edge according to the first embodiment of the present invention.

【図6】本発明の実施の形態1における情報領域エッジ
の傾きの検出を説明するための図である。
FIG. 6 is a diagram for explaining detection of an inclination of an information area edge according to the first embodiment of the present invention.

【図7】本発明の実施の形態2における画像処理装置の
ブロック図である。
FIG. 7 is a block diagram of an image processing apparatus according to a second embodiment of the present invention.

【図8】本発明の実施の形態2における画像処理の読み
取りを説明する模式図である。
FIG. 8 is a schematic diagram illustrating reading of image processing according to the second embodiment of the present invention.

【図9】本発明の実施の形態3における画像処理装置の
ブロック図である。
FIG. 9 is a block diagram of an image processing device according to a third embodiment of the present invention.

【図10】本発明の実施の形態3における画像処理装置
の動作を説明するための模式図である。
FIG. 10 is a schematic diagram for explaining the operation of the image processing apparatus according to the third embodiment of the present invention.

【図11】本発明の実施の形態3における最外枠の検出
を説明するための模式図である。
FIG. 11 is a schematic diagram for explaining detection of the outermost frame in the third embodiment of the present invention.

【図12】本発明の実施の形態4における画像処理装置
のブロック図である。
FIG. 12 is a block diagram of an image processing device according to a fourth embodiment of the present invention.

【図13】本発明の実施の形態5における画像処理装置
のブロック図である。
FIG. 13 is a block diagram of an image processing device according to a fifth embodiment of the present invention.

【図14】本発明の実施の形態4、及び5における動作
を説明するための模式図である。
FIG. 14 is a schematic diagram for explaining an operation in the fourth and fifth embodiments of the present invention.

【図15】本発明の実施の形態6における画像処理装置
のブロック図である。
FIG. 15 is a block diagram of an image processing device according to a sixth embodiment of the present invention.

【図16】本発明の実施の形態6における画像処理装置
の動作を説明するための模式図である。
FIG. 16 is a schematic diagram for explaining the operation of the image processing apparatus according to the sixth embodiment of the present invention.

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

10 画像生成手段、11 ブロック化手段、12 第
1の傾き検出手段、13 傾き補正手段、20,21,
22,23 ブロック化フィルタ、31 情報領域、3
2 空白領域、41 情報領域エッジ検出手段、42
情報領域エッジ傾き検出手段、51〜57 フィルタ、
71 画像読取手段、72 画像生成手段、73,74
移動量検出手段、75 座標生成手段、76 直進検
出手段、77 第2の傾き検出手段、78 傾き補正手
段、81 画像読取部、82,83 移動量検出部、9
0 画像生成手段、91 空白領域検出手段、92 最
外枠検出手段、93 画像切取手段、101空白領域、
11A 枠形成領域、11B 枠形成領域、111〜1
18 分岐点、121 画像読取手段、122座標生成
手段、123 画像生成手段、124 第1の画像メモ
リ、125第2の画像メモリ、126 第1の接続配置
手段、127 座標変換手段、128 端座標検出手
段、131 画像読取手段、132 座標生成手段、1
33 画像生成手段、134 第2の接続配置手段、1
35 端座標検出手段、136 初期座標検出手段、1
41,142,143 原稿画像領域、150原稿、1
51 画像読取部、152a,152b 移動量検出
部、153 座標生成手段、154 走査位置検出回
路、155 画像生成手段、156 画像バッファ、1
57 写像回路、158 位置ずれ検出回路、159
画像メモリ。
10 image generating means, 11 blocking means, 12 first inclination detecting means, 13 inclination correcting means, 20, 21,
22, 23 blocking filter, 31 information area, 3
2 blank area, 41 information area edge detecting means, 42
Information area edge inclination detecting means 51-57 filter,
71 image reading means, 72 image generating means, 73, 74
Moving amount detecting means, 75 Coordinate generating means, 76 Straight line detecting means, 77 Second inclination detecting means, 78 Inclination correcting means, 81 Image reading section, 82, 83 Moving amount detecting section, 9
0 image generating means, 91 blank area detecting means, 92 outermost frame detecting means, 93 image cutting means, 101 blank area,
11A frame forming area, 11B frame forming area, 111 to 1
18 branch points, 121 image reading means, 122 coordinate generation means, 123 image generation means, 124 first image memory, 125 second image memory, 126 first connection arrangement means, 127 coordinate conversion means, 128 end coordinate detection Means, 131 image reading means, 132 coordinate generation means, 1
33 image generation means, 134 second connection arrangement means, 1
35 edge coordinate detecting means, 136 initial coordinate detecting means, 1
41, 142, 143 original image area, 150 originals, 1
51 image reading unit, 152a, 152b movement amount detecting unit, 153 coordinate generating means, 154 scanning position detecting circuit, 155 image generating means, 156 image buffer, 1
57 mapping circuit, 158 positional deviation detection circuit, 159
Image memory.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 仲 昭行 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 (72)発明者 富田 常張 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 (72)発明者 曽我美 淳 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Akiyuki Naka, 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. (72) Inventor Atsumi Soga At 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd.

Claims (20)

【特許請求の範囲】[Claims] 【請求項1】 画像読取部を備えた画像読取手段により
読み込んだ画像データを処理する画像処理方法におい
て、 前記画像データ上の所定の大きさに区切られた各ブロッ
ク領域を構成する複数の単位ブロックの全ての単位ブロ
ックが、空白であるか否かを検出して上記複数の各ブロ
ック領域が情報領域か空白領域かを示すブロックデータ
を得、 該ブロックデータから画像の情報領域と空白領域との境
界を検出し、 該検出された境界から前記読み込んだ画像の傾きを検出
し、 前記画像データの,前記画像の傾きを補正する処理を含
むことを特徴とする画像処理方法。
1. An image processing method for processing image data read by image reading means having an image reading unit, wherein a plurality of unit blocks constituting each block area divided into a predetermined size on the image data. Block data indicating whether each of the plurality of block areas is an information area or a blank area is detected by detecting whether or not all the unit blocks are blank, and from the block data, an image information area and a blank area An image processing method comprising: detecting a boundary, detecting a tilt of the read image from the detected boundary, and correcting a tilt of the image of the image data.
【請求項2】 任意の方向に走査可能な画像読取部を備
えた画像読取手段により読み込んだ画像データを処理す
る画像処理方法において、 前記画像読取部をある基準の方向に所定の長さ以上直進
させ、その直進した方向を、前記画像読取部の両端の移
動量を示す2つの移動量検出出力から検出し、 この検出した直進方向と、この画像の読み取り開始時の
前記画像読取部の基準軸とから、読み取った画像の傾き
を検出し、 前記画像データの,前記画像の傾きを補正する処理を含
むことを特徴とする画像処理方法。
2. An image processing method for processing image data read by an image reading unit having an image reading unit capable of scanning in an arbitrary direction, wherein the image reading unit goes straight in a certain reference direction for a predetermined length or more. The straight-ahead direction is detected from two movement amount detection outputs that indicate the amount of movement of both ends of the image reading unit. The detected straight-ahead direction and the reference axis of the image reading unit at the start of reading the image are detected. From the above, an image processing method comprising: detecting the inclination of the read image, and correcting the inclination of the image of the image data.
【請求項3】 画像読取部を備えた画像読取手段により
読み込んだ画像データを処理する画像処理方法におい
て、 前記画像データ上の所定の大きさに区切られた各ブロッ
ク領域を構成する複数の単位ブロックの全ての単位ブロ
ックが、空白であるか否かを検出して上記複数の各ブロ
ックが情報領域か空白領域かを示すブロックデータを
得、 該ブロックデータから画像の空白領域を検出し、 該空白領域から四方を該空白領域で囲まれたすべての情
報領域を囲むことのできる空白領域よりなる最外枠を検
出し、 前記画像データの,前記検出した空白領域最外枠で囲ま
れる画像データのみを出力する処理を含むことを特徴と
する画像処理方法。
3. An image processing method for processing image data read by an image reading unit having an image reading unit, wherein a plurality of unit blocks forming each block area divided into a predetermined size on the image data. Block data indicating whether each of the plurality of blocks is an information area or a blank area is detected by detecting whether or not all the unit blocks are blank, and the blank area of the image is detected from the block data, and the blank area is detected. Detecting an outermost frame composed of a blank area capable of enclosing all information areas surrounded by the blank area on all sides, and detecting only the image data of the image data surrounded by the outermost frame of the detected blank area. An image processing method comprising the process of outputting
【請求項4】 任意の方向に走査可能な画像読取部を備
えた画像読取装置により読み込んだ画像データを処理す
る画像処理方法において、 順次読み込まれる複数の前記画像データの端座標を読み
取り走査ごとにそれぞれ検出し、前記複数の画像データ
が順次並んで配置されるように、順次読み込んだ画像デ
ータの一方端の端座標を前回読み込んだ画像データの他
方端の端座標に揃えるよう変換する処理を含むことを特
徴とする画像処理方法。
4. An image processing method for processing image data read by an image reading device equipped with an image reading unit capable of scanning in an arbitrary direction, wherein edge coordinates of a plurality of the image data sequentially read are read for each scanning. A process of converting the end coordinates of one end of the sequentially read image data into the end coordinates of the other end of the previously read image data so that the plurality of image data are sequentially arranged. An image processing method characterized by the above.
【請求項5】 画像読取部を備え、画像データを読み取
る画像読取手段と、 前記読み取った画像データ上の所定の大きさに区切られ
た各ブロック領域を構成する複数の単位ブロックの全て
の単位ブロックが、空白であるか否かを検出し、上記複
数の各ブロックが情報領域か空白領域かを示すブロック
データを出力するブロック化手段と、 前記ブロックデータから画像の傾きを検出する第1の傾
き検出手段と、 前記第1の傾き検出手段から出力される傾き情報を用い
て前記画像データの傾きを補正する傾き補正手段とを備
えたことを特徴とする画像処理装置。
5. An image reading unit that includes an image reading unit, and an image reading unit that reads image data, and all unit blocks of a plurality of unit blocks that constitute each block area divided into a predetermined size on the read image data. , A block forming means for detecting whether or not each block is blank and outputting block data indicating whether each of the plurality of blocks is an information area or a blank area, and a first inclination for detecting an image inclination from the block data. An image processing apparatus comprising: a detection unit; and a tilt correction unit that corrects the tilt of the image data using the tilt information output from the first tilt detection unit.
【請求項6】 任意の方向に走査可能な画像読取部を備
え、画像データを読み取る画像読取手段と、 前記画像読取部の両端の移動量を出力する2つの移動量
検出手段と、 前記各移動量検出手段から出力される各移動量情報か
ら、前記画像読取部が所定の長さ以上直進した方向を検
出する直進検出手段と、 前記直進検出手段で検出された直進方向と、この画像の
読み取り開始時の前記画像読取部の基準軸とから読み取
った画像の傾きを検出する第2の傾き検出手段と、 前記第2の傾き検出手段で検出された傾き情報を用いて
前記画像データの傾きを補正する傾き補正手段とを備え
たことを特徴とする画像処理装置。
6. An image reading unit for reading image data, comprising an image reading unit capable of scanning in an arbitrary direction, two movement amount detecting units for outputting movement amounts of both ends of the image reading unit, and each movement. From each movement amount information output from the amount detection means, a straight-movement detecting means for detecting a direction in which the image reading portion has gone straight for a predetermined length or more, a straight-movement direction detected by the straight-movement detecting means, and reading of this image A second tilt detecting unit that detects a tilt of the image read from the reference axis of the image reading unit at the time of start, and a tilt of the image data using the tilt information detected by the second tilt detecting unit. An image processing apparatus comprising: an inclination correcting unit for correcting.
【請求項7】 画像読取部を備え、画像データを読み取
る画像読取手段と、 前記読み取った画像データ上の所定の大きさに区切られ
た各ブロック領域を構成する複数の単位ブロックの全て
の単位ブロックが、空白であるか否かを検出し、上記複
数の各ブロックが情報領域か空白領域かを示すブロック
データを出力するブロック化手段と、 前記ブロックデータから画像の空白領域を検出する空白
領域検出手段と、 前記空白領域検出手段で検出した前記空白領域から四方
を空白領域で囲まれたすべての情報領域を囲むことので
きる,空白領域よりなる最外枠を検出する最外枠検出手
段と、 前記画像データの,検出した前記最外枠で囲まれる画像
データのみを出力する画像切取手段とを備えたことを特
徴とする画像処理装置。
7. An image reading unit that includes an image reading unit, and an image reading unit that reads image data, and all unit blocks of a plurality of unit blocks that form each block area divided into a predetermined size on the read image data. , A block forming means for detecting whether or not each block is blank and outputting block data indicating whether each of the plurality of blocks is an information area or a blank area, and a blank area detection for detecting a blank area of an image from the block data. Means, and an outermost frame detection means for detecting an outermost frame composed of a blank area, which can surround all information areas surrounded by blank areas on all sides from the blank area detected by the blank area detection means, An image cutting device for outputting only the detected image data of the image data surrounded by the outermost frame.
【請求項8】 任意の方向に走査可能な画像読取部を備
え、画像データを読み取る画像読取手段と、 順次読み込まれる任意の大きさの複数の前記画像データ
の端座標を読み取り走査ごとにそれぞれ検出し、前記複
数の画像データが順次並んで配置されるように、順次読
み込んだ画像データの一方端の端座標を前回読み込んだ
画像データの他方端の端座標に揃えるよう変換する接続
配置手段を備えたことを特徴とする画像処理装置。
8. An image reading unit which is capable of scanning in arbitrary directions, and which reads image data, detects edge coordinates of a plurality of image data of arbitrary sizes that are sequentially read, and detects the end coordinates for each scanning. Then, a connection arrangement means is provided for converting the end coordinates of one end of the sequentially read image data into the end coordinates of the other end of the previously read image data so that the plurality of image data are sequentially arranged. An image processing device characterized by the above.
【請求項9】 画像読取部を備え、画像データを読み取
る画像読取手段と、 前記読み取った画像データ上の所定の大きさに区切られ
た各ブロック領域を構成する複数の単位ブロックの全て
の単位ブロックが、空白であるか否かを検出し、上記複
数の各ブロックが情報領域か空白領域かを示すブロック
データを出力するブロック化手段と、 前記ブロックデータから画像の傾きを検出する第1の傾
き検出手段と、 前記第1の傾き検出手段から出力される傾き情報を用い
て前記画像データの傾きを補正する傾き補正手段とを備
え、かつ、 前記ブロック化手段により得られるブロックデータから
画像の空白領域を検出する空白領域検出手段と、 前記空白領域検出手段で検出した前記空白領域から四方
を空白領域で囲まれたすべての情報領域を囲むことので
きる,空白領域よりなる最外枠を検出する最外枠検出手
段と、 前記画像データの,検出した前記最外枠で囲まれる画像
データのみを出力する画像切取手段とを備えたことを特
徴とする画像処理装置。
9. An image reading unit that includes an image reading unit, and an image reading unit that reads image data, and all unit blocks of a plurality of unit blocks that form each block area divided into a predetermined size on the read image data. , A block forming means for detecting whether or not each block is blank and outputting block data indicating whether each of the plurality of blocks is an information area or a blank area, and a first inclination for detecting an image inclination from the block data. A blank of an image is provided from the block data obtained by the blocking unit, which includes a detection unit and a tilt correction unit that corrects the tilt of the image data using the tilt information output from the first tilt detection unit. A blank area detecting means for detecting an area, and all information areas surrounded by blank areas on all sides from the blank area detected by the blank area detecting means. An outermost frame detecting means for detecting an outermost frame formed of a blank area, and an image cutting means for outputting only the image data of the image data enclosed by the detected outermost frame. Image processing device.
【請求項10】 任意の方向に走査可能な画像読取部を
備え、画像データを読み取る画像読取手段と、 前記画像読取部の両端の移動量を出力する2つの移動量
検出手段と、 前記各移動量検出手段から出力される各移動量情報か
ら、前記画像読取部が所定の長さ以上直進した方向を検
出する直進検出手段と、 前記直進検出手段で検出された直進方向と、この画像を
読み取り開始時の前記画像読取部の基準軸とから読み取
った画像の傾きを検出する第2の傾き検出手段と、 前記第2の傾き検出手段で検出された傾き情報を用いて
前記画像データの傾きを補正する傾き補正手段とを備
え、かつ、 画像データ上の所定の大きさに区切られた各ブロック領
域を構成する複数の単位ブロックの全ての単位ブロック
が、空白であるか否かを検出し、上記複数の各ブロック
が情報領域か空白領域かを示すブロックデータを出力す
るブロック化手段と、 前記ブロックデータから画像の空白領域を検出する空白
領域検出手段と、 前記空白領域検出手段で検出した前記空白領域から四方
を空白領域で囲まれたすべての情報領域を囲むことので
きる,空白領域よりなる最外枠を検出する最外枠検出手
段と、 前記画像データの,検出した前記最外枠で囲まれる画像
データのみを出力する画像切取手段とを備えたことを特
徴とする画像処理装置。
10. An image reading unit for reading image data, comprising an image reading unit capable of scanning in an arbitrary direction, two movement amount detecting units for outputting movement amounts of both ends of the image reading unit, and each movement. From each movement amount information output from the amount detection means, a straight-movement detection means for detecting a direction in which the image reading portion has gone straight for a predetermined length or more, a straight-movement direction detected by the straight-movement detection means, and this image are read. A second tilt detecting unit that detects a tilt of the image read from the reference axis of the image reading unit at the time of start, and a tilt of the image data using the tilt information detected by the second tilt detecting unit. An inclination correcting unit for correcting, and detecting whether or not all unit blocks of a plurality of unit blocks forming each block area divided into a predetermined size on the image data are blank, Above Blocking means for outputting block data indicating whether each block is an information area or a blank area, blank area detecting means for detecting a blank area of an image from the block data, and the blank area detected by the blank area detecting means An outermost frame detecting means for detecting an outermost frame composed of a blank area capable of enclosing all information areas surrounded by blank areas on all four sides, and surrounded by the detected outermost frame of the image data An image processing apparatus comprising: an image cropping unit that outputs only image data.
【請求項11】 任意の方向に走査可能な画像読取部を
備え、画像データを読み取る画像読取手段と、 前記読み取った画像データ上の所定の大きさに区切られ
た各ブロック領域を構成する複数の単位ブロックの全て
の単位ブロックが、空白であるか否かを検出し、上記複
数の各ブロックが情報領域か空白領域かを示すブロック
データを出力するブロック化手段と、 前記ブロックデータから画像の空白領域を検出する空白
領域検出手段と、 前記空白領域検出手段で検出した前記空白領域から四方
を空白領域で囲まれたすべての情報領域を囲むことので
きる,空白領域よりなる最外枠を検出する最外枠検出手
段と、 前記画像データの,検出した前記最外枠で囲まれる画像
データのみを出力する画像切取手段とを備え、かつ、 順次読み込まれる複数の前記画像データの端座標を読み
取り走査ごとにそれぞれ検出し、前記複数の画像データ
が順次並んで配置されるように、順次読み込んだ画像デ
ータの一方端の端座標を前回読み込んだ画像データの他
方端の端座標に揃えるよう変換する接続配置手段を備え
たことを特徴とする画像処理装置。
11. An image reading unit for reading image data, comprising an image reading unit capable of scanning in an arbitrary direction, and a plurality of block regions each of which is divided into a predetermined size on the read image data. Blocking means for detecting whether or not all the unit blocks of the unit block are blank and outputting block data indicating whether each of the plurality of blocks is an information area or a blank area, and a blank of an image from the block data A blank area detecting means for detecting an area, and an outermost frame composed of a blank area capable of enclosing all the information areas surrounded by blank areas on all sides from the blank area detected by the blank area detecting means Outer frame detection means and image cropping means for outputting only the image data of the image data enclosed by the detected outermost frames, The edge coordinates of the image data are detected for each scanning, and the edge coordinates of one end of the sequentially read image data are transferred to the other of the previously read image data so that the plurality of image data are sequentially arranged. An image processing apparatus, comprising: a connection arrangement unit that performs conversion so that the coordinates are aligned with the end coordinates.
【請求項12】 任意の方向に走査可能な画像読取部を
備え、画像データを読み取る画像読取手段と、 前記読み取った画像データ上の所定の大きさに区切られ
た各ブロック領域を構成する複数の単位ブロックの全て
の単位ブロックが、空白であるか否かを検出し、上記複
数の各ブロックが情報領域か空白領域かを示すブロック
データを出力するブロック化手段と、 前記ブロックデータから画像の傾きを検出する第1の傾
き検出手段と、 前記第1の傾き検出手段から出力される傾き情報を用い
て前記画像データの傾きを補正する傾き補正手段と、 前記ブロックデータから画像の空白領域を検出する空白
領域検出手段と、 前記空白領域検出手段で検出した前記空白領域から四方
を空白領域で囲まれたすべての情報領域を囲むことので
きる,空白領域よりなる最外枠を検出する最外枠検出手
段と、 前記画像データの,検出した前記最外枠で囲まれる画像
データのみを出力する画像切取手段とを備え、かつ、 順次読み込まれる複数の前記画像データの端座標を読み
取り走査ごとにそれぞれ検出し、前記複数の画像データ
が順次並んで配置されるように、順次読み込んだ画像デ
ータの一方端の端座標を前回読み込んだ画像データの他
方端の端座標に揃えるよう変換する接続配置手段を備え
たことを特徴とする画像処理装置。
12. An image reading unit that is capable of scanning in an arbitrary direction, and an image reading unit that reads image data, and a plurality of block areas that are divided into a predetermined size on the read image data. Blocking means for detecting whether or not all unit blocks of the unit block are blank and outputting block data indicating whether each of the plurality of blocks is an information area or a blank area, and an inclination of an image from the block data A first inclination detecting means for detecting the inclination, an inclination correcting means for correcting the inclination of the image data by using the inclination information output from the first inclination detecting means, and detecting a blank area of the image from the block data. A blank area detecting means, and a blank area capable of enclosing all information areas surrounded by blank areas on all sides from the blank area detected by the blank area detecting means. An outermost frame detecting means for detecting an outermost frame composed of a region, and an image cutting means for outputting only the image data of the image data surrounded by the detected outermost frame, and a plurality of sequentially read The edge coordinates of the image data are detected for each reading scan, and the edge coordinates of one end of the sequentially read image data are transferred to the other end of the previously read image data so that the plurality of image data are sequentially arranged. An image processing apparatus comprising a connection arranging unit that performs conversion so as to align with the end coordinates of the image.
【請求項13】 任意の方向に走査可能な画像読取部を
備え、画像データを読み取る画像読取手段と、 前記画像読取部の両端の移動量を出力する2つの移動量
検出手段と、 前記各移動量検出手段から出力される各移動量情報か
ら、前記画像読取部が所定の長さ以上直進した方向を検
出する直進検出手段と、 前記直進検出手段で検出された直進方向と、この画像の
読み取り開始時の前記画像読取部の基準軸とから読み取
った画像の傾きを検出する第2の傾き検出手段と、 前記第2の傾き検出手段で検出された傾き情報を用いて
前記画像データの傾きを補正する傾き補正手段と、 画像データ上の所定の大きさに区切られた各ブロック領
域を構成する複数の単位ブロックの全ての単位ブロック
が、空白であるか否かを検出し、上記複数の各ブロック
が情報領域か空白領域かを示すブロックデータを出力す
るブロック化手段と、 前記ブロックデータから画像の空白領域を検出する空白
領域検出手段と、 前記空白領域検出手段で検出した前記空白領域から四方
を空白領域で囲まれたすべての情報領域を囲むことので
きる,空白領域よりなる最外枠を検出する最外枠検出手
段と、 前記画像データの,検出した前記最外枠で囲まれる画像
データのみを出力する画像切取手段とを備え、かつ、 順次読み込まれる複数の前記画像データの端座標を読み
取り走査ごとにそれぞれ検出し、前記複数の画像データ
が順次並んで配置されるように、順次読み込んだ画像デ
ータの一方端の端座標を前回読み込んだ画像データの他
方端の端座標に揃えるよう変換する接続配置手段を備え
たことを特徴とする画像処理装置。
13. An image reading unit for scanning image data, comprising an image reading unit capable of scanning in an arbitrary direction, two movement amount detecting units for outputting movement amounts of both ends of the image reading unit, and each movement. From each movement amount information output from the amount detection means, a straight-movement detecting means for detecting a direction in which the image reading portion has gone straight for a predetermined length or more, a straight-movement direction detected by the straight-movement detecting means, and reading of this image A second tilt detecting unit that detects a tilt of the image read from the reference axis of the image reading unit at the time of start, and a tilt of the image data using the tilt information detected by the second tilt detecting unit. Inclination correcting means for correcting and detecting whether or not all unit blocks of a plurality of unit blocks forming each block area divided into a predetermined size on the image data are blank, and detecting each of the plurality of unit blocks. Block Is a block means for outputting block data indicating whether it is an information area or a blank area, a blank area detecting means for detecting a blank area of an image from the block data, and four directions from the blank area detected by the blank area detecting means. Outermost frame detection means for detecting an outermost frame composed of a blank area capable of enclosing all information areas surrounded by a blank area; and only the image data of the image data enclosed by the outermost frame detected. And an image cropping means for outputting, and detecting the end coordinates of the plurality of image data that are sequentially read for each reading scan, and sequentially reading so that the plurality of image data are arranged side by side. An image characterized by comprising connection arrangement means for converting the end coordinates of one end of the image data into the end coordinates of the other end of the image data previously read Management apparatus.
【請求項14】 請求項5,9,または12のいずれか
に記載の画像処理装置において、 前記第1の傾き検出手段は、前記ブロックデータから画
像の情報領域のエッジを検出する情報領域エッジ検出手
段と、 前記検出した情報領域のエッジから画像の傾きを検出す
る情報領域エッジ傾き検出手段とを備えたものであるこ
とを特徴とする画像処理装置。
14. The image processing apparatus according to claim 5, 9, or 12, wherein the first inclination detection means detects an edge of an information area of an image from the block data. An image processing apparatus comprising: a means and an information area edge inclination detecting means for detecting an inclination of an image from the detected edge of the information area.
【請求項15】 請求項5,9,または12のいずれか
に記載の画像処理装置において、 前記ブロック化手段は、読み取る画像によって、前記ブ
ロック領域のサイズを切り替える切替手段を備えたこと
を特徴とする画像処理装置。
15. The image processing apparatus according to claim 5, wherein the blocking unit includes a switching unit that switches a size of the block area according to an image to be read. Image processing device.
【請求項16】 請求項7,または9ないし13のいず
れかに記載の画像処理装置において、 前記最外枠検出手段は、横方向に所定の長さ以上連続す
る空白領域を検出する横枠検出手段と、 縦方向に所定の長さ以上連続する空白領域を検出する縦
枠検出手段とを備え、 前記横枠検出手段,及び縦枠検出手段により検出された
横枠と縦枠とにより作成される閉じる枠のうちの最大枠
を最外枠として出力するものであることを特徴とする画
像処理装置。
16. The image processing apparatus according to claim 7, or 9 to 13, wherein the outermost frame detection means detects a horizontal frame for detecting a blank area continuous in a horizontal direction for a predetermined length or more. Means and a vertical frame detecting means for detecting a blank area continuous in the vertical direction for a predetermined length or more, and are created by the horizontal frame detecting means and the horizontal frame and the vertical frame detected by the vertical frame detecting means. An image processing apparatus, which outputs the maximum frame among the closed frames as an outermost frame.
【請求項17】 請求項8,または11ないし13のい
ずれかに記載の画像処理装置において、 前記接続配置手段は、順次読み込まれる画像データのメ
モリ上の座標を、直前に座標変換された変換画像データ
の後述する端座標検出手段からの端座標を用いて変換す
る座標変換手段と、 前記座標変換手段から出力される,変換された画像デー
タから、該変換画像データの端座標を検出して記憶し、
かつ、前回の読み取り走査時に記憶した前記座標変換し
た端座標データを、前記座標変換手段に出力する端座標
検出手段とからなるものであることを特徴とする画像処
理装置。
17. The image processing apparatus according to claim 8, or 11 to 13, wherein the connection arranging unit converts the coordinates of the sequentially read image data in the memory into a converted image immediately before. Coordinate conversion means for converting the data using the edge coordinates from the edge coordinate detection means to be described later, and detecting and storing the edge coordinates of the converted image data from the converted image data output from the coordinate conversion means. Then
An image processing apparatus, comprising: edge coordinate detection means for outputting the coordinate-transformed edge coordinate data stored at the time of the previous reading scan to the coordinate transformation means.
【請求項18】 請求項8,または11ないし13のい
ずれかに記載の画像処理装置において、 前記接続配置手段は、読み取り走査ごとに、該読み取り
画像データの端座標を検出する端座標検出手段と、 前記端座標検出手段から出力される前記端座標を用い
て、次の画像を生成するための初期座標を生成する初期
座標生成手段とを備えたことを特徴とする画像処理装
置。
18. The image processing apparatus according to claim 8, or 11, wherein the connection arrangement means includes an edge coordinate detection means for detecting edge coordinates of the read image data for each reading scan. An image processing apparatus, comprising: initial coordinate generation means for generating initial coordinates for generating a next image using the edge coordinates output from the edge coordinate detection means.
【請求項19】 請求項8,または11ないし13のい
ずれかに記載の画像処理装置において、 座標変換手段は、前記順次読み取った画像データの座標
が重ならないように接続配置することを特徴とする特徴
とする画像処理装置。
19. The image processing apparatus according to claim 8, or 11 to 13, wherein the coordinate conversion means is connected and arranged so that the coordinates of the sequentially read image data do not overlap. A characteristic image processing device.
【請求項20】 請求項11ないし13のいずれかに記
載の画像処理装置において、 前記端座標の検出は、前記画像切取手段より出力され
る,切り取られた画像データから端座標を検出するもの
であることを特徴とする画像処理装置。
20. The image processing device according to claim 11, wherein the detection of the edge coordinates is performed by detecting the edge coordinates from the cut image data output from the image cutting means. An image processing device characterized by being present.
JP8137838A 1996-05-31 1996-05-31 Image processing method and device Pending JPH09321983A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8137838A JPH09321983A (en) 1996-05-31 1996-05-31 Image processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8137838A JPH09321983A (en) 1996-05-31 1996-05-31 Image processing method and device

Publications (1)

Publication Number Publication Date
JPH09321983A true JPH09321983A (en) 1997-12-12

Family

ID=15208015

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8137838A Pending JPH09321983A (en) 1996-05-31 1996-05-31 Image processing method and device

Country Status (1)

Country Link
JP (1) JPH09321983A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7327900B2 (en) 2003-03-06 2008-02-05 Seiko Epson Corporation Image reading apparatus and recording medium
US9124746B2 (en) 2011-09-29 2015-09-01 Brother Kogyo Kabushiki Kaisha Image-reading device and computer-readable storage medium
US9479661B2 (en) 2014-06-18 2016-10-25 Brother Kogyo Kabushiki Kaisha Image-reading device detecting edge of sheet by setting mask region including part of lines
US9531896B2 (en) 2014-06-18 2016-12-27 Brother Kogyo Kabushiki Kaisha Image-reading device detecting edge of sheet by dynamically setting mask region

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7327900B2 (en) 2003-03-06 2008-02-05 Seiko Epson Corporation Image reading apparatus and recording medium
US9124746B2 (en) 2011-09-29 2015-09-01 Brother Kogyo Kabushiki Kaisha Image-reading device and computer-readable storage medium
US9479661B2 (en) 2014-06-18 2016-10-25 Brother Kogyo Kabushiki Kaisha Image-reading device detecting edge of sheet by setting mask region including part of lines
US9531896B2 (en) 2014-06-18 2016-12-27 Brother Kogyo Kabushiki Kaisha Image-reading device detecting edge of sheet by dynamically setting mask region

Similar Documents

Publication Publication Date Title
JP3425366B2 (en) Image correction device
JP2930612B2 (en) Image forming device
JPH0652472B2 (en) Image processing method
JP2008147976A (en) Image inclination correction device and image inclination correcting method
JPH0640219B2 (en) How to create cutout mask data
US8760735B2 (en) Image combining device and image combining method
JPH09321983A (en) Image processing method and device
JPH1115951A (en) Deviation detector and image synthesizer
JPS62269276A (en) Interactive graphic inputting system
JP3925851B2 (en) Image information crease noise removal device
JP2001014482A (en) Method and device for changing form of artwork
JP2006295484A (en) Image forming apparatus, image forming method, and image forming program
JPH09135331A (en) Image processor
JP2773127B2 (en) Image editing method
JP2002314786A (en) Imaging device
JP2794748B2 (en) Chart copy machine
JP2577276B2 (en) Line break detection method
JPS59128663A (en) Address scanner for editing of binary picture
JP4043692B2 (en) Digital image forming device
JPH0584520B2 (en)
JPH04230168A (en) Picture processor
JPH04141789A (en) Device and method for highly accurate vector approximation
JP2926842B2 (en) Character extraction circuit
JPH04288541A (en) Image distortion correction device
JPH0887590A (en) Device and method for image data connection