JP2003108996A - Image processor and image processing method, image processing program and computer-readable storage medium - Google Patents

Image processor and image processing method, image processing program and computer-readable storage medium

Info

Publication number
JP2003108996A
JP2003108996A JP2001299992A JP2001299992A JP2003108996A JP 2003108996 A JP2003108996 A JP 2003108996A JP 2001299992 A JP2001299992 A JP 2001299992A JP 2001299992 A JP2001299992 A JP 2001299992A JP 2003108996 A JP2003108996 A JP 2003108996A
Authority
JP
Japan
Prior art keywords
setting parameter
image processing
value
setting
parameter candidate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2001299992A
Other languages
Japanese (ja)
Other versions
JP4727874B2 (en
Inventor
Yasuhisa Ikushima
靖久 生嶋
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.)
Keyence Corp
Original Assignee
Keyence 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 Keyence Corp filed Critical Keyence Corp
Priority to JP2001299992A priority Critical patent/JP4727874B2/en
Publication of JP2003108996A publication Critical patent/JP2003108996A/en
Application granted granted Critical
Publication of JP4727874B2 publication Critical patent/JP4727874B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To enable a user to freely adjust and change the setting parameter for image processing. SOLUTION: This image processor is provided with a control part calculating the plurality of set parameters necessary for execution of the prescribed image processing; a display part displaying the calculated set parameter candidates as a plurality of set parameter candidate groups; and an input part selecting a desired set parameter candidate from the displayed set parameter candidate groups, and capable of specifying a value of the set parameter belonging to the selected set parameter candidate. The user selects a desired value from the plurality of set parameter candidate groups, changes or finely adjusts the value, or executes trial and error, to obtain the optimum set parameter value.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えば位置検出な
どに利用される画像処理に関する技術であって、様々な
画像処理において必要な複数のパラメータを表示する画
像処理装置および画像処理方法、画像処理プログラムな
らびにコンピュータで読み取り可能な記憶媒体に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing technique used for position detection, for example, and an image processing apparatus and an image processing method for displaying a plurality of parameters necessary for various image processings. The present invention relates to a program and a computer-readable storage medium.

【0002】[0002]

【従来の技術】画像処理装置においては、ユーザの要望
に応じて様々な処理が行われる。画像処理の中には、要
求される各種の処理を適切に実行するために複数のパラ
メータを最適に設定する必要のある処理が多く存在す
る。これらのパラメータは処理によっては多数存在し、
また相互に関連している場合があるために、これらのパ
ラメータすべてを一々ユーザ側で設定するように委ねる
と、非常に煩雑となり操作性が悪くなる。このため、画
像処理装置側で自動的に設定させることが一般に行われ
ている。このようなパラメータの自動設定を実現するた
めに、画像処理装置側で最適と思われるパラメータの組
み合わせを算出し、設定する様々な技術は開発され現実
に利用されている。これらの技術においては、パラメー
タの組み合わせ候補として最適と思われる組み合わせを
一組だけ、自動的に選択している。
2. Description of the Related Art In an image processing apparatus, various processes are performed according to a user's request. In image processing, there are many kinds of processing in which it is necessary to optimally set a plurality of parameters in order to appropriately execute various required processing. Many of these parameters exist depending on the process,
Since they may be related to each other, if all of these parameters are left set by the user, it becomes very complicated and the operability deteriorates. For this reason, it is generally performed to automatically set the image processing apparatus. In order to realize such automatic parameter setting, various techniques for calculating and setting a combination of parameters considered to be optimal on the image processing apparatus side have been developed and are actually used. In these techniques, only one set that seems to be optimal as a combination candidate of parameters is automatically selected.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、この方
法では画像処理装置側で自動的に最適と思われる値を固
定しているため、ユーザ側で調整できないという問題が
ある。ユーザ側にとっては、設定の自由度が少なくなる
ため、細かな調整や最適化、状況に応じたチューニング
ができないという欠点があった。特に、画像処理におい
ては、装置側で自動的に最適値を選択することが困難な
場合も少なくない。画像処理のデータは比較的外乱の影
響を受け易く、処理対象となる映像も多岐にわたる。こ
のため、ある基準に沿って装置側で選択された一組のパ
ラメータが、様々な使用状況で常に最適であるとは限ら
ない。
However, this method has a problem that the user cannot adjust the value because the optimum value is automatically fixed on the image processing apparatus side. On the user side, there is a drawback that the degree of freedom in setting is reduced, so that fine adjustment, optimization, and tuning according to the situation cannot be performed. Particularly in image processing, it is often difficult for the apparatus to automatically select the optimum value. Image processing data is relatively susceptible to disturbances, and there are a wide variety of images to be processed. Therefore, a set of parameters selected on the device side according to a certain criterion is not always optimal in various usage situations.

【0004】また、パラメータの候補は通常一組のみし
か算出されない。さらに、各パラメータがユーザ側に表
示されないことも多い。このため、パラメータの設定に
若干の変更や修正を加えたくとも、それを実現するだけ
の情報がユーザに提示されていないという問題がある。
パラメータの情報が与えられない場合、ユーザは多くの
パラメータの複雑な関係を理解し最適値を推測すること
が極めて困難となる。
Further, usually only one set of parameter candidates is calculated. Furthermore, each parameter is often not displayed to the user. Therefore, there is a problem in that even if a user wants to make some changes or modifications to the parameter settings, the information to realize them is not presented to the user.
When the parameter information is not given, it becomes extremely difficult for the user to understand the complex relation of many parameters and to guess the optimum value.

【0005】本発明は、このような問題点を解決するこ
とを目的に開発されたものである。本発明の主な目的
は、パラメータの候補群を一覧表示しユーザ側で最適な
候補を選択できると共に、必要な場合は設定値を変更す
ることのできる画像処理装置および画像処理方法、画像
処理プログラムならびにコンピュータで読み取り可能な
記憶媒体を提供することにある。
The present invention was developed for the purpose of solving such problems. A main object of the present invention is to display a list of parameter candidates and select an optimum candidate on the user side, and an image processing apparatus, an image processing method, and an image processing program capable of changing set values when necessary. Another object is to provide a computer-readable storage medium.

【0006】[0006]

【課題を解決するための手段】上記目的を実現するため
に、本発明の請求項1に記載される画像処理装置は、入
力画像に対して所定の画像処理を行うものである。この
画像処理装置は、前記所定の画像処理を行うために必要
な複数の設定パラメータを演算する制御部と、演算され
た設定パラメータ候補を複数の設定パラメータ候補群と
して表示する表示部と、表示された設定パラメータ候補
群の内から所望の設定パラメータ候補を選択し、前記選
択された設定パラメータ候補に属する設定パラメータの
値を指定可能な入力部とを備えることを特徴とする。
In order to achieve the above object, an image processing apparatus according to a first aspect of the present invention performs predetermined image processing on an input image. This image processing device displays a control unit that calculates a plurality of setting parameters necessary for performing the predetermined image processing, a display unit that displays the calculated setting parameter candidates as a plurality of setting parameter candidate groups, and a display unit that displays the setting parameter candidates. A desired setting parameter candidate is selected from the set parameter candidate group, and an input unit capable of designating the value of the setting parameter belonging to the selected setting parameter candidate is provided.

【0007】また、本発明の請求項2に記載される画像
処理装置は、入力画像に対して所定のしきい値を基準と
して二値の画像に置き換える二値化処理であって前記し
きい値を自動的に変更する自動なしきい値の決定を行う
ものである。この画像処理装置は、前記自動しきい値の
決定を行うために必要な複数の設定パラメータを演算す
る制御部と、演算された設定パラメータ候補を複数の設
定パラメータ候補群として表示する表示部と、表示され
た設定パラメータ候補群の内から所望の設定パラメータ
候補を選択し、前記選択された設定パラメータ候補に属
する設定パラメータの値を指定可能な入力部とを備える
ことを特徴とする。
The image processing apparatus according to a second aspect of the present invention is a binarization process for replacing an input image with a binary image with a predetermined threshold as a reference. Is automatically determined. This image processing device, a control unit that calculates a plurality of setting parameters necessary for determining the automatic threshold, a display unit that displays the calculated setting parameter candidates as a plurality of setting parameter candidate group, It is characterized by further comprising: an input unit capable of selecting a desired setting parameter candidate from the displayed setting parameter candidate group and designating a value of the setting parameter belonging to the selected setting parameter candidate.

【0008】さらに、本発明の請求項3に記載される画
像処理装置は、入力画像に対して所定のしきい値に基づ
きエッジ部分を検出するエッジ検出処理を行うものであ
る。この画像処理装置は、前記エッジ検出処理を行うた
めに必要な複数の設定パラメータを演算する制御部と、
演算された設定パラメータ候補を複数の設定パラメータ
候補群として表示する表示部と、表示された設定パラメ
ータ候補群の内から所望の設定パラメータ候補を選択
し、前記選択された設定パラメータ候補に属する設定パ
ラメータの値を指定可能な入力部とを備えることを特徴
とする。
Further, the image processing apparatus according to the third aspect of the present invention performs an edge detection process for detecting an edge portion on the input image based on a predetermined threshold value. This image processing device, a control unit that calculates a plurality of setting parameters necessary for performing the edge detection process,
A display unit for displaying the calculated setting parameter candidates as a plurality of setting parameter candidate groups, and selecting a desired setting parameter candidate from the displayed setting parameter candidate group, and setting parameters belonging to the selected setting parameter candidate. And an input unit capable of designating the value of.

【0009】さらにまた、本発明の請求項4に記載され
る画像処理装置は、請求項1から3のいずれかに記載さ
れる特徴に加えて、前記画像処理装置はさらに、前記入
力部によって指定された設定パラメータの値を調整可能
な設定パラメータ値調整手段を備えることを特徴とす
る。
Further, in the image processing apparatus according to claim 4 of the present invention, in addition to the features described in any one of claims 1 to 3, the image processing apparatus is further designated by the input section. It is characterized by comprising setting parameter value adjusting means capable of adjusting the value of the set parameter.

【0010】さらにまた、本発明の請求項5に記載され
る画像処理装置は、請求項1から4のいずれかに記載さ
れる特徴に加えて、前記設定パラメータ候補に、各設定
パラメータ候補の特徴を示す指標を付記したことを特徴
とする。
Further, in the image processing device according to claim 5 of the present invention, in addition to the features described in any one of claims 1 to 4, the feature of each setting parameter candidate is added to the setting parameter candidate. It is characterized in that an index indicating is added.

【0011】さらにまた、本発明の請求項6に記載され
る画像処理装置は、請求項5に記載される特徴に加え
て、前記指標が予測される処理に要する時間であること
を特徴とする。
Furthermore, the image processing apparatus according to claim 6 of the present invention is characterized in that, in addition to the characteristics described in claim 5, the index is the time required for the predicted processing. .

