Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5204035B2 - Image processing apparatus, processing method, and processing program - Google Patents
[go: Go Back, main page]

JP5204035B2 - Image processing apparatus, processing method, and processing program - Google Patents

Image processing apparatus, processing method, and processing program Download PDF

Info

Publication number
JP5204035B2
JP5204035B2 JP2009121450A JP2009121450A JP5204035B2 JP 5204035 B2 JP5204035 B2 JP 5204035B2 JP 2009121450 A JP2009121450 A JP 2009121450A JP 2009121450 A JP2009121450 A JP 2009121450A JP 5204035 B2 JP5204035 B2 JP 5204035B2
Authority
JP
Japan
Prior art keywords
image
small
dividing
area
background
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.)
Active
Application number
JP2009121450A
Other languages
Japanese (ja)
Other versions
JP2010271802A (en
Inventor
祐之 新村
勝也 諸星
雅晴 澤田
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.)
Hitachi Information and Telecommunication Engineering Ltd
Original Assignee
Hitachi Computer Peripherals 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 Hitachi Computer Peripherals Co Ltd filed Critical Hitachi Computer Peripherals Co Ltd
Priority to JP2009121450A priority Critical patent/JP5204035B2/en
Publication of JP2010271802A publication Critical patent/JP2010271802A/en
Application granted granted Critical
Publication of JP5204035B2 publication Critical patent/JP5204035B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measuring And Recording Apparatus For Diagnosis (AREA)
  • Processing Or Creating Images (AREA)

Description

本発明は、1枚のフィルムに複数の小画像を記録した医用画像から、小画像を自動的に分割して保存する画像処理装置、処理方法及び処理プログラムであって、特に各小画像に付随して記録されている文字情報等についても各小画像と一体にして自動的に分割して保存することができる画像処理装置、処理方法及び処理プログラムに関するものである。   The present invention relates to an image processing apparatus, a processing method, and a processing program for automatically dividing and storing a small image from a medical image in which a plurality of small images are recorded on a single film, and particularly to each small image. The present invention also relates to an image processing apparatus, a processing method, and a processing program that can automatically divide and store character information and the like recorded together with each small image.

従来、医用画像は1枚のフィルムに複数の小画像を記録することが多く、その画像を画像データとして電子保管する際には、1枚のフィルム単位ではなく、小画像ごとに分割して保存することが通常行われている。   Conventionally, a medical image often has a plurality of small images recorded on a single film. When electronically storing the images as image data, the medical images are divided and stored for each small image, not for each film. It is usually done.

この小画像ごとの分割を、手作業で行うことは多大な手間を要することから、自動的に小画像に分割する装置が望まれていた。そこで、このような1枚のフィルムから複数の小画像を自動的に分割して保存する画像処理装置が提案されている(特許文献1参照)。この画像処理装置は、フィルムをスキャンして画像を取り込み、その画像を構成する画素値の分散に基づいて小画像の配置を検出するもので、複数の小画像を自動的に短時間で分割することができるものである。   Since the manual division of each small image requires a lot of labor, an apparatus for automatically dividing the small image into small images has been desired. In view of this, an image processing apparatus that automatically divides and stores a plurality of small images from such a single film has been proposed (see Patent Document 1). This image processing apparatus scans a film, captures an image, detects an arrangement of small images based on dispersion of pixel values constituting the image, and automatically divides a plurality of small images in a short time. It is something that can be done.

特開2000−342539号公報JP 2000-342539 A

しかしながら、上記画像処理装置にあっては、分割しようとする複数の小画像の周囲にその小画像に付随する文字情報等が記録されている場合に、隣接する小画像間の背景部分がほぼ透明であると、文字情報等が正確に検出できずに小画像に文字情報等を含めたかたちで正確に分割することができないという問題があった。   However, in the above image processing apparatus, when character information or the like accompanying the small image is recorded around a plurality of small images to be divided, the background portion between adjacent small images is almost transparent. In such a case, there is a problem that the character information or the like cannot be accurately detected and cannot be accurately divided in such a manner that the character information or the like is included in the small image.

本発明は、このような実情に鑑みてなされたものであり、小画像の周囲に文字情報等が記録されている場合に、背景部分に影響されることなく文字情報等も含めて小画像を自動で正確に分割することができる画像処理装置、処理方法及び処理プログラムを提供しようとするものである。   The present invention has been made in view of such circumstances, and when character information or the like is recorded around the small image, the small image including the character information or the like is not affected by the background portion. It is an object of the present invention to provide an image processing apparatus, a processing method, and a processing program that can be automatically and accurately divided.

上記解決課題は、下記の各発明によって解決することができる。
すなわち、本発明の画像処理装置は、画像を取り込む画像取込部と、取り込んだ画像の領域中の画像以外の背景部分を検出する背景検出手段と、前記取り込んだ画像中に含まれる画像情報を有する複数の小画像及び該小画像に付随する文字情報を小画像ごとに分割する画像分割手段と、からなる画像処理部と、を備えた画像処理装置であって、前記背景検出手段は、前記取り込んだ画像の明度の頻度分布から背景部分を検出し、前記画像分割手段は、前記背景検出手段が検出した前記背景部分以外の画像領域から背景部分以外の明度の頻度分布を用いて前記小画像を検出し、かつ前記取り込んだ画像を前記背景部分以外の明度の頻度分布を用いて前記小画像及び前記文字情報を含んで縦方向と横方向に分割してなる帯状領域を、縦のスキャンライン及び横のスキャンラインとして検出し、該縦のスキャンライン及び横のスキャンラインを重ね合わせて重なり合った領域を、前記複数の小画像を包含する全画像領域を抽出するための全画像領域シードとして検出し、該全画像領域シードの最外周を矩形に囲繞する境界を設定してその内側を全画像領域とし、該全画像領域中に前記文字情報を付随した各小画像が均等な面積の領域を有して中央近傍に配置されるべく、前記全画像領域と前記小画像の配置とから前記全画像領域を縦横に均等に分割する仮分割線を設定し、該仮分割線で前記全画像領域シードを分割して、前記文字情報を付随する各小画像を分割し、該小画像及び付随する前記文字情報を合成して小画像領域を検出することを特徴とする。
The above problem can be solved by the following inventions.
That is, the image processing apparatus of the present invention includes an image capturing unit that captures an image, background detection means that detects a background portion other than an image in the captured image area, and image information included in the captured image. An image processing apparatus comprising: a plurality of small images, and an image dividing unit that divides character information associated with the small images for each small image, wherein the background detecting unit A background portion is detected from the brightness frequency distribution of the captured image, and the image dividing means uses the brightness frequency distribution of the non-background portion from the image area other than the background portion detected by the background detection means. A band-like region formed by dividing the captured image into the vertical direction and the horizontal direction including the small image and the character information using a frequency distribution of brightness other than the background portion. An area that is detected as an in and horizontal scan line, and the vertical scan line and the horizontal scan line are overlapped and overlapped as an entire image area seed for extracting all image areas including the plurality of small images. An area having a uniform area in which each small image accompanied by the character information is included in the entire image area by setting a boundary surrounding the outermost periphery of the entire image area seed in a rectangle and setting it as an entire image area A provisional dividing line that equally divides the entire image area vertically and horizontally from the arrangement of the entire image area and the small image to be arranged in the vicinity of the center. A region seed is divided to divide each small image associated with the character information, and the small image region is detected by synthesizing the small image and the associated character information.

また、前記背景検出手段は、取り込んだ画像を構成する画素の明度の頻度分布と、前記明度の頻度の平均値とを求め、該平均値を超えた頻度を有する明度を背景部分の明度である背景明度として検出することを特徴とする。
これにより、背景明度部分を除いた部分が画像情報を有する部分として検出することができる。
Further, the background detection means obtains a brightness frequency distribution of pixels constituting the captured image and an average value of the brightness frequencies, and the brightness having a frequency exceeding the average value is the brightness of the background portion. It is detected as background brightness.
Thereby, the part excluding the background lightness part can be detected as a part having image information.

また、前記画像分割手段は、前記取り込んだ画像を構成する画素の明度のうち、背景明度以外の明度の頻度分布を求め、該頻度分布に基づいて前記取り込んだ画像の画像領域中における予め設定した設定値を超える明度の頻度から前記小画像の配置を求めることを特徴とする。   Further, the image dividing means obtains a frequency distribution of brightness other than the background brightness among the brightness of the pixels constituting the captured image, and presets in the image area of the captured image based on the frequency distribution The arrangement of the small images is obtained from the frequency of brightness exceeding a set value.

