[go: up one dir, main page]

JP2008210323A - Layout evaluation apparatus, electronic device, layout evaluation method, and control program - Google Patents

Layout evaluation apparatus, electronic device, layout evaluation method, and control program Download PDF

Info

Publication number
JP2008210323A
JP2008210323A JP2007048627A JP2007048627A JP2008210323A JP 2008210323 A JP2008210323 A JP 2008210323A JP 2007048627 A JP2007048627 A JP 2007048627A JP 2007048627 A JP2007048627 A JP 2007048627A JP 2008210323 A JP2008210323 A JP 2008210323A
Authority
JP
Japan
Prior art keywords
layout
image
complexity
evaluation
frame
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.)
Withdrawn
Application number
JP2007048627A
Other languages
Japanese (ja)
Inventor
Michihiro Nagaishi
道博 長石
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2007048627A priority Critical patent/JP2008210323A/en
Publication of JP2008210323A publication Critical patent/JP2008210323A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Analysis (AREA)

Abstract

【課題】枠付き画像全体のレイアウトを定量的に評価可能な指標を得ることができるレイ
アウト評価装置、電子機器、レイアウト評価方法及び制御プログラムを提供する。
【解決手段】レイアウト枠内にひとまとまりの画像をレイアウトした枠付きレイアウト画
像に対し、ひとまとまりの画像及びレイアウト枠を表す画像の周囲に存在する「場」であ
って、「場」の強さが画像からの距離に依存し、画像に近いほど大きな値を持つ視覚の誘
導場を計算する視覚の誘導場計算部13と、この視覚の誘導場における等ポテンシャル値
を結ぶ線の閉曲面の複雑度を計算し、この複雑度と等ポテンシャル値との対応関係をシグ
モイド関数で近似した場合のシグモイド関数の尺度母数を計算して、この尺度母数に基づ
いてレイアウトを評価するレイアウト評価部14を備えるようにした。
【選択図】図9
A layout evaluation apparatus, an electronic apparatus, a layout evaluation method, and a control program capable of obtaining an index capable of quantitatively evaluating the layout of an entire framed image.
A layout image with a frame in which a group of images are laid out in a layout frame is a “field” existing around the group of images and the image representing the layout frame, and the strength of the “field” Depends on the distance from the image, and the visual induction field calculation unit 13 for calculating a visual induction field having a larger value as it is closer to the image, and the complexity of the closed curved surface of the line connecting the equipotential values in this visual induction field The layout evaluation unit 14 calculates a degree, calculates a scale parameter of the sigmoid function when the correspondence between the complexity and the equipotential value is approximated by a sigmoid function, and evaluates the layout based on the scale parameter. I was prepared to.
[Selection] Figure 9

Description

本発明は、レイアウト枠内にレイアウト対象のひとまとまりの画像をレイアウトした画
像を評価するレイアウト評価装置、電子機器、レイアウト評価方法及び制御プログラムに
関する。
The present invention relates to a layout evaluation apparatus, an electronic apparatus, a layout evaluation method, and a control program for evaluating an image obtained by laying out a group of images to be laid out in a layout frame.

従来、図形や文字のレイアウトには、組版などの配置規則(例えば、JIS規格のX4
051の規定)が存在するものの、この規則だけで図形や文字を最も読みやすくレイアウ
トするのは困難な場合がある。このため、レイアウトの作成やレイアウトの良し悪しの判
断は、デザイナーのセンスに頼っているのが実情であり、デザイナー以外がレイアウトの
良し悪しを定量的に判断することはできなかった。
この実情を背景として、近年、「視覚の誘導場」の概念を利用することによって、レイ
アウトの良し悪しを定量化する指標を求める技術が提案されている(例えば特許文献1参
照)。
Conventionally, layouts such as typesetting have been used for graphic and character layouts (for example, JIS standard X4).
However, there are cases where it is difficult to lay out figures and characters in the most readable manner with this rule alone. For this reason, the actual situation is that the creation of the layout and the judgment of the quality of the layout depend on the sense of the designer, and other than the designer cannot quantitatively judge the quality of the layout.
Against this background, in recent years, a technique has been proposed for obtaining an index for quantifying the quality of a layout by using the concept of “visual guidance field” (see, for example, Patent Document 1).

この特許文献1の技術では、図形や文字の周りに、印刷用紙の大きさを示すレイアウト
枠がない状態(図15(A)参照)、つまり、無限平面に図形や文字が配置された状態を
レイアウトの評価対象としており、このレイアウト枠がない画像に対して、視覚の誘導場
を計算し、その視覚の誘導場から等ポテンシャル線を得、各等ポテンシャル線の複雑度を
各々計算して、これら複雑度の平均値(以下、複雑度Cavという)をレイアウトの良し
悪しを評価する指標としている。
特開2003−30673号公報
In the technique of Patent Document 1, there is no layout frame indicating the size of the printing paper around the figure or character (see FIG. 15A), that is, the state where the figure or character is arranged on an infinite plane. Calculate the visual induction field for an image that has a layout evaluation target and does not have this layout frame, obtain an equipotential line from the visual induction field, calculate the complexity of each equipotential line, The average value of the complexity (hereinafter referred to as complexity Cav) is used as an index for evaluating the quality of the layout.
JP 2003-30673 A

しかし、一般に、図形や文字は印刷物として配布されるものであるため、図15(B)
に示すように、レイアウト枠Wと文書部分Xとの間の余白Yが文書の読みやすさに大きく
影響することは日常よく経験することである。また、この余白の設定は、ワードプロセッ
サのソフトを使用した場合でも、文書作成者が注視する設定である。
However, in general, graphics and characters are distributed as printed matter, so FIG.
As shown in FIG. 2, it is a common experience that the margin Y between the layout frame W and the document portion X greatly affects the readability of the document. The margin setting is a setting that the document creator pays attention to even when word processor software is used.

ところが、レイアウト枠Wを含めた枠付き画像を上記特許文献1の技術で評価しようと
した場合、図16に示すように、各画像の余白Yや行間などを変えて各々計算した複雑度
Cavと、各画像の読みやすさを感性評価した結果とが対応せず、レイアウトの評価が困
難になる。
例えば、図16に示すように、複雑度Cavが同じ値(複雑度C0)の場合に、「読み
にくい」評価のものと、「非常に読みやすい」評価のもの(範囲Areaに相当するもの
)とが混在し、この複雑度Cavだけで、「非常に読みやすい」評価のものか、つまり、
高評価のレイアウトのものかを正確に判断するのは困難である。
However, when an attempt is made to evaluate a framed image including the layout frame W by the technique of the above-mentioned Patent Document 1, as shown in FIG. 16, the complexity Cav calculated by changing the margin Y of each image, the line spacing, etc. As a result, the readability of each image does not correspond to the result of the sensibility evaluation, which makes it difficult to evaluate the layout.
For example, as shown in FIG. 16, when the complexity Cav is the same value (complexity C0), the evaluation of “difficult to read” and the evaluation of “very easy to read” (corresponding to the range Area) And this complexity Cav alone is a “very easy to read” evaluation,
It is difficult to accurately determine whether the layout is highly evaluated.

本発明は、上述した事情に鑑みてなされたものであり、枠付き画像のレイアウトを定量
的に評価可能な指標を得ることができるレイアウト評価装置、電子機器、レイアウト評価
方法及び制御プログラムを提供することにある。
The present invention has been made in view of the above-described circumstances, and provides a layout evaluation apparatus, an electronic device, a layout evaluation method, and a control program capable of obtaining an index capable of quantitatively evaluating the layout of a framed image. There is.

上述課題を解決するため、本発明は、レイアウト枠内にひとまとまりの画像をレイアウ
トした枠付きレイアウト画像のレイアウトを評価するレイアウト評価装置であって、前記
枠付きレイアウト画像に対し、前記ひとまとまりの画像及び前記レイアウト枠を表す画像
の周囲に存在する「場」であって、前記「場」の強さが画像からの距離に依存し、画像に
近いほど大きな値を持つ視覚の誘導場を計算する誘導場計算手段と、前記視覚の誘導場に
おける等ポテンシャル値を結ぶ線の閉曲面の複雑度を計算する複雑度計算手段と、前記複
雑度と等ポテンシャル値との対応関係をシグモイド関数で近似した場合のシグモイド関数
の尺度母数を計算する評価指標計算手段と、前記尺度母数に基づいてレイアウトを評価す
る評価手段とを備えることを特徴とする。
この発明によれば、枠付きレイアウト画像に対し、この画像にレイアウトしたひとまと
まりの画像、及び、レイアウト枠を示す画像の周囲に存在する「場」であって、「場」の
強さが画像からの距離に依存し、画像に近いほど大きな値を持つ視覚の誘導場を計算し、
この視覚の誘導場における等ポテンシャル値を結ぶ線の閉曲面の複雑度を計算し、この複
雑度と等ポテンシャル値との対応関係をシグモイド関数で近似した場合のシグモイド関数
の尺度母数を計算し、この尺度母数に基づいてレイアウトを評価するので、枠付き画像の
レイアウトを定量的に評価することが可能になる。
In order to solve the above-described problem, the present invention provides a layout evaluation apparatus for evaluating a layout of a framed layout image in which a group of images are laid out in a layout frame, and the grouped layout image is compared with the grouped layout image. The “field” that exists around the image and the image representing the layout frame, and the strength of the “field” depends on the distance from the image, and the visual induction field that has a larger value as it is closer to the image is calculated. Approximating the correspondence between the complexity and the equipotential value with a sigmoid function, and the complexity calculating means for calculating the complexity of the closed surface of the line connecting the equipotential values in the visual induction field And an evaluation index calculating means for calculating a scale parameter of the sigmoid function in the case of being performed, and an evaluation means for evaluating the layout based on the scale parameter. To.
According to the present invention, for a layout image with a frame, a group of images laid out on the image and a “field” existing around the image indicating the layout frame, where the strength of the “field” is the image Depending on the distance from the image, the visual guidance field that has a larger value closer to the image is calculated,
Calculate the complexity of the closed surface of the line connecting the equipotential values in this visual induction field, and calculate the scale parameter of the sigmoid function when the correspondence between this complexity and the equipotential value is approximated by a sigmoid function. Since the layout is evaluated based on the scale parameter, the layout of the framed image can be quantitatively evaluated.

上記構成において、前記シグモイド関数は、複雑度をC、ポテンシャル値をp、尺度母
数をT、レンジをa、オフセット値をb、パラメータをp0とした場合に、

Figure 2008210323
で定義することが好ましい。 In the above configuration, the sigmoid function has a complexity of C, a potential value of p, a scale parameter of T, a range of a, an offset value of b, and a parameter of p0.
Figure 2008210323
Is preferably defined as

また、上記構成において、前記尺度母数が所定の範囲内でない場合、評価対象である前
記枠付きレイアウト画像を異なるレイアウトの枠付きレイアウト画像に変更するレイアウ
ト変更手段を備えることが好ましい。この構成によれば、尺度母数が所定の範囲内でない
場合、レイアウト変更した枠付きレイアウト画像でレイアウトの良し悪しを再評価するこ
とができる。
In addition, in the above configuration, it is preferable that when the scale parameter is not within a predetermined range, layout changing means for changing the framed layout image to be evaluated to a framed layout image of a different layout is provided. According to this configuration, when the scale parameter is not within the predetermined range, the layout quality can be re-evaluated with the layout image with the frame changed.