【0012】さらにまた、本発明の請求項7に記載され
る画像処理装置は、入力画像に対して所定の画像処理を
行うものである。この画像処理装置は、外部から画像デ
ータを入力し保持する入力画像記憶部と、前記入力画像
記憶部に接続されて画像データを読み取り、前記所定の
画像処理を行う画像処理部と、前記画像処理部で前記所
定の画像処理を行うために必要な設定パラメータの候補
を演算する制御部と、前記制御部で演算された設定パラ
メータの候補群を一覧表示する表示部と、前記表示部で
表示される設定パラメータ候補群に基づいて設定パラメ
ータの値を変更可能な入力部とを備えることを特徴とす
る。
Furthermore, an image processing apparatus according to a seventh aspect of the present invention performs predetermined image processing on an input image. This image processing device includes an input image storage unit that inputs and holds image data from the outside, an image processing unit that is connected to the input image storage unit, reads image data, and performs the predetermined image processing, and the image processing unit. Displayed on the display unit, and a display unit for displaying a list of a set of setting parameter candidates calculated by the control unit, the control unit calculating a setting parameter candidate required for performing the predetermined image processing. And an input unit capable of changing the value of the setting parameter based on the setting parameter candidate group.

【0013】さらに、本発明の請求項8に記載される画
像処理方法は、入力画像に対して所定の画像処理を行う
画像処理方法である。この画像処理方法は、前記所定の
画像処理を行うために必要な複数の設定パラメータを演
算する工程と、演算された設定パラメータ候補を複数の
設定パラメータ候補群として表示する工程と、表示され
た設定パラメータ候補群の内から所望の設定パラメータ
候補を選択し、前記選択された設定パラメータ候補に属
する設定パラメータの値を指定する工程とを備えること
を特徴とする。
Further, the image processing method according to claim 8 of the present invention is an image processing method for performing predetermined image processing on an input image. This image processing method includes a step of calculating a plurality of setting parameters necessary for performing the predetermined image processing, a step of displaying the calculated setting parameter candidates as a plurality of setting parameter candidate groups, and a displayed setting. Selecting a desired setting parameter candidate from the parameter candidate group and designating the value of the setting parameter belonging to the selected setting parameter candidate.

【0014】さらにまた、本発明の請求項9に記載され
る画像処理方法は、入力画像に対して所定のしきい値を
基準として二値の画像に置き換える二値化処理であって
前記しきい値を自動的に変更する自動なしきい値の決定
を行う画像処理方法である。この画像処理方法は、前記
自動しきい値の決定を行うために必要な複数の設定パラ
メータを演算する工程と、演算された設定パラメータ候
補を複数の設定パラメータ候補群として表示する工程
と、表示された設定パラメータ候補群の内から所望の設
定パラメータ候補を選択し、前記選択された設定パラメ
ータ候補に属する設定パラメータの値を指定する工程と
を備えることを特徴とする。
Furthermore, an image processing method according to a ninth aspect of the present invention is a binarization process for replacing an input image with a binary image based on a predetermined threshold value, and the threshold value. An image processing method for automatically determining a threshold value for automatically changing a value. This image processing method includes a step of calculating a plurality of setting parameters necessary for determining the automatic threshold, a step of displaying the calculated setting parameter candidates as a plurality of setting parameter candidate groups, and Selecting a desired setting parameter candidate from the set of setting parameter candidates, and designating the value of the setting parameter belonging to the selected setting parameter candidate.

【0015】さらにまた、本発明の請求項10に記載さ
れる画像処理方法は、入力画像に対して所定のしきい値
に基づきエッジ部分を検出するエッジ検出処理を行う画
像処理方法である。この画像処理方法は、前記エッジ検
出処理を行うために必要な複数の設定パラメータを演算
する工程と、演算された設定パラメータ候補を複数の設
定パラメータ候補群として表示する工程と、表示された
設定パラメータ候補群の内から所望の設定パラメータ候
補を選択し、前記選択された設定パラメータ候補に属す
る設定パラメータの値を指定する工程とを備えることを
特徴とする。
An image processing method according to a tenth aspect of the present invention is an image processing method for performing edge detection processing for detecting an edge portion on an input image based on a predetermined threshold value. This image processing method includes a step of calculating a plurality of setting parameters necessary for performing the edge detection process, a step of displaying the calculated setting parameter candidates as a plurality of setting parameter candidate groups, and a displayed setting parameter. And a step of selecting a desired setting parameter candidate from the candidate group and designating a value of the setting parameter belonging to the selected setting parameter candidate.

【0016】さらにまた、本発明の請求項11に記載さ
れる画像処理方法は、請求項8から10のいずれかに記
載される特徴に加えて、前記画像処理方法がさらに指定
された設定パラメータの値を調整する工程を有すること
を特徴とする。
Furthermore, the image processing method according to claim 11 of the present invention is characterized in that, in addition to the features described in any one of claims 8 to 10, the image processing method further includes a setting parameter specified. It is characterized by having a step of adjusting the value.

【0017】さらに、本発明の請求項12に記載される
画像処理プログラムは、入力画像に対して所定の画像処
理を行う画像処理プログラムである。この画像処理プロ
グラムは、前記所定の画像処理を行うために必要な複数
の設定パラメータを演算する手段と、演算された設定パ
ラメータ候補を複数の設定パラメータ候補群として表示
する手段と、表示された設定パラメータ候補群の内から
所望の設定パラメータ候補を選択し、前記選択された設
定パラメータ候補に属する設定パラメータの値を指定す
る手段とを備えることを特徴とする。このプログラム
は、ネットワークを介してダウンロード可能な形態も含
まれる。
Further, the image processing program according to claim 12 of the present invention is an image processing program for performing predetermined image processing on an input image. The image processing program includes means for calculating a plurality of setting parameters necessary for performing the predetermined image processing, means for displaying the calculated setting parameter candidates as a plurality of setting parameter candidate groups, and the displayed setting. And a means for selecting a desired setting parameter candidate from the parameter candidate group and designating a value of the setting parameter belonging to the selected setting parameter candidate. This program also includes a form that can be downloaded via a network.

【0018】さらにまた、本発明の請求項13に記載さ
れる画像処理プログラムは、請求項12に記載される特
徴に加えて、前記画像処理プログラムがさらに、指定さ
れた設定パラメータの値を調整する手段を有することを
特徴とする。
Furthermore, in the image processing program according to claim 13 of the present invention, in addition to the features described in claim 12, the image processing program further adjusts the value of the designated setting parameter. It is characterized by having means.

【0019】さらにまた、本発明の請求項14に記載さ
れるコンピュータで読み取り可能な記録媒体は、請求項
12または13に記載される前記画像処理プログラムを
格納したものである。記録媒体には、CD−ROM、C
D−R、CD−RWやフレキシブルディスク、カセット
テープ、MO、DVD−ROM、DVD−RAM、DV
D−RW、DVD+RWなどの磁気ディスク、光ディス
ク、光磁気ディスク、半導体メモリその他のプログラム
を格納可能な媒体が含まれる。
Further, a computer-readable recording medium according to a fourteenth aspect of the present invention stores the image processing program according to the twelfth or thirteenth aspect. The recording medium is a CD-ROM, C
DR, CD-RW, flexible disk, cassette tape, MO, DVD-ROM, DVD-RAM, DV
It includes a magnetic disk such as a D-RW, a DVD + RW, an optical disk, a magneto-optical disk, a semiconductor memory, and other media capable of storing a program.

【0020】[0020]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて説明する。ただし、以下に示す実施の形態
は、本発明の技術的思想を具体化するための画像処理装
置および画像処理方法、画像処理プログラムならびにコ
ンピュータで読み取り可能な記憶媒体を例示するもので
あって、本発明は画像処理装置および画像処理方法、画
像処理プログラムならびにコンピュータで読み取り可能
な記憶媒体を以下のものに特定しない。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. However, the embodiments described below exemplify an image processing apparatus and an image processing method for embodying the technical idea of the present invention, an image processing program, and a computer-readable storage medium. The invention does not specify an image processing apparatus, an image processing method, an image processing program, and a computer-readable storage medium as follows.

【0021】さらに、この明細書は、特許請求の範囲を
理解し易いように、実施の形態に示される部材に対応す
る番号を、「特許請求の範囲の欄」、および「課題を解
決するための手段の欄」に示される部材に付記してい
る。ただ、特許請求の範囲に示される部材を、実施の形
態の部材に特定するものでは決してない。なお、各図面
が示す部材の大きさや位置関係などは、説明を明確にす
るため誇張していることがある。
Further, in this specification, in order to facilitate understanding of the claims, the numbers corresponding to the members shown in the embodiments are referred to as "claims column" and "to solve the problem." It is added to the members shown in the column of "means". However, the members shown in the claims are not limited to the members of the embodiment. The sizes and positional relationships of members shown in the drawings may be exaggerated for clarity of explanation.

【0022】本明細書において画像処理装置または画像
処理方法とは、画像処理そのものを行う装置または方法
に限られず、画像処理に関連する処理を行う装置または
方法も含まれる。またハードウェア的に処理を行う装置
に限定するものでなく、ソフトウェア的な処理を行う装
置も包含するよう意図するものである。例えば汎用の回
路やコンピュータにソフトウェアやプログラム、プラグ
イン、オブジェクト、ライブラリ、アプレット、コンパ
イラなどを組み込んだ画像処理ならびにこれに関連する
処理を実施可能とした汎用あるいは専用のコンピュー
タ、ワークステーション、端末、携帯型電子機器、PD
A、ページャ、スマートフォンその他の電子デバイスも
画像処理装置に含まれる。また本明細書においては、プ
ログラム自体も画像処理装置に含むものとする。
In the present specification, the image processing apparatus or the image processing method is not limited to the apparatus or the method for performing the image processing itself, but also includes the apparatus or the method for performing the processing related to the image processing. Further, the present invention is not limited to a device that performs processing in hardware, and is intended to include a device that performs processing in software. For example, a general-purpose or dedicated computer, workstation, terminal, or mobile device capable of performing image processing in which software or programs, plug-ins, objects, libraries, applets, compilers, etc. are installed in a general-purpose circuit or computer and related processing. Type electronic device, PD
The image processing apparatus also includes electronic devices such as A, a pager, a smartphone, and the like. Further, in the present specification, the program itself is also included in the image processing apparatus.

【0023】以下、本発明の実施例として自動しきい値
決定という処理においてパラメータの一覧表を提示する
実施例1と、エッジ検出処理においてパラメータの一覧
表を提示する実施例2について、それぞれ説明する。さ
らにこれら以外の様々な画像処理に対しても、これらと
同様にパラメータを一覧表示しユーザのチューニングに
資することが可能である。
Hereinafter, as Embodiments of the present invention, Embodiment 1 which presents a list of parameters in a process called automatic threshold value determination and Embodiment 2 which presents a list of parameters in an edge detection process will be respectively described. . Further, for various image processings other than these, it is possible to display a list of parameters similarly to these and contribute to tuning of the user.