また、前記背景検出手段は、全画像領域シードにおける周期性を求め、全画像領域シード中の周期性のない単独のタイトル部を除外することを特徴とする。   The background detection means obtains periodicity in all image region seeds and excludes a single title portion having no periodicity in all image region seeds.

また、前記画像分割手段は、仮分割線が全画像領域シードを貫く場合に、隣接する小画像領域同士の間隔が狭いものと判断して全画像領域シードの全領域を、検出した小画像の数に応じて等間隔に分割して小画像領域とすることを特徴とする。
これにより、小画像間隔が狭い画像であっても、確実に分割して小画像領域を検出することができる。
The image dividing means determines that the interval between adjacent small image regions is narrow when the temporary dividing line passes through the entire image region seed, and determines all regions of all image region seeds of the detected small image. A small image area is divided into equal intervals according to the number.
As a result, even if the image has a small image interval, the image can be reliably divided and the small image region can be detected.

本発明の画像処理方法は、画像を取り込む画像取込部と、取り込んだ画像の領域中の画像以外の背景部分を検出する背景検出手段と、前記取り込んだ画像中に含まれる画像情報を有する複数の小画像及び該小画像に付随する文字情報を小画像ごとに分割する画像分割手段と、からなる画像処理部と、を備えた画像処理装置を用いて画像を処理する方法であって、前記背景検出手段により、前記取り込んだ画像の明度の頻度分布から背景部分を検出し、前記画像分割手段により、前記背景検出手段が検出した前記背景部分以外の画像領域から背景部分以外の明度の頻度分布を用いて前記小画像を検出し、かつ前記取り込んだ画像を背景部分以外の明度の頻度分布を用いて前記小画像及び前記文字情報を含んで縦方向と横方向に分割してなる帯状領域を、縦のスキャンライン及び横のスキャンラインとして検出し、該縦のスキャンライン及び横のスキャンラインを重ね合わせて重なり合った領域を前記複数の小画像を包含する全画像領域を抽出するための全画像領域シードとして検出し、該全画像領域シードの最外周を矩形に囲繞する境界を設定してその内側を全画像領域とし、該全画像領域中に前記文字情報を付随した各小画像が均等な面積の領域を有して中央近傍に配置されるべく、前記全画像領域と前記小画像の配置とから前記全画像領域を縦横に均等に分割する仮分割線を設定し、該仮分割線で前記全画像領域シードを分割して、前記文字情報を付随する各小画像を分割し、該小画像及び付随する前記文字情報を合成して小画像領域を検出することを特徴とする。   An image processing method of the present invention includes an image capturing unit that captures an image, background detection means that detects a background portion other than an image in a region of the captured image, and a plurality of pieces of image information included in the captured image. A method of processing an image using an image processing apparatus comprising: an image processing unit comprising: an image processing unit configured to divide the small image and character information associated with the small image for each small image; A background portion is detected from a brightness frequency distribution of the captured image by a background detection means, and a lightness frequency distribution other than the background portion is detected from the image region other than the background portion detected by the background detection means by the image dividing means. The small image is detected using a band, and the captured image is divided into a vertical direction and a horizontal direction including the small image and the character information using a frequency distribution of brightness other than the background portion. For detecting a region as a vertical scan line and a horizontal scan line, and extracting the entire image region including the plurality of small images by overlapping the vertical scan line and the horizontal scan line. Detected as a whole image area seed, set a boundary that encloses the outermost periphery of the whole image area seed in a rectangle, and set the inside as a whole image area, and each small image accompanied by the character information in the whole image area A temporary dividing line for equally dividing the entire image area vertically and horizontally is set from the entire image area and the arrangement of the small images so as to be arranged in the vicinity of the center with a uniform area. The whole image region seed is divided by lines, each small image accompanied by the character information is divided, and the small image region is detected by synthesizing the small image and the accompanying character information.

本発明の画像処理プログラムは、取り込んだ画像から画像情報を有する複数の小画像及び該小画像に付随する文字情報を小画像ごとに分割させる画像処理プログラムであって、画像を取り込む画像取込部と、取り込んだ画像の領域中の画像以外の背景部分を検出する背景検出手段と、前記取り込んだ画像中に含まれる画像情報を有する複数の小画像及び該小画像に付随する文字情報を小画像ごとに分割する画像分割手段と、からなる画像処理部と、を備えた画像処理装置において、前記背景検出手段により前記取り込んだ画像の明度の頻度分布から背景部分を検出するステップと、前記画像分割手段により前記背景検出手段が検出した前記背景部分以外の画像領域から背景部分以外の明度の頻度分布を用いて前記小画像を検出するステップと、前記画像分割手段により前記取り込んだ画像を前記背景部分以外の明度の頻度分布を用いて前記小画像及び前記文字情報を含んで縦方向と横方向に分割してなる帯状領域を、縦のスキャンライン及び横のスキャンラインとして検出するステップと、前記画像分割手段により前記縦のスキャンライン及び横のスキャンラインを重ね合わせて重なり合った領域を、前記複数の小画像を包含する全画像領域を抽出するための全画像領域シードとして検出するステップと、前記画像分割手段により前記全画像領域シードの最外周を矩形に囲繞する境界を設定してその内側を全画像領域とするステップと、前記画像分割手段により前記全画像領域中に前記文字情報を付随した各小画像が均等な面積の領域を有して中央近傍に配置されるべく、前記全画像領域と前記小画像の配置とから前記全画像領域を縦横に均等に分割する仮分割線を設定するステップと、前記画像分割手段により前記仮分割線で前記全画像領域シードを分割して、前記文字情報を付随する各小画像を分割し、該小画像及び付随する前記文字情報を合成して小画像領域を検出するステップと、を実行させることを特徴とする。   An image processing program according to the present invention is an image processing program for dividing a plurality of small images having image information from a captured image and character information associated with the small images for each small image, and an image capturing unit for capturing an image And background detecting means for detecting a background portion other than the image in the area of the captured image, a plurality of small images having image information included in the captured image, and character information associated with the small image as a small image An image processing unit comprising: an image dividing unit that divides each image; and a step of detecting a background portion from a frequency distribution of brightness of the image captured by the background detecting unit, and the image division Detecting the small image from the image area other than the background portion detected by the background detection means using a frequency distribution of brightness other than the background portion; A band-like region formed by dividing the image captured by the image dividing unit into the vertical direction and the horizontal direction including the small image and the character information using a frequency distribution of brightness other than the background portion is formed as a vertical scan line. Detecting a horizontal scan line and a region where the vertical scan line and the horizontal scan line are overlapped and overlapped by the image dividing unit to extract an entire image region including the plurality of small images. Detecting as a whole image area seed, setting a boundary that surrounds the outermost periphery of the whole image area seed in a rectangle by the image dividing means, and setting the inside as a whole image area, and by the image dividing means In order to arrange each small image with the character information in the entire image area to have an area of an equal area and to be arranged near the center, Setting a temporary dividing line that equally divides the entire image area vertically and horizontally from the area and the arrangement of the small images; and dividing the entire image area seed by the temporary dividing line by the image dividing unit; Dividing each small image accompanied by character information, and combining the small image and the accompanying character information to detect a small image region.

以上、説明したように、本発明の画像処理装置、処理方法及び処理プログラムによれば、小画像の周囲に文字情報等が記録されている場合に、背景部分に影響されることなく文字情報等も含めて小画像を自動で正確に分割することができる。   As described above, according to the image processing apparatus, the processing method, and the processing program of the present invention, when character information or the like is recorded around a small image, the character information or the like is not affected by the background portion. Including small images can be automatically and accurately divided.