また、上記構成において、前記ひとまとまりの画像は、文字又は図形のいずれかを含み
、前記レイアウト枠、前記レイアウト枠との間の余白、行間の少なくともいずれかを規定
するテンプレートを記憶する記憶手段を有し、前記誘導場計算手段は、前記テンプレート
に基づいて、前記ひとまとまりの画像が前記レイアウト枠にレイアウトされて前記枠付き
レイアウト画像に対して、前記視覚の誘導場を計算することが好ましい。この構成によれ
ば、使用者はレイアウト枠を予め設定する必要がない。
In the above configuration, the group of images includes either a character or a graphic, and storage means for storing a template that defines at least one of the layout frame, a margin between the layout frame and a line. Preferably, the guidance field calculation means calculates the visual guidance field for the framed layout image by laying out the group of images in the layout frame based on the template. According to this configuration, the user does not need to set a layout frame in advance.

また、上記構成において、前記複雑度の平均値を計算する平均複雑度計算手段と、前記
複雑度の平均値に基づいてレイアウトを評価する複雑度評価手段とを有し、前記複雑度評
価手段により、高いと評価された前記枠付きレイアウト画像に対し、前記視覚の誘導場を
計算することが好ましい。この構成によれば、複雑度の平均値に基づいてレイアウトを評
価し、高いと評価された枠付きレイアウト画像に対し、視覚の誘導場を計算するので、尺
度母数の算出回数を減らすことができ、処理量の軽減や処理時間の短縮化を図ることがで
きる。また、本発明は、上記レイアウト評価装置を備える電子機器に広く適用することが
可能である。
Further, in the above-mentioned configuration, it has an average complexity calculation means for calculating the average value of the complexity, and a complexity evaluation means for evaluating a layout based on the average value of the complexity, the complexity evaluation means Preferably, the visual induction field is calculated for the framed layout image evaluated as being high. According to this configuration, the layout is evaluated based on the average value of the complexity, and the visual induction field is calculated for the framed layout image evaluated to be high. It is possible to reduce the processing amount and the processing time. In addition, the present invention can be widely applied to electronic devices including the layout evaluation device.

また、本発明は、レイアウト枠内にひとまとまりの画像をレイアウトした枠付きレイア
ウト画像のレイアウトを評価するレイアウト評価方法であって、前記枠付きレイアウト画
像に対し、前記ひとまとまりの画像及び前記レイアウト枠を表す画像の周囲に存在する「
場」であって、前記「場」の強さが画像からの距離に依存し、画像に近いほど大きな値を
持つ視覚の誘導場を計算する誘導場計算ステップと、前記視覚の誘導場における等ポテン
シャル値を結ぶ線の閉曲面の複雑度を計算する複雑度計算ステップと、前記複雑度と等ポ
テンシャル値との対応関係をシグモイド関数で近似した場合のシグモイド関数の尺度母数
を計算する評価指標計算ステップと、前記尺度母数に基づいてレイアウトを評価する評価
ステップと、から構成されることを特徴とする。
この発明によれば、枠付きレイアウト画像に対し、この画像にレイアウトしたひとまと
まりの画像、及び、レイアウト枠を示す画像の周囲に存在する「場」であって、「場」の
強さが画像からの距離に依存し、画像に近いほど大きな値を持つ視覚の誘導場を計算し、
この視覚の誘導場における等ポテンシャル値を結ぶ線の閉曲面の複雑度を計算し、この複
雑度と等ポテンシャル値との対応関係をシグモイド関数で近似した場合のシグモイド関数
の尺度母数を計算し、この尺度母数に基づいてレイアウトを評価するので、枠付き画像の
レイアウトを定量的に評価することが可能になる。
The present invention is also a layout evaluation method for evaluating a layout of a framed layout image in which a group of images are laid out in a layout frame, wherein the grouped image and the layout frame are compared with the framed layout image. Exists around the image that represents
Field, wherein the strength of the field depends on the distance from the image, and a visual field that calculates a visual induction field having a larger value as the image is closer to the image, and the like in the visual induction field, etc. A complexity calculation step for calculating the complexity of the closed surface of the line connecting the potential values, and an evaluation index for calculating the scale parameter of the sigmoid function when the correspondence between the complexity and the equipotential value is approximated by a sigmoid function It comprises a calculation step and an evaluation step for evaluating a layout based on the scale parameter.
According to the present invention, for a layout image with a frame, a group of images laid out on the image and a “field” existing around the image indicating the layout frame, where the strength of the “field” is the image Depending on the distance from the image, the visual guidance field that has a larger value closer to the image is calculated,
Calculate the complexity of the closed surface of the line connecting the equipotential values in this visual induction field, and calculate the scale parameter of the sigmoid function when the correspondence between this complexity and the equipotential value is approximated by a sigmoid function. Since the layout is evaluated based on the scale parameter, the layout of the framed image can be quantitatively evaluated.

また、本発明は、以上説明したレイアウト評価装置、電子機器及びレイアウト評価方法
に適用する他、この発明を実施するための制御プログラムを電気通信回線を介してダウン
ロード可能にしたり、そのようなプログラムを、磁気記録媒体、光記録媒体、半導体記録
媒体といった、コンピュータに読み取り可能な記録媒体に記憶して配布する、といった態
様でも実施され得る。
In addition to being applied to the layout evaluation apparatus, electronic apparatus, and layout evaluation method described above, the present invention makes it possible to download a control program for carrying out the present invention via an electric communication line, or to download such a program. The present invention can also be implemented in such a manner that it is stored in a computer-readable recording medium such as a magnetic recording medium, an optical recording medium, or a semiconductor recording medium and distributed.

以下、図面を参照して本発明の実施形態を詳述する。
<第1実施形態>
本実施形態に係るレイアウト評価装置10は、「視覚の誘導場」という概念を用いてレ
イアウトを評価するため、まず、視覚の誘導場について説明する。
視覚の誘導場は、図形の周りに静電場のような場を仮定し、パターン認知などの視知覚
現象を説明する心理学的概念であり、横瀬善正著の“形の心理学”(名古屋大学出版会(
1986))に記載されている(以下、これを参考論文という)。
この参考論文では、視覚の誘導場(以下、単に誘導場と表記する)の分布の仕方が、例
えば、文字の類似性、錯視図形の解釈など、我々の物の見方、感じ方と関連するとしてい
る。この参考論文では、直線・円弧で構成された図形を対象としているため、任意のディ
ジタル画像の誘導場は求められない。ここでは、最初に白黒2値のディジタル画像(以下
、二値画像という)における誘導場の計算方法を示す。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
<First Embodiment>
Since the layout evaluation apparatus 10 according to the present embodiment evaluates a layout using the concept of “visual guidance field”, the visual guidance field will be described first.
The visual induction field is a psychological concept that explains the visual perception phenomenon such as pattern recognition, assuming a field like an electrostatic field around the figure. “Psychology of shape” by Yoshimasa Yokose (Nagoya University) Publication (
1986)) (hereinafter referred to as a reference paper).
In this reference paper, the distribution of visual guidance fields (hereinafter simply referred to as induction fields) is related to how we see and feel our objects, such as the similarity of letters and the interpretation of optical illusions. Yes. In this reference paper, since the target is a figure composed of straight lines and arcs, an induction field for an arbitrary digital image is not required. Here, a method for calculating an induction field in a black and white binary digital image (hereinafter referred to as a binary image) will be described first.

誘導場は基本的にクーロンポテンシャルと解釈できることから、パターンの外郭を構成
する画素を点電荷と仮定し、それらが作るクーロンポテンシャルの集積から、ディジタル
画像における誘導場の分布を計算する。
Since the induction field can be basically interpreted as a Coulomb potential, the pixels constituting the outline of the pattern are assumed to be point charges, and the distribution of the induction field in the digital image is calculated from the accumulation of the Coulomb potential generated by them.

図1はディジタル画像の画素配列を示す図である。図1に示すように、n個の点列から
構成される曲線f(s)によって、任意の点Pに誘導場が形成されるとする。この曲線f
(s)は線図形の線分や画図形の輪郭線に相当する。そして、曲線f(s)を構成する各
点p1,p2,・・・,pi,・・・,pnを正電荷1の点電荷と仮定し、点Pから曲線
f(s)上を走査して、曲線f(s)を構成するn個の点p1,p2,・・・,pi,・
・・,pnが見つかり、走査して見つかった曲線f(s)上の各点までの距離をriとす
ると、点Pにおける誘導場の強さMpは次のように定義される。
FIG. 1 is a diagram showing a pixel arrangement of a digital image. As shown in FIG. 1, it is assumed that an induction field is formed at an arbitrary point P by a curve f (s) composed of n point sequences. This curve f
(S) corresponds to a line segment of a line figure or an outline of an image figure. Then, each point p1, p2,..., Pi,..., Pn constituting the curve f (s) is assumed to be a point charge having a positive charge 1, and the curve f (s) is scanned from the point P. N points p1, p2,..., Pi,.
..., Where pn is found and the distance to each point on the curve f (s) found by scanning is ri, the strength Mp of the induction field at the point P is defined as follows.

Figure 2008210323
この式(2)を用いることにより、任意のディジタル画像の誘導場を求めることができ
る。また、曲線が複数ある場合、点Pにおける誘導場の強さは個々の曲線が点Pにつくる
誘導場の和になる。なお、式(2)は点Pから発した光が直接当たる部分のみ和をとると
いう制約条件がつく。例えば、点Pに対して、曲線f1(s),f2(s),f3(s)
が図2に示すように存在しているとすると、点Pから見えない部分、つまり、この場合、
曲線f1(s)に遮蔽されて点Pから見えない範囲Zに存在する部分の和はとらない。こ
の図2の例では、曲線f3(s)のすべてと曲線f2(s)の一部の和はとらないことに
なる。これを、ここでは遮蔽条件という。
Figure 2008210323
By using this equation (2), the induction field of an arbitrary digital image can be obtained. When there are a plurality of curves, the strength of the induction field at the point P is the sum of the induction fields created by the individual curves at the point P. It should be noted that Equation (2) has a constraint that only the portion directly irradiated with light emitted from the point P is summed. For example, for the point P, the curves f1 (s), f2 (s), f3 (s)
Is present as shown in FIG. 2, the part that cannot be seen from the point P, that is, in this case,
The sum of the portions present in the range Z that is shielded by the curve f1 (s) and cannot be seen from the point P is not taken. In the example of FIG. 2, the sum of all of the curve f3 (s) and a part of the curve f2 (s) is not taken. This is referred to herein as a shielding condition.

図3(A)は「A」という文字について、画素全てを電荷1の点電荷と仮定し、前述の
式(1)で計算した誘導場の例を示すものである。図3(A)の文字「A」周辺に地図の
等高線状に分布している細い線が誘導場における等ポテンシャル値を結んで描かれる等ポ
テンシャル線であり、中央から外に行くほど誘導場の強さ(ポテンシャル値)は弱くなり
、やがて0(零)に近づく。
図3(A)の誘導場の分布の形状・強さにおける特徴、特に「A」の頂点付近の分布が
他より鋭角な特徴は、前述の参考論文による四角形や三角形など、図形の角付近に関する
誘導場の分布の心理実験結果と一致する。
FIG. 3A shows an example of the induction field calculated by the above-described equation (1) assuming that all the pixels are point charges of charge 1 for the letter “A”. A thin line distributed in contour lines on the map around the letter “A” in FIG. 3A is an equipotential line drawn by connecting the equipotential values in the induction field. The strength (potential value) becomes weak and eventually approaches 0 (zero).
The characteristics in the shape and strength of the distribution of the induction field in FIG. 3A, particularly the characteristics near the apex of “A” are sharper than others, are related to the vicinity of the corner of the figure such as a rectangle or a triangle according to the aforementioned reference paper. It agrees with the result of psychological experiment on the distribution of the induction field.