【0024】[画像処理装置]本発明の実施例に係る画
像処理装置の構成を図11に基づいて説明する。図11
に示す画像処理装置は、外部から画像データを入力する
入力画像記憶部1と、入力画像記憶部1に接続されて画
像データを読み取り、各種の処理を行う画像処理部3
と、画像処理部3で所定の画像処理を行うための制御や
画像処理に必要な設定パラメータの候補を演算する制御
部4と、制御部4で演算された設定パラメータ候補群を
表示する表示部5と、表示部5で表示される設定パラメ
ータ候補群を参考にしてユーザが所望の設定パラメータ
に調整可能な入力部6とを備える。なお、相互の部材同
士の関係や接続形態は図11に示す例に捕らわれず、例
えば画像処理部3と制御部4を入れ替えたり、一の部材
で構成したりすることも可能である。
[Image Processing Apparatus] The configuration of the image processing apparatus according to the embodiment of the present invention will be described with reference to FIG. Figure 11
The image processing apparatus shown in (1) is an input image storage unit 1 for inputting image data from the outside, and an image processing unit 3 connected to the input image storage unit 1 for reading image data and performing various processing
And a control unit 4 for calculating control parameter for performing predetermined image processing in the image processing unit 3 and a candidate for setting parameter necessary for the image processing, and a display unit for displaying the set parameter candidate group calculated by the control unit 4. 5 and an input unit 6 that allows the user to adjust desired setting parameters with reference to the setting parameter candidate group displayed on the display unit 5. The relationship between the members and the connection form are not limited to the example shown in FIG. 11, and the image processing unit 3 and the control unit 4 may be replaced with each other or may be configured by one member.

【0025】入力画像記憶部1は、これに接続される画
像ソース7から入力される画像をデータとして記憶す
る。例えば、撮像カメラで撮影されたリアルタイムの画
像や、予め記録された再生画像あるいは予め記録された
静止画などを入力画像とし、これを例えばA/Dコンバ
ータでアナログ信号からデジタル信号に変換して二値化
データや多階調のグレースケールデータなどの画像デー
タとする。入力画像記憶部1には入力画像データを記憶
するメモリ、例えば揮発性メモリであるRAMなどが使
用される。
The input image storage unit 1 stores the image input from the image source 7 connected thereto as data. For example, a real-time image taken by an image pickup camera, a prerecorded reproduced image, a prerecorded still image, or the like is used as an input image, and this is converted into a digital signal from an analog signal by an A / D converter, for example. Image data such as binarized data and multi-tone grayscale data. The input image storage unit 1 uses a memory that stores input image data, such as a RAM that is a volatile memory.

【0026】画像処理部3は、入力画像記憶部1から入
力画像データを読み取って、画像処理を行う作業領域と
なる。画像処理部3に接続された制御部4は、入力画像
記憶部1から画像データを呼び出すアドレスを指定す
る。制御部4はCPUなどで構成され、制御部4に指定
されたアドレスに従って画像処理部3は必要な画像デー
タを読み出し、画像処理を実施する。制御部4はさら
に、画像処理を行うために必要な設定パラメータの候補
を演算する。この本発明に係る実施形態の特徴は、画像
処理のアルゴリズムや設定パラメータの算出方法そのも
のよりも、演算された設定パラメータを表示して、これ
をユーザが変更できるようにしたことにある。したがっ
て、画像処理およびその設定パラメータについては、既
知の画像処理および将来開発される画像処理が利用でき
る。具体的な画像処理の例については後述する。所定の
手順に従って演算される各種の設定パラメータは、制御
部4内部のメモリに保持される。設定パラメータの種類
は、画像処理に応じて種々のものが存在し、具体例につ
いては後述する。求められた設定パラメータのセットを
第一の設定パラメータ候補群として内部メモリに保持す
る。さらに、同様の手順で上記と異なる設定パラメータ
を演算し、第二の設定パラメータ候補群を内部メモリに
保持する。以下、この動作を繰り返して複数の設定パラ
メータ候補群を求める。
The image processing section 3 serves as a work area for reading input image data from the input image storage section 1 and performing image processing. The control unit 4 connected to the image processing unit 3 specifies an address for calling the image data from the input image storage unit 1. The control unit 4 is composed of a CPU and the like, and the image processing unit 3 reads out necessary image data according to an address designated by the control unit 4 and performs image processing. The control unit 4 further calculates candidates for setting parameters necessary for performing image processing. A feature of the embodiment according to the present invention is that the calculated setting parameter is displayed and the user can change the setting parameter rather than the image processing algorithm and the setting parameter calculating method itself. Therefore, as for the image processing and its setting parameters, known image processing and image processing to be developed in the future can be used. A specific example of image processing will be described later. Various setting parameters calculated according to a predetermined procedure are held in a memory inside the control unit 4. There are various types of setting parameters depending on the image processing, and a specific example will be described later. The obtained set of setting parameters is held in the internal memory as a first set of setting parameter candidates. Further, the setting parameters different from the above are calculated by the same procedure, and the second setting parameter candidate group is held in the internal memory. Hereinafter, this operation is repeated to obtain a plurality of setting parameter candidate groups.

【0027】得られた複数の設定パラメータ候補群は、
制御部4から表示部5に送られ、外部に表示される。表
示方法は、図2や図8の例に示すように一覧形式で複数
の設定パラメータ候補群を同時に表示し、また各設定パ
ラメータ候補群の特徴を示すそれぞれの指標(後述)が
確認できるようにする。さらに、ユーザが所望の設定パ
ラメータ候補を指定すると、その設定パラメータ候補に
属する各設定パラメータの詳細が表示される。ユーザ
は、表示部5で表示される演算された設定パラメータ候
補群を参考にして、ユーザのシステムまたは装置に対し
て最適なパラメータ値を入力部6から入力し、あるいは
演算された値を調整、変更することができる。入力部6
はマウスやタブレット、デジタイザ、ライトペン、キー
ボード、テンキー、ジョグダイヤル、タッチパッド、ス
ライドパッド、アキュポイントなどの各種ポインティン
グデバイスが利用できる。例えば図2や図8に示す画面
から、ユーザが選択した設定パラメータ候補群の各設定
パラメータが各入力欄に自動的に入力される。この状態
でユーザは入力部6を操作してカーソルを所望のパラメ
ータの欄に移動させ、デフォルトで入力されている演算
値を増減させ、あるいは直接値を入力する。このよう
に、入力部は設定パラメータ調整手段を構成し、画像処
理装置で自動的に演算した各種の最適と思われるパラメ
ータ値を参考にしながら、ユーザは使用状況に合わせて
さらにパラメータ値を微調整することができる。入力部
6から入力あるいは修正された値は制御部4に入力さ
れ、制御部4は入力情報に従って表示部5の表示内容を
更新する。
The plurality of obtained setting parameter candidate groups are
It is sent from the control unit 4 to the display unit 5 and displayed outside. As for the display method, a plurality of setting parameter candidate groups are simultaneously displayed in a list format as shown in the examples of FIG. 2 and FIG. 8, and respective indexes (described later) indicating the characteristics of each setting parameter candidate group can be confirmed. To do. Further, when the user specifies a desired setting parameter candidate, details of each setting parameter belonging to the setting parameter candidate are displayed. The user refers to the calculated setting parameter candidate group displayed on the display unit 5, inputs the optimum parameter value for the user's system or apparatus from the input unit 6, or adjusts the calculated value. Can be changed. Input section 6
Can use various pointing devices such as mouse, tablet, digitizer, light pen, keyboard, numeric keypad, jog dial, touch pad, slide pad and AccuPoint. For example, from the screens shown in FIGS. 2 and 8, each setting parameter of the setting parameter candidate group selected by the user is automatically input in each input field. In this state, the user operates the input unit 6 to move the cursor to the desired parameter field to increase / decrease the default calculated value or directly input a value. As described above, the input unit constitutes the setting parameter adjusting means, and the user further fine-tunes the parameter value according to the usage situation while referring to various optimal parameter values automatically calculated by the image processing apparatus. can do. The value input or corrected from the input unit 6 is input to the control unit 4, and the control unit 4 updates the display content of the display unit 5 according to the input information.

【0028】[実施例1 自動しきい値決定]以下、実
施例1として自動しきい値決定における各種パラメータ
を一覧表示する手法を説明する。図1に、自動しきい値
決定のパラメータ候補群の一覧表を、図2に本実施例を
実現するプログラムのユーザインターフェースの一例を
示す。
[Embodiment 1 Automatic threshold determination] A method for displaying a list of various parameters in automatic threshold determination will be described below as Embodiment 1. FIG. 1 shows a list of parameter candidate groups for automatic threshold value determination, and FIG. 2 shows an example of a user interface of a program for realizing this embodiment.

【0029】二値化処理とは、画像処理の前処理などで
行われる、多値画像を特定のしきい値を基準としてその
上下で二値の画像に置き換える処理である。通常の二値
化処理においては、しきい値は固定であるため、外乱の
影響などが原因で入力された多値画像に変化が起こる
と、所望の二値画像が得られないことがある。そこで、
しきい値を固定とせず、入力画像に応じて常に最適なし
きい値となるように変動させる手法が知られており、こ
の手法を総称して自動しきい値決定という。
The binarization process is a process which is carried out as a pre-process of image processing or the like and which replaces a multi-valued image with a binary image above and below the specific threshold value. In a normal binarization process, since the threshold value is fixed, if a change occurs in the input multivalued image due to the influence of disturbance, a desired binary image may not be obtained. Therefore,
A method is known in which the threshold value is not fixed and is varied so that the threshold value is always the optimum value according to the input image. This method is generically called automatic threshold value determination.

【0030】対象となる画像データが変わると、設定さ
れたしきい値が最適でなくなることがある。よって画像
が変わると最適なしきい値を算出してやる必要があり、
画像データに応じた最適なしきい値決定を行うために各
種のパラメータを設定する必要がある。このような複数
のパラメータのすべての設定をユーザの手に委ねるのは
困難である。そこで画像処理装置側で各設定パラメータ
を演算すると共に、演算された設定パラメータ候補を表
示させてユーザに確認させると共に、ユーザ側で各値を
調整できるようにした。また適切と思われる設定パラメ
ータ候補を複数組演算して、これらを一覧表示させるこ
とで、ユーザはこれら複数の設定パラメータ候補群を参
照、あるいは取捨選択して、所望の設定パラメータに調
整することが可能となる。
If the target image data changes, the set threshold value may not be optimum. Therefore, it is necessary to calculate the optimal threshold value when the image changes,
It is necessary to set various parameters to determine the optimum threshold value according to the image data. It is difficult to leave all settings of such a plurality of parameters to the user. Therefore, the image processing apparatus calculates each setting parameter, displays the calculated setting parameter candidates for user confirmation, and allows the user to adjust each value. Further, by calculating a plurality of sets of setting parameter candidates that are considered to be appropriate and displaying them in a list, the user can refer to or select these plural setting parameter candidate groups and adjust them to desired setting parameters. It will be possible.