本発明の実施の形態に係る画像処理装置のシステム構成図である。1 is a system configuration diagram of an image processing apparatus according to an embodiment of the present invention. 本発明の画像処理装置における分割対象の画像領域を示す図である。It is a figure which shows the image area of the division | segmentation object in the image processing apparatus of this invention. 本発明の画像処理装置における分割対象の画像領域を示す図である。It is a figure which shows the image area of the division | segmentation object in the image processing apparatus of this invention. 本発明の画像処理装置における分割対象の画像領域を示す図である。It is a figure which shows the image area of the division | segmentation object in the image processing apparatus of this invention. 本発明の画像処理装置における画像分割処理の流れを示すフローである。It is a flow which shows the flow of the image division process in the image processing apparatus of this invention. 本発明の画像処理装置における高精度分割の流れを示すフローである。It is a flow which shows the flow of the high precision division | segmentation in the image processing apparatus of this invention. 本発明の画像処理装置における小画像抽出の流れを示すフローである。It is a flow which shows the flow of the small image extraction in the image processing apparatus of this invention. 本発明の画像処理装置における画像を構成する画素の明度の頻度分布を示す図である。It is a figure which shows the frequency distribution of the brightness of the pixel which comprises the image in the image processing apparatus of this invention. 本発明の画像処理装置における分割画像コア部の検出説明図である。It is detection explanatory drawing of the division | segmentation image core part in the image processing apparatus of this invention. 本発明の画像処理装置における分割画像コア部拡大の説明図である。It is explanatory drawing of the division | segmentation image core part expansion in the image processing apparatus of this invention. 本発明の画像処理装置における拡大矩形の結合説明図である。FIG. 6 is an explanatory diagram of enlargement rectangle combination in the image processing apparatus of the present invention. 本発明の画像処理装置における全画像領域シード検出を示す図である。It is a figure which shows all the image area | region seed detection in the image processing apparatus of this invention. 本発明の画像処理装置における全画像領域シード検出を示す図である。It is a figure which shows all the image area | region seed detection in the image processing apparatus of this invention. 本発明の画像処理装置における全画像領域検出を示す図である。It is a figure which shows all the image area detections in the image processing apparatus of this invention. 本発明の画像処理装置における全画像領域検出を示す図である。It is a figure which shows all the image area detections in the image processing apparatus of this invention. 本発明の画像処理装置における仮分割線生成を示す図である。It is a figure which shows the provisional dividing line production | generation in the image processing apparatus of this invention. 本発明の画像処理装置における合成分割矩形生成を示す図である。It is a figure which shows the synthetic | combination division | segmentation rectangle production | generation in the image processing apparatus of this invention. 本発明の画像処理装置における合成分割矩形生成を示す図である。It is a figure which shows the synthetic | combination division | segmentation rectangle production | generation in the image processing apparatus of this invention. 本発明の画像処理装置における高精度分割モードで分割された小画像領域を示す図である。It is a figure which shows the small image area | region divided | segmented by the high precision division mode in the image processing apparatus of this invention. 本発明の画像処理装置における中精度分割の流れを示すフローである。It is a flow which shows the flow of the medium precision division | segmentation in the image processing apparatus of this invention. 本発明の画像処理装置の中精度分割における背景明度検出の流れを示すフローである。It is a flow which shows the flow of the background lightness detection in the medium precision division | segmentation of the image processing apparatus of this invention.

以下、図面を参照しながら、本発明の画像処理装置、処理方法及び処理プログラムを実施するための形態を詳細に説明する。図1〜図21は、本発明の実施の形態を例示する図であり、これらの図において、同一の符号を付した部分は同一物を表し、基本的な構成及び動作は同様であるものとする。   Hereinafter, embodiments for carrying out an image processing apparatus, a processing method, and a processing program of the present invention will be described in detail with reference to the drawings. 1 to 21 are diagrams illustrating embodiments of the present invention. In these drawings, the same reference numerals denote the same components, and the basic configuration and operation are the same. To do.

<構成>
図1は、本発明の実施形態に係る画像処理装置のシステム構成図である。本発明の画像処理装置1は、フィルムをスキャンするなどして画像を取り込む画像取込部2と、画像取込部2が取り込んだ画像を処理する画像処理部3とから構成されている。
<Configuration>
FIG. 1 is a system configuration diagram of an image processing apparatus according to an embodiment of the present invention. An image processing apparatus 1 according to the present invention includes an image capturing unit 2 that captures an image by scanning a film and the like, and an image processing unit 3 that processes an image captured by the image capturing unit 2.

前記画像取込部2は、フィルムスキャナやイメージスキャナ等の機能を有して、フィルムから画像を取り込むほかに、外部記憶装置等から画像を取り込むことも可能としている。   The image capturing unit 2 has functions such as a film scanner and an image scanner, and can capture an image from an external storage device in addition to capturing an image from a film.

前記画像処理部3は、背景検出手段4と画像分割手段5とから構成され、背景検出手段4は、取り込んだ画像領域中の画像部分以外の、枠となる背景部分を検出する手段である。この背景部分とは、画像領域に配置されている複数の小画像を格子状に区切る領域であり、その間隔が数mmから数十mm程度の不透明又はほぼ透明の部分である。   The image processing unit 3 includes a background detection unit 4 and an image division unit 5, and the background detection unit 4 is a unit that detects a background part that is a frame other than the image part in the captured image region. The background portion is a region that divides a plurality of small images arranged in the image region in a lattice shape, and is an opaque or almost transparent portion having a spacing of several mm to several tens of mm.

前記画像分割手段5は、背景検出手段4によって検出された背景部分を用いて、画像領域に配置された複数の小画像を検出し、各小画像を切り出して、それぞれ別ファイルとして保存することができるものである。   The image dividing means 5 can detect a plurality of small images arranged in the image area using the background portion detected by the background detecting means 4, cut out each small image, and save each as a separate file. It can be done.

図2〜図4は、本発明の画像処理装置1が高精度分割モードで分割する対象となる画像の例を示すもので、図2は小画像間の背景部分が狭い画像を示し、図3は上部にタイトル領域がある画像を示し、図4は小画像間の背景部分が広い画像を示している。本発明の画像処理装置1は、これらのパターンの異なる画像について確実に小画像領域を分解することができるものである。   2 to 4 show examples of images to be divided by the image processing apparatus 1 of the present invention in the high-precision division mode. FIG. 2 shows an image with a narrow background portion between small images. Indicates an image with a title area at the top, and FIG. 4 shows an image with a wide background between small images. The image processing apparatus 1 of the present invention can reliably decompose a small image region for images having different patterns.

<動作>
本発明の実施形態に係る画像処理装置1の動作について、図5及び図6を参照して説明する。
<Operation>
The operation of the image processing apparatus 1 according to the embodiment of the present invention will be described with reference to FIGS.

図5は、本発明の画像処理装置1の動作フロー図であり、このフローは、背景検出手段4が、画像取込部2が取り込んだ画像における文字情報等の微小情報の数が予め設定された閾値より多いか否かを判定するステップ1と、微小情報の数が閾値より多い場合に画像分割手段5が高精度分割モードで分割するステップ2と、高精度分割モードでの分割がリジェクトされたか否かを画像分割手段5が判定するステップ3と、リジェクトされた場合と、前記ステップ1で微小情報の数が閾値より小さい場合に画像分割手段5が中精度分割モードで分割するステップ4に移行し、その分割の結果、分割線が小画像領域を貫くか否かを画像分割手段5が判定するステップ5と、分割線が小画像を貫く場合に画像分割手段5がリジェクト設定を行ってから処理を終了するステップ6とからなり、前記ステップ3でリジェクトされない場合と、前記ステップ5で分割線が小画像を貫かない場合にはそれぞれ処理を終了する。
このフローは、画像処理部3が取り込んだ画像を高精度分割モードで分割するか、又は中精度分割モードで分割するかを選択する流れを示している。
FIG. 5 is an operation flow diagram of the image processing apparatus 1 according to the present invention. In this flow, the number of minute information such as character information in the image captured by the image capturing unit 2 is preset by the background detection unit 4. Step 1 for determining whether or not there is more than the threshold value, Step 2 for dividing the image information in the high-precision division mode when the number of minute information is larger than the threshold value, and division in the high-precision division mode are rejected. Step 3 in which the image dividing means 5 determines whether or not it has been rejected, and Step 4 in which the image dividing means 5 divides in the medium precision division mode when the number of minute information is smaller than the threshold value in Step 1 above. The image dividing means 5 determines whether or not the dividing line penetrates the small image area as a result of the division, and the image dividing means 5 performs reject setting when the dividing line penetrates the small image. Or Consists Step 6 for the processing ends, and if not rejected in step 3, the process ends, respectively in the case of dividing line in step 5 is not penetrated the small image.
This flow shows a flow for selecting whether the image captured by the image processing unit 3 is to be divided in the high-precision division mode or the medium-precision division mode.