また、図3(B)は、前述した遮蔽条件(任意の点Pから見えない範囲Zに存在する部
分の和はとらない)がなく、画素全てを電荷1の点電荷と仮定した誘導場の例であるが、
誘導場の分布は全体的に丸くなり、前述の参考論文による心理実験結果と異なったものと
なる。このように、遮蔽条件は誘導場を特徴づける上で重要なものとなる。
FIG. 3B shows an induction field in which all the pixels are assumed to be a point charge of charge 1 without the above-described shielding condition (the sum of the portions existing in the range Z invisible from an arbitrary point P is not taken). For example,
The distribution of the induction field is rounded as a whole, which is different from the result of the psychological experiment by the reference paper mentioned above. Thus, the shielding condition is important in characterizing the induction field.

このようにして、ある文字についての視覚の誘導場を得ることができる。なお、このよ
うな視覚の誘導場を用いた技術の例としては、例えば、「長石道博:“視覚の誘導場を用
いた読みやすい和文プロポーショナル表示”、映像メディア学会誌、Vol.52,No
.12,pp.1865−1872(1998」(以下、第1の論文という)や、「三好
正純、下塩義文、古賀広昭、井手口健:“視覚の誘導場理論を用いた感性にもとづく文字
配置の設計”、電子情報通信学会論文誌、82−A,9,1465−1473(1999
)」(以下、第2の論文という)がある。ちなみに、上述の第1の論文の著者は本発明の
発明者である。
In this way, a visual guidance field for a certain character can be obtained. Examples of techniques using such visual guidance fields include, for example, “Michihiro Nagaishi:“ Easy-to-read Japanese proportional display using visual guidance fields ”, Journal of the Institute of Image Media and Technology, Vol. 52, No.
. 12, pp. 1865-1872 (1998) (hereinafter referred to as the first paper), Masazumi Miyoshi, Yoshifumi Shimoshiro, Hiroaki Koga, Ken Ideguchi: “Design of character layout based on sensibility using the visual induction field theory”, Electronics IEICE Transactions, 82-A, 9, 1465-1473 (1999)
”” (Hereinafter referred to as the second paper). Incidentally, the author of the first paper mentioned above is the inventor of the present invention.

このような視覚の誘導場を利用することによって、今まで人間の直感や手作業に頼って
いた画像の感性評価が可能となる。本実施形態では、所定のレイアウト枠W内に、レイア
ウト対象の文字や図形(写真、絵、表を含む)からなるひとまとまりの画像をレイアウト
した画像(以下、枠付きレイアウト画像という)に対し、読みやすいレイアウトか否かを
定量的に評価するものである。以下、枠付きレイアウト画像の評価方法を詳述する。
By using such a visual guidance field, it is possible to evaluate the sensibility of images that have relied on human intuition and manual work. In this embodiment, an image (hereinafter referred to as a framed layout image) in which a group of images made up of characters and figures (including photographs, pictures, and tables) to be laid out are laid out in a predetermined layout frame W. This is a quantitative evaluation of whether the layout is easy to read. Hereinafter, a method for evaluating a framed layout image will be described in detail.

評価対象の枠付きレイアウト画像は、例えば、図4に示すように、用紙枠に相当するレ
イアウト枠Wの中に、複数の文字列からなる文章部分Xを配置した画像である。なお、図
4では文章部分Xを太線にしているが、文字の画像であってもよいし、また、文字サイズ
に比例する太線の画像にしてもよい。またYは余白を示している。
まず、本実施形態では、レイアウトされたひとまとまりの画像(文章部分X)及びレイ
アウト枠Wの画像から、視覚の誘導場を求め、この誘導場から等ポテンシャル線の閉曲面
の凹凸の度合いを示す複雑度を求める。この複雑度は、等ポテンシャル値がiの閉曲線の
複雑度をCiで表せば、次式(3)で求められる。
For example, as shown in FIG. 4, the framed layout image to be evaluated is an image in which a text portion X composed of a plurality of character strings is arranged in a layout frame W corresponding to a paper frame. In FIG. 4, the sentence portion X is indicated by a thick line, but it may be a character image or a thick line image proportional to the character size. Y indicates a margin.
First, in this embodiment, a visual induction field is obtained from a group of images (text portion X) laid out and an image of the layout frame W, and the degree of unevenness of the closed surface of the equipotential line is shown from this induction field. Find the complexity. This complexity can be obtained by the following equation (3) when the complexity of a closed curve having an equipotential value i is represented by Ci.

Figure 2008210323
ここで、Liは、等ポテンシャル値iの等ポテンシャル面の周囲長であり、Siは面積
である。なお、周囲長Liは、等ポテンシャル面の輪郭を構成するドット数と考えること
ができ、面積Siは、等ポテンシャル面に存在するドット数と考えることができる。
Figure 2008210323
Here, Li is the perimeter of the equipotential surface having the equipotential value i, and Si is the area. The peripheral length Li can be considered as the number of dots constituting the contour of the equipotential surface, and the area Si can be considered as the number of dots existing on the equipotential surface.

この式(3)によれば、周囲長Liが長く、面積Siが小さいほど、複雑度Ciの値が
大きくなり、つまり、等ポテンシャル線の凹凸が多い程、複雑度Ciの値が大きくなる。
そして、複雑度Ciと等ポテンシャル値i(以下、等ポテンシャル値iに限定されない
ポテンシャル値をpと表記する)との関係を曲線で示すことによって、「レイアウト画像
の視覚の誘導場の分布」(誘導場の分布情報)の違いを容易に視認可能に表すことができ
る。
According to this equation (3), the longer the circumference length Li and the smaller the area Si, the larger the value of the complexity Ci, that is, the greater the equipotential line unevenness, the greater the value of the complexity Ci.
Then, the relationship between the complexity Ci and the equipotential value i (hereinafter, a potential value not limited to the equipotential value i is expressed as p) is indicated by a curve, thereby “visual guidance field distribution of the layout image” ( The difference in the induction field distribution information) can be expressed easily and visually.

この「レイアウト画像の視覚の誘導場の分布」を示す曲線は、単調増加関数になり、こ
の曲線は、大抵の場合、シグモイド関数で近似することができる。
シグモイド関数は、ニューラルネットワークなどで各ノードの重み付けなどでよく知ら
れている関数であり、複雑度Cとポテンシャル値pとを用いた場合、次式(4)で表され
る。
The curve representing the “visual guidance field distribution of the layout image” is a monotonically increasing function, which can be approximated by a sigmoid function in most cases.
The sigmoid function is a function well known for weighting each node in a neural network or the like, and is expressed by the following equation (4) when the complexity C and the potential value p are used.

Figure 2008210323
ここで、値aはレンジであり、値bはオフセット値であり、値T及び値p0はパラメー
タである。また、これらパラメータのうち、値Tは、「シグモイド関数の尺度母数」と称
される値であり、ニューラルネットワークではその逆数をユニットの「温度」と呼ぶこと
もある値である。
Figure 2008210323
Here, the value a is a range, the value b is an offset value, and the value T and the value p0 are parameters. Of these parameters, the value T is a value called “scale parameter of the sigmoid function”, and in the neural network, the reciprocal is a value sometimes called the “temperature” of the unit.

図5はシグモイド関数の一例を示している。シグモイド関数は、特に、同図に符号αで
示す立ち上がり部分に特徴があり、このシグモイド関数が、「レイアウト画像の視覚の誘
導場の分布」の複雑度Cとポテンシャル値pとの対応関係を示す曲線の傾向を表すのに好
適である。
このため、複雑度Cとポテンシャル値pとの対応関係を表すシグモイド関数を得ること
によって、「レイアウト画像の視覚の誘導場の分布」(分布情報)を数値化した情報を容
易に得ることが可能である。
FIG. 5 shows an example of a sigmoid function. The sigmoid function is particularly characterized by the rising portion indicated by the symbol α in the figure, and this sigmoid function indicates the correspondence relationship between the complexity C of the “visual guidance field distribution of the layout image” and the potential value p. It is suitable for expressing the tendency of a curve.
Therefore, by obtaining a sigmoid function representing the correspondence between the complexity C and the potential value p, it is possible to easily obtain information obtained by quantifying the “distribution information” of the visual guidance field of the layout image. It is.

ここで、図6は、レイアウトが異なる複数の枠付きレイアウト画像100の読みやすさ
(又は見やすさ)を心理実験で評価した結果を示している。この図では、文字列数が同数
の条件で、行間と余白を変更させた各枠付きレイアウト画像100の評価結果を示してい
る。この図では、各枠付きレイアウト画像100を「i=0」〜「i」〜「i=n」(n
は自然数)で順に表した場合、「i」が行間と余白が最適のレイアウトを示し、「i=0
」側に行くほど、行間が狭く、かつ、余白が広くなり、その反対に「i=n」側に行くほ
ど、行間が広く、かつ、余白が狭くなる場合を示している。なお、各レイアウト画像に付
した数字は、複数人で5段階評価した際の平均値を示している。
Here, FIG. 6 shows the result of evaluating the readability (or readability) of a plurality of framed layout images 100 having different layouts by a psychological experiment. This figure shows the evaluation result of each framed layout image 100 in which the line spacing and the margin are changed under the same number of character strings. In this figure, each framed layout image 100 is represented by “i = 0” to “i” to “i = n” (n
Is a natural number), “i” indicates the optimum layout between the line spacing and the margin, and “i = 0”.
The line spacing is narrower and the margin is wider as it goes to the "" side, while the line spacing is wider and the margin is narrower as it goes to the "i = n" side. In addition, the number attached | subjected to each layout image has shown the average value at the time of five-step evaluation by several persons.

これら枠付きレイアウト画像100について、それぞれの誘導場を計算し、誘導場の分
布の複雑度Cとポテンシャル値pとを得て、その対応関係を曲線で表したものが図7であ
る。
図7に示すように、図6の「i=0」、「i−1」、「i」及び「i=n」に対応する
各曲線を比較検討したところ、各曲線の形状はレイアウトによって異なり、読みやすいも
のが似たような曲線形状になるということはなく、また、読みやすいものでも、その分布
領域が異なっている。このため、曲線形状や分布領域で読みやすさ(又は見やすさ)を評
価するのは困難であった。
FIG. 7 shows the respective induction fields calculated for these framed layout images 100 to obtain the complexity C and the potential value p of the distribution of the induction field, and the corresponding relationship is represented by a curve.
As shown in FIG. 7, when the curves corresponding to “i = 0”, “i−1”, “i”, and “i = n” in FIG. 6 are compared, the shape of each curve differs depending on the layout. However, an easy-to-read item does not have a similar curved shape, and even an easy-to-read item has a different distribution area. For this reason, it has been difficult to evaluate readability (or readability) with a curved shape or distribution region.

次に、各曲線をシグモイド関数で近似し、シグモイド関数のパラメータと各レイアウト
の「読みやすさ」との相関関係を調べたところ、図8に示すように、シグモイド関数の尺
度母数Tと、「読みやすさ」とに負の強い相関関係があることが判った。
そこで、本実施形態では、このシグモイド関数の尺度母数Tをレイアウトの評価指標と
し、この尺度母数Tができるだけ小さいレイアウトを最も適切なレイアウトと判断するよ
うにしている。次に、このレイアウト評価装置10の構成及び動作を説明する。
Next, each curve was approximated with a sigmoid function, and the correlation between the parameters of the sigmoid function and the “readability” of each layout was examined. As shown in FIG. 8, the scale parameter T of the sigmoid function, It was found that there was a strong negative correlation with “readability”.
Therefore, in this embodiment, the scale parameter T of the sigmoid function is used as an evaluation index for layout, and a layout having the smallest scale parameter T as much as possible is determined as the most appropriate layout. Next, the configuration and operation of the layout evaluation apparatus 10 will be described.

図9はレイアウト評価装置10の機能構成を示すブロック図である。このレイアウト評
価装置10は、レイアウト対象のひとまとまりの画像を電子的に入力し、これらを良く使
用されるレイアウトで配置し、このレイアウトを基準にして最適なレイアウトを探してそ
の結果を表示する処理を行う。
詳述すると、このレイアウト評価装置10は、レイアウト対象となるひとまとまりの画
像データを入力するレイアウト対象画像入力部(画像入力手段)11と、レイアウトを規
定するテンプレートを記憶する記憶部(記憶手段)12と、視覚の誘導場を計算する視覚
の誘導場計算部(誘導場計算手段)13と、この視覚の誘導場計算部13の計算結果に基
づいてレイアウトを評価するレイアウト評価部(評価手段)14と、このレイアウト評価
部14の処理状況や評価結果を表示可能な表示部(報知手段)15とを備えている。
FIG. 9 is a block diagram showing a functional configuration of the layout evaluation apparatus 10. The layout evaluation apparatus 10 electronically inputs a group of images to be laid out, arranges them in a frequently used layout, searches for an optimal layout based on the layout, and displays the result. I do.
More specifically, the layout evaluation apparatus 10 includes a layout target image input unit (image input unit) 11 for inputting a group of image data to be laid out, and a storage unit (storage unit) for storing a template for defining a layout. 12, a visual induction field calculation unit (guidance field calculation means) 13 for calculating a visual induction field, and a layout evaluation unit (evaluation means) for evaluating a layout based on the calculation result of the visual induction field calculation unit 13 14 and a display unit (notification means) 15 capable of displaying the processing status and evaluation results of the layout evaluation unit 14.

レイアウト対象画像入力部11は、レイアウト対象の文字や図形(写真、絵、表を含む
)からなるひとまとまりの画像データを入力し、この画像データが複数色の画像或いは階
調のある画像の場合には、線分が途切れないように二値化処理のしきい値を設定し、この
しきい値で二値化処理などを施して二値画像に変換する。また、このレイアウト対象画像
入力部11が、テキスト形式や、ワープロソフトで使用されるファイル形式のデータを入
力し、これらを二値画像に変換するものであってもよい。
The layout target image input unit 11 inputs a group of image data composed of characters and figures (including photographs, pictures, and tables) to be laid out, and this image data is a multi-color image or an image with gradation. The threshold value of the binarization process is set so that the line segment is not interrupted, and the binarization process is performed with this threshold value to convert it into a binary image. Further, the layout target image input unit 11 may input data in a text format or a file format used in word processing software, and convert them into a binary image.

記憶部(記憶手段)12に記憶されるテンプレートには、一般によく使用されるテンプ
レートが適用され、例えば、レイアウト枠Wを規定する情報(用紙サイズ、縦置き/横置
きなど)、レイアウト枠Wとの余白、行間などが規定されている。
視覚の誘導場計算部13は、上記テンプレートにレイアウトされた枠付きレイアウト画
像の誘導場を計算するものであり、レイアウト後のレイアウト対象のひとまとまりの画像
(例えば文書部分X(図4))、及び、この画像のレイアウト枠Wを示す画像に対し、誘
導場を計算し、この誘導場から等ポテンシャル線の分布情報を取得することにより、レイ
アウト枠Wを含むレイアウト画像(枠付きレイアウト画像)の誘導場の分布情報を取得す
る。
As a template stored in the storage unit (storage unit) 12, a template that is commonly used is applied. For example, information defining the layout frame W (paper size, portrait / landscape, etc.), layout frame W, Margins, line spacing, etc. are specified.
The visual induction field calculation unit 13 calculates the induction field of the framed layout image laid out on the template, and a group of images (for example, document portion X (FIG. 4)) to be laid out after layout, And, by calculating the induction field for the image showing the layout frame W of this image, and acquiring the equipotential line distribution information from this induction field, the layout image (layout image with frame) including the layout frame W is obtained. Get the distribution information of the induction field.

レイアウト評価部14は、テンプレートにレイアウトされた枠付きレイアウト画像のレ
イアウトを再配置(例えば、行間、余白を変更)するレイアウト変更部(レイアウト変更
手段)20と、尺度母数計算部30とを有している。この尺度母数計算部30は、視覚の
誘導場計算部13で得られた誘導場の分布情報から、ポテンシャル値p毎に複雑度Cを計
算し、この複雑度Cとポテンシャル値pとの対応関係を近似するシグモイド関数を計算し
て、このシグモイド関数の「尺度母数T」を得る。すなわち、この尺度母数計算部30は
、複雑度Cを計算する複雑度計算手段として機能すると共に、シグモイド関数を計算して
尺度母数を得る評価指標計算手段として機能している。このようにして尺度母数計算部3
0及び視覚の誘導場計算部13によって、枠付きレイアウト画像から、レイアウト評価指
標となる「尺度母数T」が算出される。
The layout evaluation unit 14 includes a layout change unit (layout change unit) 20 that rearranges the layout of the framed layout image laid out in the template (for example, changes the line spacing and margins) and the scale parameter calculation unit 30. is doing. The scale parameter calculation unit 30 calculates the complexity C for each potential value p from the distribution information of the induction field obtained by the visual guidance field calculation unit 13, and the correspondence between the complexity C and the potential value p. A sigmoid function approximating the relationship is calculated to obtain a “scale parameter T” of the sigmoid function. That is, the scale parameter calculation unit 30 functions as a complexity calculation unit that calculates the complexity C, and also functions as an evaluation index calculation unit that calculates a sigmoid function to obtain a scale parameter. In this way, the scale parameter calculation unit 3
The “scale parameter T” serving as a layout evaluation index is calculated from the framed layout image by the 0 and visual guidance field calculation unit 13.

このレイアウト評価部14は、尺度母数計算部30で算出された「尺度母数T」に基づ
いてレイアウトの良し悪しを評価し、どのレイアウトが最適かを判定する処理を行うもの
である。なお、上述したレイアウト評価装置10の各部は、上記処理を実行する演算処理
部で構成することができる。具体的には、各演算処理をハードウェア処理で行う一又は複
数の半導体集積回路で構成してもよいし、若しくは、ソフトウェア処理で行うCPUやR
OMやRAMといった汎用のコンピュータで構成してもよい。また、視覚の誘導場の計算
処理などの比較的計算量の多い演算処理はハードウェア処理で行い、レイアウトの良し悪
しなどの比較的計算量の少ない演算処理はソフトウェア処理で行うように構成してもよい

また、表示部15は、使用者に各種情報を報知する報知手段として機能し、例えば、液
晶表示装置や有機EL表示装置が適用され、このレイアウト評価装置10に内蔵される表
示装置、又は、このレイアウト評価装置10に外部接続される表示装置である。
The layout evaluation unit 14 evaluates the quality of the layout based on the “scale parameter T” calculated by the scale parameter calculation unit 30 and determines which layout is optimal. In addition, each part of the layout evaluation apparatus 10 mentioned above can be comprised by the arithmetic processing part which performs the said process. Specifically, each arithmetic processing may be configured by one or a plurality of semiconductor integrated circuits that perform hardware processing, or a CPU or R that performs software processing.
You may comprise by general purpose computers, such as OM and RAM. Arithmetic processing with a relatively large amount of calculation such as visual guidance field calculation processing is performed by hardware processing, and arithmetic processing with a relatively small amount of calculation such as good or bad layout is performed by software processing. Also good.
In addition, the display unit 15 functions as a notification unit that notifies the user of various types of information. For example, a liquid crystal display device or an organic EL display device is applied, and the display device built in the layout evaluation device 10 or this The display device is externally connected to the layout evaluation device 10.

次にこのレイアウト評価装置10の動作を説明する。図10はメイン動作を示すフロー
チャートである。
レイアウト対象のひとまとまりの画像がレイアウト対象画像入力部11に入力されると
、レイアウト対象画像入力部11は二値画像に変換して出力し、レイアウト評価部14は
、記憶部12に記憶されたテンプレート上に上記二値画像を仮配置してレイアウト枠Wを
含むレイアウト画像(枠付きレイアウト画像)を作成する(ステップS1)。
次に、レイアウト評価部14は、視覚の誘導場計算部13により上記枠付きレイアウト
画像の誘導場を計算してポテンシャル線を得(ステップS2)、尺度母数計算部30によ
り、得られたポテンシャル線のポテンシャル値p毎に複雑度Cを計算し、この複雑度Cと
ポテンシャル値pとの対応関係を近似するシグモイド関数を計算して、このシグモイド関
数の「尺度母数T」を取得する(ステップS3)。
Next, the operation of the layout evaluation apparatus 10 will be described. FIG. 10 is a flowchart showing the main operation.
When a group of images to be laid out is input to the layout target image input unit 11, the layout target image input unit 11 converts and outputs the binary image, and the layout evaluation unit 14 is stored in the storage unit 12. The binary image is provisionally arranged on the template to create a layout image (a layout image with a frame) including the layout frame W (step S1).
Next, the layout evaluation unit 14 calculates the induction field of the framed layout image by the visual induction field calculation unit 13 to obtain a potential line (step S2), and the scale parameter calculation unit 30 obtains the potential obtained. The complexity C is calculated for each potential value p of the line, a sigmoid function approximating the correspondence between the complexity C and the potential value p is calculated, and the “scale parameter T” of this sigmoid function is obtained ( Step S3).

ここで、上記ステップS2とS3の具体的処理(尺度母数取得処理に相当)を図11に
示すフローチャートを参照しながら説明する。まず、視覚の誘導場計算部13は、枠付き
レイアウト画像の誘導場を計算し(ステップS11)、尺度母数計算部30が、計算され
た誘導場の等ポテンシャル面毎の複雑度Cを計算する処理を行う。
ここで、上述した式(2)に定めた誘導場の計算定義式は、最小の画素距離が1の場合
、場の強さは0(零)から1の範囲となる。複雑度Cを計算するポテンシャル値pの範囲
は、多いほど後のシグモイド関数の近似精度が高まるが、計算時間の短縮化の観点から、
レイアウト評価に有益な最小限の範囲に留めることが好ましい。
そこで、本実施形態では、複雑度Cの計算に際し、ポテンシャル値pは、0(零)以上
、かつ、1未満の区間で適当な範囲、例えば、ポテンシャル値pの最小値p1を0.03
とし、分解能の値Δpを0.01ステップとすることによって計算量を低減している。
Here, the specific processing (corresponding to the scale parameter acquisition processing) of steps S2 and S3 will be described with reference to the flowchart shown in FIG. First, the visual induction field calculation unit 13 calculates the induction field of the framed layout image (step S11), and the scale parameter calculation unit 30 calculates the complexity C for each equipotential surface of the calculated induction field. Perform the process.
Here, in the calculation definition formula of the induction field defined in the above formula (2), when the minimum pixel distance is 1, the field strength is in the range of 0 (zero) to 1. As the range of the potential value p for calculating the complexity C increases, the approximation accuracy of the later sigmoid function increases. From the viewpoint of shortening the calculation time,
It is preferable to keep the minimum range useful for layout evaluation.
Therefore, in the present embodiment, when calculating the complexity C, the potential value p is an appropriate range in a section of 0 (zero) or more and less than 1, for example, the minimum value p1 of the potential value p is set to 0.03.
And the amount of calculation is reduced by setting the resolution value Δp to 0.01 steps.

具体的には、尺度母数計算部30は、まず、ポテンシャル値pを最小値p1に設定し(
ステップS12)、このポテンシャル値p(=p1)の等ポテンシャル面を抽出し(ステ
ップS13)、等ポテンシャル値i(=p1)の閉曲面の周囲長Li及び面積Siを求め
、式(3)により複雑度Ciを計算する(ステップS14)。
続いて、尺度母数計算部30は、ポテンシャル値pが最大値「1」未満であれば(ステ
ップS5:YES)、ポテンシャル値pに分解能の値Δpを加算し(ステップS16)、
上述したステップS3の等ポテンシャル面の抽出処理と、ステップS14の複雑度Cの計
算処理とを繰り返すことにより、ポテンシャル値pが最小値p1から最大値「1」の範囲
で分解能Δp単位で複雑度Cを計算する。なお、最大値「1」の範囲まで複雑度cを計算
する場合に限らず、最大値を値「1」以下の値に変更してもよい。
Specifically, the scale parameter calculation unit 30 first sets the potential value p to the minimum value p1 (
In step S12), an equipotential surface having this potential value p (= p1) is extracted (step S13), and the perimeter length Li and area Si of the closed surface having the equipotential value i (= p1) are obtained. The complexity Ci is calculated (step S14).
Subsequently, if the potential value p is less than the maximum value “1” (step S5: YES), the scale parameter calculation unit 30 adds the resolution value Δp to the potential value p (step S16).
By repeating the equipotential surface extraction process in step S3 and the calculation process of complexity C in step S14, the complexity in units of resolution Δp in the range of the potential value p from the minimum value p1 to the maximum value “1”. C is calculated. Note that the maximum value may be changed to a value equal to or less than the value “1” without being limited to the case where the complexity c is calculated up to the range of the maximum value “1”.

そして、ポテンシャル値pが最大値「1」に達すると(ステップS15:NO)、尺度
母数計算部30は、得られた複数の複雑度Cと、各複雑度Cに対応するポテンシャル値p
とから、最小二乗法を用いて式(4)で示すシグモイド関数を決めるパラメータ(レンジ
a、オフセット値b、パラメータp0、尺度母数T)を各々決定し、シグモイド関数を求
める(ステップS17)。このステップS17の処理の際には、理論値からの誤差(残差
)の平方和を計算することにより、誤差の分散、つまり、近似誤差が求められる。
When the potential value p reaches the maximum value “1” (step S15: NO), the scale parameter calculation unit 30 obtains the plurality of complexity C obtained and the potential value p corresponding to each complexity C.
From these, the parameters (range a, offset value b, parameter p0, scale parameter T) for determining the sigmoid function shown in the equation (4) are determined using the least square method, and the sigmoid function is obtained (step S17). In the process of step S17, the error variance, that is, the approximate error is obtained by calculating the sum of squares of the error (residual) from the theoretical value.

この場合、近似誤差が、近似誤差が大きく、つまり、関数の相関が非常に低く、シグモ
イド関数で近似するのが困難であった場合は、読めるようなレイアウトになっていない、
又は、画像が劣化して使えない,若しくは、画像データの内容がない状態と考えられる。
このような場合は、レイアウトが困難な旨を表示部15に表示することによって使用者に
警告を報知することが好ましい。
In this case, if the approximation error is large, that is, the correlation of the function is very low and it is difficult to approximate with the sigmoid function, the layout is not readable.
Alternatively, it is considered that the image is deteriorated and cannot be used, or there is no content of the image data.
In such a case, it is preferable to notify the user of a warning by displaying on the display unit 15 that the layout is difficult.

このようにして尺度母数Tを取得すると、図10に示すように、レイアウト評価部14
は、尺度母数Tが予め設定した最適範囲内(最小の値)か否かを判定する(ステップS4
)。ここで、図8に示したように、シグモイド関数の尺度母数Tと、「読みやすさ」とに
負の強い相関関係があるため、この最適範囲は、「非常に読みやすい」に相当する最小範
囲(例えば、0<尺度母数T<0.05などに予め設定)に設定される。このため、尺度
母数Tが予め設定した最小範囲内であれば、そのレイアウトが高評価(「非常に読みやす
い」)のレイアウトと判断することができる。
When the scale parameter T is obtained in this way, as shown in FIG.
Determines whether the scale parameter T is within the preset optimum range (minimum value) (step S4).
). Here, as shown in FIG. 8, since the scale parameter T of the sigmoid function and “readability” have a strong negative correlation, this optimum range corresponds to “very easy to read”. The minimum range is set (for example, 0 <scale parameter T <0.05 in advance). For this reason, if the scale parameter T is within the preset minimum range, it can be determined that the layout is highly evaluated (“very easy to read”).