【0031】[自動しきい値決定の手順]以下、自動し
きい値決定において、256階調の入力画像を二値化
し、しきい値を自動的に設定する工程を図3のフローチ
ャートに基づいて説明する。入力画像の階調もしくは色
数はこれに限られるものでなく、24色、あるいは24
万色の入力画像であっても同様の手法で二値化処理を行
うことができる。
[Procedure for Automatic Threshold Determination] In the following, in the automatic threshold determination, the step of binarizing an input image of 256 gradations and automatically setting the threshold will be described with reference to the flowchart of FIG. explain. The gradation or the number of colors of the input image is not limited to this, but 24 colors or 24
Even with an input image of all colors, the binarization process can be performed by the same method.

【0032】[濃度ヒストグラム]まず、濃度値のヒス
トグラムを作成する(S1)。濃度ヒストグラムとは、
入力画像に含まれる画素の濃度分布を示すグラフであ
る。濃度ヒストグラムの波形の一例を図4にて太線で示
す。この濃度ヒストグラムは、図2のユーザインターフ
ェースにおいて画面左下に表示されているものを説明の
ために拡大したものである。この例では、元の画像デー
タの各画素毎に濃度値を0(黒)〜255(白)の階調
で表し、各濃度値について入力画像中にその濃度値の画
素が幾つあったかを計数し、それぞれの階調毎に総数を
プロットしている。
[Density Histogram] First, a density value histogram is created (S1). What is a density histogram?
It is a graph which shows the density distribution of the pixel contained in an input image. An example of the waveform of the density histogram is shown by the thick line in FIG. This density histogram is an enlargement of the one displayed at the lower left of the screen in the user interface of FIG. 2 for the purpose of explanation. In this example, the density value for each pixel of the original image data is represented by a gradation of 0 (black) to 255 (white), and for each density value, the number of pixels having that density value in the input image is counted. , The total number is plotted for each gradation.

【0033】次に、濃度ヒストグラム波形を微分する
(S2)。図4の例では、微分波形を元の濃度ヒストグ
ラムに重ねて波線で表示している。なお、濃度ヒストグ
ラム波形とその微分波形は、色分けや線種(細線、太
線、波線、一点鎖線など)を変更することにより同時表
示時にも区別することができる。あるいは、元の画像
と、二値化処理された画像とを切り替えて一方の波形の
みを表示させても良い。また、それぞれの波形用に複数
のプレビュー画面を設けても良い。
Next, the density histogram waveform is differentiated (S2). In the example of FIG. 4, the differential waveform is displayed as a wavy line by superimposing it on the original density histogram. The density histogram waveform and its differential waveform can be distinguished even at the time of simultaneous display by changing the color classification and line type (thin line, thick line, wavy line, alternate long and short dash line, etc.). Alternatively, the original image and the binarized image may be switched to display only one waveform. Also, a plurality of preview screens may be provided for each waveform.

【0034】次に、S2のステップで求められた微分波
形について、図4に示すようなゼロ点とクロスする値、
つまりゼロクロス点となる点に対して番号を付す。図4
に示すように、これにより間接的に濃度ヒストグラムに
おけるピーク値に対して番号を付したこととなる(S
3)。図4の例では、各ピーク(微分波形で言う、ゼロ
クロス点)の下方に番号を付すことで、ピークの存在と
その番号を示している。この番号を表示させることによ
って、ユーザにピークの存在を認識させるようにしてい
る。ピークの番号表示は、数字(1、2、3、・・・)
やアルファベット(a、b、c、d、・・・)など、任
意の文字や記号が使用できる。また図4において右から
左に向かって順に付してもよい。なおピークの情報は、
ユーザに知らせないで装置側で演算して処理してもよ
い。
Next, with respect to the differential waveform obtained in step S2, a value that crosses the zero point as shown in FIG.
That is, a number is attached to the point that becomes the zero-cross point. Figure 4
As a result, the peak values in the density histogram are indirectly numbered by this (S
3). In the example of FIG. 4, a number is attached below each peak (a zero-cross point in the differential waveform) to indicate the existence of the peak and its number. By displaying this number, the user is made to recognize the existence of the peak. Peak numbers are displayed as numbers (1, 2, 3, ...)
Arbitrary characters or symbols such as or alphabet (a, b, c, d, ...) Can be used. Further, in FIG. 4, they may be added in order from right to left. The peak information is
The device may calculate and process without notifying the user.

【0035】次に微分した波形からしきい値を決定する
(S4)。一般に二値化処理のためのしきい値が一つの
場合は、ヒストグラムで表示される大きなピーク同士の
間に引くのが好ましいとされている。そのため、各ピー
クに番号を付し、何番目と何番目のピークの間にしきい
値を設定するかを演算して決定する。しきい値を設定す
る位置、すなわちしきい値として設定する濃度値は、例
えばピークの番号と、このピークと前のピークとの中間
位置を基準として、この中間位置を100%としたとき
のオフセット位置で表現できる。あるいは、しきい値と
するピークの番号をN、オフセット値をPとするとき、
しきい値はN−1番目のピークとN番目のピークの間
で、これらのピーク値をP:(100−P)に内分する
点の濃度値としてもよい。この方法では、N=3、P=
67のとき、ピーク番号2番目の3番目の間で、これら
のピーク値を67:33に内分する濃度がしきい値とな
る。さらにしきい値を特定する手段は、これら以外の手
法を用いてもよい。以上のようにして、画像処理装置は
二値化処理におけるしきい値を自動的に演算する。
Next, a threshold value is determined from the differentiated waveform (S4). In general, when there is one threshold value for the binarization processing, it is preferable to draw it between the large peaks displayed in the histogram. Therefore, a number is assigned to each peak, and a threshold value is set between the peaks and the peak value is calculated and determined. The position at which the threshold value is set, that is, the density value set as the threshold value is, for example, the offset when the intermediate position between the peak number and the previous peak is taken as the reference and the intermediate position is set to 100%. Can be expressed by position. Alternatively, when the peak number used as the threshold value is N and the offset value is P,
The threshold value may be a density value at a point between the N-1th peak and the Nth peak and internally dividing these peak values into P: (100-P). In this method, N = 3, P =
In the case of 67, the concentration that internally divides these peak values at 67:33 between the second and third peak numbers becomes the threshold value. Further, the means for specifying the threshold value may use a method other than these. As described above, the image processing apparatus automatically calculates the threshold value in the binarization process.

【0036】しきい値は一のみを設定する場合に限定さ
れず、状況によってしきい値を複数設定したいことがあ
る。さらに、入力画像の内から背景の部分をカットした
いなど、様々な要求が発生する。これらの条件に応じ
て、複数のしきい値を設定する。図4の例では、上限し
きい値と下限しきい値を設定している。さらに、自動し
きい値決定にはこれらしきい値の他、様々な設定パラメ
ータが存在する。以下、各設定パラメータについて説明
する
The threshold value is not limited to the case where only one threshold value is set, and it may be desired to set a plurality of threshold values depending on the situation. Further, various requests are made, such as wanting to cut the background part from the input image. Multiple thresholds are set according to these conditions. In the example of FIG. 4, the upper limit threshold and the lower limit threshold are set. In addition to these thresholds, there are various setting parameters for automatic threshold determination. Each setting parameter is explained below

【0037】[設定パラメータの種類]図1に示すよう
に、自動しきい値決定におけるパラメータには、上限し
きい値、下限しきい値それぞれに関して基準となるピー
ク番号とオフセット位置、さらに平滑度、度数カットレ
ベル、下限カットレベル、上限カットレベルなどが挙げ
られる。
[Types of Setting Parameters] As shown in FIG. 1, the parameters in the automatic threshold value determination are the peak number and the offset position which are the reference for the upper threshold value and the lower threshold value, and the smoothness, Examples include frequency cut level, lower limit cut level, and upper limit cut level.

【0038】[上限しきい値、下限しきい値、ピーク番
号、オフセット]しきい値は複数設けることができ、こ
の例では上限しきい値と下限しきい値の2つを設定して
いる。入力画像の内、下限しきい値と上限しきい値の間
の濃度を持つピクセルを255とし、それ以外の濃度を
持つピクセルを0とする。しきい値の特定は、上述のよ
うにピーク番号とオフセット位置で表示される。すなわ
ち、下限しきい値はn番目ピークのm%の位置、上限し
きい値はk番目ピークのl%の位置といった形式で特定
される。例えば図1の候補1では、上限しきい値は1番
目のピークと2番目のピークの間で、中間からオフセッ
ト20%の位置に設定されており、同様に下限しきい値
は2番目のピークと3番目のピークの間、オフセット1
0%の位置に設定されている。図5に上限しきい値と下
限しきい値を設定する一例を示す。
[Upper limit threshold value, lower limit threshold value, peak number, offset] A plurality of threshold values can be provided. In this example, the upper limit threshold value and the lower limit threshold value are set. In the input image, pixels having densities between the lower threshold and the upper threshold are set to 255, and pixels having other densities are set to 0. The identification of the threshold value is displayed by the peak number and the offset position as described above. That is, the lower limit threshold is specified in the format of m% of the nth peak, and the upper limit threshold is specified in the format of 1% of the kth peak. For example, in Candidate 1 of FIG. 1, the upper threshold is set at a position 20% offset from the middle between the first peak and the second peak, and similarly the lower threshold is the second peak. Offset between the 3rd and 3rd peak
It is set to the 0% position. FIG. 5 shows an example of setting the upper limit threshold and the lower limit threshold.

【0039】[平滑度]濃度ヒストグラムの原波形はノ
イズなどのためジャギーが多く、そのままでは多数のピ
ークが立ってしまう。そこで波形のジャギーをなめらか
にするためのスムージング処理を行う必要がある。平滑
度とはスムージング処理の度合いを示すパラメータであ
る。具体的には、濃度ヒストグラムの原波形に対してフ
ィルタ処理を行う。
[Smoothness] The original waveform of the density histogram has a lot of jaggies due to noise and the like, and many peaks stand as it is. Therefore, it is necessary to perform smoothing processing to smooth the jaggies of the waveform. The smoothness is a parameter indicating the degree of smoothing processing. Specifically, the original waveform of the density histogram is filtered.