<高精度分割モード>
図6は、背景検出手段4及び画像分割手段5が上記ステップ2の高精度分割モードで分割する動作フロー図であり、このフローは、画像取込部2がフィルムをスキャンして取り込んだ画像から小画像抽出を行うステップ21と、全画像領域シード(後述する)を検出するステップ22と、この全画像領域シードから全画像領域を検出するステップ23と、全画像領域から仮分割線決定を行うステップ24と、仮分割線が全画像領域シードを貫くか否かを判定するステップ25と、貫く場合に全画像領域を単純分割するステップ26と、仮分割線が全画像領域シードを貫かない場合に合成分割矩形生成を行うステップ27と、小画像面積が全画像領域より閾値を超えて小さいか否かを判定するステップ28と、閾値を超えない場合に、分割線が小画像領域を貫くか否かを判定するステップ29と、前記ステップ28で小画像面積が全画像領域より閾値を超えて小さい場合、及びステップ29で分割線が小画像領域を貫く場合にリジェクト設定を行って処理を終了するステップ30とからなり、ステップ29で分割線が小画像領域を貫かない場合には処理を終了する。
このフローは、画像取込部2が取り込んだ画像を画像分割手段5が高精度分割モードで分割する流れを示している。
<High-precision division mode>
FIG. 6 is an operation flow diagram in which the background detection unit 4 and the image dividing unit 5 divide in the high-precision division mode in step 2 described above. This flow is based on the image captured by the image capturing unit 2 by scanning the film. Step 21 for extracting a small image, Step 22 for detecting an entire image region seed (described later), Step 23 for detecting an entire image region from the entire image region seed, and tentative dividing line determination from the entire image region Step 24, Step 25 for determining whether or not the temporary dividing line penetrates the entire image area seed, Step 26 for simply dividing the entire image area when penetrating, and a case where the temporary dividing line does not penetrate the entire image area seed In step 27 for generating a composite divided rectangle, in step 28 for determining whether the small image area is smaller than the entire image area beyond the threshold, In step 29 for determining whether or not to penetrate the image area, and in step 28, if the small image area is smaller than the entire image area by a threshold, and if the dividing line penetrates the small image area in step 29, reject setting is performed. And the process is terminated at step 30. If the dividing line does not penetrate the small image area at step 29, the process is terminated.
This flow shows a flow in which the image dividing unit 5 divides the image captured by the image capturing unit 2 in the high-precision division mode.

前記ステップ21の小画像抽出については、後述するステップ4の中精度分割モードにおける分割画像コア部検出までの流れと同様であり、この小画像抽出の動作フローを示す図7、及び図8〜図11に基づいて以下に詳細に説明する。
前記背景検出手段4は、ステップ31において、図8に示すごとく、画像取込部2が取り込んだ画像を構成する画素の明度の頻度分布を求める。次に背景検出手段4は、ステップ32において、明度の頻度の平均値31を求め、平均値31を超えた頻度を有する明度を背景部分の明度(以下、背景明度と称す)とする。符号32は、背景明度の範囲を示している。この背景明度から背景部分を検出できない場合には、処理を終了する。
The small image extraction in step 21 is the same as the flow up to the detection of the divided image core part in the medium precision division mode in step 4 described later, and FIG. 7 and FIG. 11 will be described in detail below.
In step 31, the background detection unit 4 obtains the frequency distribution of the brightness of the pixels constituting the image captured by the image capturing unit 2 as shown in FIG. Next, in step 32, the background detection means 4 obtains an average value 31 of the brightness frequency, and sets the brightness having a frequency exceeding the average value 31 as the brightness of the background portion (hereinafter referred to as background brightness). Reference numeral 32 indicates a range of background brightness. If the background portion cannot be detected from the background brightness, the process ends.

前記画像分割手段5は、ステップ34において、取り込んだ画像を構成する画素の明度のうち、前記背景明度32以外の明度の頻度分布を求め、該頻度分布に基づいて取り込んだ画像の画像領域中における分割画像コア部43の配置について、以下のごとく検出する。   In step 34, the image dividing means 5 obtains a frequency distribution of brightness other than the background brightness 32 among the brightness of pixels constituting the captured image, and in the image area of the captured image based on the frequency distribution. The arrangement of the divided image core unit 43 is detected as follows.

図9は、分割画像コア部43の検出説明図であり、画像領域の横軸をX軸、縦軸をY軸として説明する。画像分割手段5は、取り込んだ画像をY軸に平行な細かな短冊状領域ごとに背景明度32以外の明度の頻度を求めて、これをヒストグラム41として表す。   FIG. 9 is an explanatory diagram of detection of the divided image core unit 43, and the horizontal axis of the image area is described as the X axis and the vertical axis is described as the Y axis. The image dividing means 5 obtains the frequency of lightness other than the background lightness 32 for each fine strip-shaped region parallel to the Y axis of the captured image, and represents this as a histogram 41.

同様に、画像分割手段5は、画像領域をX軸に平行な細かな短冊状領域ごとに背景明度32以外の明度の頻度を求めて、これをヒストグラム42として表す。   Similarly, the image dividing means 5 obtains the frequency of lightness other than the background lightness 32 for each fine strip-shaped region parallel to the X axis, and represents this as a histogram 42.

画像分割手段5は、このようにして得られたヒストグラム41、42において、予め設定された設定値44よりも大きい明度の頻度を有する短冊状領域を求め、その短冊状領域の交差する部分を分割画像コア部43として検出する。この設定値44としては、小画像が検出される程度でよく、小画像の周囲の文字情報等の微小情報については検出されない程度とする。
このようにして求めた分割画像コア部43から、小画像17(後述する)の数及び配置を検出する。
In the histograms 41 and 42 obtained in this way, the image dividing means 5 obtains a strip-like region having a lightness frequency greater than a preset setting value 44, and divides the intersecting portion of the strip-like regions. The image core unit 43 is detected. The set value 44 may be such that a small image is detected, and minute information such as character information around the small image is not detected.
The number and arrangement of small images 17 (described later) are detected from the divided image core unit 43 thus obtained.

次に、小画像17の周囲に記録されている文字情報等の微小情報についても検出すべく、ステップ22の全画像領域シード、すなわち取り込んだ画像中の複数の小画像を包含する全画像領域を検出するための前段階のシード(種)の検出について、図12、図13に基づいて以下に詳細に説明する。
図12は、画像取込部2がフィルムから取り込んだ画像を、背景検出手段4が、前述した図8のごとく、背景明度以外の明度を有する部分として予め設定した設定値(微小情報も検出するために、前述した設定値44とは異なる設定値とする)よりも大きい明度の頻度を有する短冊状領域を縦と横について求め、これを縦のスキャンライン11及び横のスキャンライン12として検出した状態を表している。この状態では、縦のスキャンライン11と横のスキャンライン12とが2層構造となって検出される。また、フィルムのタイトルが記録されている上部のタイトル部13も、横のスキャンラインの一つとして検出される。
Next, in order to detect minute information such as character information recorded around the small image 17, all image region seeds in step 22, that is, all image regions including a plurality of small images in the captured image are displayed. The detection of the seed in the previous stage for detection will be described in detail below with reference to FIGS.
FIG. 12 shows an image captured by the image capturing unit 2 from a film. The background detection unit 4 detects a set value (small information is also detected in advance) as a portion having a lightness other than the background lightness as shown in FIG. Therefore, a strip-like region having a brightness frequency greater than the setting value 44 described above is obtained in the vertical and horizontal directions, and these are detected as the vertical scan line 11 and the horizontal scan line 12. Represents a state. In this state, the vertical scan line 11 and the horizontal scan line 12 are detected as a two-layer structure. The upper title portion 13 where the film title is recorded is also detected as one of the horizontal scan lines.

図13は、背景検出手段4が、図12で検出した縦のスキャンライン11と横のスキャンライン12とを同一平面上で結合して、その重なり合った領域を全画像領域シード14として検出する状態を表している。更に背景検出手段4は、重なり合った領域で面積が大きい領域群を、横方向に3列、縦方向に4行配置された合計12個の小画像17として抽出する。   FIG. 13 shows a state in which the background detection unit 4 combines the vertical scan line 11 and the horizontal scan line 12 detected in FIG. 12 on the same plane, and detects the overlapping area as the entire image area seed 14. Represents. Further, the background detecting means 4 extracts a group of regions having a large area in the overlapping region as a total of twelve small images 17 arranged in three rows in the horizontal direction and four rows in the vertical direction.

前記ステップ23の全画像領域検出について、図14、図15に基づいて以下に詳細に説明する。
図14は、背景検出手段4が、図12で検出した縦横の全スキャンライン部分から、画像が記録されていない領域を除外するために、縦横のスキャンライン11、12における交差していない一方だけのスキャンライン部分15を除外するとともに、上部のタイトル部13を含む横のスキャンラインについても、画像、文字情報の周期性を持った他の横のスキャンライン12とパターンが異なっていることを検出して除外し、全画像領域シード14を抽出した、全画像領域を検出する直前の状態を表している。
The entire image area detection in step 23 will be described in detail below with reference to FIGS.
FIG. 14 shows only one of the horizontal and vertical scan lines 11 and 12 that does not intersect in order to exclude the area in which no image is recorded from the vertical and horizontal scan line portions detected by the background detection means 4 in FIG. The horizontal scan line including the upper title portion 13 is also detected as having a different pattern from the other horizontal scan lines 12 having periodicity of image and character information. This represents a state immediately before detection of all image areas, in which all image area seeds 14 are extracted.

