JP2022169232A - Image processing device - Google Patents
Image processing device Download PDFInfo
- Publication number
- JP2022169232A JP2022169232A JP2021075134A JP2021075134A JP2022169232A JP 2022169232 A JP2022169232 A JP 2022169232A JP 2021075134 A JP2021075134 A JP 2021075134A JP 2021075134 A JP2021075134 A JP 2021075134A JP 2022169232 A JP2022169232 A JP 2022169232A
- Authority
- JP
- Japan
- Prior art keywords
- image processing
- characters
- enlarged
- graphic
- character
- 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
Links
Images
Landscapes
- Editing Of Facsimile Originals (AREA)
- Controls And Circuits For Display Device (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
- Record Information Processing For Printing (AREA)
Abstract
Description
この発明は、画像処理装置に関する。 The present invention relates to an image processing device.
従来、MFP(Multifunction Peripheral:多機能周辺装置)などの画像読取機能を有する画像形成装置において、読み取った原稿画像や文書画像をOCR(Optical Character Recognition/光学的文字認識)処理することによって文字認識をする技術が知られている。 Conventionally, character recognition is performed by OCR (Optical Character Recognition) processing of scanned original images and document images in image forming devices such as MFPs (Multifunction Peripherals) that have an image reading function. There are known techniques for
このような文字認識技術を用いた発明として、文書中の指定サイズよりも小さい文字を一定の規則で自動的に大きくすることができる文字編集処理装置の発明が開示されている(例えば、特許文献1を参照)。 As an invention using such character recognition technology, there has been disclosed an invention of a character editing processing device capable of automatically enlarging characters smaller than a specified size in a document according to a certain rule (see, for example, Patent Document 1).
ところで、学術論文やレポート等の文書は、通常小さい文字と図・表が混在しているが、加齢などにより、これらの文書の文字や図・表が小さくて見えづらいことがある。 By the way, documents such as academic papers and reports usually contain a mixture of small characters and figures/tables.
しかしながら、文字認識技術で認識された文字を拡大すると、図・表と比べて文字のみ大きくなって相対的な位置関係や比率が大きく変わることもあり、その結果、図・表全体のレイアウトが崩れてしまって、拡大前よりもかえって文字が見えづらくなるという問題があった。 However, when the characters recognized by character recognition technology are enlarged, only the characters become larger than the figures and tables, and the relative positional relationship and ratio may change significantly, resulting in the collapse of the overall layout of the figures and tables. As a result, there is a problem that the characters are more difficult to see than before enlargement.
一方、文字を含む図・表の全体を一律に同じ比率で拡大する方法もあるが、この場合、拡大された文字に対して図・表が必要以上に大きくなることもあり、その結果、図・表の周囲の文章の配列等のレイアウトが崩れてしまって、拡大前よりもかえって文字が見えづらくなるという問題もあった。 On the other hand, there is also a method of enlarging the entire figure/table including text at the same ratio.・There was also the problem that the layout of the sentences around the table collapsed, making it more difficult to see the characters than before enlargement.
この発明は、以上のような事情を考慮してなされたものであって、その目的は、文字と図・表が混在した文書であっても、従来よりもレイアウトが見やすいように拡大表示できる画像処理装置を提供するものである。 The present invention has been made in consideration of the circumstances described above, and its object is to provide an image display method that can enlarge and display even a document in which characters and figures/tables are mixed so that the layout is easier to see than before. A processing device is provided.
(1)この発明は、文字および図形を含む画像データを解析して予め定められた画像処理を行う画像処理部と、前記画像処理部を制御する制御部とを備え、前記画像処理部が画像データ中の文字のサイズを予め定められた指定サイズ以上に拡大する拡大編集処理を行う場合、前記制御部は、前記画像処理部に前記画像データを解析して文字情報および図形情報を別々に抽出させ、前記図形内に前記指定サイズ未満の文字が含まれる場合、前記図形内に収まる範囲で前記文字を拡大した後、前記図形内に再配置することを特徴とする画像処理装置を提供するものである。 (1) The present invention comprises an image processing section that analyzes image data including characters and graphics and performs predetermined image processing, and a control section that controls the image processing section, wherein the image processing section When performing enlargement editing processing for enlarging the size of characters in data to a predetermined size or larger, the control unit causes the image processing unit to analyze the image data and extract character information and graphic information separately. and, when a character smaller than the specified size is included in the graphic, the character is enlarged within a range that fits within the graphic, and then rearranged within the graphic. is.
この発明において、「図形内に前記指定サイズ未満の文字が含まれる場合」は、表の各セルなどのように図形の内部に文字が含まれる場合に限られず、例えば、「表1」などの見出しや軸のラベル・タイトル、キャプションなど、当該図形の一部と一般的に考えられる要素は、図形の内部に文字が含まれるものとする。
「前記図形内に収まる範囲で前記文字を拡大」は、予め定められた余白の大きさ(例えば、1mmなど)以上を有するように、図形内に収まるように文字を拡大することである。
In the present invention, "when a figure contains characters smaller than the specified size" is not limited to cases where characters are included inside the figure, such as each cell of a table. Elements such as headings, axis labels/titles, captions, etc., which are generally considered to be part of the graphics, shall contain characters inside the graphics.
“Enlarging the character within the range of the figure” means enlarging the character so as to fit within the figure so as to have a predetermined margin size (for example, 1 mm) or more.
この発明によれば、文字と図・表が混在した文書であっても、従来よりもレイアウトが見やすいように拡大表示する画像処理装置が実現される。 According to the present invention, it is possible to realize an image processing apparatus that enlarges and displays even a document in which characters and figures/tables are mixed so that the layout is easier to see than before.
従来の図形内の文字の拡大編集処理においては、文字を含む図形全体を一律に同じ比率で拡大していたが、この発明では、文字情報および図形情報を別々に抽出してから、図形内に収まるように文字を拡大再配置するため、拡大前の図形と文字の位置関係にとらわれることなく文字を拡大することができる点で、文字を含む図形全体の一律的な拡大処理よりも有利である。 In conventional enlarging and editing processing of characters in a figure, the entire figure including characters is uniformly enlarged at the same ratio. Since the characters are enlarged and rearranged so that they fit, it is possible to enlarge the characters regardless of the positional relationship between the figure and the characters before enlargement. .
さらに、この発明の好ましい態様について説明する。 Furthermore, preferred embodiments of the present invention will be described.
(2)この発明の画像処理装置において、ユーザーからの指令を受け付ける操作部をさらに備え、前記操作部が画像データ中の文字のサイズを予め定められた指定サイズ以上に拡大する拡大編集指令を受け付けた場合、前記制御部は、前記画像処理部に前記画像データを解析して文字情報および図形情報を別々に抽出させ、前記図形内に前記指定サイズ未満の文字が含まれる場合、前記図形内に収まる範囲で前記文字を拡大した後、前記図形内に再配置するものであってもよい。 (2) The image processing apparatus of the present invention further includes an operation unit for receiving a command from a user, and the operation unit receives an enlargement editing command for enlarging the size of characters in the image data to a predetermined specified size or more. In this case, the control unit causes the image processing unit to analyze the image data and extract character information and graphic information separately. After enlarging the character within the range that it fits, the character may be rearranged within the figure.
このようにすれば、ユーザーから拡大編集指令を受け付けた場合においても、図形内に収まる範囲で文字が指定サイズ以上になるよう、文字および図形が拡大再配置されるため、文字と図・表が混在した文書であっても、従来よりもレイアウトが見やすいように拡大表示する画像処理装置が実現される。 In this way, even when an enlargement editing command is received from the user, the characters and figures are enlarged and rearranged so that the characters are larger than the specified size within the range of the figures. It is possible to realize an image processing apparatus that enlarges and displays a mixed document so that the layout is easier to see than before.
(3)この発明の画像処理装置において、前記制御部は、前記図形内に収まる範囲で前記文字を拡大しても、前記指定サイズ以上に前記文字を拡大できない場合、前記図形内に収まる範囲で前記文字が前記指定サイズ以上になるよう、前記画像処理部に前記図形および前記文字を拡大再配置させるものであってもよい。 (3) In the image processing apparatus of the present invention, if the character cannot be enlarged beyond the specified size even if the character is enlarged within the range of the figure, the control section enlarges the character within the figure. The graphics and characters may be enlarged and rearranged by the image processing unit so that the characters are larger than the designated size.
このようにすれば、図形内に収まる範囲で文字が指定サイズ以上になるよう、文字および図形が拡大再配置されるため、文字と図・表が混在した文書であっても、拡大前の図形と文字の位置関係にとらわれることなく、従来よりもレイアウトが見やすいように拡大表示する画像処理装置を実現できる。 In this way, the characters and graphics are enlarged and rearranged so that the characters are larger than the specified size within the range of the figure. It is possible to realize an image processing apparatus that enlarges and displays the layout so that the layout is easier to see than before, without being bound by the positional relationship between the characters.
(4)この発明の画像処理装置において、前記制御部は、前記図形を拡大しても前記指定サイズ以上に前記文字を拡大できない場合、前記文字および図形を含む画像データが段組構造を有するか否かを判定し、段組構造を有する場合は、前記画像処理部に前記段組構造を解除して、前記図形内に収まる範囲で前記文字が前記指定サイズ以上になるよう、前記文字および図形を拡大再配置させるものであってもよい。 (4) In the image processing apparatus of the present invention, if the character cannot be enlarged beyond the designated size even if the figure is enlarged, the controller determines whether the image data including the character and the figure has a multi-column structure. If there is a multi-column structure, the image processing unit cancels the multi-column structure and adjusts the character and the graphic so that the character is larger than the designated size within the range of the graphic. may be enlarged and rearranged.
このようにすれば、図形を拡大しても、指定サイズ以上に図形内の文字を拡大できない場合であっても、段組構造を有する場合は、段組構造を解除して、図形内に収まる範囲で文字が指定サイズ以上になるよう、文字および図形を拡大再配置するため、文字と図・表が混在した文書であっても、従来よりもレイアウトが見やすいように拡大表示する画像処理装置を実現できる。 In this way, even if the figure is enlarged, even if the characters in the figure cannot be enlarged beyond the specified size, if the figure has a multi-column structure, the multi-column structure will be canceled and the character will fit within the figure. In order to enlarge and rearrange the characters and figures so that the characters are larger than the specified size within the range, we developed an image processing device that enlarges and displays the layout of documents that contain a mixture of characters and figures/tables. realizable.
(5)この発明の画像処理装置において、前記制御部は、前記画像処理部に前記文字および図形を拡大再配置させる場合、前記図形外の文字から前記図形を示すキーワードを抽出し、前記キーワードから予め定められた範囲内に前記図形を再配置させるものであってもよい。 (5) In the image processing apparatus of the present invention, when causing the image processing section to enlarge and rearrange the characters and graphics, the control section extracts a keyword indicating the graphics from characters outside the graphics, and extracts a keyword indicating the graphics from the keywords. The graphics may be rearranged within a predetermined range.
「前記図形を示すキーワードを抽出」は、例えば、「図XXに示す」、「図XXを参照」など、図形を示すキーワードである。
「前記キーワードから予め定められた範囲内」は、例えば、キーワードと同じ頁内や、キーワードが頁の上側にある場合は、当該頁の上半分、キーワードが頁の下側にある場合は、当該頁の下半分などである。
"Extract a keyword indicating the figure" is a keyword indicating the figure, such as "shown in Figure XX" or "see Figure XX".
"Within a predetermined range from the keyword" means, for example, within the same page as the keyword, or in the upper half of the page when the keyword is on the top of the page, and on the bottom of the page when the keyword is on the bottom of the page. such as the bottom half of the page.
このようにすれば、文字および図形を拡大再配置する場合、前記図形外の文字から前記図形を示すキーワードを抽出し、前記キーワードから予め定められた範囲内に前記図形を再配置するため、文字と図・表が混在した文書であっても、従来よりもレイアウトが見やすいように拡大表示する画像処理装置を実現できる。 In this manner, when enlarging and rearranging characters and figures, a keyword indicating the figure is extracted from characters outside the figure, and the figure is rearranged within a predetermined range from the keyword. It is possible to realize an image processing apparatus that enlarges and displays even a document in which figures and tables are mixed so that the layout is easier to see than before.
(6)この発明の画像処理装置において、前記制御部は、前記図形を拡大しても前記指定サイズ以上に前記文字を拡大できない場合、前記図形を頁全体に拡大した新たな頁を前記画像処理部に出力させるものであってもよい。 (6) In the image processing apparatus of the present invention, if the character cannot be enlarged beyond the specified size even if the figure is enlarged, the control unit performs the image processing on a new page in which the figure is enlarged to the entire page. It may be output to the department.
このようにすれば、図形を拡大しても指定サイズ以上に図形内の文字を拡大できない場合、前記図形を頁全体に拡大した新たな頁を出力するため、文字と図・表が混在した文書であっても、従来よりもレイアウトが見やすいように拡大表示する画像処理装置を実現できる。 In this manner, when the characters in the figure cannot be enlarged beyond the specified size even if the figure is enlarged, a new page with the figure enlarged to the entire page is output. Even so, it is possible to realize an image processing apparatus that enlarges and displays the layout so that it is easier to see than before.
〔実施形態1〕
以下、図1および図2に基づき、この発明の画像処理装置の一実施形態であるデジタル複合機1の概略構成について説明する。
[Embodiment 1]
1 and 2, a schematic configuration of a digital multi-function peripheral 1, which is an embodiment of the image processing apparatus of the present invention, will be described.
図1は、この発明の実施形態1に係るデジタル複合機1の外観を示す斜視図である。
FIG. 1 is a perspective view showing the appearance of a digital multifunction peripheral 1 according to
デジタル複合機1は、画像データをデジタル処理し、複写機能やスキャナ機能、ファクシミリ機能を有する複合機やMFPなどの装置である。 The digital multifunction peripheral 1 is a device such as a multifunction peripheral or MFP that digitally processes image data and has a copying function, a scanner function, and a facsimile function.
デジタル複合機1は、操作部172(図2参照)や通信部15(図2参照)を介して受付けたユーザーからの指示に基づいてスキャナ、印刷およびコピーのジョブを実行する。 The digital multifunction peripheral 1 executes scanning, printing, and copying jobs based on user instructions received via the operation unit 172 (see FIG. 2) and the communication unit 15 (see FIG. 2).
続いて、図2に基づき、デジタル複合機1の電気的な構成を簡単に説明する。 Next, based on FIG. 2, the electrical configuration of the digital multifunction peripheral 1 will be briefly described.
図2は、図1のデジタル複合機1の電気的構成を示すブロック図である。 FIG. 2 is a block diagram showing the electrical configuration of the digital multi-function peripheral 1 of FIG. 1. As shown in FIG.
図2に示すように、デジタル複合機1は、制御部10、画像データ取得部11、画像形成部12、記憶部13、画像処理部14、通信部15、給紙部16および操作パネル17を備える。
As shown in FIG. 2, the digital multifunction peripheral 1 includes a
以下、デジタル複合機1の各構成要素について説明する。 Each component of the digital multifunction peripheral 1 will be described below.
制御部10は、デジタル複合機1を統合的に制御するものであって、CPU、RAM、ROM、各種のインターフェース回路等からなる。
制御部10は、デジタル複合機1全体の動作をコントロールするために、各センサの検知、モーター、クラッチ、操作パネル17等、あらゆる負荷の監視・制御を行う。
The
In order to control the overall operation of the digital
画像データ取得部11は、原稿台に置かれた原稿や原稿トレイから搬送されてきた原稿を検知して読み取り、画像データを生成する部分である。
また、画像データ取得部11は、ネットワークを介して外部の情報処理装置から画像データを取得するものであってもよい。
また、画像データ取得部11は、USB等に記録された画像データを取得するものであってもよい。
The image
Also, the image
Also, the image
画像形成部12は、画像データ取得部11によって取得され、画像処理部14によって処理された画像データを用紙上に印刷出力する部分であり、LSU121を備える。
The
LSU121は、デジタル信号からなる画像データの情報に対応するレーザー光を帯電状態にある図示しない感光体ドラムの表面に照射して、静電潜像を形成する装置である。
The
記憶部13は、デジタル複合機1の各種機能を実現するために必要な情報や、制御プログラムなどを記憶する素子や記憶媒体である。例えば、RAMやROM等の半導体素子、ハードディスク、フラッシュ記憶部、SSD等の記憶媒体が用いられる。
The
記憶部13は、印刷等のジョブに関する情報や画像データなどジョブの実行に必要なデータを記憶する。
また、記憶部13は、実行されたジョブデータを履歴情報として記憶する。
また、記憶部13は、ユーザー認証用に記憶されたユーザーのログイン名やパスワードなどの情報を記憶する。
The
Further, the
The
なお、データを保持する領域をハードディスクドライブで、プログラムを保持する領域をフラッシュ記憶部で構成するといったように、プログラムとデータが異なる装置に保持されてもよい。 Note that programs and data may be held in different devices, such as a hard disk drive as the data holding area and a flash storage unit as the program holding area.
画像処理部14は、操作部172を通じて取得された印刷等のジョブの指令の解析結果に基づき、画像データ取得部11から入力された画像データを適正な電気信号に変換して拡大・縮小等の出力に適するように処理を行う部分である。
The
また、画像処理部14は、図・表を拡大しても当該図・表内の文字が見えにくい場合は、当該図・表を頁全体まで拡大した新たな頁の画像データを出力するように画像データの処理を行う。
Further, when the characters in the figure/table are difficult to see even if the figure/table is enlarged, the
通信部15は、ネットワークを介して、外部の携帯端末2等と通信を行い、ジョブの履歴状況や当該ジョブの再送信や削除等の指示など、種々の情報を送受信する部分である。
The
給紙部16は、給紙カセット、手差トレイに格納された用紙を画像形成部12まで搬送する部分である。
The
操作パネル17は、液晶パネル等から構成された表示パネルと、表示パネルに重ねて配置され、指がタッチされた位置を検出する静電容量方式等のタッチパネルとから構成され、表示部171および操作部172を備える。
The
表示部171は、各種情報の表示を行う部分である。
表示部171は、例えば、CRTディスプレイ、液晶ディスプレイ、ELディスプレイなどで構成され、オペレーティングシステムやアプリケーションソフトウェアが処理状態など電子的なデータを表示するためのモニタやラインディスプレイなどの表示装置である。
The
The
制御部10は、表示部171を通じて、デジタル複合機1の動作および状態の表示を行う。
The
操作部172は、デジタル複合機1を操作するためのインターフェースであり、ユーザーからの指令を受け付ける部分である。
The
<この発明の実施形態1に係るデジタル複合機1の画像編集処理の流れ>
次に、図3~図7に基づき、この発明の実施形態1に係るデジタル複合機1の画像編集処理の流れについて説明する。
<Flow of Image Editing Process of
Next, the flow of image editing processing of the digital multifunction peripheral 1 according to the first embodiment of the present invention will be described with reference to FIGS. 3 to 7. FIG.
<従来の画像編集処理の問題点>
最初に、図3に基づき、従来の画像編集処理の問題点について説明する。
<Problems with conventional image editing processing>
First, based on FIG. 3, the problems of conventional image editing processing will be described.
図3は、従来のデジタル複合機の画像編集処理の一例を示す説明図である。
図3(A)(B)はそれぞれ、画像編集前および画像編集後の画像データの編集の一例を示す説明図である。
FIG. 3 is an explanatory diagram showing an example of image editing processing of a conventional digital multi-function peripheral.
FIGS. 3A and 3B are explanatory diagrams showing an example of editing of image data before image editing and after image editing, respectively.
図3(A)において、図形(長方形の枠)内に文字情報が含まれる画像データにおいて、当該文字情報を拡大する場合を想定する。 In FIG. 3A, it is assumed that the character information is enlarged in the image data including the character information in the figure (rectangular frame).
この場合、従来の画像拡大処理では、図3(B)に示すように、文字情報を図形ごと一定の比率で拡大するのが通常であった。 In this case, in conventional image enlargement processing, as shown in FIG. 3(B), character information is normally enlarged for each figure at a fixed ratio.
しかしながら、ユーザーにとっては、図形内の一部の文字情報が小さくて見えづらいために、ユーザーが見やすい大きさに当該文字情報を拡大できれば十分であることが多い。
それゆえ、すでに大きくて見やすい文字情報や図形までも大きくする必要はない。
However, since some character information in the graphic is too small to be seen by the user, it is often sufficient if the character information can be enlarged to a size that is easy for the user to see.
Therefore, there is no need to enlarge even character information and graphics that are already large and easy to see.
また、図形も大きくすると、当該図形の周囲の文字情報C3(図3の網掛け部分)の配列も大きく変わってしまう。 In addition, if the figure is enlarged, the arrangement of the character information C3 (shaded portion in FIG. 3) around the figure also changes greatly.
例えば、図3(A)に示すように、図形の右側に「左の枠内の文字情報によると~」と表示され、ページの一番下に「ここで、上の枠内の文字情報をもう一度参照してほしい。~」と表示されているものとする。 For example, as shown in FIG. 3(A), "According to the character information in the left frame..." is displayed on the right side of the figure, and at the bottom of the page, "Here, the character information in the upper frame is Please refer to it again." is displayed.
ここで、図3(B)に示すように、文字情報を図形ごと拡大すると、当該図形の周囲の文字情報の配列が大きく変わってしまう。
その結果、図形の下側に「左の枠内の文字情報によると~」と表示され、ページの一番下の「ここで、上の枠内の文字情報をもう一度参照してほしい。~」が次ページに表示されてしまうため、拡大前よりもかえって情報が把握しづらくなるおそれがある。
Here, as shown in FIG. 3B, if the character information is enlarged for each figure, the arrangement of the character information around the figure changes greatly.
As a result, "According to the text information in the left frame" is displayed at the bottom of the figure, and "Here, please refer to the text information in the upper frame again." at the bottom of the page. will be displayed on the next page, so there is a risk that it will be more difficult to grasp the information than before the enlargement.
図4は、この発明の実施形態1に係るデジタル複合機1の画像編集処理の一例を示すフローチャートである。
図5は、図1のデジタル複合機1の画像編集処理の一例を示す説明図である。
図5(A)(B)はそれぞれ、画像編集前および画像編集後の画像データの編集の一例を示す説明図である。
FIG. 4 is a flow chart showing an example of image editing processing of the digital multi-function peripheral 1 according to
FIG. 5 is an explanatory diagram showing an example of image editing processing of the
FIGS. 5A and 5B are explanatory diagrams showing an example of image data editing before and after image editing, respectively.
図4において、図5(A)の文字情報C2のような小さくて見えづらい文字を拡大する拡大編集処理を開始した場合を想定する。 In FIG. 4, it is assumed that enlargement editing processing for enlarging a small and hard-to-see character such as the character information C2 in FIG. 5A is started.
なお、制御部10は、操作部172がユーザーから拡大編集指令を受け付けたときも、前記画像処理部に拡大編集処理を実行させるようにしてもよい。
Note that the
図4のステップS1において、制御部10は、画像データ取得部11が取得した画像データの画像解析を画像処理部14に行わせ、当該画像データの文字および図形情報を別々に抽出させる(ステップS1)。
In step S1 of FIG. 4, the
図5(A)の例では、長方形の枠状の図形情報D1と、図形情報D1内の2つの文字情報C1,C2と、網掛け部分で示された文字情報C3が抽出されている。 In the example of FIG. 5A, the rectangular frame-shaped graphic information D1, two pieces of character information C1 and C2 in the graphic information D1, and the character information C3 indicated by hatching are extracted.
次に、図4のステップS2において、制御部10は、抽出した図形情報中に文字情報が含まれるか否かを判定する(ステップS2)。
Next, in step S2 of FIG. 4, the
ここで、「図形情報中に文字情報が含まれる」とは、表の各セルなどのように図形の内部に文字が含まれる場合に限られず、例えば、「表1」などの見出しや軸のラベル・タイトル、キャプションなど、当該図形の一部と一般的に考えられる要素は、図形の内部に文字が含まれるものとする。 Here, "text information is included in graphic information" is not limited to the case where characters are included in the graphic such as each cell of a table. Elements such as labels, titles, captions, etc., which are generally considered to be part of the graphics, shall include characters inside the graphics.
また、数式の場合は、文字のみであっても、図形の内部に文字が含まれる場合としてもよい。 Further, in the case of mathematical formulas, even if only characters are used, characters may be included inside the figure.
抽出した図形情報中に文字情報が含まれない場合(ステップS2の判定がNoの場合)、ステップS3において、制御部10は、所定サイズ未満の文字情報がある場合は、当該文字情報が所定サイズ以上になるように画像処理部14に拡大させる(ステップS3)。
If character information is not included in the extracted graphic information (determination in step S2 is No), in step S3, if there is character information smaller than the predetermined size, the
一方、抽出した図形情報中に文字情報が含まれる場合(ステップS2の判定がYesの場合)、ステップS4において、制御部10は、図形内の文字サイズと図形の大きさなどを分析する(ステップS4)。
On the other hand, if character information is included in the extracted graphic information (if the determination in step S2 is Yes), in step S4, the
続くステップS5において、制御部10は、図形内の文字サイズと図形の大きさなどの分析結果に基づき、図形内に収まる範囲内で所定サイズ以上に文字の拡大再配置が可能か否かを判定する(ステップS5)。
In the following step S5, the
ここで、「図形内に収まる範囲内で所定サイズ以上に文字の拡大再配置」とは、予め定められた余白の大きさ(例えば、1mmなど)以上を有するように、図形内に収まるように文字を拡大することである。 Here, "enlarging and rearranging the characters to a predetermined size or more within the range that fits within the figure" means having a predetermined margin size (for example, 1 mm) or more, so that the characters fit within the figure. Enlarging letters.
図形内に収まる範囲内で所定サイズ以上に文字の拡大再配置が可能な場合(ステップS5の判定がYesの場合)、ステップS6において、制御部10は、図形内に収まる範囲内で所定サイズ以上に文字を画像処理部14に拡大再配置させる(ステップS6)。
If the characters can be enlarged and rearranged to a predetermined size or more within the range that fits within the figure (if the determination in step S5 is Yes), in step S6, the
図5(B)の例においては、図5(A)において小さくて見えづらい文字情報C2のみが図形情報D1内に収まる範囲で拡大再配置されている。 In the example of FIG. 5B, only the character information C2, which is small and difficult to see in FIG. 5A, is enlarged and rearranged within the graphic information D1.
一方、図4のステップS5において、図形内に収まる範囲内で所定サイズ以上に文字の拡大再配置が可能でない場合(ステップS5の判定がNoの場合)、ステップS7において、制御部10は、図形を拡大後、図形内に収まる範囲内で所定サイズ以上に文字を画像処理部14に拡大再配置させる(ステップS7)。
On the other hand, in step S5 of FIG. 4, if it is not possible to enlarge and rearrange the characters to a predetermined size or more within the range within the graphic (if the determination in step S5 is No), in step S7, the
この場合、制御部10は、図形内の文字が所定サイズ以上になるように、図形を画像処理部14に拡大させるものとする。
In this case, the
図6は、従来のデジタル複合機の画像編集処理の別の一例を示す説明図である。
図6(A)(B)はそれぞれ、画像編集前および画像編集後の画像データの編集の一例を示す説明図である。
FIG. 6 is an explanatory diagram showing another example of image editing processing of a conventional digital multi-function peripheral.
FIGS. 6A and 6B are explanatory diagrams showing an example of image data editing before and after image editing, respectively.
図6(A)において、表内に文字情報が含まれる画像データにおいて、当該文字情報を拡大する場合を想定する。 In FIG. 6A, it is assumed that, in image data including text information in a table, the text information is enlarged.
この場合、従来の画像拡大処理では、図6(B)に示すように、文字情報を含む表全体を一律に拡大するのが通常であった。 In this case, in conventional image enlargement processing, as shown in FIG. 6(B), it was normal to uniformly enlarge the entire table including character information.
しかしながら、文字情報とともに表の枠も大きくすると、当該表の周囲の文字情報(図6の網掛け部分)の配列も大きく変わってしまうため、拡大前よりもかえって情報が把握しづらくなるおそれがある。 However, if the frame of the table is enlarged together with the character information, the arrangement of the character information around the table (the shaded portion in FIG. 6) will also change significantly, so there is a risk that the information will be more difficult to grasp than before enlargement. .
図7は、図1のデジタル複合機1の画像編集処理の別の一例を示す説明図である。
図7(A)(B)はそれぞれ、画像編集前および画像編集後の画像データの編集の一例を示す説明図である。
FIG. 7 is an explanatory diagram showing another example of image editing processing of the digital multi-function peripheral 1 of FIG.
FIGS. 7A and 7B are explanatory diagrams showing an example of image data editing before and after image editing, respectively.
図7(A)の例では、表全体の図形情報D1と、表内の18の文字情報C1~C18と、網掛け部分で示された文字情報C19が抽出されている。 In the example of FIG. 7A, graphic information D1 of the entire table, 18 character information C1 to C18 in the table, and character information C19 indicated by hatching are extracted.
図7(B)の例においては、図7(A)において小さくて見えづらい文字情報C1~C18が図形情報D1内に収まる範囲で拡大再配置されている。 In the example of FIG. 7B, the character information C1 to C18, which are small and difficult to see in FIG. 7A, are enlarged and rearranged within the graphic information D1.
ここで、従来の表の拡大と異なる点は、図6(B)に示す例では、表の余白部分も文字情報と同様に拡大されるが、図7(B)では、文字が表内に収まる範囲内で、図形情報D1および文字情報C1~C18が拡大再配置される。 Here, the difference from conventional table enlargement is that in the example shown in FIG. The graphic information D1 and the character information C1 to C18 are enlarged and rearranged within a range that fits.
それゆえ、従来の表全体の単なる拡大処理と異なり、表の周囲の文字情報C19(図7の網掛け部分)の配列を大きく崩すことなく、文字情報C1~C18のみを見やすいサイズに拡大できる点で、ユーザーの利便性が高い。 Therefore, unlike the conventional process of simply enlarging the entire table, only the character information C1 to C18 can be enlarged to a size that is easy to see without greatly disturbing the arrangement of the character information C19 (shaded portion in FIG. 7) around the table. and user-friendliness.
実際、図6(B)および図7(B)の表内の文字情報のフォントのサイズは同一であるが、図6(B)よりも図7(B)のほうがコンパクトに表内に収まっていることがわかる。 In fact, although the font sizes of the character information in the tables of FIGS. 6B and 7B are the same, the table of FIG. 7B fits more compactly than the table of FIG. 6B. I know there is.
(変形例)
なお、実施形態1の変形例として、拡大再配置すべき図形情報がモノクロのグラフを含む場合は、当該モノクロのグラフの濃淡に基づき、カラーのグラフとして拡大再配置するようにしてもよい。
(Modification)
As a modification of the first embodiment, when the graphic information to be enlarged and rearranged includes a monochrome graph, the graph may be enlarged and rearranged as a color graph based on the shades of the monochrome graph.
一方、拡大再配置すべき図形情報がカラーのグラフを含む場合は、当該カラーのグラフの色彩に基づき、グラフの線の形状の変更や、マーカーの追加など、モノクロのグラフとして拡大再配置するようにしてもよい。 On the other hand, if the graphic information to be enlarged and rearranged includes a color graph, it will be enlarged and rearranged as a monochrome graph by changing the shape of the graph line, adding markers, etc., based on the colors of the relevant color graph. can be
このようにして、文字情報および図形情報を別々に抽出してから、図形内に収まるように文字および図形を拡大再配置することにより、拡大前の図形と文字の位置関係にとらわれることなく文字および図形を拡大することができるため、文字と図・表が混在した文書であっても、従来よりもレイアウトが見やすいように拡大表示するデジタル複合機1を実現できる。 In this way, character information and graphic information are separately extracted, and then the characters and graphics are enlarged and rearranged so that they fit within the graphic. Since figures can be enlarged, it is possible to realize the digital multifunction peripheral 1 that enlarges and displays even a document in which characters and figures/tables are mixed so that the layout is easier to see than before.
〔実施形態2〕
<この発明の実施形態2に係るデジタル複合機1の画像編集処理>
次に、図8~図10に基づき、この発明の実施形態2に係るデジタル複合機1の画像編集処理について説明する。
[Embodiment 2]
<Image Editing Process of
Next, image editing processing of the digital multi-function peripheral 1 according to Embodiment 2 of the present invention will be described with reference to FIGS. 8 to 10. FIG.
この発明の実施形態2に係るデジタル複合機1は、図2(実施形態1)のデジタル複合機1と同じ構成を有するため、説明を省略する。 A digital multi-function peripheral 1 according to Embodiment 2 of the present invention has the same configuration as the digital multi-function peripheral 1 of FIG. 2 (Embodiment 1), so description thereof will be omitted.
図8は、この発明の実施形態2に係るデジタル複合機1の画像編集処理の一例を示すフローチャートである。
なお、図8のステップS11~S16の処理は、図4(実施形態1)のステップS1~S6の処理にそれぞれ対応するため、説明を省略する。
FIG. 8 is a flow chart showing an example of image editing processing of the digital multi-function peripheral 1 according to Embodiment 2 of the present invention.
Note that the processing of steps S11 to S16 in FIG. 8 corresponds to the processing of steps S1 to S6 in FIG. 4 (embodiment 1), respectively, so description thereof will be omitted.
ここでは、実施形態1に記載のない図8のステップS17~S20の処理について説明する。 Here, processing of steps S17 to S20 in FIG. 8, which are not described in the first embodiment, will be described.
図8のステップS15において、図形内に収まる範囲内で所定サイズ以上に文字の拡大再配置が可能でない場合(ステップS15の判定がNoの場合)、ステップS17において、制御部10は、図形を拡大しても所定サイズ未満か否かを判定する(ステップS17)。
In step S15 of FIG. 8, if it is not possible to enlarge and rearrange the characters to a predetermined size or more within the range within the graphic (if the determination in step S15 is No), in step S17, the
図形を拡大すると所定サイズ以上になる場合(ステップS17の判定がNoの場合)、ステップS18において、制御部10は、図形を拡大後、図形内に収まる範囲内で所定サイズ以上に文字を画像処理部14に拡大再配置させる(ステップS18)。
その後、制御部10は、後述するステップS20の処理を行う。
If the enlarged figure becomes larger than the predetermined size (if the determination in step S17 is No), in step S18, after enlarging the figure, the
After that, the
一方、図形を拡大しても所定サイズ未満の場合(ステップS17の判定がYesの場合)、ステップS19において、制御部10は、文字情報が段組構造かつ段組構造の解除が可能な場合に、図形を拡大後、図形内に収まる範囲内で所定サイズ以上に文字を画像処理部14に拡大再配置させる(ステップS19)。
On the other hand, if the enlarged figure is still smaller than the predetermined size (if the determination in step S17 is Yes), in step S19, the
次に、ステップS20において、制御部10は、文字情報から図形を示すキーワード(例えば、「図XXに示す」、「図XXを参照」など)を抽出し、当該キーワード近くに関連する拡大図形を再配置する(ステップS20)。
Next, in step S20, the
図9は、この発明の実施形態2に係るデジタル複合機1の画像編集処理の一例を示す説明図である。図9(A)(B)はそれぞれ、画像編集前および画像編集後の画像データの編集の一例を示す説明図である。 FIG. 9 is an explanatory diagram showing an example of image editing processing of the digital multifunction peripheral 1 according to Embodiment 2 of the present invention. FIGS. 9A and 9B are explanatory diagrams showing an example of image data editing before and after image editing, respectively.
図9(A)の例では、文字情報C19およびC20の2段組の構造を有する。
そして、予め定められた設定により、段組構造の解除が可能なら、図9(B)の例に示すように段組を解除して文字情報C1~C20および図形情報D1を必要に応じて拡大して再配置する。
The example of FIG. 9A has a two-column structure of character information C19 and C20.
If the multi-column structure can be canceled by a predetermined setting, the multi-column structure is canceled as shown in the example of FIG. to relocate.
なお、制御部10は、文頭の位置、文章内の余白や、句点やピリオド等の文章の終端文字の位置に基づき、当該文章が段組構造を有するか否か、またどのような段組構造を有するかを判定するものとする。
Note that the
図9(B)の例では、「表1によると」というキーワードが2頁目の文字情報C20に含まれるため、当該文字情報C20の近くに拡大された表1の図形情報D1が再配置される。 In the example of FIG. 9B, since the keyword "according to Table 1" is included in the character information C20 on the second page, the enlarged graphic information D1 of Table 1 is rearranged near the character information C20. be.
図10は、この発明の実施形態2に係るデジタル複合機1の画像編集後の画像データの別の一例を示す説明図である。
図10(A)(B)はそれぞれ、画像編集後の画像データの編集の例を示す説明図である。
FIG. 10 is an explanatory diagram showing another example of image data after image editing by the digital multifunction peripheral 1 according to the second embodiment of the present invention.
FIGS. 10A and 10B are explanatory diagrams showing examples of editing of image data after image editing.
図10(A)の例では、「表1によると」というキーワードが1頁目の文字情報C19に含まれるため、当該文字情報C19の近くに拡大された表1の図形情報D1が再配置される。 In the example of FIG. 10A, since the keyword "according to Table 1" is included in the character information C19 of the first page, the enlarged graphic information D1 of Table 1 is rearranged near the character information C19. be.
また、図10(B)の例では、「表1によると」というキーワードが2頁目の文字情報C20の下側に含まれるため、当該文字情報C20の近くに拡大された表1の図形情報D1が再配置される。 In addition, in the example of FIG. 10B, since the keyword "according to Table 1" is included below the character information C20 on the second page, the enlarged graphic information of Table 1 is displayed near the character information C20. D1 is rearranged.
このようにして、文字および図形を拡大再配置する場合、前記図形外の文字から前記図形を示すキーワードを抽出し、前記キーワードから予め定められた範囲内に前記図形を再配置するため、文字と図・表が混在した文書であっても、従来よりもレイアウトが見やすいように拡大表示するデジタル複合機1を実現できる。 In this way, when enlarging and rearranging characters and graphics, a keyword indicating the graphics is extracted from the characters outside the graphics, and the graphics are rearranged within a predetermined range from the keywords. It is possible to realize the digital multifunction peripheral 1 that enlarges and displays even a document in which figures and tables are mixed so that the layout is easier to see than before.
〔実施形態3〕
<この発明の実施形態3に係るデジタル複合機1の画像編集処理>
次に、図11および図12に基づき、この発明の実施形態3に係るデジタル複合機1の画像編集処理について説明する。
[Embodiment 3]
<Image Editing Process of
Next, image editing processing of the digital multi-function peripheral 1 according to Embodiment 3 of the present invention will be described with reference to FIGS. 11 and 12. FIG.
この発明の実施形態3に係るデジタル複合機1は、図2(実施形態1)のデジタル複合機1と同じ構成を有するため、説明を省略する。 A digital multi-function peripheral 1 according to Embodiment 3 of the present invention has the same configuration as that of the digital multi-function peripheral 1 of FIG.
図11は、この発明の実施形態3に係るデジタル複合機1の画像編集処理の一例を示すフローチャートである。
なお、図11のステップS21~S28およびS30の処理は、図8(実施形態2)のステップS11~S18およびS20の処理にそれぞれ対応するため、説明を省略する。
FIG. 11 is a flow chart showing an example of image editing processing of the digital multifunction peripheral 1 according to Embodiment 3 of the present invention.
11 correspond to steps S11 to S18 and S20 in FIG. 8 (embodiment 2), respectively, so description thereof will be omitted.
ここでは、実施形態2とは異なる図11のステップS29の処理について説明する。 Here, the process of step S29 in FIG. 11, which is different from that of the second embodiment, will be described.
図11のステップS27において、図形を拡大しても所定サイズ未満の場合(ステップS27の判定がYesの場合)、ステップS29において、制御部10は、図形を頁全体に拡大した新たな頁を画像処理部14に出力させ、当該別の頁に元の図の参照頁の情報を出力させる(ステップS29)。
In step S27 of FIG. 11, if the enlarged figure is still smaller than the predetermined size (if the determination in step S27 is Yes), in step S29, the
図12は、この発明の実施形態3に係るデジタル複合機1の画像編集処理の一例を示す説明図である。
図12(A)(B)はそれぞれ、画像編集前および画像編集後の画像データの編集の一例を示す説明図である。
FIG. 12 is an explanatory diagram showing an example of image editing processing of the digital multifunction peripheral 1 according to Embodiment 3 of the present invention.
FIGS. 12A and 12B are explanatory diagrams showing an example of editing of image data before image editing and after image editing, respectively.
図12(A)の例では、文字情報C19およびC20の2段組の構造を有する。
しかしながら、予め定められた設定により、段組構造の解除が可能でないものとする。
The example of FIG. 12A has a two-column structure of character information C19 and C20.
However, it is assumed that the column structure cannot be canceled due to a predetermined setting.
この場合、段組を解除せずに図形情報D1内の文字情報C1~C18を見やすいサイズまで拡大するのは不可能なので、代わりに図12(B)に示すように図形を頁全体に拡大した新たな頁を出力する。 In this case, it is impossible to enlarge the character information C1 to C18 in the graphic information D1 to a size that is easy to see without canceling the column setting. Output a new page.
また、図12(B)に示すように、当該別の頁に「表1(第1頁右欄より拡大)」と元の図の参照頁の情報もあわせて出力する。 In addition, as shown in FIG. 12B, "Table 1 (enlarged from the right column of the first page)" and the information of the reference page of the original figure are also output on the separate page.
このようにして、図形を拡大しても指定サイズ以上に図形内の文字を拡大できない場合、前記図形を頁全体に拡大した新たな頁を出力するため、文字と図・表が混在した文書であっても、従来よりもレイアウトが見やすいように拡大表示するデジタル複合機1を実現できる。 In this way, even if the figure is enlarged, if the characters in the figure cannot be enlarged beyond the specified size, a new page with the figure enlarged to the entire page is output. Even if there is, it is possible to realize the digital multi-function peripheral 1 that enlarges and displays the layout so that it is easier to see than before.
この発明の好ましい態様には、上述した複数の態様のうちの何れかを組み合わせたものも含まれる。
前述した実施の形態の他にも、この発明について種々の変形例があり得る。それらの変形例は、この発明の範囲に属さないと解されるべきものではない。この発明には、請求の範囲と均等の意味および前記範囲内でのすべての変形とが含まれるべきである。
Preferred aspects of the present invention include combinations of any of the aspects described above.
Various modifications of the present invention are possible in addition to the above-described embodiments. Those modifications should not be construed as not belonging to the scope of the present invention. The present invention should include all modifications within the scope of the claims, the meaning of equivalents, and the scope.
1:デジタル複合機、 10:制御部、 11:画像データ取得部、 12:画像形成部、 13:記憶部、 14:画像処理部、 15:通信部、 16:給紙部、 17:操作パネル、 121:LSU、 171:表示部、 172:操作部、 C1~C20:文字情報、 D1:図形情報 1: Digital MFP 10: Control Unit 11: Image Data Acquisition Unit 12: Image Forming Unit 13: Storage Unit 14: Image Processing Unit 15: Communication Unit 16: Paper Feed Unit 17: Operation Panel , 121: LSU, 171: display section, 172: operation section, C1 to C20: character information, D1: graphic information
Claims (6)
前記画像処理部を制御する制御部とを備え、
前記画像処理部が画像データ中の文字のサイズを予め定められた指定サイズ以上に拡大する拡大編集処理を行う場合、前記制御部は、前記画像処理部に前記画像データを解析して文字情報および図形情報を別々に抽出させ、
前記図形内に前記指定サイズ未満の文字が含まれる場合、前記図形内に収まる範囲で前記文字を拡大した後、前記図形内に再配置することを特徴とする画像処理装置。 an image processing unit that analyzes image data including characters and graphics and performs predetermined image processing;
A control unit that controls the image processing unit,
When the image processing unit performs enlargement editing processing for enlarging the size of characters in the image data to a predetermined specified size or more, the control unit causes the image processing unit to analyze the image data, character information and Let the graphic information be extracted separately,
An image processing apparatus, wherein when a character smaller than the specified size is included in the graphic, the character is enlarged within a range within the graphic and then rearranged within the graphic.
前記操作部が画像データ中の文字のサイズを予め定められた指定サイズ以上に拡大する拡大編集指令を受け付けた場合、前記制御部は、前記画像処理部に前記画像データを解析して文字情報および図形情報を別々に抽出させ、
前記図形内に前記指定サイズ未満の文字が含まれる場合、前記図形内に収まる範囲で前記文字を拡大した後、前記図形内に再配置する請求項1に記載の画像処理装置。 It further has an operation unit that accepts commands from the user,
When the operation unit receives an enlargement editing command for enlarging the size of characters in image data to a predetermined specified size or more, the control unit causes the image processing unit to analyze the image data and perform character information and Let the graphic information be extracted separately,
2. The image processing apparatus according to claim 1, wherein when a character smaller than the specified size is included in the graphic, the character is enlarged within a range within the graphic and then rearranged within the graphic.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021075134A JP2022169232A (en) | 2021-04-27 | 2021-04-27 | Image processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021075134A JP2022169232A (en) | 2021-04-27 | 2021-04-27 | Image processing device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2022169232A true JP2022169232A (en) | 2022-11-09 |
Family
ID=83944092
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021075134A Pending JP2022169232A (en) | 2021-04-27 | 2021-04-27 | Image processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2022169232A (en) |
-
2021
- 2021-04-27 JP JP2021075134A patent/JP2022169232A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8482788B2 (en) | Image processing apparatus, terminal, printer apparatus and image processing method, having image restoring function | |
US8411290B2 (en) | User interface apparatus, image processing apparatus, and computer program product | |
EP1764998A2 (en) | Image processing apparatus and computer program product | |
US8508787B2 (en) | System and method for automatic translation of documents scanned by multifunctional printer machines | |
US9491319B2 (en) | Display control device customizing content based on client display | |
US8516363B2 (en) | Image processing apparatus, computer program product, and preview image displaying method | |
JP2007160922A (en) | Image processor, program, and finish data movement method in image processor | |
US10306085B2 (en) | Information processing apparatus, control method of information processing apparatus, and recording medium | |
US11341733B2 (en) | Method and system for training and using a neural network for image-processing | |
US20190361647A1 (en) | Control method for image processing apparatus | |
US10860644B2 (en) | Image processing apparatus | |
JP2015167001A (en) | Information processing program, information processing device, information processing system, information processing method, image processor and image processing system | |
US10789022B2 (en) | Image processing apparatus in which a process repeatedly arranges a target image on a sheet | |
JP2006093917A (en) | Image reading apparatus and image processor, and image forming apparatus | |
US11074441B2 (en) | Image processing apparatus, storage medium, and image processing method for performing image repeat print processing | |
JP6917285B2 (en) | Image forming device | |
JP6714872B2 (en) | Image forming device | |
JP2022169232A (en) | Image processing device | |
US6851875B2 (en) | Printer and print image reference system | |
US11269496B2 (en) | Information processing apparatus, control method, and storage medium | |
US10915800B2 (en) | Image forming apparatus that acquires fixed data and plurality of pieces of variable data according to user's instruction, and executes variable printing | |
JP6205973B2 (en) | Change history output device, program | |
JP2004341697A (en) | Structure for displaying printer setting and computer readable recording medium | |
US10437823B2 (en) | Handwritten contents aggregation device and non-transitory computer-readable recording medium | |
JP6607042B2 (en) | Image forming apparatus and image forming method |