上記ステップS4の判定で、尺度母数Tが予め設定した最適範囲内でないと判定された
場合、「読みにくい」レイアウトと判断できるため、レイアウト評価部14は、レイアウ
ト変更部20により、再配置、すなわち、初期状態から余白、行間などを少し配置を換え
たレイアウトとして(ステップS6)、ステップS2に戻り同様の処理を行う。
If it is determined in step S4 that the scale parameter T is not within the preset optimum range, it can be determined that the layout is difficult to read. That is, the layout is changed slightly from the initial state, such as margins and line spacing (step S6), and the process returns to step S2 and the same processing is performed.

このような再配置処理を繰り返し行うことで、最適範囲内の尺度母数Tが得られるまで
、つまり、最適なレイアウトが得られるまで、上記処理は繰り返される。
なお、レイアウトをどのように変更するかは、ランダムに変更させることも可能である
が、予め設定しておくことが好ましい、予め設定しておく場合には、例えば、余白及び行
間については、テンプレートの余白及び行間を基準値として、その基準値を中心に該基準
値の値から徐々に離れた値に変更する変更規則を適用してもよいし、レイアウト変更後の
レイアウト評価結果から次にレイアウト変更する内容を設定する予測変更規則を適用して
もよい。この予測変更規則においては、例えば、余白を大きくして「尺度母数T」が小さ
くなった場合(前回より高評価のレイアウトとなった場合)には、次は、余白を更に大き
くした設定にレイアウト変更し、一方、余白を大きくして「尺度母数T」が大きくなった
場合(前回より低評価のレイアウトとなった場合)には、次は余白を小さくした設定にレ
イアウト変更する方法が考えられる。
By repeatedly performing such rearrangement processing, the above processing is repeated until the scale parameter T within the optimum range is obtained, that is, until the optimum layout is obtained.
Note that how to change the layout can be changed at random, but it is preferable to set in advance. In the case of setting in advance, for example, for the margin and line spacing, the template A change rule may be applied in which the margin and line spacing are changed as reference values, and the reference value is changed to a value that is gradually separated from the reference value. You may apply the prediction change rule which sets the content to change. In this prediction change rule, for example, when the margin is increased and the “scale parameter T” is decreased (when the layout has a higher evaluation than the previous one), the margin is further increased. On the other hand, if the layout is changed and the margin is increased and the “scale parameter T” is increased (when the layout becomes a lower evaluation than the previous one), the next method is to change the layout to a setting with a reduced margin. Conceivable.