図15は、背景検出手段4が、図14で抽出した全画像領域シード14について、その最外周を矩形に囲繞する境界を設定して、その内側を全画像領域16として検出する状態を表している。   FIG. 15 illustrates a state in which the background detection unit 4 sets a boundary that surrounds the outermost periphery of the entire image region seed 14 extracted in FIG. 14 in a rectangle and detects the inner side as the entire image region 16. Yes.

前記ステップ24の仮分割線決定について、図16に基づいて以下に詳細に説明する。
図16は、画像分割手段5が、図15までにおいて背景検出手段4が検出した全画像領域16中に横に3列、縦に4行配置された小画像17を、仮分割線18、19により均等に分割することを表している。具体的には、全画像領域16の横幅を均等間隔で3分割する2本の縦の仮分割線18と、全画像領域16の縦幅を均等間隔で4分割する3本の横の仮分割線19とを設定するものである。
The provisional dividing line determination in step 24 will be described in detail below with reference to FIG.
In FIG. 16, the image dividing means 5 converts the small images 17 arranged in 3 rows horizontally and 4 rows vertically into the entire image area 16 detected by the background detecting means 4 up to FIG. It shows that it is divided evenly. Specifically, two vertical temporary dividing lines 18 that divide the horizontal width of the entire image area 16 into three at equal intervals, and three horizontal temporary divisions that divide the vertical width of the entire image area 16 into four at equal intervals. The line 19 is set.

前記ステップ27の合成分割矩形生成について、図17、図18に基づいて以下に詳細に説明する。
図17は、画像分割手段5が、図16の仮分割線18、19と図14の全画像領域シード14とを重ね合わせて、合成分割矩形を生成する状態を表している。
The composite divided rectangle generation in step 27 will be described in detail below with reference to FIGS.
FIG. 17 shows a state in which the image dividing unit 5 generates a composite divided rectangle by superimposing the temporary dividing lines 18 and 19 in FIG. 16 and the entire image region seed 14 in FIG.

図18は、画像分割手段5が、図17の仮分割線18、19で区分けされた領域に位置する、周囲に微小情報領域(本実施形態ではそれぞれ8個)を有する小画像17について、該小画像17と周囲の微小情報領域とを1個の画像に合成して、12個の小画像領域20として検出するものである。   FIG. 18 shows the small image 17 in which the image dividing means 5 is located in the area divided by the temporary dividing lines 18 and 19 in FIG. The small image 17 and the surrounding minute information area are combined into one image and detected as 12 small image areas 20.

このようにして検出された小画像領域20の画像例が、図19に示すものであり、中央に小画像17を配置し、その周囲に小画像17に付随する微小な文字情報21が記録されているものである。この文字情報21を小画像17と一体にして正確に切り抜くためには、小画像17を挟んで対角線上に位置していることが必要であり、且つその文字情報21の配置が1枚のフィルムにおいて小画像17ごとにある程度似通っていることが必要になる。これは、背景検出手段4がタイトル部13を除外するためには、画像、文字情報に周期性を持たせることが必要となるためである。   An image example of the small image area 20 detected in this way is shown in FIG. 19, in which the small image 17 is arranged at the center, and minute character information 21 accompanying the small image 17 is recorded around the small image 17. It is what. In order to cut out the character information 21 together with the small image 17 accurately, it is necessary that the character information 21 is positioned diagonally across the small image 17, and the arrangement of the character information 21 is one film. Therefore, it is necessary for the small images 17 to be somewhat similar to each other. This is because the image and character information must have periodicity in order for the background detection unit 4 to exclude the title part 13.

<中精度分割モード>
図20は、画像分割手段5が上記ステップ4の中精度分割モードで分割する動作フロー図であり、このフローは、背景検出手段4が、画像取込部2が取り込んだ画像中の背景明度を検出するステップ31と、背景検出手段4が、背景が存在するか否か、すなわち背景明度が検出できたかどうかを判定するステップ32とを備えて、検出できなかった場合は、その旨のエラーを画面等に表示して処理を終了し、検出できた場合は次のステップ33を実行する。
<Medium precision division mode>
FIG. 20 is an operation flow diagram in which the image dividing unit 5 divides in the medium-precision division mode in step 4 described above. This flow shows the background lightness in the image captured by the image capturing unit 2 by the background detection unit 4. A step 31 for detecting, and a step 32 for determining whether or not the background exists, that is, whether or not the background lightness has been detected. If it is displayed on the screen or the like and the process is terminated, and it is detected, the next step 33 is executed.

前記ステップ33に続くフローは、背景検出手段4が、背景明度の範囲が予め設定された設定範囲よりも大きいか否かの判定を行うステップ33と、設定範囲よりも小さい場合に分割画像のコア部を検出するステップ34と、設定範囲よりも大きい場合に背景検出をリトライするステップ35と、背景検出手段4が、背景明度の決定ができたか否かを判定するステップ36とを備えて、このステップ36で背景明度が決定できなかった場合は、エラーが発生したとしてその旨を画面等に表示して処理を終了し、背景明度の決定ができた場合はステップ34を実行する。   In the flow following step 33, the background detection unit 4 determines whether or not the background brightness range is larger than a preset setting range. A step 34 for detecting a portion, a step 35 for retrying the background detection when it is larger than the set range, and a step 36 for determining whether or not the background lightness has been determined by the background detection means 4. If the background brightness cannot be determined in step 36, an error has occurred and the fact is displayed on the screen and the process is terminated. If the background brightness can be determined, step 34 is executed.

前記ステップ34に続くフローは、画像分割手段5が、分割画像コア部を拡大した矩形を検出するステップ37と、画像分割手段5が、後述する拡大矩形71、結合矩形81の個数をカウントして、個数が1個であるか否かの判定を行うステップ38と、個数が1個の場合は、その旨を画面等に表示して処理を終了し、個数が1個でない場合に、画像分割手段5が、画像領域中の各小画像を分割するための分割線を生成してチェックするステップ39を備える。この際、画像分割手段5は、生成した分割線が最終矩形と交わっている場合は、分割線の交わっている部分を削除する。
これにより、小画像が格子状にきちんと整列していなくても、正確に小画像を分割するための分割線を生成することができる。
In the flow following step 34, the image dividing means 5 detects a rectangle in which the divided image core portion is enlarged, and the image dividing means 5 counts the number of enlarged rectangles 71 and combined rectangles 81 described later. Step 38 for determining whether or not the number is 1, and if the number is 1, the fact is displayed on the screen or the like to end the processing, and if the number is not 1, the image is divided. The means 5 comprises a step 39 of generating and checking a dividing line for dividing each small image in the image area. At this time, if the generated dividing line intersects the final rectangle, the image dividing unit 5 deletes the portion where the dividing line intersects.
Thereby, even if the small images are not properly arranged in a grid pattern, it is possible to generate a dividing line for accurately dividing the small image.

図21は、前記ステップ31の背景明度検出の動作フロー図であり、このフローは、背景検出手段4が画像取込部2で取り込んだ画像を構成する画像の明度の頻度分布を求めるステップ41と、明度の頻度の平均値を求めるステップ42と、明度の頻度の平均値より多い頻度を有する明度を背景明度とするステップ43を備える。図8の画素の明度の頻度分布に示すごとく、背景明度が暗い場合に、明度の暗い部分にピークが存在し、そのピークのある明度の暗い部分以外には特にピークのない頻度分布となることが多い。これは、背景明度は全て同じなので、背景明度の頻度は高くなるのに対し、画像部分は多くの場合多種多様な明度が存在するので、背景明度と比較して頻度が高くならないからである。   FIG. 21 is an operation flow chart of the background lightness detection in the step 31. This flow includes a step 41 for obtaining the lightness frequency distribution of the images constituting the image captured by the image capturing unit 2 by the background detection means 4. Step 42 for obtaining an average value of the brightness frequency, and Step 43 for setting the brightness having a frequency higher than the average value of the brightness frequency as the background brightness. As shown in the frequency distribution of lightness of the pixels in FIG. 8, when the background lightness is dark, a peak exists in a dark part of the lightness, and there is a frequency distribution in which there is no particular peak other than the dark part of the lightness with the peak. There are many. This is because the background lightness is high because the background lightness is the same, while the image portion often has a wide variety of lightnesses, so the frequency does not increase compared to the background lightness.