【0040】[度数カットレベル]濃度ヒストグラムの
微分波形に対してしきい値を設け、このしきい値以下に
ついては処理の対象としない。このしきい値を度数カッ
トレベルと呼ぶ。図6に度数カットレベルを設定した一
例を示す。
[Frequency cut level] A threshold value is set for the differential waveform of the density histogram, and the threshold value and below are not processed. This threshold is called a frequency cut level. FIG. 6 shows an example of setting the frequency cut level.

【0041】[下限カットレベル、上限カットレベル]
濃度ヒストグラムに対して、濃度の下限を設定し、これ
以下については処理の対象としない。このしきい値を下
限カットレベルと呼ぶ。同様に、上限となるのが上限カ
ットレベルである。図6に下限カットレベルおよび上限
カットレベルを設定した一例を示す。例えば、入力画像
に含まれる背景の情報について排除したい場合などに設
定して背景に該当するデータをカットすることができ
る。
[Lower limit cut level, upper limit cut level]
The lower limit of density is set for the density histogram, and the lower limit is not processed. This threshold is called the lower limit cut level. Similarly, the upper limit is the upper limit cut level. FIG. 6 shows an example in which the lower limit cut level and the upper limit cut level are set. For example, the data corresponding to the background can be cut by setting when it is desired to exclude the information about the background included in the input image.

【0042】[指標]さらに、各設定パラメータ候補群
の特徴を示す指標を併記することもできる。特徴を示す
指標とは、例えば処理速度や精度の目安、また外乱に対
する自動しきい値決定の安定度を示す値などで、これら
を候補群と合わせて提示することで、ユーザは指標を参
考にしながら所望の候補を選択することができるという
メリットが得られる。
[Index] Furthermore, an index showing the characteristics of each setting parameter candidate group can be written together. The index indicating the characteristics is, for example, a standard of processing speed or accuracy, or a value indicating the stability of automatic threshold value determination against a disturbance.By presenting these together with the candidate group, the user can refer to the index. However, there is an advantage that a desired candidate can be selected.

【0043】[自動しきい値決定プログラムのユーザイ
ンターフェース]図2は自動しきい値を設定するソフト
ウェアのユーザインターフェース画面である。この図は
表示部の表示内容を示し、画面左上に設けられたプレビ
ュー表示欄8と、左下に設けられた波形表示欄9と、右
下に設けられた学習結果表示欄10と、右上に設けられ
た処理結果表示欄11で構成されている。
[User Interface of Automatic Threshold Determination Program] FIG. 2 is a user interface screen of software for setting an automatic threshold. This figure shows the display contents of the display unit. The preview display field 8 is provided at the upper left of the screen, the waveform display field 9 is provided at the lower left, the learning result display field 10 is provided at the lower right, and the learning result display field 10 is provided at the upper right. The processing result display field 11 is configured.

【0044】[プレビュー表示欄]プレビュー表示欄8
は、取り込まれた入力画像や二値化処理後の状態のプレ
ビューを行う。プレビュー表示欄8ではカラーや白黒の
元データと、処理後の二値化データを切り替えて表示で
きる。プレビュー表示欄8では画面上から入力部である
マウスなどで、ユーザが所望の領域を指示すると、指示
された画素の情報を表示できる。例えば、プレビュー画
面上で、ユーザが自動しきい値決定の基準値としたい領
域をマウスなどでクリックすると、制御部はマウスにて
クリックした位置の画素濃度を取得し、その濃度に対し
て±n画素濃度の幅を持たせる。この幅を持たせた画素
濃度に対して、下側の濃度を下限しきい値とし、上側の
濃度を上限しきい値と仮に設定する。この二つのしきい
値を前述の方法でピークとオフセットに換算すると共
に、その濃度が濃度ヒストグラムのピークに対して何番
目のピークの何番目のピークの間に位置するかを算出す
る。ユーザはその結果をピーク番号とオフセット位置で
確認できるので、この値を参考にして上限しきい値や下
限しきい値を設定し直したり、変更、調整することがで
きる。
[Preview display column] Preview display column 8
Displays a preview of the captured input image and the state after binarization processing. In the preview display field 8, color or black-and-white original data and binarized data after processing can be switched and displayed. In the preview display field 8, when the user designates a desired area on the screen with a mouse or the like as an input unit, information on the designated pixel can be displayed. For example, on the preview screen, when the user clicks on the area to be used as the reference value for automatic threshold determination with the mouse or the like, the control unit acquires the pixel density at the position clicked with the mouse, and ± n It has a range of pixel densities. With respect to the pixel density having this width, the lower density is temporarily set as the lower limit threshold and the upper density is temporarily set as the upper threshold. The two threshold values are converted into a peak and an offset by the above-described method, and the density of the peak is calculated between the peak of the density histogram and the peak of the density histogram. Since the user can confirm the result by the peak number and the offset position, the upper limit threshold value and the lower limit threshold value can be reset, changed, or adjusted with reference to these values.

【0045】[波形表示欄]図4に示したように、濃度
ヒストグラム波形およびその微分波形を表示する欄であ
る。波形にはピーク番号を表示させることができる。ま
た、上限しきい値や度数カットレベル、下限カットレベ
ルなども併せて表示することができる。各波形やしきい
値などは、表示の切り替えによって個別に表示させたり
同時に表示させたりすることができる。その際、各波形
を区別するために線種や色などを変更して表示させても
良い。
[Waveform Display Column] As shown in FIG. 4, this is a column for displaying the density histogram waveform and its differential waveform. The peak number can be displayed on the waveform. Further, the upper limit threshold, the frequency cut level, the lower limit cut level, etc. can be displayed together. Each waveform, threshold value, etc. can be displayed individually or simultaneously by switching the display. At that time, in order to distinguish each waveform, the line type, color, etc. may be changed and displayed.

【0046】[学習結果表示欄、処理結果表示欄]学習
結果表示欄10には、制御部で演算された設定パラメー
タ候補群が表示される。候補群が表示される順序は、画
像処理装置側が最適と判断した総合評価順であり、精度
や速度などの順ではない。ユーザはマウスやデジタイザ
などの入力部で所望の設定パラメータ候補を選択する
と、選択された設定パラメータ候補に属する各設定パラ
メータが、処理結果表示欄11に入力される。ここでユ
ーザは処理結果表示欄11の各ダイヤログボックスを選
択して、所望の値に調整することができる。設定された
値で二値化処理を実行すると、プレビュー表示欄8に二
値化された画像が表示され、同時に処理結果表示欄11
に演算された各設定値が表示される。
[Learning Result Display Column, Processing Result Display Column] In the learning result display column 10, a set parameter candidate group calculated by the control unit is displayed. The order in which the candidate groups are displayed is the total evaluation order determined by the image processing apparatus side to be optimum, not the order of accuracy or speed. When the user selects a desired setting parameter candidate with an input unit such as a mouse or a digitizer, each setting parameter belonging to the selected setting parameter candidate is input to the processing result display field 11. Here, the user can select each dialog box in the processing result display field 11 and adjust it to a desired value. When the binarization processing is executed with the set value, the binarized image is displayed in the preview display field 8 and at the same time the processing result display field 11 is displayed.
Each set value calculated in is displayed.

【0047】[実施例2 エッジ検出]次に、実施例2
としてエッジを自動検出する際のパラメータ設定時にお
けるパラメータ候補群を一覧表示する手法を説明する。
図7は、候補群の一覧表を、図8は本実施例を実行する
プログラムのユーザインターフェースの一例を示す。図
8の候補ウィンドウに表示されるパラメータ候補群が、
図7の一覧表の各値と対応している。この実施例では、
パラメータとしてエッジ候補しきい値、エッジ除去しき
い値、エッジ検出しきい値の3つを表示している。
[Second Embodiment Edge Detection] Next, a second embodiment will be described.
A method of displaying a list of parameter candidate groups at the time of setting parameters when automatically detecting edges will be described.
FIG. 7 shows a list of candidate groups, and FIG. 8 shows an example of a user interface of a program for executing this embodiment. The parameter candidate group displayed in the candidate window of FIG. 8 is
It corresponds to each value in the list of FIG. In this example,
Three parameters, an edge candidate threshold value, an edge removal threshold value, and an edge detection threshold value are displayed.

【0048】以下、図9に基づいて各パラメータの意味
を説明し、またパラメータに基づいてエッジを自動検出
する手順を図10のフローチャートに基づいて説明す
る。例えば、図9(a)に示すような矩形状の入力画像
に対し、A、Bそれぞれの領域の内Bの領域の両端部の
位置を検出したいとする。
The meaning of each parameter will be described below with reference to FIG. 9, and the procedure for automatically detecting an edge based on the parameter will be described with reference to the flowchart of FIG. For example, in a rectangular input image as shown in FIG. 9A, it is assumed that the positions of both ends of the area B in the areas A and B are to be detected.