そして、最適範囲内の尺度母数Tが得られたら、レイアウト評価部14は、そのレイア
ウトに不具合があるか否かを判定し(ステップS6)、不具合があればステップS5の処
理へ移行して同様の処理を行う。このステップS6の不具合判定においては、例えば、レ
イアウト対象のひとまとまりの各画像が重なってレイアウトされていないか、及び、これ
ら画像がレイアウト枠W内に収まっているか否かを判定している。
続いて、このステップS6で不具合がないと判定された場合には、レイアウト評価装置
10は、高評価のレイアウトで、かつ、不具合がないと判断できるため、表示部15にそ
のレイアウト画像を表示して(ステップS7)、使用者に最適レイアウトを報知する。以
上が、このレイアウト評価装置10の動作である。
When the scale parameter T within the optimum range is obtained, the layout evaluation unit 14 determines whether or not there is a defect in the layout (step S6). If there is a defect, the process proceeds to step S5. Similar processing is performed. In the defect determination in step S6, for example, it is determined whether or not a group of images to be laid out are not laid out and whether these images are within the layout frame W.
Subsequently, if it is determined in step S6 that there is no defect, the layout evaluation apparatus 10 can determine that the layout is a highly evaluated layout and that there is no defect, so that the layout image is displayed on the display unit 15. (Step S7), the user is notified of the optimum layout. The above is the operation of the layout evaluation apparatus 10.

以上説明したように、本実施形態によれば、枠付きレイアウト画像の誘導場を計算し、
この誘導場の等ポテンシャル値の複雑度とポテンシャル値との対応関係をシグモイド関数
で近似した場合の「尺度母数T」をレイアウト評価指標として算出するので、レイアウト
枠Wとの間の余白Yも含めてレイアウト全体の良し悪しを判定することができる。
この場合、図8に示したように、この「尺度母数T」はレイアウト評価に比例するので
、この「尺度母数T」をレイアウト評価指標とすることにより、レイアウトの良し悪しを
定量的に評価することが可能である。
As described above, according to the present embodiment, the induction field of the framed layout image is calculated,
Since the “scale parameter T” when the correspondence between the complexity of the equipotential value of the induction field and the potential value is approximated by a sigmoid function is calculated as a layout evaluation index, the margin Y between the layout frame W and the layout frame W is also calculated. Whether the layout is good or bad can be determined.
In this case, as shown in FIG. 8, since this “scale parameter T” is proportional to the layout evaluation, the quality of the layout is quantitatively determined by using this “scale parameter T” as a layout evaluation index. It is possible to evaluate.

また、本実施形態では、レイアウト枠Wを含むレイアウトを規定するテンプレートに基
づいて枠付きレイアウト画像を作成してレイアウトの評価を行うので、使用者は予めレイ
アウト枠Wを設定しておく必要がない。しかも、評価対象のレイアウトが良くない場合に
は、レイアウト変更してレイアウトの再評価を行うので、容易に最適レイアウトを特定す
ることが可能になる。
Further, in the present embodiment, a layout image with a frame is created based on a template that defines a layout including the layout frame W and the layout is evaluated, so that the user does not need to set the layout frame W in advance. . In addition, when the layout to be evaluated is not good, the layout is changed and the layout is reevaluated, so that the optimum layout can be easily specified.