次に、ステップ42において背景検出手段4は、頻度の平均値31を求める。背景検出手段4は、頻度の平均値を超えた頻度を有する明度を背景明度とする。
背景明度は、暗い場合だけでなく、明るい場合や、任意の明度の場合でも同様であり、発明者は画像明度の平均値を超えた頻度を有する明度から、正確且つ容易に背景明度を検出することが可能となった。
Next, in step 42, the background detection means 4 obtains the average value 31 of the frequencies. The background detection means 4 sets the lightness having a frequency exceeding the average value of the frequencies as the background lightness.
The background lightness is the same not only in the case of darkness but also in the case of lightness or arbitrary lightness. The inventor detects the background lightness accurately and easily from the lightness having a frequency exceeding the average value of the image lightness. It became possible.

また、画像領域に枠の部分がなくて全て画像の場合には、背景検出手段4は背景明度を検出することができないが、この場合には、明度の頻度分布において、明度の頻度平均値を超えた頻度を有する明度が、1個所にまとまることなく全般的に分布することになる。背景検出手段4は、このような明度の頻度分布の場合には、背景が存在しないと判断することができる。   In the case where the image area has no frame portion and is all images, the background detection unit 4 cannot detect the background lightness. In this case, in the lightness frequency distribution, the lightness frequency average value is calculated. Lightness having a frequency that exceeds the frequency is generally distributed in one place. In the case of such a lightness frequency distribution, the background detection means 4 can determine that there is no background.

前記ステップ34の分割画像コア部の検出について、図9に示すごとく、画像分割手段5は、画像領域をY軸に平行な細かな短冊状領域ごとに背景明度以外の明度の頻度を求めて、これをヒストグラム41として表す。   Regarding the detection of the divided image core portion in the step 34, as shown in FIG. 9, the image dividing means 5 obtains the frequency of the brightness other than the background brightness for each fine strip-shaped area parallel to the Y axis. This is represented as a histogram 41.

同様に、画像分割手段5は、画像領域をX軸に平行な細かな短冊状領域ごとに背景明度以外の明度の頻度を求めて、これをヒストグラム42として表す。   Similarly, the image dividing unit 5 obtains the frequency of lightness other than the background lightness for each fine strip-shaped region parallel to the X axis, and represents this as a histogram 42.

画像分割手段5は、このようにして得られたヒストグラム41、42において、予め設定された設定値よりも大きい頻度を有する短冊状領域を求め、その短冊状領域の交差する部分を分割画像コア部43として検出する。この設定値は、前述した小画像を検出するための設定値44とは異なり、小画像に加え文字情報等の微小情報も検出し得る明度の頻度の設定とするものである。   In the histograms 41 and 42 obtained in this way, the image dividing means 5 obtains a strip-shaped area having a frequency higher than a preset setting value, and determines the intersecting portion of the strip-shaped areas as a divided image core section. Detected as 43. This setting value is different from the setting value 44 for detecting the small image described above, and is a setting of the frequency of brightness that can detect minute information such as character information in addition to the small image.

前記ステップ37のコア部を拡大した矩形検出について、図10に示すごとく、画像分割手段5は、画像領域中の分割画像コア部43の4個の頂点(A、B、C、D)について、分割画像コア部43を構成する矩形ABCDの外側方向に、背景明度に達するまで伸長させていく。更に詳しく頂点Aを矩形ABCDの外側方向であってY軸方向に明度が背景明度になるまで伸長させ、背景明度になった点をAyとする。同様に、頂点Aを矩形ABCDの外側方向であってY軸方向に明度が背景明度になるまで伸長させ、背景明度になった点をAxとする。同じ操作を残りの頂点B、C、Dについても行う。
このようにして得られたAx、Ay、Bx、By、Cx、Cy、Dx、Dyの全てを包含し、且つ面積が最小となる矩形として拡大矩形51を検出する。
Regarding the rectangle detection in which the core part of step 37 is enlarged, as shown in FIG. 10, the image dividing means 5 performs the four vertexes (A, B, C, D) of the divided image core part 43 in the image region. The rectangle ABCD constituting the divided image core unit 43 is extended in the outward direction until the background brightness is reached. In more detail, the vertex A is extended in the Y axis direction outside the rectangle ABCD until the lightness reaches the background lightness, and the point where the lightness becomes the background light is defined as Ay. Similarly, the vertex A is extended in the Y axis direction outside the rectangle ABCD until the lightness reaches the background lightness, and the point at which the background lightness is reached is defined as Ax. The same operation is performed for the remaining vertices B, C, and D.
The enlarged rectangle 51 is detected as a rectangle that includes all of Ax, Ay, Bx, By, Cx, Cy, Dx, and Dy thus obtained and has the smallest area.

このようにして各分割画像コア部63を拡大していくと、拡大矩形51同士で重なり合う場合が生じる。その場合には、図11の拡大矩形の結合説明図に表すように、画像分割手段5は、重なり合った全ての拡大矩形51を含み、面積が最小となる矩形の結合矩形61を検出するものである。   When the respective divided image core parts 63 are enlarged in this way, the enlarged rectangles 51 may overlap each other. In that case, as shown in the enlarged explanatory view of the combined rectangle of FIG. 11, the image dividing means 5 detects the combined rectangle 61 that includes all the overlapped enlarged rectangles 51 and has the smallest area. is there.

前記ステップ38の矩形の個数の判断において、このようにして最終的に得られた拡大矩形51、結合矩形61の個数をカウントし、その個数が1個であるか否かの判断を行う。そして、個数が1個と判断された場合は、その旨を画面等に表示して処理を終了し、個数が1個でないと判断された場合は、ステップ39で、画像分割手段5は、画像領域中の各小画像領域を分割するための分割線を生成する。分割線は、隣り合う最終矩形の対向する辺と辺の真ん中に設けることができる。この際、画像分割手段5は、生成した分割線のチェックを行い、分割線が最終矩形と交わっている場合は、分割線の交わっている部分を削除して処理を終了する。これにより、小画像領域が格子状に整列していなくても、正確に小画像領域を分割するための分割線を生成することができる。   In the determination of the number of rectangles in step 38, the number of the enlarged rectangle 51 and the combined rectangle 61 finally obtained in this way is counted, and it is determined whether or not the number is one. If the number is determined to be one, the fact is displayed on the screen or the like and the process is terminated. If it is determined that the number is not one, in step 39, the image dividing means 5 A dividing line for dividing each small image area in the area is generated. The dividing line can be provided at the opposite side of the adjacent final rectangle and in the middle of the side. At this time, the image dividing unit 5 checks the generated dividing line. If the dividing line intersects with the final rectangle, the image dividing unit 5 deletes the portion where the dividing line intersects and ends the process. Thereby, even if the small image areas are not aligned in a lattice pattern, it is possible to generate a dividing line for accurately dividing the small image area.

このように本発明の画像処理装置における中精度分割モードにあっては、前述した高精度分割モードで画像を分解しない場合に、取り込んだ画像から背景明度を検出し、この背景明度以外の明度の頻度分布を求めることによって、文字情報等の微小情報を付随する小画像領域の配置を正確に検出し、小画像領域の分割、小画像領域を分割するための分割線の生成等を容易にかつ正確に行うことが可能となる。   As described above, in the medium accuracy division mode in the image processing apparatus of the present invention, when the image is not decomposed in the above-described high accuracy division mode, the background lightness is detected from the captured image, and lightness other than this background lightness is detected. By obtaining the frequency distribution, it is possible to accurately detect the arrangement of the small image area accompanied by minute information such as character information, and to easily divide the small image area, generate a dividing line for dividing the small image area, and the like. It becomes possible to carry out accurately.

本発明の画像処理装置、処理方法及び処理プログラムは、図1に示すように、コンピュータのCPU、メモリ、補助記憶装置、ディスプレイ、入力デバイス等を含むハードウェア資源上に構築されたOS、アプリケーション、データベース、ネットワークシステム等によって実現されるものであり、画像処理が上記のハードウェア資源を用いて具体的に実現されるものであるから、自然法則を利用した技術的思想に該当するものであり、コンピュータ製造等の産業において利用することができるものである。   As shown in FIG. 1, an image processing apparatus, a processing method, and a processing program of the present invention include an OS, an application built on hardware resources including a computer CPU, memory, auxiliary storage device, display, input device, and the like. Since it is realized by a database, a network system, etc., and image processing is specifically realized by using the above hardware resources, it falls under the technical idea using the laws of nature, It can be used in industries such as computer manufacturing.