【0049】まず、対象となる矩形内を投影(プロジェ
クション)し、投影濃度配列を作成する(S’1)。す
ると、図9(b)に示すような波形が得られる。図9
(b)の波形においては、横軸は位置を示し、縦軸は濃
度値を0(黒)〜255(白)の256階調で表し、黒
が下で上方に行くほど白になる。この投影濃度配列は図
8の例ではユーザ側に表示されないが、表示させてユー
ザが波形を確認できるようにしてもよい。また必要に応
じてこの波形にスムージング処理を行ってもよい。その
際はスムージングのための平滑度をパラメータとして追
加することができる。またスムージング前後の波形を表
示させてユーザが確認可能としてもよい。
First, a target rectangle is projected (projection) to create a projected density array (S'1). Then, the waveform as shown in FIG. 9B is obtained. Figure 9
In the waveform of (b), the horizontal axis represents the position, and the vertical axis represents the density value in 256 gradations from 0 (black) to 255 (white), and black becomes white as it goes downward and upward. Although this projected density array is not displayed on the user side in the example of FIG. 8, it may be displayed so that the user can confirm the waveform. Further, if necessary, this waveform may be subjected to smoothing processing. In that case, smoothness for smoothing can be added as a parameter. Further, the waveform before and after smoothing may be displayed so that the user can confirm it.

【0050】[エッジ候補しきい値]そして、投影濃度
配列からエッジ候補しきい値を基準としてエッジ候補を
検出する(S’2)。ここでエッジ候補しきい値とは、
エッジの候補を検出するパラメータであり、投影濃度配
列がエッジ候補しきい値と交差する部分をエッジ候補と
する。図9(c)に示すように、太線で示すエッジ候補
しきい値と交差する部分が、エッジ候補となる。すなわ
ち、エッジ候補しきい値よりも高い、あるいは濃い濃度
となる境界が、求めようとするエッジ候補として検出さ
れる。
[Edge Candidate Threshold] Then, an edge candidate is detected from the projected density array with the edge candidate threshold as a reference (S'2). Here, the edge candidate threshold is
This is a parameter for detecting an edge candidate, and a portion where the projected density array intersects the edge candidate threshold is set as an edge candidate. As shown in FIG. 9C, a portion that intersects the edge candidate threshold value indicated by a thick line is an edge candidate. That is, a boundary having a density higher or higher than the edge candidate threshold value is detected as an edge candidate to be obtained.

【0051】[エッジ除去しきい値]さらに、波線で示
すエッジ除去しきい値によってエッジを選別する(S’
3)。ここでエッジ除去しきい値とは、エッジ検出にお
いて無視したい値を示すしきい値である。投影濃度配列
がエッジ除去しきい値と交差しているピークはエッジ検
出対象外として、処理から排除される。図9(c)にお
いては、左側のエッジ候補(図9(a)でAに相当する
領域)が排除される。いいかえると、濃度がなだらかに
変化する点をエッジとして検出するためには、急激に変
化する点を排除する必要がある。つまりここでのエッジ
検出しきい値は、エッジとしたくないような急激に変化
する領域をエッジ検出領域から排除するためのパラメー
タであり、エッジ検出しきい値を超えるものについては
エッジ検出の候補としない。
[Edge Removal Threshold] Further, edges are selected by the edge removal threshold shown by the broken line (S ').
3). Here, the edge removal threshold value is a threshold value indicating a value to be ignored in edge detection. A peak whose projection density array intersects the edge removal threshold value is excluded from the processing because it is not subject to edge detection. In FIG. 9C, the left edge candidate (the area corresponding to A in FIG. 9A) is excluded. In other words, in order to detect a point where the density changes gently as an edge, it is necessary to exclude the point where the density changes abruptly. In other words, the edge detection threshold here is a parameter for excluding a region that does not want to be an edge and that changes abruptly from the edge detection region, and those that exceed the edge detection threshold are candidates for edge detection. do not do.

【0052】[エッジ検出しきい値]さらに、選別され
たエッジ候補の近辺の微分波形に基づいて、エッジの位
置と数を算出する(S’4)。まず図9(d)に示すよ
うに、投影濃度配列の微分波形を作成する。微分波形は
投影濃度配列全体について求めてもよいが、S’3で選
別されたエッジ候補の近辺のみを微分して微分波形を求
める方が効率的である。この微分波形に対しエッジ検出
しきい値と交差する部分をエッジとする。図9(d)の
例では、正負2つのエッジ検出しきい値を用意し、微分
波形が正のエッジ検出しきい値を超える領域でのピーク
の位置、および負のエッジ検出しきい値を下回る領域で
のピークの位置をエッジ位置と判定する。この例では、
2つのエッジが検出される。
[Edge Detection Threshold] Further, the position and number of edges are calculated based on the differential waveform in the vicinity of the selected edge candidates (S'4). First, as shown in FIG. 9D, a differential waveform of the projected density array is created. The differential waveform may be obtained for the entire projected density array, but it is more efficient to obtain the differential waveform by differentiating only the vicinity of the edge candidate selected in S′3. The portion of the differential waveform that intersects the edge detection threshold is defined as an edge. In the example of FIG. 9D, two positive and negative edge detection thresholds are prepared, and the peak position in the region where the differential waveform exceeds the positive edge detection threshold and the negative edge detection threshold are exceeded. The position of the peak in the area is determined as the edge position. In this example,
Two edges are detected.

【0053】以上のようにして、設定されたパラメータ
に基づいてエッジが検出される。エッジの検出処理にお
いては、上述したパラメータであるエッジ候補しきい
値、エッジ除去しきい値、エッジ検出しきい値に依存し
てエッジ検出が左右される。これらの設定パラメータ値
を変更することにより、エッジ検出の結果や精度が変化
する。設定パラメータの候補群は、実施例1と同様に、
画像処理装置の制御部が所定の条件に従って自動的に演
算する。設定パラメータ候補群は、表示部に複数が一覧
表示される。以下、設定パラメータ候補群の一覧表示に
ついて図8に基づいて説明する。
As described above, the edge is detected based on the set parameters. In the edge detection process, the edge detection depends on the above-mentioned parameters of the edge candidate threshold, the edge removal threshold, and the edge detection threshold. By changing these setting parameter values, the result and accuracy of edge detection change. The setting parameter candidate group is the same as in the first embodiment.
The control unit of the image processing apparatus automatically calculates according to a predetermined condition. A plurality of setting parameter candidate groups are displayed in a list on the display unit. The display of the list of setting parameter candidates will be described below with reference to FIG.

【0054】[エッジ検出処理のユーザインターフェー
ス]図8は、表示部に表示されるイメージとして、エッ
ジ検出処理プログラムのユーザインターフェースを示
す。図8において、中段は設定パラメータ候補群を表示
する設定パラメータ候補群表示ウィンドウ13で、上段
はパラメータの詳細を表示するしきい値設定欄14を、
下段は実際にエッジ検出を行った処理結果表示欄11B
を構成している。
[User Interface of Edge Detection Processing] FIG. 8 shows a user interface of the edge detection processing program as an image displayed on the display unit. In FIG. 8, the middle row is a setting parameter candidate group display window 13 that displays the setting parameter candidate group, and the upper row is the threshold setting field 14 that displays the details of the parameters.
The lower row shows the processing result display column 11B in which the edge is actually detected.
Are configured.

【0055】ユーザは、中段の設定パラメータ候補群表
示ウィンドウ13中から所望の候補を入力部から指定す
る。表示されている候補1〜4の中から入力部であるマ
ウスなどで所望の候補を選択すると、選択された候補に
属する設定パラメータが上段のしきい値設定欄14に自
動的に入力されて表示される。しきい値設定欄14の表
示は、候補1〜4を変更することによって各候補に応じ
た値に変更される。ユーザはさらに入力部であるマウス
などでしきい値設定欄14の各ウィンドウをハイライト
し、右端に備えられたボタンを押下して値を上下させ、
あるいは直接数値を入力することができる。ユーザは、
設定パラメータ候補群表示ウィンドウ13の表示を参照
しながら、各設定パラメータを所望の値に調整する。設
定パラメータが指定された状態で、しきい値設定欄14
の下部に設けられた学習ボタン12を押下すると、現在
指定されている設定パラメータの値が記憶される。
The user designates a desired candidate from the setting parameter candidate group display window 13 in the middle row from the input section. When a desired candidate is selected from the displayed candidates 1 to 4 with a mouse as an input unit, the setting parameters belonging to the selected candidate are automatically input and displayed in the upper threshold setting field 14. To be done. The display of the threshold value setting field 14 is changed to a value corresponding to each candidate by changing the candidates 1 to 4. The user further highlights each window of the threshold setting field 14 with a mouse or the like as an input unit and pushes a button provided at the right end to raise or lower the value,
Alternatively, you can directly enter the numerical value. The user
Each setting parameter is adjusted to a desired value with reference to the display of the setting parameter candidate group display window 13. With the setting parameters specified, the threshold setting field 14
When the learning button 12 provided in the lower part of is pressed, the value of the setting parameter currently specified is stored.

【0056】処理結果表示欄11Bの下部には、4つの
ボタンが設けられ、左から試行ボタン15、再試行ボタ
ン16、中止ボタン17、実行ボタン18となってい
る。試行ボタン15を押下すると、指定された設定パラ
メータに従ってエッジ検出が試行され、その結果が処理
結果表示欄11Bに表示される。この状態で、ユーザが
結果を参照してさらに設定パラメータを調整したとき、
再試行ボタン16を押下すると変更された設定パラメー
タに基づいて再度エッジ検出が試行され、処理結果表示
欄11Bが更新される。エッジ検出処理を中止したいと
きは中止ボタン17を押下する。最終的に設定パラメー
タの値が決定されると、実行ボタン18を押下してエッ
ジ検出を実行する。
At the bottom of the processing result display field 11B, four buttons are provided, and a trial button 15, a retry button 16, a stop button 17, and an execute button 18 are arranged from the left. When the trial button 15 is pressed, edge detection is tried according to the designated setting parameter, and the result is displayed in the processing result display field 11B. In this state, when the user refers to the result and further adjusts the setting parameter,
When the retry button 16 is pressed, the edge detection is tried again based on the changed setting parameter, and the processing result display field 11B is updated. When it is desired to cancel the edge detection processing, the cancel button 17 is pressed. When the value of the setting parameter is finally determined, the execute button 18 is pressed to execute edge detection.

【0057】上記の実施例に限られず、画像処理におい
てパラメータの一覧をユーザに提示することは、他の画
像処理においても有効である。特に、設定すべきパラメ
ータが複数ある場合は、各パラメータの意味を理解した
上で最適となるように値を設定しなければならず、非常
に面倒かつ困難となる。このため画像処理装置側で自動
的に設定パラメータを演算することが行われている。し
かしながら、演算された設定パラメータをユーザに提示
しないと、ユーザ側で設定パラメータ値を調整したり自
ら設定したりすることができない。このため、画像処理
装置に設定パラメータを自動演算させることによって、
ユーザの手間を省くと共に、さらに必要に応じて、ユー
ザ側で自動演算された設定パラメータを調整することも
可能とし、省力化と柔軟性を両立させた画像処理装置お
よび方法を得るものである。
Not limited to the above embodiment, presenting a list of parameters to the user in image processing is also effective in other image processing. In particular, when there are a plurality of parameters to be set, it is necessary to set the optimum value after understanding the meaning of each parameter, which is very troublesome and difficult. For this reason, the setting parameter is automatically calculated on the image processing apparatus side. However, unless the calculated setting parameter is presented to the user, the user cannot adjust the setting parameter value or set it by himself. Therefore, by causing the image processing apparatus to automatically calculate the setting parameter,
(EN) An image processing device and method that save labor and flexibility while allowing the user to adjust setting parameters automatically calculated by the user while saving time and effort.

【0058】[0058]

【発明の効果】以上説明したように、本発明の画像処理
装置および画像処理方法、画像処理プログラムならびに
コンピュータで読み取り可能な記憶媒体によれば、画像
処理においてパラメータ設定を容易に行うことができる
とともに、各設定パラメータ値を使用状況に応じて適切
な値に調整できるというメリットが得られる。それは、
本発明の画像処理装置および画像処理方法、画像処理プ
ログラムならびにコンピュータで読み取り可能な記憶媒
体が、自動的に設定パラメータ候補を演算させた結果を
表示させ、ユーザに確認できるようにすると共に、これ
らの値をユーザが直接操作して変更可能としているから
である。特に、設定パラメータ候補を複数演算してユー
ザに対して一覧表示させることで、ユーザは様々な設定
値を参酌しながら状況に応じた値を選択できる。この結
果、ユーザは複数の設定パラメータ候補群から所望の値
を取捨選択し、必要ならばこれらの値を変更、微調整す
ることができる。このように本発明は、複雑なパラメー
タ設定を自動的に演算することでユーザの負担を軽減す
るメリットを維持しながら、更に最適なパラメータ値を
ユーザ側で調整できるようにして、自動設定では得られ
ない最適化を実現可能としている。
As described above, according to the image processing apparatus, the image processing method, the image processing program, and the computer-readable storage medium of the present invention, it is possible to easily set parameters in image processing. The merit that each setting parameter value can be adjusted to an appropriate value according to the usage situation is obtained. that is,
The image processing device, the image processing method, the image processing program, and the computer-readable storage medium according to the present invention automatically display the result of calculating the setting parameter candidates so that the user can confirm the result. This is because the user can directly change the value. In particular, by calculating a plurality of setting parameter candidates and displaying the list to the user, the user can select a value according to the situation while taking various setting values into consideration. As a result, the user can select desired values from a plurality of setting parameter candidate groups, and change or finely adjust these values if necessary. As described above, the present invention allows the user to adjust more optimal parameter values while maintaining the merit of reducing the burden on the user by automatically calculating the complicated parameter settings. It is possible to realize optimization that cannot be done.

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

【図1】自動しきい値決定のパラメータ候補群を示す一
覧表である。
FIG. 1 is a list showing a parameter candidate group for automatic threshold value determination.

【図2】自動しきい値決定プログラムのユーザインター
フェースの一例を示すイメージ図である。
FIG. 2 is an image diagram showing an example of a user interface of an automatic threshold value determination program.

【図3】自動しきい値決定でしきい値を設定する工程を
示すフローチャートである。
FIG. 3 is a flowchart showing a step of setting a threshold value by automatic threshold value determination.

【図4】図2に示す濃度ヒストグラムの波形を拡大した
グラフである。
FIG. 4 is an enlarged graph of the waveform of the density histogram shown in FIG.

【図5】図4に示す濃度ヒストグラムの波形に上限しき
い値と下限しきい値を示したグラフである。
5 is a graph showing the upper limit threshold and the lower limit threshold in the waveform of the density histogram shown in FIG.

【図6】図4に示す濃度ヒストグラムの微分波形に上限
カットレベル、下限カットレベル、度数カットレベルを
示したグラフである。
6 is a graph showing the upper limit cut level, the lower limit cut level, and the frequency cut level in the differential waveform of the density histogram shown in FIG.

【図7】エッジ検出処理の設定パラメータ候補群を示す
一覧表である。
FIG. 7 is a list showing setting parameter candidate groups for edge detection processing.

【図8】エッジ検出プログラムのユーザインターフェー
スの一例を示すイメージ図である。
FIG. 8 is an image diagram showing an example of a user interface of an edge detection program.

【図9】エッジ検出処理における設定パラメータを説明
する概略図である。
FIG. 9 is a schematic diagram illustrating setting parameters in edge detection processing.

【図10】エッジ検出処理を行う工程を示すフローチャ
ートである。
FIG. 10 is a flowchart showing a step of performing edge detection processing.

【図11】本発明の一実施の形態に係る画像処理装置の
構成を示すブロック図である。
FIG. 11 is a block diagram showing a configuration of an image processing apparatus according to an embodiment of the present invention.

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

1・・・入力画像記憶部 3・・・画像処理部 4・・・制御部 5・・・表示部 6・・・入力部 7・・・画像ソース 8・・・プレビュー表示欄 9・・・波形表示欄 10・・・学習結果表示欄 11・・・処理結果表示欄 11B・・・処理結果表示欄 12・・・学習ボタン 13・・・設定パラメータ候補群表示ウィンドウ 14・・・しきい値設定欄 15・・・試行ボタン 16・・・再試行ボタン 17・・・中止ボタン 18・・・実行ボタン 1. Input image storage unit 3 Image processing unit 4 ... Control unit 5 ... Display 6 ... Input section 7 ... Image source 8 ... Preview display column 9: Waveform display column 10 ... Learning result display column 11 ... Processing result display column 11B: Processing result display column 12 ... Learn button 13 ... Setting parameter candidate group display window 14 ... Threshold setting field 15 ... Try button 16 ... Retry button 17 ... Cancel button 18 ... execute button

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G06T 11/80 G06T 11/80 E H04N 1/40 H04N 1/40 103A 1/403 F Fターム(参考) 5B050 DA02 EA08 EA14 FA02 FA08 FA13 5B057 BA11 CA08 CB06 CE03 CE12 CH01 CH11 DA17 DB09 DC23 5C077 LL02 LL19 MP01 PP47 PQ08 PQ12 PQ19 PQ23 RR15 SS01 TT06 5L096 AA06 CA01 DA01 FA37 GA02 GA51 GA53 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 7 Identification code FI theme code (reference) G06T 11/80 G06T 11/80 E H04N 1/40 H04N 1/40 103A 1/403 FF term (reference) 5B050 DA02 EA08 EA14 FA02 FA08 FA13 5B057 BA11 CA08 CB06 CE03 CE12 CH01 CH11 DA17 DB09 DC23 5C077 LL02 LL19 MP01 PP47 PQ08 PQ12 PQ19 PQ23 RR15 SS01 TT06 5L096 AA06 CA01 DA01 FA37 GA02 GA51 GA53

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 入力画像に対して所定の画像処理を行う
画像処理装置において、 前記所定の画像処理を行うために必要な複数の設定パラ
メータを演算する制御部と、 演算された設定パラメータ候補を複数の設定パラメータ
候補群として表示する表示部と、 表示された設定パラメータ候補群の内から所望の設定パ
ラメータ候補を選択し、前記選択された設定パラメータ
候補に属する設定パラメータの値を指定可能な入力部
と、を備えることを特徴とする画像処理装置。
1. An image processing apparatus that performs predetermined image processing on an input image, wherein a control unit that calculates a plurality of setting parameters necessary for performing the predetermined image processing, and a calculated setting parameter candidate A display unit that displays a plurality of setting parameter candidate groups, and a desired setting parameter candidate can be selected from the displayed setting parameter candidate groups, and an input that can specify the value of the setting parameter belonging to the selected setting parameter candidate And an image processing apparatus.
【請求項2】 入力画像に対して所定のしきい値を基準
として二値の画像に置き換える二値化処理であって前記
しきい値を自動的に変更する自動なしきい値の決定を行
う画像処理装置において、 前記自動しきい値の決定を行うために必要な複数の設定
パラメータを演算する制御部と、 演算された設定パラメータ候補を複数の設定パラメータ
候補群として表示する表示部と、 表示された設定パラメータ候補群の内から所望の設定パ
ラメータ候補を選択し、前記選択された設定パラメータ
候補に属する設定パラメータの値を指定可能な入力部
と、を備えることを特徴とする画像処理装置。
2. An image which is a binarizing process for replacing an input image with a binary image based on a predetermined threshold value, and which automatically determines the threshold value for automatically changing the threshold value. In the processing device, a control unit that calculates a plurality of setting parameters necessary for determining the automatic threshold value, a display unit that displays the calculated setting parameter candidates as a plurality of setting parameter candidate groups, and An image processing apparatus, comprising: an input unit capable of selecting a desired setting parameter candidate from the set of setting parameter candidates and designating a value of a setting parameter belonging to the selected setting parameter candidate.
【請求項3】 入力画像に対して所定のしきい値に基づ
きエッジ部分を検出するエッジ検出処理を行う画像処理
装置において、 前記エッジ検出処理を行うために必要な複数の設定パラ
メータを演算する制御部と、 演算された設定パラメータ候補を複数の設定パラメータ
候補群として表示する表示部と、 表示された設定パラメータ候補群の内から所望の設定パ
ラメータ候補を選択し、前記選択された設定パラメータ
候補に属する設定パラメータの値を指定可能な入力部
と、を備えることを特徴とする画像処理装置。
3. An image processing apparatus for performing edge detection processing for detecting an edge portion of an input image based on a predetermined threshold value, control for computing a plurality of setting parameters necessary for performing the edge detection processing. Section, a display section that displays the calculated setting parameter candidates as a plurality of setting parameter candidate groups, and a desired setting parameter candidate is selected from the displayed setting parameter candidate groups, and the selected setting parameter candidates are selected. An image processing apparatus comprising: an input unit capable of designating a value of a setting parameter to which the image processing apparatus belongs.
【請求項4】 前記画像処理装置はさらに、前記入力部
によって指定された設定パラメータの値を調整可能な設
定パラメータ値調整手段を備えることを特徴とする請求
項1から3のいずれかに記載の画像処理装置。
4. The image processing apparatus further comprises setting parameter value adjusting means capable of adjusting the value of the setting parameter designated by the input unit. Image processing device.
【請求項5】 前記設定パラメータ候補に、各設定パラ
メータ候補の特徴を示す指標を付記したことを特徴とす
る請求項1から4のいずれかに記載の画像処理装置。
5. The image processing apparatus according to claim 1, wherein the setting parameter candidate is added with an index indicating a characteristic of each setting parameter candidate.
【請求項6】 前記指標が予測される処理に要する時間
であることを特徴とする請求項5記載の画像処理装置。
6. The image processing apparatus according to claim 5, wherein the index is a time required for a predicted process.
【請求項7】 入力画像に対して所定の画像処理を行う
画像処理装置において、 外部から画像データを入力し保持する入力画像記憶部
(1)と、 前記入力画像記憶部(1)に接続されて画像データを読み
取り、前記所定の画像処理を行う画像処理部(3)と、 前記画像処理部(3)で前記所定の画像処理を行うために
必要な設定パラメータの候補を演算する制御部(4)と、 前記制御部(4)で演算された設定パラメータの候補群を
一覧表示する表示部(5)と、 前記表示部(5)で表示される設定パラメータ候補群に基
づいて設定パラメータの値を変更可能な入力部(6)と、
を備えることを特徴とする画像処理装置。
7. An input image storage unit for inputting and holding image data from the outside in an image processing apparatus for performing predetermined image processing on an input image.
(1), an image processing unit (3) connected to the input image storage unit (1) to read image data and perform the predetermined image processing, and the predetermined image processing in the image processing unit (3) A control unit (4) that calculates the setting parameter candidates necessary to perform the setting, a display unit (5) that displays a list of setting parameter candidate groups calculated by the control unit (4), and the display unit ( An input unit (6) that can change the value of the setting parameter based on the setting parameter candidate group displayed in 5),
An image processing apparatus comprising:
【請求項8】 入力画像に対して所定の画像処理を行う
画像処理方法において、 前記所定の画像処理を行うために必要な複数の設定パラ
メータを演算する工程と、 演算された設定パラメータ候補を複数の設定パラメータ
候補群として表示する工程と、 表示された設定パラメータ候補群の内から所望の設定パ
ラメータ候補を選択し、前記選択された設定パラメータ
候補に属する設定パラメータの値を指定する工程と、を
備えることを特徴とする画像処理方法。
8. An image processing method for performing predetermined image processing on an input image, the step of calculating a plurality of setting parameters necessary for performing the predetermined image processing, and a plurality of calculated setting parameter candidates. And a step of selecting a desired setting parameter candidate from the displayed setting parameter candidate group and designating a value of the setting parameter belonging to the selected setting parameter candidate. An image processing method comprising:
【請求項9】 入力画像に対して所定のしきい値を基準
として二値の画像に置き換える二値化処理であって前記
しきい値を変更可能な自動しきい値の決定を行う画像処
理方法において、 前記自動しきい値の決定を行うために必要な複数の設定
パラメータを演算する工程と、 演算された設定パラメータ候補を複数の設定パラメータ
候補群として表示する工程と、 表示された設定パラメータ候補群の内から所望の設定パ
ラメータ候補を選択し、前記選択された設定パラメータ
候補に属する設定パラメータの値を指定する工程と、を
備えることを特徴とする画像処理方法。
9. An image processing method for determining an automatic threshold value capable of changing the threshold value, which is a binarization processing for replacing an input image with a binary image based on a predetermined threshold value. In, a step of calculating a plurality of setting parameters necessary for determining the automatic threshold value, a step of displaying the calculated setting parameter candidates as a plurality of setting parameter candidate groups, the displayed setting parameter candidates And a step of selecting a desired setting parameter candidate from the group and designating a value of the setting parameter belonging to the selected setting parameter candidate.
【請求項10】 入力画像に対して所定のしきい値に基
づきエッジ部分を検出するエッジ検出処理を行う画像処
理方法において、 前記エッジ検出処理を行うために必要な複数の設定パラ
メータを演算する工程と、 演算された設定パラメータ候補を複数の設定パラメータ
候補群として表示する工程と、 表示された設定パラメータ候補群の内から所望の設定パ
ラメータ候補を選択し、前記選択された設定パラメータ
候補に属する設定パラメータの値を指定する工程と、を
備えることを特徴とする画像処理方法。
10. An image processing method for performing an edge detection process for detecting an edge portion of an input image based on a predetermined threshold value, the step of calculating a plurality of setting parameters necessary for performing the edge detection process. And a step of displaying the calculated setting parameter candidates as a plurality of setting parameter candidate groups, selecting a desired setting parameter candidate from the displayed setting parameter candidate groups, and setting the parameters belonging to the selected setting parameter candidates. And a step of designating a value of a parameter.
【請求項11】 前記画像処理方法はさらに、指定され
た設定パラメータの値を調整する工程を有することを特
徴とする請求項8から10のいずれかに記載の画像処理
方法。
11. The image processing method according to claim 8, further comprising the step of adjusting the value of a designated setting parameter.
【請求項12】 入力画像に対して所定の画像処理を行
う画像処理プログラムにおいて、 前記所定の画像処理を行うために必要な複数の設定パラ
メータを演算する手段と、 演算された設定パラメータ候補を複数の設定パラメータ
候補群として表示する手段と、 表示された設定パラメータ候補群の内から所望の設定パ
ラメータ候補を選択し、前記選択された設定パラメータ
候補に属する設定パラメータの値を指定する手段と、を
備えることを特徴とする画像処理プログラム。
12. An image processing program for performing predetermined image processing on an input image, a means for calculating a plurality of setting parameters necessary for performing the predetermined image processing, and a plurality of calculated setting parameter candidates. Means for displaying as a setting parameter candidate group, and means for selecting a desired setting parameter candidate from the displayed setting parameter candidate group and designating a value of the setting parameter belonging to the selected setting parameter candidate. An image processing program comprising:
【請求項13】 前記画像処理プログラムはさらに、指
定された設定パラメータの値を調整する手段を有するこ
とを特徴とする請求項12記載の画像処理プログラム。
13. The image processing program according to claim 12, further comprising means for adjusting the value of a designated setting parameter.
【請求項14】 請求項12または13に記載される前
記画像処理プログラムを格納したコンピュータで読み取
り可能あるいはネットワークからダウンロード可能な記
録媒体。
14. A computer-readable recording medium storing the image processing program according to claim 12 or 13 or downloadable from a network.
JP2001299992A 2001-09-28 2001-09-28 Image processing apparatus, image processing method, image processing program, and computer-readable storage medium Expired - Lifetime JP4727874B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001299992A JP4727874B2 (en) 2001-09-28 2001-09-28 Image processing apparatus, image processing method, image processing program, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001299992A JP4727874B2 (en) 2001-09-28 2001-09-28 Image processing apparatus, image processing method, image processing program, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
JP2003108996A true JP2003108996A (en) 2003-04-11
JP4727874B2 JP4727874B2 (en) 2011-07-20

Family

ID=19120645

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001299992A Expired - Lifetime JP4727874B2 (en) 2001-09-28 2001-09-28 Image processing apparatus, image processing method, image processing program, and computer-readable storage medium

Country Status (1)

Country Link
JP (1) JP4727874B2 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005333309A (en) * 2004-05-19 2005-12-02 Satoru Tokuhisa Apparatus, method, system, and program for information processing
JP2009251902A (en) * 2008-04-04 2009-10-29 Sony Corp Imaging processing apparatus, image processing method, and imaging device
US8144241B2 (en) 2008-04-04 2012-03-27 Sony Corporation Imaging apparatus, image processing apparatus, and exposure control method
JP2014093094A (en) * 2012-11-05 2014-05-19 Mitsutoyo Corp Edge measurement tool including automatic parameter setting choice and interface
JP2014093785A (en) * 2012-11-05 2014-05-19 Mitsutoyo Corp Edge measurement video tool parameter-setting user interface
JP2014109488A (en) * 2012-11-30 2014-06-12 Dainippon Screen Mfg Co Ltd Image processing system, image processing method and image processing program
JP2014215301A (en) * 2013-04-26 2014-11-17 株式会社ミツトヨ Method of detecting edge
US9410898B2 (en) 2012-09-14 2016-08-09 Keyence Corporation Appearance inspection device, appearance inspection method, and program
JP2019015564A (en) * 2017-07-05 2019-01-31 新日本無線株式会社 Thermal resistance measuring device and thermal resistance measuring method
US10295241B2 (en) 2004-09-27 2019-05-21 Whirlpool Corporation Apparatus and method for dispensing ice from a bottom mount refrigerator

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000215306A (en) * 1998-11-16 2000-08-04 Seiko Epson Corp Medium recording image correction program, device and method for correcting image
JP2001016469A (en) * 1999-06-25 2001-01-19 Minolta Co Ltd Image processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000215306A (en) * 1998-11-16 2000-08-04 Seiko Epson Corp Medium recording image correction program, device and method for correcting image
JP2001016469A (en) * 1999-06-25 2001-01-19 Minolta Co Ltd Image processor

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005333309A (en) * 2004-05-19 2005-12-02 Satoru Tokuhisa Apparatus, method, system, and program for information processing
US10295241B2 (en) 2004-09-27 2019-05-21 Whirlpool Corporation Apparatus and method for dispensing ice from a bottom mount refrigerator
JP2009251902A (en) * 2008-04-04 2009-10-29 Sony Corp Imaging processing apparatus, image processing method, and imaging device
US8144241B2 (en) 2008-04-04 2012-03-27 Sony Corporation Imaging apparatus, image processing apparatus, and exposure control method
US9410898B2 (en) 2012-09-14 2016-08-09 Keyence Corporation Appearance inspection device, appearance inspection method, and program
JP2014093094A (en) * 2012-11-05 2014-05-19 Mitsutoyo Corp Edge measurement tool including automatic parameter setting choice and interface
JP2014093785A (en) * 2012-11-05 2014-05-19 Mitsutoyo Corp Edge measurement video tool parameter-setting user interface
DE102013217347B4 (en) 2012-11-05 2020-07-09 Mitutoyo Corporation METHOD AND DEVICE FOR PARAMETER ADJUSTMENT FOR EDGE MEASURING VIDEO TOOLS
JP2014109488A (en) * 2012-11-30 2014-06-12 Dainippon Screen Mfg Co Ltd Image processing system, image processing method and image processing program
US9639736B2 (en) 2012-11-30 2017-05-02 SCREEN Holdings Co., Ltd. Apparatus for and method of processing image and storage medium
JP2014215301A (en) * 2013-04-26 2014-11-17 株式会社ミツトヨ Method of detecting edge
JP2019015564A (en) * 2017-07-05 2019-01-31 新日本無線株式会社 Thermal resistance measuring device and thermal resistance measuring method

Also Published As

Publication number Publication date
JP4727874B2 (en) 2011-07-20

Similar Documents

Publication Publication Date Title
KR101707723B1 (en) Area designating method and area designating device
JP4598887B2 (en) Pattern matching method using pyramid structure search, image detection circuit, image processing program, and computer-readable storage medium
US20090080526A1 (en) Detecting visual gestural patterns
US8515165B2 (en) Method of detecting an object using a camera
JP2003108996A (en) Image processor and image processing method, image processing program and computer-readable storage medium
US9535604B2 (en) Display device, method for controlling display, and recording medium
US10359727B2 (en) Image processing apparatus, image processing method, and storage medium, that determine a type of edge pixel
EP0831421B1 (en) Method and apparatus for retouching a digital color image
CN111127543B (en) Image processing method, device, electronic equipment and storage medium
JP2932193B2 (en) Graphic processing unit
CN111625177B (en) Method and device for determining effective touch area and electronic equipment
EP2808776A2 (en) Method and apparatus for displaying images in touchscreen-based devices
JPWO2018168515A1 (en) Image processing apparatus, image processing method, and recording medium
JP5870839B2 (en) Information processing apparatus and information processing program
JP5794154B2 (en) Image processing program, image processing method, and image processing apparatus
CN113760139A (en) Information processing method and device, equipment and storage medium
JP2001076094A (en) Device and method for character string extraction and recording medium with the method recorded therein
JP2003108997A (en) Threshold setting method for binarization process, binarization processing circuit, binarization processing program and computer-readable recording medium
JPH10320557A (en) Telop character display frame detection method and device therefor
JP2000200149A (en) Display system, pointing control method and recording medium
JP2017207972A (en) Image processing device, image processing method, and program
JP2004080341A (en) Image processor, image processing method, program, and recording medium
JPH1153539A (en) Circular pattern discriminating method and storage medium
US20230126046A1 (en) Information processing apparatus, method of controlling information processing apparatus, and storage medium
CN116501205B (en) Method and device for moving covered view, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080922

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100921

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101122

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20101122

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110405

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110414

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140422

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250