<第2実施形態>
図12、図13及び図14は第2実施形態を示している。図12に示すように、第2実
施形態に係るレイアウト評価装置10は、複雑度評価部(複雑度評価手段)40を備え、
レイアウト対象のひとまとまりの画像(枠無しレイアウト画像)から算出した視覚の誘導
場における複雑度の平均値(複雑度Cav)に基づいて、レイアウトの良し悪しを判定し
、高評価のレイアウトと判定された場合に、この高評価のレイアウトを基準として、上記
第1実施形態と同様の処理により枠付きレイアウト画像のレイアウトの良し悪しを判定す
るようにしている。
この複雑度Cavからレイアウトの良し悪しを判定する技術は、特開2003−306
73号公報の技術を使用している。なお、この公報記載の技術の発明者は本発明の発明者
である。以下、上記第1実施形態と略同一の構成については同一の符号を付して重複する
説明は省略する。
Second Embodiment
12, 13 and 14 show a second embodiment. As shown in FIG. 12, the layout evaluation apparatus 10 according to the second embodiment includes a complexity evaluation unit (complexity evaluation means) 40,
Based on the average value of complexity (complexity Cav) in the visual guidance field calculated from a group of layout target images (frameless layout image), the quality of the layout is determined, and the layout is determined to be highly evaluated. In this case, whether the layout of the framed layout image is good or bad is determined by the same processing as in the first embodiment with reference to the highly evaluated layout.
A technique for determining whether the layout is good or bad from the complexity Cav is disclosed in Japanese Patent Laid-Open No. 2003-306.
The technology of No. 73 is used. The inventor of the technique described in this publication is the inventor of the present invention. Hereinafter, about the same composition as the above-mentioned 1st embodiment, the same numerals are attached and the overlapping explanation is omitted.

図13及び図14は、レイアウト評価装置10の動作を示すフローチャートである。
レイアウト対象のひとまとまりの画像がレイアウト対象画像入力部11に入力されると
、レイアウト対象画像入力部11は二値画像に変換して出力し、レイアウト評価部14が
、上記画像を予め定められたテンプレート上に仮配置する(ステップS21)。
13 and 14 are flowcharts showing the operation of the layout evaluation apparatus 10.
When a group of layout target images is input to the layout target image input unit 11, the layout target image input unit 11 converts the image into a binary image and outputs it, and the layout evaluation unit 14 determines the image in advance. Temporarily arrange on the template (step S21).

次に、レイアウト評価部14は、視覚の誘導場計算部13により、上記画像の誘導場を
計算してポテンシャル線を得(ステップS22)、尺度母数計算部30により、ポテンシ
ャル線のポテンシャル値p毎に複雑度Cを計算し、複雑度Cの平均である複雑度Cavを
求める(ステップS23)。すなわち、視覚の誘導場計算部13は、平均複雑度Cavを
算出する平均複雑度計算手段としても機能する。
そして、レイアウト評価部14は、複雑度評価部40により、その複雑度Cavが最適
範囲内(最小の値)の値か否かを判定し(ステップS24)、最適範囲内(最小の値)で
はないと判断したら、再配置、すなわち、初期状態から少し配置を変えたレイアウトとし
て(ステップS25)、ステップS22に戻り同様の処理を行う。
Next, the layout evaluation unit 14 calculates the induction field of the image by the visual induction field calculation unit 13 to obtain a potential line (step S22), and the scale parameter calculation unit 30 calculates the potential value p of the potential line. The complexity C is calculated every time, and the complexity Cav that is the average of the complexity C is obtained (step S23). That is, the visual guidance field calculator 13 also functions as an average complexity calculator that calculates the average complexity Cav.
Then, the layout evaluation unit 14 determines whether or not the complexity Cav is within the optimal range (minimum value) by the complexity evaluation unit 40 (step S24), and within the optimal range (minimum value). If it is determined that there is no layout, the layout is rearranged, that is, the layout is slightly changed from the initial state (step S25), and the process returns to step S22 to perform the same processing.

このような再配置処理を何回か繰り返して行うことで、最適範囲内の複雑度Cavが得
られたら、レイアウト評価部14は、そのレイアウトに不具合があるか否か(上述したよ
うに、重なってレイアウトされていないかなど)を判断し(ステップS26)、不具合が
あればステップS25の処理へ移行して同様の処理を行い、不具合がなければ、ステップ
S31の処理へ移行する。
すなわち、上記ステップS21〜S26の処理によって、レイアウト枠無しのレイアウ
ト、つまり、レイアウト枠Wとの間の余白を考慮しないレイアウトの良し悪しが判断され
、高評価の枠無しレイアウトが得られるまで再レイアウトを繰り返して評価する枠無しレ
イアウト評価処理が実行されるようになっている。
When the complexity Cav within the optimum range is obtained by repeating such a rearrangement process several times, the layout evaluation unit 14 determines whether or not there is a defect in the layout (as described above, overlapping) (Step S26), if there is a defect, the process proceeds to step S25 and the same process is performed. If there is no defect, the process proceeds to step S31.
That is, according to the processes in steps S21 to S26, the layout without a layout frame, that is, the layout without considering the margin between the layout frame W is judged to be good and bad, and the layout is re-layed until a highly evaluated frameless layout is obtained. A frameless layout evaluation process is performed in which evaluation is repeated.

次いで、高評価でかつ不具合のない枠無しレイアウトが得られると、レイアウト評価部
14は、記憶部12に記憶されたテンプレート上にそのレイアウトで、レイアウト対象の
ひとまとまりの画像を仮配置し、これによって、レイアウト枠Wを含むレイアウト画像(
枠付きレイアウト画像)を作成する(ステップS31)。
続いて、レイアウト評価部14は、視覚の誘導場計算部13により、上記画像の誘導場
を計算してポテンシャル線を得(ステップS32)、尺度母数計算部30により、ポテン
シャル線のポテンシャル値p毎に複雑度Cを計算し、この複雑度Cとポテンシャル値pと
の対応関係を近似するシグモイド関数を計算して、このシモイド関数の「尺度母数T」を
取得する(ステップS33)。
Next, when a frameless layout that is highly evaluated and has no defects is obtained, the layout evaluation unit 14 temporarily arranges a group of images to be laid out on the template stored in the storage unit 12 with the layout. The layout image including the layout frame W (
A framed layout image) is created (step S31).
Subsequently, the layout evaluation unit 14 obtains a potential line by calculating the induction field of the image by the visual induction field calculation unit 13 (step S32), and the scale parameter calculation unit 30 calculates the potential value p of the potential line. The complexity C is calculated every time, a sigmoid function approximating the correspondence between the complexity C and the potential value p is calculated, and the “scale parameter T” of the simid function is obtained (step S33).

そして、レイアウト評価部14は、尺度母数Tが予め設定した最適範囲内(最小の値)
か否かを判定し(ステップS34)、最適範囲内(最小の値)ではないと判定したら、再
配置、すなわち、初期状態から少し配置を変えたレイアウトとして(ステップS35)、
ステップS32に戻り同様の処理を行う。
このような再配置処理を何回か繰り返して行うことで、最適範囲内の尺度母数Tが得ら
れたら、レイアウト評価部14は、そのレイアウトに不具合があるか否かを判定し(ステ
ップS36)、不具合があればステップS35の処理へ戻り同様の処理を行い、不具合が
なければ、それを表示して(ステップS37)、使用者に最適レイアウトを報知する。以
上が、第2実施形態に係るレイアウト評価装置10の動作である。
Then, the layout evaluation unit 14 determines that the scale parameter T is within the preset optimum range (minimum value).
(Step S34), and if it is determined that it is not within the optimum range (minimum value), rearrangement, that is, a layout that is slightly changed from the initial state (step S35),
Returning to step S32, the same processing is performed.
When the scale parameter T within the optimum range is obtained by repeating such rearrangement processing several times, the layout evaluation unit 14 determines whether or not the layout has a defect (step S36). If there is a problem, the process returns to step S35 to perform the same process. If there is no problem, it is displayed (step S37), and the optimal layout is notified to the user. The above is the operation of the layout evaluation apparatus 10 according to the second embodiment.

このように、本実施形態では、レイアウト枠Wとの間の余白Yを考慮しないレイアウト
(枠無しレイアウト)で良し悪しを判定し、高評価の枠無しレイアウトが得られたら、そ
のレイアウトでレイアウト枠Wとの余白Yを考慮したレイアウト(枠有りレイアウト)で
良し悪しを判定して、高評価の枠有りレイアウトを得るので、前段の枠無しレイアウトを
得る処理(枠無しレイアウト評価処理)を行う分、不適切なレイアウト(低評価のレイア
ウト)を除いた組み合わせでレイアウトの良し悪しを判定することが可能になる。
この後段の処理は、上述したように、シグモイド関数による近似などの計算が多くなる
ので、この処理の回数(シグモイド関数の算出を含む尺度母数算出処理の回数)を減らす
ことができる分だけ、最適レイアウトを得るまでの処理量の軽減や処理時間の短縮化を図
ることができる。
As described above, in this embodiment, whether or not a layout (frameless layout) that does not consider the margin Y with respect to the layout frame W is determined as good or bad, and a highly evaluated frameless layout is obtained, the layout frame is determined by that layout. Since it is determined whether the layout with a margin Y with respect to W (a layout with a frame) is good or bad and a highly evaluated layout with a frame is obtained, a process for obtaining a previous frame-less layout (frameless layout evaluation process) is performed. Therefore, it is possible to determine whether the layout is good or bad by a combination excluding an inappropriate layout (a low evaluation layout).
As described above, since the processing of this latter stage increases calculation such as approximation by the sigmoid function, the number of times of this processing (the number of scale parameter calculation processes including the calculation of the sigmoid function) can be reduced. It is possible to reduce the amount of processing until the optimum layout is obtained and shorten the processing time.

また、この実施形態では、枠無しレイアウトの画像から平均の複雑度Cavを算出して
レイアウトを絞り込む場合について説明したが、これに限らず、レイアウト枠Wを備えた
レイアウト画像から複雑度Cavを算出してレイアウトを絞り込んでもよい。この場合、
図16に示す範囲Areaの手前までに該当するレイアウトに絞り込むことにより、最適
な場合は決められないが、少なくとも不適切なレイアウトをおおよそ特定することができ
る。このようにして不適切なレイアウトが特定された後は、このレイアウトを除いた組み
合わせで、上述の尺度母数Tによるレイアウト評価を行うことで、尺度母数算出処理を減
らしつつ、最適レイアウトを得ることが可能になる。
In this embodiment, the case where the average complexity Cav is calculated from the frameless layout image to narrow down the layout has been described. However, the present invention is not limited to this, and the complexity Cav is calculated from the layout image including the layout frame W. Then you can narrow down the layout. in this case,
By narrowing down the layout to the area before the area “Area” shown in FIG. 16, the optimum case cannot be determined, but at least an inappropriate layout can be roughly specified. After an inappropriate layout is identified in this way, an optimum layout is obtained while reducing the scale parameter calculation process by performing layout evaluation using the scale parameter T described above with a combination excluding this layout. It becomes possible.