1 画像処理装置
2 画像取込部
3 画像処理部
4 背景検出手段
5 画像分割手段
11 スキャンライン
12 スキャンライン
13 タイトル部
14 全画像領域シード
15 スキャンライン部分
16 全画像領域
17 小画像
18 仮分割線
19 仮分割線
20 小画像領域
21 文字情報
31 頻度平均値
32 背景明度の範囲
41 ヒストグラム
42 ヒストグラム
43 分割画像コア部
51 拡大矩形
61 結合矩形
DESCRIPTION OF SYMBOLS 1 Image processing apparatus 2 Image acquisition part 3 Image processing part 4 Background detection means 5 Image division means 11 Scan line 12 Scan line 13 Title part 14 All image area seeds 15 Scan line part 16 All image areas 17 Small image 18 Temporary division line 19 Temporary dividing line 20 Small image area 21 Character information 31 Frequency average value 32 Background brightness range 41 Histogram 42 Histogram 43 Divided image core 51 Enlarged rectangle 61 Combined rectangle

Claims (11)

画像を取り込む画像取込部と、
取り込んだ画像の領域中の画像以外の背景部分を検出する背景検出手段と、前記取り込んだ画像中に含まれる画像情報を有する複数の小画像及び該小画像に付随する文字情報を小画像ごとに分割する画像分割手段と、からなる画像処理部と、を備えた画像処理装置であって、
前記背景検出手段は、前記取り込んだ画像の明度の頻度分布から背景部分を検出し、
前記画像分割手段は、前記背景検出手段が検出した前記背景部分以外の画像領域から背景部分以外の明度の頻度分布を用いて前記小画像を検出し、
かつ前記取り込んだ画像を前記背景部分以外の明度の頻度分布を用いて前記小画像及び前記文字情報を含んで縦方向と横方向に分割してなる帯状領域を、縦のスキャンライン及び横のスキャンラインとして検出し、
該縦のスキャンライン及び横のスキャンラインを重ね合わせて重なり合った領域を、前記複数の小画像を包含する全画像領域を抽出するための全画像領域シードとして検出し、
該全画像領域シードの最外周を矩形に囲繞する境界を設定してその内側を全画像領域とし、
該全画像領域中に前記文字情報を付随した各小画像が均等な面積の領域を有して中央近傍に配置されるべく、前記全画像領域と前記小画像の配置とから前記全画像領域を縦横に均等に分割する仮分割線を設定し、
該仮分割線で前記全画像領域シードを分割して、前記文字情報を付随する各小画像を分割し、該小画像及び付随する前記文字情報を合成して小画像領域を検出することを特徴とする画像処理装置。
An image capture unit for capturing images;
Background detection means for detecting a background portion other than an image in the area of the captured image, a plurality of small images having image information included in the captured image, and character information associated with the small image for each small image An image processing apparatus comprising: an image dividing means for dividing; and an image processing unit comprising:
The background detection means detects a background portion from the brightness frequency distribution of the captured image,
The image dividing unit detects the small image from the image area other than the background part detected by the background detection unit using a frequency distribution of brightness other than the background part,
In addition, a band-like region obtained by dividing the captured image into the vertical direction and the horizontal direction including the small image and the character information by using the frequency distribution of the brightness other than the background portion is divided into a vertical scan line and a horizontal scan. Detect as line,
Detecting an overlapped area of the vertical scan line and the horizontal scan line as an entire image area seed for extracting an entire image area including the plurality of small images;
Set a boundary that encloses the outermost periphery of the entire image region seed in a rectangle and set the inner side as the entire image region,
The entire image area is determined from the entire image area and the arrangement of the small images so that each small image accompanied by the character information in the entire image area has an area of an equal area and is arranged near the center. Set a temporary dividing line that divides the image horizontally and vertically,
Dividing the entire image region seed by the temporary dividing line, dividing each small image accompanied by the character information, and combining the small image and the accompanying character information to detect a small image region. An image processing apparatus.
前記背景検出手段は、取り込んだ画像を構成する画素の明度の頻度分布と、前記明度の頻度の平均値とを求め、該平均値を超えた頻度を有する明度を背景部分の明度である背景明度として検出することを特徴とする請求項1記載の画像処理装置。   The background detection means obtains a lightness frequency distribution of pixels constituting the captured image and an average value of the lightness frequencies, and the lightness having a frequency exceeding the average value is the lightness of the background portion. The image processing apparatus according to claim 1, wherein: 前記画像分割手段は、前記取り込んだ画像を構成する画素の明度のうち、背景明度以外の明度の頻度分布を求め、該頻度分布に基づいて前記取り込んだ画像の画像領域中における予め設定した設定値を超える明度の頻度から前記小画像の配置を求めることを特徴とする請求項1又は2記載の画像処理装置。   The image dividing means obtains a frequency distribution of brightness other than background brightness among the brightness of pixels constituting the captured image, and a preset set value in an image area of the captured image based on the frequency distribution The image processing apparatus according to claim 1, wherein the arrangement of the small images is obtained from a frequency of brightness exceeding. 前記背景検出手段は、全画像領域シードにおける周期性を求め、全画像領域シード中の周期性のない単独のタイトル部を除外することを特徴とする請求項1〜3の何れかに記載の画像処理装置。   The image according to claim 1, wherein the background detection unit obtains periodicity in all image region seeds and excludes a single title portion having no periodicity in all image region seeds. Processing equipment. 前記画像分割手段は、仮分割線が全画像領域シードを貫く場合に、隣接する小画像領域同士の間隔が狭いものと判断して全画像領域シードの全領域を、検出した小画像の数に応じて等間隔に分割して小画像領域とすることを特徴とする請求項1〜4の何れかに記載の画像処理装置。   When the provisional dividing line passes through the entire image region seed, the image dividing unit determines that the interval between adjacent small image regions is narrow, and determines the total region of all image region seeds to the number of detected small images. The image processing apparatus according to claim 1, wherein the image processing apparatus is divided into equal image areas to form a small image area. 画像を取り込む画像取込部と、
取り込んだ画像の領域中の画像以外の背景部分を検出する背景検出手段と、前記取り込んだ画像中に含まれる画像情報を有する複数の小画像及び該小画像に付随する文字情報を小画像ごとに分割する画像分割手段と、からなる画像処理部と、を備えた画像処理装置を用いて画像を処理する方法であって、
前記背景検出手段により、前記取り込んだ画像の明度の頻度分布から背景部分を検出し、
前記画像分割手段により、前記背景検出手段が検出した前記背景部分以外の画像領域から背景部分以外の明度の頻度分布を用いて前記小画像を検出し、
かつ前記取り込んだ画像を背景部分以外の明度の頻度分布を用いて前記小画像及び前記文字情報を含んで縦方向と横方向に分割してなる帯状領域を、縦のスキャンライン及び横のスキャンラインとして検出し、
該縦のスキャンライン及び横のスキャンラインを重ね合わせて重なり合った領域を前記複数の小画像を包含する全画像領域を抽出するための全画像領域シードとして検出し、
該全画像領域シードの最外周を矩形に囲繞する境界を設定してその内側を全画像領域とし、
該全画像領域中に前記文字情報を付随した各小画像が均等な面積の領域を有して中央近傍に配置されるべく、前記全画像領域と前記小画像の配置とから前記全画像領域を縦横に均等に分割する仮分割線を設定し、
該仮分割線で前記全画像領域シードを分割して、前記文字情報を付随する各小画像を分割し、該小画像及び付随する前記文字情報を合成して小画像領域を検出することを特徴とする画像処理方法。
An image capture unit for capturing images;
Background detection means for detecting a background portion other than an image in the area of the captured image, a plurality of small images having image information included in the captured image, and character information associated with the small image for each small image A method of processing an image using an image processing device comprising an image dividing means for dividing, and an image processing unit comprising:
The background detection means detects a background portion from the brightness frequency distribution of the captured image,
The image dividing unit detects the small image from the image area other than the background part detected by the background detection unit using a frequency distribution of brightness other than the background part,
A strip-like region obtained by dividing the captured image into the vertical direction and the horizontal direction including the small image and the character information using a frequency distribution of brightness other than the background portion is divided into a vertical scan line and a horizontal scan line. Detect as
Detecting an overlapped area of the vertical scan line and the horizontal scan line as an entire image area seed for extracting an entire image area including the plurality of small images;
Set a boundary that encloses the outermost periphery of the entire image region seed in a rectangle and set the inner side as the entire image region,
The entire image area is determined from the entire image area and the arrangement of the small images so that each small image accompanied by the character information in the entire image area has an area of an equal area and is arranged near the center. Set a temporary dividing line that divides the image horizontally and vertically,
Dividing the entire image region seed by the temporary dividing line, dividing each small image accompanied by the character information, and combining the small image and the accompanying character information to detect a small image region. An image processing method.
前記背景検出手段により、取り込んだ画像を構成する画素の明度の頻度分布と、前記明度の頻度の平均値とを求め、該平均値を超えた頻度を有する明度を背景部分の明度である背景明度として検出することを特徴とする請求項6記載の画像処理方法。   The background detection means obtains a lightness frequency distribution of pixels constituting the captured image and an average value of the lightness frequencies, and the lightness having a frequency exceeding the average value is the lightness of the background portion. The image processing method according to claim 6, wherein: 前記画像分割手段により、前記取り込んだ画像を構成する画素の明度のうち、背景明度以外の明度の頻度分布を求め、該頻度分布に基づいて前記取り込んだ画像の画像領域中における予め設定した設定値を超える明度の頻度から前記小画像の配置を求めることを特徴とする請求項6又は7記載の画像処理方法。   The image dividing means obtains a frequency distribution of brightness other than the background brightness among the brightness of pixels constituting the captured image, and a preset set value in the image area of the captured image based on the frequency distribution The image processing method according to claim 6, wherein the arrangement of the small images is obtained from a frequency of brightness exceeding. 前記背景検出手段により、全画像領域シードにおける周期性を求め、全画像領域シード中の周期性のない単独のタイトル部を除外することを特徴とする請求項6〜8の何れかに記載の画像処理方法。   9. The image according to claim 6, wherein the background detection means obtains periodicity in all image region seeds and excludes a single title portion having no periodicity in all image region seeds. Processing method. 前記画像分割手段により、仮分割線が全画像領域シードを貫く場合に、隣接する小画像領域同士の間隔が狭いものと判断して全画像領域シードの全領域を、検出した小画像の数に応じて等間隔に分割して小画像領域とすることを特徴とする請求項6〜9の何れかに記載の画像処理方法。   When the temporary dividing line passes through the entire image area seed by the image dividing means, it is determined that the interval between adjacent small image areas is narrow, and the total area of all the image area seeds is set to the number of detected small images. The image processing method according to claim 6, wherein the image processing method is divided into equal image areas corresponding to the small image areas. 取り込んだ画像から画像情報を有する複数の小画像及び該小画像に付随する文字情報を小画像ごとに分割させる画像処理プログラムであって、
画像を取り込む画像取込部と、
取り込んだ画像の領域中の画像以外の背景部分を検出する背景検出手段と、前記取り込んだ画像中に含まれる画像情報を有する複数の小画像及び該小画像に付随する文字情報を小画像ごとに分割する画像分割手段と、からなる画像処理部と、を備えた画像処理装置において、
前記背景検出手段により前記取り込んだ画像の明度の頻度分布から背景部分を検出するステップと、
前記画像分割手段により前記背景検出手段が検出した前記背景部分以外の画像領域から背景部分以外の明度の頻度分布を用いて前記小画像を検出するステップと、
前記画像分割手段により前記取り込んだ画像を前記背景部分以外の明度の頻度分布を用いて前記小画像及び前記文字情報を含んで縦方向と横方向に分割してなる帯状領域を、縦のスキャンライン及び横のスキャンラインとして検出するステップと、
前記画像分割手段により前記縦のスキャンライン及び横のスキャンラインを重ね合わせて重なり合った領域を、前記複数の小画像を包含する全画像領域を抽出するための全画像領域シードとして検出するステップと、
前記画像分割手段により前記全画像領域シードの最外周を矩形に囲繞する境界を設定してその内側を全画像領域とするステップと、
前記画像分割手段により前記全画像領域中に前記文字情報を付随した各小画像が均等な面積の領域を有して中央近傍に配置されるべく、前記全画像領域と前記小画像の配置とから前記全画像領域を縦横に均等に分割する仮分割線を設定するステップと、
前記画像分割手段により前記仮分割線で前記全画像領域シードを分割して、前記文字情報を付随する各小画像を分割し、該小画像及び付随する前記文字情報を合成して小画像領域を検出するステップと、
を実行させることを特徴とする画像処理プログラム。
An image processing program for dividing a plurality of small images having image information from captured images and character information accompanying the small images for each small image,
An image capture unit for capturing images;
Background detection means for detecting a background portion other than an image in the area of the captured image, a plurality of small images having image information included in the captured image, and character information associated with the small image for each small image In an image processing apparatus comprising an image dividing means for dividing, and an image processing unit comprising:
Detecting a background portion from a frequency distribution of brightness of the image captured by the background detection means;
Detecting the small image from the image area other than the background portion detected by the background detection unit using the frequency distribution of brightness other than the background portion by the image dividing unit;
A band-like region formed by dividing the image captured by the image dividing unit into the vertical direction and the horizontal direction including the small image and the character information using a frequency distribution of brightness other than the background portion is formed as a vertical scan line. And detecting as a horizontal scan line;
Detecting a region overlapped by overlapping the vertical scan line and the horizontal scan line by the image dividing means as an entire image region seed for extracting all image regions including the plurality of small images;
Setting a boundary that surrounds the outermost periphery of the entire image region seed in a rectangle by the image dividing means and setting the inner side as the entire image region;
From the entire image area and the arrangement of the small images, the image dividing means causes each small image accompanied by the character information in the entire image area to have an area with an equal area and be arranged near the center. Setting a temporary dividing line for equally dividing the entire image area vertically and horizontally;
The image dividing means divides the entire image region seed by the temporary dividing line, divides each small image accompanied by the character information, and synthesizes the small image and the accompanying character information to form a small image region. Detecting step;
An image processing program for executing
JP2009121450A 2009-05-19 2009-05-19 Image processing apparatus, processing method, and processing program Active JP5204035B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009121450A JP5204035B2 (en) 2009-05-19 2009-05-19 Image processing apparatus, processing method, and processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009121450A JP5204035B2 (en) 2009-05-19 2009-05-19 Image processing apparatus, processing method, and processing program

Publications (2)

Publication Number Publication Date
JP2010271802A JP2010271802A (en) 2010-12-02
JP5204035B2 true JP5204035B2 (en) 2013-06-05

Family

ID=43419793

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009121450A Active JP5204035B2 (en) 2009-05-19 2009-05-19 Image processing apparatus, processing method, and processing program

Country Status (1)

Country Link
JP (1) JP5204035B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111684489B (en) * 2018-12-04 2023-07-11 华为技术有限公司 Image processing method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4494553B2 (en) * 1999-06-04 2010-06-30 アレイ株式会社 Image processing apparatus and method
JP2003058223A (en) * 2001-08-09 2003-02-28 Ishikawajima Harima Heavy Ind Co Ltd Process design support apparatus and method
JP2007282771A (en) * 2006-04-14 2007-11-01 Konica Minolta Medical & Graphic Inc Medical information processor, and program

Also Published As

Publication number Publication date
JP2010271802A (en) 2010-12-02

Similar Documents

Publication Publication Date Title
KR102883767B1 (en) Defect inspection method, defect inspection device
EP2477468A2 (en) Substrate inspection system
KR20060051443A (en) Fault detection device and fault detection method
US9978558B2 (en) Scanning-electron-microscope image processing device and scanning method
US20130044953A1 (en) Image processing apparatus, image processing method, and computer-readable, non-transitory medium
JP4558232B2 (en) IMAGE PROCESSING METHOD, IMAGE PROCESSING DEVICE, AND COMPUTER-READABLE RECORDING MEDIUM RECORDING PROGRAM FOR CAUSING COMPUTER TO EXECUTE IMAGE PROCESSING METHOD
US8675256B2 (en) Image processing apparatus, image processing method, and storage medium
JP2016200970A (en) Main subject detection method, main subject detection device, and program
US8553985B2 (en) Image processing apparatus, image processing method and computer-readable medium
US8139861B2 (en) Character extracting apparatus, method, and program
JP2015135540A (en) Image feature point extraction method, defect inspection method, and defect inspection device
JP5144415B2 (en) Defect review apparatus, defect review method, and defect review execution program
JPH11337498A (en) Apparatus and method for inspecting printed circuit board
JP5204035B2 (en) Image processing apparatus, processing method, and processing program
JP2015145819A (en) Tool inspection method and tool inspection apparatus
JP4841819B2 (en) Defect detection by color image of an object
JP5005732B2 (en) Image forming apparatus and image processing method
JP2002310937A (en) Defect inspection method and device
US20110187721A1 (en) Line drawing processing apparatus, storage medium storing a computer-readable program, and line drawing processing method
US11080860B2 (en) Image inspection method
TWI510776B (en) Bubble inspection processing method for glass
KR101521620B1 (en) method of segmentation of die image for semiconductor device examination
JP4825888B2 (en) Document image processing apparatus and document image processing method
JP4629718B2 (en) Boundary detection method, program, and image processing apparatus
JP5157963B2 (en) Object detection device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120418

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130130

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130208

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130214

R150 Certificate of patent or registration of utility model

Ref document number: 5204035

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20160222

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250