なお、本発明は上述の実施形態に限定されるものではなく、本発明の目的を達成できる
範囲での変形、改良などは本発明に含まれるものである。例えば、上述の各実施形態では
、本発明を、二値画像のレイアウトを評価する場合に適用したが、これに限らず、多値画
像のレイアウトを評価する場合にも適用可能である。
In addition, this invention is not limited to the above-mentioned embodiment, The deformation | transformation in the range which can achieve the objective of this invention, improvement, etc. are included in this invention. For example, in each of the above-described embodiments, the present invention is applied to the case of evaluating a binary image layout. However, the present invention is not limited to this, and is applicable to the case of evaluating a multi-value image layout.

以下、多値画像のレイアウトを評価する場合を説明する。一般にディジタル機器は基本
的な色としてR(赤)・G(緑)・B(青)を採用しているものが多いので、色はこれの
RGBの組み合わせで表現されるものとする。なお、RGBはそれぞれが0から255ま
で変化するものとし、これらの組み合わせで色を表現するものとする。ちなみに、黒はR
=G=B=255の組み合わせ、白はR=G=B=0の組み合わせであり、それらの中間
の値を有するR=G=Bの組み合わせは無彩色(グレー)である。このように、RGBに
より色だけではなく階調も表現することができる。
この場合、特開2004−171115号公報(以下、これを参考技術文献という)の
技術を適用して以下のように計算される。詳述すると、図1において、各点p1,p2,
・・・,pi,・・・,pnの電荷はR,G,Bの階調(例えば、0から255)の影響
を受けるため、各電荷をQiとすると、点Pにおける誘導場の強さMpは式(5)のよう
に定義される。
Hereinafter, the case where the layout of a multi-valued image is evaluated will be described. In general, many digital devices adopt R (red), G (green), and B (blue) as basic colors, and the color is expressed by a combination of RGB. Note that each of RGB changes from 0 to 255, and a color is expressed by a combination thereof. By the way, black is R
= G = B = 255, white is a combination of R = G = B = 0, and a combination of R = G = B having an intermediate value thereof is an achromatic color (gray). In this way, not only colors but also gradations can be expressed by RGB.
In this case, the calculation is performed as follows by applying the technique of Japanese Patent Application Laid-Open No. 2004-171115 (hereinafter referred to as a reference technical document). More specifically, in FIG. 1, each point p1, p2,
.., Pi,..., Pn are affected by the gradations of R, G, B (for example, 0 to 255). Mp is defined as in equation (5).

Figure 2008210323
Figure 2008210323

ここで、Qi(R,G,B)は、RGBそれぞれの独立の関数(Qi(R),Qi(G
),Qi(B))の線形結合であり、二値画像の場合、Qi(R=0,G=0,B=0)
=1であり、多値画像の場合、Qi(R,G,B)は1よりも大(Qi>1)となる。こ
れらQi(R),Qi(G),Qi(B)は、前述の参考技術文献によれば、階調(濃度
)が大きくなってある値に達すると飽和するほぼS字カーブを描く曲線となり、また、階
調(濃度)の変化に対してR(赤)が最も敏感であり、続いてB(青)、G(緑)の順と
なることが知られている。
これは、例えば、交通標識などにおいては注意を促す表示を行う際、色としては赤、青
の順で用いられ、緑はあまり用いられないことが多いことと一致している。このような注
意を促す度合いの大きさは誘導場の強さやエネルギであると考えられるが、それを根拠に
すると、Qiの色による変化の違いは、上述の交通標識の事例と一致している。したがっ
て、この式(5)で用いられるQiを得るための関数は心理実験などによって決定するこ
とができる。
Here, Qi (R, G, B) is an independent function (Qi (R), Qi (G
), Qi (B)), and in the case of a binary image, Qi (R = 0, G = 0, B = 0)
= 1, and in the case of a multi-valued image, Qi (R, G, B) is larger than 1 (Qi> 1). These Qi (R), Qi (G), and Qi (B) are curves that draw a substantially S-shaped curve that saturates when the gradation (density) reaches a certain value according to the above-mentioned reference technical literature. It is also known that R (red) is the most sensitive to changes in gradation (density), followed by B (blue) and G (green).
This is consistent with the fact that, for example, when a warning sign is displayed on a traffic sign or the like, colors are used in the order of red and blue, and green is often not used. The magnitude of such a degree of attention is considered to be the strength and energy of the induction field. On the basis of this, the difference in change due to the color of Qi is consistent with the traffic sign example described above. . Therefore, the function for obtaining Qi used in this equation (5) can be determined by psychological experiments or the like.

従って、式(5)を用いることにより、多値画像の誘導場を計算することができる。そ
して、この誘導場が決まれば、上述の実施形態とほぼ同様の処理で、複雑度Cを計算し、
得られた複数の複雑度Cとポテンシャル値pとの対応関係をシグモイド関数で近似し、シ
グモイド関数の「尺度母数T」を得ることができる。
このように、多値画像のレイアウトを評価する場合は、多値画像から二値画像に変換す
る必要がないため、かかる変換時の情報落ちがない分、判定精度を向上させることができ
る。
Therefore, the induced field of the multi-valued image can be calculated by using Expression (5). And if this induction field is decided, the complexity C is calculated by the process similar to the above-mentioned embodiment,
The correspondence relationship between the obtained plurality of complexity C and the potential value p can be approximated by a sigmoid function, and a “scale parameter T” of the sigmoid function can be obtained.
In this way, when evaluating the layout of a multi-valued image, it is not necessary to convert from a multi-valued image to a binary image, so that the determination accuracy can be improved as there is no information loss during such conversion.

但し、多値画像のレイアウトを評価する場合は、計算量が増えて計算時間が長くなって
しまう。このため、判定速度を優先する場合は、二値画像に変換してレイアウトを評価し
、判定精度を優先する場合は、多値画像のままレイアウトを評価するといったように、い
ずれの方法を行うかを選択可能にしてもよい。
また、上述の各実施形態では、シグモイド関数の各係数及びパラメータ(a,b,P0
,T)を全て計算する場合について説明したが、これに限らず、尺度母数Tだけを直接算
出してもよい。この場合、尺度母数T以外の係数やパラメータの計算を省略できるため、
計算量を低減することができる。
However, when evaluating the layout of a multi-valued image, the calculation amount increases and the calculation time becomes longer. For this reason, if priority is given to the determination speed, the layout is evaluated by converting to a binary image, and if priority is given to determination accuracy, which method should be used, such as evaluating the layout as a multi-valued image? May be selectable.
In each of the above-described embodiments, each coefficient and parameter (a, b, P0) of the sigmoid function
, T) has been described as being calculated, but the present invention is not limited to this, and only the scale parameter T may be directly calculated. In this case, calculation of coefficients and parameters other than the scale parameter T can be omitted.
The amount of calculation can be reduced.

また、本発明は、以上説明した本発明を実施するための処理手順が記述された制御プロ
グラムを作成し、この制御プログラムを電気通信回線を介してダウンロード可能にしたり
、そのようなプログラムを、磁気記録媒体、光記録媒体、半導体記録媒体といった、コン
ピュータに読み取り可能な記録媒体に記憶して配布する、といった態様でも実施され可能
である。
なお、本実施形態に係るレイアウト評価装置10をカメラ、スキャナ、プロジェクタ、
テレビ、プリンタなどのあらゆる電子機器が備える形態で実施することも可能である。例
えば、上述したレイアウト評価装置10を備えるカメラやスキャナは、レイアウト対象の
ひとまとまりの画像を、撮影やデータ読み込みにより取得し、この画像の最適レイアウト
を表示、出力することが可能になる。また、上述したレイアウト評価装置10を備えるプ
リンタは、このプリンタに接続された外部機器からレイアウト対象のひとまとまりの画像
を入力し、この画像を最適レイアウトにして印刷することが可能になる。また、上述した
レイアウト評価装置10を備えるテレビは、レイアウト対象のひとまとまりの画像を受信
して、最適レイアウトにして表示することが可能になる。
In addition, the present invention creates a control program in which the processing procedure for carrying out the present invention described above is described, and makes this control program downloadable via a telecommunication line, The present invention can also be implemented in such a manner that the program is stored and distributed in a computer-readable recording medium such as a recording medium, an optical recording medium, or a semiconductor recording medium.
Note that the layout evaluation apparatus 10 according to the present embodiment includes a camera, a scanner, a projector,
It is also possible to implement in a form provided in all electronic devices such as a television and a printer. For example, a camera or scanner provided with the above-described layout evaluation apparatus 10 can acquire a group of images to be laid out by photographing or reading data, and can display and output the optimum layout of the image. In addition, a printer including the above-described layout evaluation apparatus 10 can input a group of images to be laid out from an external device connected to the printer, and print the image with an optimal layout. In addition, a television provided with the layout evaluation apparatus 10 described above can receive a group of images to be laid out and display them in an optimal layout.

視覚の誘導場を説明するためのディジタル画像の画素配列を示す図である。It is a figure which shows the pixel arrangement | sequence of the digital image for demonstrating the visual induction field. 視覚の誘導場の強さを求める際の遮蔽条件を説明する図である。It is a figure explaining the shielding conditions at the time of calculating | requiring the intensity | strength of a visual induction field. (A)は文字「A」の視覚の誘導場を遮蔽条件を考慮した求めた場合を示す図であり、(B)は視覚の誘導場を遮蔽条件を考慮せずに求めた場合を示す図である。(A) is a figure which shows the case where the visual guidance field of character "A" is calculated | required in consideration of shielding conditions, (B) is the figure which shows the case where the visual guidance field is calculated | required without considering shielding conditions. It is. 枠付きレイアウト画像の一例を示す図である。It is a figure which shows an example of a layout image with a frame. シグモイド関数の一例を示す図である。It is a figure which shows an example of a sigmoid function. 複数の枠付きレイアウト画像を心理実験で評価した結果を示す図である。It is a figure which shows the result of having evaluated the several layout image with a frame by psychological experiment. 図6の画像の誘導場の分布の複雑度Cとポテンシャル値pとの対応関係を示す図である。It is a figure which shows the correspondence of the complexity C of the induction field distribution of the image of FIG. 6, and the potential value p. 「シグモイド関数の尺度母数」と「読みやすさ」との対応関係を示す図である。It is a figure which shows the correspondence of "the scale parameter of a sigmoid function" and "readability". レイアウト評価装置の機能構成を示すブロック図である。It is a block diagram which shows the function structure of a layout evaluation apparatus. レイアウト評価装置のメイン動作を示すフローチャートである。It is a flowchart which shows the main operation | movement of a layout evaluation apparatus. 尺度母数取得処理を示すフローチャートである。It is a flowchart which shows a scale parameter acquisition process. 第2実施形態に係るレイアウト評価装置の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the layout evaluation apparatus which concerns on 2nd Embodiment. レイアウト評価装置のメイン動作を示すフローチャートである。It is a flowchart which shows the main operation | movement of a layout evaluation apparatus. 図13の続きのフローチャートである。14 is a flowchart continued from FIG. 13. (A)はレイアウト枠のない文書画像例を示す図であり、(B)はレイアウト枠のある文書画像例を示す図である。(A) is a figure which shows the example of a document image without a layout frame, (B) is a figure which shows the example of a document image with a layout frame. 「レイアウト枠を含めて計算した複雑度Cav」と「読みやすさ」との対応関係を示す図である。It is a figure which shows the correspondence of "complexity Cav calculated including a layout frame" and "readability".

符号の説明Explanation of symbols

10…レイアウト評価装置、11…レイアウト対象画像入力部(画像入力手段)、12
…記憶部(記憶手段)、13…視覚の誘導場計算部(誘導場計算手段、平均複雑度計算手
段)、14…レイアウト評価部(評価手段)、15…表示部(報知手段)、20…レイア
ウト変更部(レイアウト変更手段)、30…尺度母数計算部(複雑度計算手段、評価指標
計算手段)、40…複雑度評価部(複雑度評価手段)、C…複雑度、Cav…平均の複雑
度、T…尺度母数、W…レイアウト枠。
DESCRIPTION OF SYMBOLS 10 ... Layout evaluation apparatus, 11 ... Layout object image input part (image input means), 12
... storage unit (storage unit), 13 ... visual guidance field calculation unit (guidance field calculation unit, average complexity calculation unit), 14 ... layout evaluation unit (evaluation unit), 15 ... display unit (notification unit), 20 ... Layout changing unit (layout changing unit), 30 ... scale parameter calculating unit (complexity calculating unit, evaluation index calculating unit), 40 ... complexity evaluating unit (complexity evaluating unit), C ... complexity, Cav ... average Complexity, T ... scale parameter, W ... layout frame.

Claims (8)

レイアウト枠内にひとまとまりの画像をレイアウトした枠付きレイアウト画像のレイア
ウトを評価するレイアウト評価装置であって、
前記枠付きレイアウト画像に対し、前記ひとまとまりの画像及び前記レイアウト枠を表
す画像の周囲に存在する「場」であって、前記「場」の強さが画像からの距離に依存し、
画像に近いほど大きな値を持つ視覚の誘導場を計算する誘導場計算手段と、
前記視覚の誘導場における等ポテンシャル値を結ぶ線の閉曲面の複雑度を計算する複雑
度計算手段と、
前記複雑度と等ポテンシャル値との対応関係をシグモイド関数で近似した場合のシグモ
イド関数の尺度母数を計算する評価指標計算手段と、
前記尺度母数に基づいてレイアウトを評価する評価手段と、
を備えることを特徴とするレイアウト評価装置。
A layout evaluation apparatus for evaluating a layout of a layout image with a frame in which a group of images are laid out in a layout frame,
A `` field '' existing around the grouped image and the image representing the layout frame with respect to the framed layout image, and the strength of the `` field '' depends on the distance from the image,
A guidance field calculation means for calculating a visual guidance field having a larger value as it is closer to the image;
Complexity calculating means for calculating the complexity of a closed curved surface of lines connecting equipotential values in the visual induction field;
An evaluation index calculating means for calculating a scale parameter of a sigmoid function when the correspondence between the complexity and the equipotential value is approximated by a sigmoid function;
An evaluation means for evaluating a layout based on the scale parameter;
A layout evaluation apparatus comprising:
請求項1に記載のレイアウト評価装置において、
前記シグモイド関数は、複雑度をC、ポテンシャル値をp、尺度母数をT、レンジをa
、オフセット値をb、パラメータをp0とした場合に、
Figure 2008210323
で定義されることを特徴とするレイアウト評価装置。
The layout evaluation apparatus according to claim 1,
The sigmoid function has complexity C, potential value p, scale parameter T, range a
When the offset value is b and the parameter is p0,
Figure 2008210323
A layout evaluation apparatus defined by
請求項1又は2に記載のレイアウト評価装置において、
前記尺度母数が所定の範囲内でない場合、評価対象である前記枠付きレイアウト画像を
異なるレイアウトの枠付きレイアウト画像に変更するレイアウト変更手段を備えることを
特徴とするレイアウト評価装置。
In the layout evaluation apparatus according to claim 1 or 2,
A layout evaluation device comprising: a layout changing unit that changes the framed layout image to be evaluated to a framed layout image of a different layout when the scale parameter is not within a predetermined range.
請求項1乃至3のいずれか一項に記載のレイアウト評価装置において、
前記ひとまとまりの画像は、文字又は図形のいずれかを含み、
前記レイアウト枠、前記レイアウト枠との間の余白、行間の少なくともいずれかを規定
するテンプレートを記憶する記憶手段を有し、
前記誘導場計算手段は、前記テンプレートに基づいて、前記ひとまとまりの画像が前記
レイアウト枠にレイアウトされて前記枠付きレイアウト画像に対して、前記視覚の誘導場
を計算することを特徴とするレイアウト評価装置。
In the layout evaluation apparatus according to any one of claims 1 to 3,
The group of images includes either characters or figures,
Storage means for storing a template that defines at least one of the layout frame, a margin between the layout frame and a line;
The guidance field calculation means calculates the visual guidance field for the framed layout image, wherein the group of images are laid out in the layout frame based on the template. apparatus.
請求項1乃至4のいずれか一項に記載のレイアウト評価装置において、
前記複雑度の平均値を計算する平均複雑度計算手段と、
前記複雑度の平均値に基づいてレイアウトを評価する複雑度評価手段とを有し、
前記複雑度評価手段により、高いと評価された前記枠付きレイアウト画像に対し、前記
視覚の誘導場を計算することを特徴とするレイアウト評価装置。
In the layout evaluation apparatus according to any one of claims 1 to 4,
Average complexity calculation means for calculating an average value of the complexity,
A complexity evaluation means for evaluating a layout based on the average value of the complexity,
A layout evaluation apparatus for calculating the visual induction field for the framed layout image evaluated as high by the complexity evaluation means.
請求項1乃至5のいずれか一項に記載のレイアウト評価装置を備えることを特徴とする
電子機器。
An electronic apparatus comprising the layout evaluation device according to claim 1.
レイアウト枠内にひとまとまりの画像をレイアウトした枠付きレイアウト画像のレイア
ウトを評価するレイアウト評価方法であって、
前記枠付きレイアウト画像に対し、前記ひとまとまりの画像及び前記レイアウト枠を表
す画像の周囲に存在する「場」であって、前記「場」の強さが画像からの距離に依存し、
画像に近いほど大きな値を持つ視覚の誘導場を計算する誘導場計算ステップと、
前記視覚の誘導場における等ポテンシャル値を結ぶ線の閉曲面の複雑度を計算する複雑
度計算ステップと、
前記複雑度と等ポテンシャル値との対応関係をシグモイド関数で近似した場合のシグモ
イド関数の尺度母数を計算する評価指標計算ステップと、
前記尺度母数に基づいてレイアウトを評価する評価ステップと、
から構成されることを特徴とするレイアウト評価方法。
A layout evaluation method for evaluating a layout of a layout image with a frame in which a group of images are laid out in a layout frame,
A `` field '' existing around the grouped image and the image representing the layout frame with respect to the framed layout image, and the strength of the `` field '' depends on the distance from the image,
A guidance field calculation step for calculating a visual guidance field having a larger value as it is closer to the image;
A complexity calculation step for calculating the complexity of a closed curved surface of lines connecting equipotential values in the visual induction field;
An evaluation index calculation step for calculating a scale parameter of the sigmoid function when the correspondence between the complexity and the equipotential value is approximated by a sigmoid function;
An evaluation step of evaluating a layout based on the scale parameter;
A layout evaluation method comprising:
レイアウト枠内にひとまとまりの画像をレイアウトした枠付きレイアウト画像のレイア
ウトを評価するレイアウト評価プログラムであって、
コンピュータを、
前記枠付きレイアウト画像に対し、前記ひとまとまりの画像及び前記レイアウト枠を表
す画像の周囲に存在する「場」であって、前記「場」の強さが画像からの距離に依存し、
画像に近いほど大きな値を持つ視覚の誘導場を計算する誘導場計算手段、
前記視覚の誘導場における等ポテンシャル値を結ぶ線の閉曲面の複雑度を計算する複雑
度計算手段、
前記複雑度と等ポテンシャル値との対応関係をシグモイド関数で近似した場合のシグモ
イド関数の尺度母数を計算する評価指標計算手段、
前記尺度母数に基づいてレイアウトを評価する評価手段、
として機能させるためのレイアウト評価プログラム。
A layout evaluation program for evaluating a layout of a layout image with a frame in which a group of images are laid out in a layout frame,
Computer
A `` field '' existing around the grouped image and the image representing the layout frame with respect to the framed layout image, and the strength of the `` field '' depends on the distance from the image,
A guidance field calculation means for calculating a visual guidance field having a larger value as it is closer to the image,
Complexity calculating means for calculating the complexity of a closed curved surface of lines connecting equipotential values in the visual induction field;
An evaluation index calculating means for calculating a scale parameter of a sigmoid function when the correspondence between the complexity and the equipotential value is approximated by a sigmoid function;
An evaluation means for evaluating a layout based on the scale parameter;
Layout evaluation program to function as
JP2007048627A 2007-02-28 2007-02-28 Layout evaluation apparatus, electronic device, layout evaluation method, and control program Withdrawn JP2008210323A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007048627A JP2008210323A (en) 2007-02-28 2007-02-28 Layout evaluation apparatus, electronic device, layout evaluation method, and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007048627A JP2008210323A (en) 2007-02-28 2007-02-28 Layout evaluation apparatus, electronic device, layout evaluation method, and control program

Publications (1)

Publication Number Publication Date
JP2008210323A true JP2008210323A (en) 2008-09-11

Family

ID=39786538

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007048627A Withdrawn JP2008210323A (en) 2007-02-28 2007-02-28 Layout evaluation apparatus, electronic device, layout evaluation method, and control program

Country Status (1)

Country Link
JP (1) JP2008210323A (en)

Similar Documents

Publication Publication Date Title
JP3881439B2 (en) Image processing device
JP4573706B2 (en) Digital image segmentation method
JP4165042B2 (en) Image layout evaluation method, image layout evaluation system, and image layout evaluation processing program
US11233921B2 (en) Image processing apparatus that specifies edge pixel in target image using single-component image data
KR102246058B1 (en) Image processing apparatus and method for controlling the same
JP6417851B2 (en) Image processing apparatus and computer program
JP6127877B2 (en) Image processing apparatus and computer program
WO2012082132A1 (en) Method and system for determining void pantograph settings
JP5429336B2 (en) Image processing apparatus, image processing method, and program
JP6671265B2 (en) Image processing apparatus, control method therefor, and program
US20100100813A1 (en) Document processing apparatus and document processing method
US7065231B2 (en) Image evaluation method, system, and program based on image sensitivity using induction-field energy
JP5067224B2 (en) Object detection apparatus, object detection method, object detection program, and printing apparatus
RU2534005C2 (en) Method and system for converting screenshot into metafile
JP2019046225A (en) Recognition device, recognition program, and recognition method
JP2008210323A (en) Layout evaluation apparatus, electronic device, layout evaluation method, and control program
US10339636B2 (en) Image processing apparatus that specifies edge pixel in target image by calculating edge strength
JP2007079586A (en) Image processing device
JP2003150289A (en) Image display method, image display system, and image display processing program
US20200004481A1 (en) Image processing apparatus and non-transitory computer readable medium
JP2008123399A (en) Emotion recognition device, electronic device, emotion recognition method, control program, and recording medium
US20100259795A1 (en) System and method of image edge growth control
JP2007079587A (en) Image processing device
JP2015109573A (en) Image processing apparatus and image processing method
JP7254621B2 (en) Image processing device, learning device, image processing method, learning method, and program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20100511