JP3673076B2 - Focus adjustment device for imaging equipment - Google Patents
Focus adjustment device for imaging equipment Download PDFInfo
- Publication number
- JP3673076B2 JP3673076B2 JP08150198A JP8150198A JP3673076B2 JP 3673076 B2 JP3673076 B2 JP 3673076B2 JP 08150198 A JP08150198 A JP 08150198A JP 8150198 A JP8150198 A JP 8150198A JP 3673076 B2 JP3673076 B2 JP 3673076B2
- Authority
- JP
- Japan
- Prior art keywords
- value
- contrast
- indicator
- image
- imaging
- 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.)
- Expired - Fee Related
Links
- 238000003384 imaging method Methods 0.000 title claims description 45
- 238000013459 approach Methods 0.000 claims description 3
- 238000005259 measurement Methods 0.000 description 15
- 238000000034 method Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 7
- 238000005286 illumination Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000001678 irradiating effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
- Studio Devices (AREA)
- Control Of Position Or Direction (AREA)
- Length Measuring Devices By Optical Means (AREA)
- Indication In Cameras, And Counting Of Exposures (AREA)
Description
【0001】
【発明の属する技術分野】
この発明は、非接触三次元測定機等の画像測定装置、顕微鏡、カメラ等の画像機器に関し、特に撮像対象を撮像して得られた画像のマニュアル操作によるフォーカス調整を容易にする画像機器のフォーカス調整装置に関する。
【0002】
【従来の技術】
従来のCNC(Computer Numerical Control)画像測定装置や手動操作式画像測定装置では、被測定対象であるワークを撮像して得られたワーク画像からエッジ上の座標値を検出することにより、種々の測定値を算出する。正確な測定を行うためには、画像のピントが正確に合っていることが必要である。従来、この種の画像測定装置において、マニュアル操作でワーク画像のフォーカス調整を行う場合、作業者は表示装置の画像を見ながらレンズを光軸方向に移動させて肉眼でピントが合ったかどうかを確認している。
【0003】
【発明が解決しようとする課題】
しかし、上述した従来のフォーカス調整方法では、正確に焦点が合っているかどうかが分からず、個人差もあって再現性や合焦位置精度に問題があった。特に精度が要求される画像測定機においては、合焦位置のずれがそのまま光軸方向の測定精度に影響するので、より精度の高い合焦方法が望まれていた。
【0004】
本発明は、このような点に鑑みなされたもので、画像のフォーカス調整作業を容易化すると共に、合焦位置の精度や再現性を向上させることができる画像機器のフォーカス調整装置を提供することを目的とする。
【0005】
【課題を解決するための手段】
本発明に係る第1の画像機器のフォーカス調整装置は、撮像対象を撮像するための撮像手段と、この撮像手段を前記撮像対象に対してマニュアルでフォーカス調整するための操作手段と、前記撮像手段で撮像された撮像対象の画像を記憶する画像記憶手段と、この画像記憶手段に記憶された撮像対象の画像を表示する表示手段と、前記画像記憶手段に記憶された撮像対象の画像からそのコントラスト値を逐次算出するコントラスト算出手段と、このコントラスト算出手段で算出されたコントラスト値を示すインジケータを前記表示装置に表示させるインジケータ表示手段とを備え、前記インジケータ表示手段は、コントラスト値のピーク値を監視し、コントラスト値のピーク値が検出される前では予想されるコントラスト値の最大値よりも大きい値が前記インジケータの100%表示となるようにコントラスト値を表示し、コントラスト値のピーク値が検出された後はコントラスト値のピーク値が前記インジケータの100%表示となるようにコントラスト値を表示するものであることを特徴とする。
本発明に係る第2の画像機器のフォーカス調整装置は、撮像対象を撮像するための撮像手段と、この撮像手段を前記撮像対象に対してマニュアルでフォーカス調整するための操作手段と、前記撮像手段で撮像された撮像対象の画像を記憶する画像記憶手段と、この画像記憶手段に記憶された撮像対象の画像を表示する表示手段と、前記画像記憶手段に記憶された撮像対象の画像からそのコントラスト値を逐次算出するコントラスト算出手段と、このコントラスト算出手段で算出されたコントラスト値を示すインジケータを前記表示装置に表示させるインジケータ表示手段とを備え、前記インジケータ表示手段は、コントラスト値のピーク値を検出する前にコントラスト曲線を推定してコントラスト値のピーク値で前記インジケータが100%表示となるようにコントラスト値を表示するものであることを特徴とする。
【0006】
本発明によれば、インジケータ表示手段が、表示手段に画像のコントラスト値を示すインジケータを表示させるようにしているので、作業者は、操作手段によってマニュアル調整する際に、インジケータを参照しながら操作することができる。これにより、マニュアルでのピント合わせの操作が簡単化され、フォーカス位置精度が向上し、作業者によるばらつきも解消され、繰り返し精度も増す。インジケータ表示手段は、画像の最大コントラスト時に100%表示となるようにコントラスト値を表示するので、マニュアル調整時にコントラストが常に100%となるように合わせ込めば良く、フォーカス調整が更に容易になる。
【0007】
インジケータは、コントラスト値を数値によって表示するものでも良いが、コントラスト値をグラフィックイメージによって表示するグラフィックインジケータであると、コントラスト値を定量値で直感的に把握することができ、作業がより簡単化される。両者を併せて用いれば、グラフィックス表示による直感的な値と数値による正確な値とを同時に把握することができるので、より好ましい。
【0008】
また、インジケータは、コントラスト値を粗い単位で表示する粗スケールと細かい単位で表示する細スケールとを組み合わせたものであると、ピーク時において正確な合焦位置に合わせ込むのが容易になる。同様の理由から、インジケータ表示手段は、例えば逆対数目盛表示のように、コントラスト値がピーク値に近づくほどフォーカス調整量に対するコントラスト値の変化が大きくなるようにインジケータを表示するものであっても良い。
【0009】
また、例えば三次元画像計測機等では、フォーカス調整量がZ軸(光軸)方向の測定値となることがある。このため、インジケータ表示手段は、撮像手段のフォーカス調整量を表示するものであると、このような機器においては有効である。同様に、撮像手段のフォーカス調整量を記憶するフォーカス調整量記憶手段を更に備えておくと、測定機等では測定値として利用することができ、また、再度の合焦調整の際に再利用して調整の手間を省くことができる。
【0010】
【発明の実施の形態】
以下、図面を参照してこの発明の好ましい実施の形態について説明する。
図1は、この発明の画像機器のフォーカス調整装置が適用されるCNC三次元画像測定装置の全体構成を示す斜視図である。
この装置は、非接触画像計測型の測定機本体1と、この測定機本体1を駆動制御すると共に必要な測定データ処理を実行するコンピュータシステム2と、測定機本体1をマニュアル操作するための指令入力部3と、計測結果をプリントアウトするプリンタ4とにより構成されている。
【0011】
測定機本体1は、次のように構成されている。即ち、架台11上には、被測定対象であるワーク12を載置する測定テーブル13が装着されており、この測定テーブル13は、図示しないY軸駆動機構によってY軸方向に駆動される。架台11の後端部には上方に延びるフレーム14が固定されており、このフレーム14の上部から前面に張り出したカバー15の内部には、測定テーブル13を上部から臨むように図示しないX軸及びZ軸駆動機構に駆動される撮像手段としてのCCDカメラ16が取り付けられている。CCDカメラ16の下端には、ワーク12に照明光を照射するためのリング状の照明装置17が備えられている。
【0012】
コンピュータシステム2は、コンピュータ本体21、キーボード22、マウス23及びCRTディスプレイ24を備えて構成されている。
コンピュータ本体21を中心とするこのシステムは、例えば図2に示すように構成されている。即ち、CCDカメラ16で捉えたワーク12の画像信号は、AD変換部31で多値画像データに変換され、画像記憶手段としての多値画像メモリ32に格納される。多値画像メモリ32に格納された多値画像データは、表示制御部33の動作によって表示手段としてのCRTディスプレイ24に表示される。一方、キーボード22及びマウス23からのオペレータの指令は、インタフェース(I/F)34を介してCPU35に伝えられる。CPU35は、前記オペレータの指令又はプログラムメモリ36に格納されたプログラムに従ってステージ移動等の各種の処理を実行する。ワークメモリ37は、CPU35の各種処理のための作業領域を提供する。
【0013】
また、CCDカメラ16のX軸方向位置及びZ軸方向位置を検出するためのX軸エンコーダ41及びZ軸エンコーダ43、並びにテーブル13のY軸方向位置を検出するためのY軸エンコーダ42が設けられ、これらエンコーダ41〜43からの出力はCPU35に取り込まれる。CPU35は、取り込まれた各軸位置の情報と前述したオペレータの指令に基づいて、X軸駆動系44及びZ軸駆動系46を介してCCDカメラ16をX軸及びZ軸方向に駆動し、Y軸駆動系45を介してテーブル13をY軸方向に駆動する。これにより、ステージ移動操作が実現される。更に、照明制御部39は、CPU35で生成された指令値に基づいてアナログ量の指令電圧を生成し照明装置17に印加する。
【0014】
この画像測定装置におけるフォーカス調整は、指令入力部3、キーボード22及びマウス23等の操作手段によって、CPU35を介してZ軸駆動系46を駆動することにより実現される。Z軸駆動系46は、CCDカメラ16又はその光学系をZ軸方向に駆動する。これに伴って、CRTディスプレイ24上に表示されるワークの画像のコントラストが変化する。コントラスト値は、CRTディスプレイ24上にグラフィックインジケータによって表示される。
【0015】
図3は、コントラストCとグラフィックインジケータ51の表示例を示す図である。コントラストCは、グラフィックインジケータ51によってレベルチャートの形態で表示される。グラフィックインジケータ51のイメージデータは、プログラムメモリ36に格納され、コントラストに対応したレベル値はワークメモリ37に格納される。CPU35は、一定の時間間隔又は一定のZ軸移動量毎に多値画像メモリ32に記憶された画像データからコントラストを算出するコントラスト算出手段と、算出されたコントラストに基づいてレベルチャートのレベル値を算出し、プログラムメモリ36に記憶されたイメージデータからレベル値に基づくチャートイメージを合成してグラフィックインジケータ51を生成するインジケータ表示手段を構成する。画像のコントラストCは、例えば次のように求めることができる。
【0016】
【数1】
【0017】
ここで、gx,yは、XY座標平面上の(x,y)に位置する画素の輝度値である。m×n画素について計算を行うが、予めウィンドウを設定しておいて、計算に供する画像データの数を減らしておくことは有効である。
【0018】
図3に示すように、コントラストCのピーク値がレベルチャート上の100%表示となるような表示がなされると、フォーカス調整作業が容易になり、作業者によるばらつきも減少する。図4は、そのような表示処理を行うためのCPU35の処理を示すフローチャートである。なお、この処理は、例えばZ軸が一定値移動する度、一定の時間間隔毎又はこれらを適宜併用して駆動される。
【0019】
まず、コントラスト値Cが算出され(S1)、そのコントラスト値Cと記憶されている最大値Cmaxとが比較され(S2)、C>Cmaxのときにはピーク値をまだ検出していない状態であるため、Cmaxを更新し(S3)、C/Kをレベル値として表示する(S4)。ここで、Kは適当な係数であり、レベルチャートがオーバーフローしないように、最も高いコントラストが得られる画像のコントラストのピーク値よりも若干大きな値に設定しておく。また、CがCmax以下のときには(S2)、既にピーク値がCmaxとして検出されているので、C/Cmaxをレベル値として表示する(S5)。
【0020】
これにより、コントラスト値Cのピーク値が検出される前は、グラフィックインジケータ51のレベルチャートは実際のピーク値に対する割合よりも小さい値として表示されるが、一旦、ピーク値が検出されると、以後はピーク値で100%となるように表示が修正されることになる。
【0021】
コントラスト値Cのピークを検出する前にコントラスト曲線を推定して、ピーク位置で100%表示となるように調整することもできる。明暗の差が大きい画像と、明暗の差が小さい画像とでは、コントラスト曲線が異なってくるが、コントラスト曲線の微分曲線(傾き)のピーク値を求めることによってコントラスト曲線(ピーク値)をある程度推定することができる。また、図5に示すように、コントラスト曲線の微分曲線が一定の範囲(±A)に入った時点でレベルチャートに表示するようにしても良い。この場合、Z軸の増加方向の移動に対して、微分曲線が減少傾向を示す区間のデータを使用する。即ち、前回のZ値zi-1及び微分値ai-1と今回のZ値zi及び微分値aiとを用いて、
【0022】
【数2】
V=(ai−ai-1)/(zi−zi-1)
[但し、
ai=(Ci−Ci-1)/(zi−zi-1)]
【0023】
を求め、評価値Vが負の値であればピーク近傍であると判断する。
【0024】
ピーク近傍のみを表示すると、調整操作の初期の段階でZ軸のどちらの方向にフォーカス調整して良いのかの判断が付きにくいので、例えば図6に示すように、粗(COARSE)スケールインジケータ61と細(FINE)スケールインジケータ62とを併用して、全体的な合焦位置の方向性と正確性とを同時に満たすようにすると更に良い。
【0025】
図7及び図8は、粗・細併用表示処理のフローチャートである。この処理も例えばZ値が一定量変化する毎、一定の時間間隔毎又はこれらを適宜併用して起動される。まず、図7において、コントラスト値Ciが求められ(S11)、次に前回サンプリング時からのコントラスト曲線の傾きaiとその変化(ai−ai-1)を評価する(S12)。即ち、上述した評価値Vが負の値で、且つ傾きaiが図5における±Aの範囲内であるかどうかによってコントラスト曲線のピーク値近傍であるかどうかを判定し(S13)、ピーク値近傍でなければ、粗スケールインジケータ61にCi/Kのレベルを表示する(S14)。ここでKは、前述と同様にオーバーフローしないような適当な係数である。ピーク値近傍に達したら、そのときのコントラスト値Ciを変数CCOARに格納し(S15)、FINE表示処理に移行する。
【0026】
FINE表示処理では、図8に示すように、まず、コントラスト値Ciを算出し(S21)、求めたコントラスト値CiとCCOARとの大小比較を行い(S22)、コントラスト値CiがCCOARを下回ったら、ピーク値近傍を外れたので、ステップS14に戻り、以後は再度図7のCOAR表示処理を実行する。コントラスト値Ciがピーク値近傍範囲内である場合には、Ci/Kのレベルを粗スケールインジケータ61に表示すると共に(S23)、1−|ai|/Aのレベルを細スケールインジケータ62に表示する(S24)。これにより、ピーク値近傍でのコントラスト値の合わせ込みが容易になる。
【0027】
なお、このような粗・細併用表示に代わりに、例えば図9に示すように、コントラスト値が100%に近づくほどフォーカス調整量に対するコントラスト値の変化が大きくなるようにインジケータを表示するものでも良い。
【0028】
また、コントラスト値(%表示)は、数値によって表示するものでも良いし、数値と上述したグラフィックレベル表示とを併用するようにしても良い。更に、図10に示すように、フォーカス調整量、即ち上記の例ではZ軸の値を数値として併用表示するようにしても良い。三次元画像測定機では、このフォーカス調整量が同時にZ軸の測定値ともなるので、この値は重要である。コントラストのピーク値が得られたら、「了解」ボックスをマウスなどでクリックすることにより、そのときのフォーカス調整量を、XY座標値と共に、例えばフォーカス調整量記憶手段としてのワークメモリ37に記憶しておけば、測定値としても利用できるし、以後、同一位置及びその近傍に位置したときに自動フォーカス調整を行うことも可能になり、作業効率の向上、再現性の向上、及び測定精度の向上を図ることができる。
【0029】
なお、以上の実施例では、三次元画像測定機に本発明を適用した例を示したが、本発明は、投影機、顕微鏡、カメラ等の他の画像機器のフォーカス調整にも適用可能であることはいうまでもない。
【0030】
【発明の効果】
以上述べたようにこの発明によれば、インジケータ表示手段が、表示手段に画像のコントラスト値を示すインジケータを表示させるので、作業者は、操作手段によってマニュアル調整する際に、インジケータを参照しながら操作することができ、マニュアルでのピント合わせの操作が簡単化され、フォーカス位置精度が向上し、作業者によるばらつきも解消され、繰り返し精度も増すという効果を奏する。
【図面の簡単な説明】
【図1】 本発明の一実施例に係るCNC画像測定装置の斜視図である。
【図2】 同装置におけるコンピュータシステム及びその周辺の構成を示すブロック図である。
【図3】 同装置におけるコントラスト値とそのインジケータの一例を示す図である。
【図4】 同インジケータの表示処理を示すフローチャートである。
【図5】 コントラスト曲線とその微分値との関係からコントラスト値のピーク値近傍を説明するための図である。
【図6】 粗・細併用表示インジケータの例を示す図である。
【図7】 同インジケータの粗表示処理を示すフローチャートである。
【図8】 同インジケータの細表示処理を示すフローチャートである。
【図9】 本発明の他の実施例に係るインジケータの例を示す図である。
【図10】 本発明の更に他の実施例に係るインジケータの例を示す図である。
【符号の説明】
1…測定機本体、2…コンピュータシステム、3…指令入力部、4…プリンタ、11…架台、12…ワーク、13…測定テーブル、14…フレーム、15…カバー、16…CCDカメラ、17…照明装置、21…コンピュータ本体、22…キーボード、23…マウス、24…CRTディスプレイ、31…AD変換部、32…多値画像メモリ、33…表示制御部、34…インタフェース、35…CPU、36…プログラムメモリ、37…ワークメモリ、39…照明制御部、41…X軸エンコーダ、42…Y軸エンコーダ、43…Z軸エンコーダ、44…X軸駆動系、45…Y軸駆動系、46…Z軸駆動系、51…インジケータ、61…粗スケールインジケータ、62…細スケールインジケータ。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image measuring device such as a non-contact three-dimensional measuring machine, and an imaging device such as a microscope and a camera. In particular, the focus of an imaging device that facilitates manual focus adjustment of an image obtained by imaging an imaging target. The present invention relates to an adjusting device.
[0002]
[Prior art]
In conventional CNC (Computer Numerical Control) image measuring devices and manually operated image measuring devices, various measurements can be performed by detecting coordinate values on the edge from the workpiece image obtained by imaging the workpiece to be measured. Calculate the value. In order to perform accurate measurement, it is necessary that the image is accurately focused. Conventionally, in this type of image measurement device, when manually adjusting the work image focus, the operator moves the lens in the direction of the optical axis while viewing the image on the display device, and confirms whether the subject is in focus with the naked eye. doing.
[0003]
[Problems to be solved by the invention]
However, in the conventional focus adjustment method described above, it is not known whether or not the focus is accurately achieved, and there is a problem in reproducibility and focus position accuracy due to individual differences. In particular, in an image measuring machine that requires high accuracy, a shift in focus position directly affects measurement accuracy in the direction of the optical axis, and thus a focusing method with higher accuracy has been desired.
[0004]
The present invention has been made in view of these points, and provides a focus adjustment device for an imaging device that can facilitate the focus adjustment work of an image and improve the accuracy and reproducibility of a focus position. With the goal.
[0005]
[Means for Solving the Problems]
According to the first aspect of the present invention, there is provided a focus adjustment device for an imaging device, an imaging unit for imaging an imaging target, an operating unit for manually adjusting the focus of the imaging unit with respect to the imaging target, and the imaging unit. Image storage means for storing the image of the imaging target imaged in step, display means for displaying the image of the imaging target stored in the image storage means, and the contrast from the image of the imaging target stored in the image storage means Contrast calculation means for sequentially calculating values, and indicator display means for displaying an indicator indicating the contrast value calculated by the contrast calculation means on the display device, wherein the indicator display means monitors the peak value of the contrast value and, greater than the maximum value of the contrast values that are expected in the previous peak value of the contrast value is detected There value displays a contrast value so that the 100% view of the indicator, display a contrast value so that the peak value of the contrast values after the peak value of the contrast value is detected is 100% view of the indicator It is a thing to do.
A focus adjustment apparatus for a second imaging device according to the present invention includes an imaging unit for imaging an imaging target, an operating unit for manually adjusting the focus of the imaging unit with respect to the imaging target, and the imaging unit. Image storage means for storing the image of the imaging target imaged in step, display means for displaying the image of the imaging target stored in the image storage means, and the contrast from the image of the imaging target stored in the image storage means Contrast calculation means for sequentially calculating values, and indicator display means for displaying an indicator indicating the contrast value calculated by the contrast calculation means on the display device, wherein the indicator display means detects a peak value of the contrast value The contrast curve is estimated and the indicator is 100% at the peak contrast value. Characterized in that so as to indicate in which to display a contrast value.
[0006]
According to the present invention, since the indicator display means displays the indicator indicating the contrast value of the image on the display means, the operator operates while referring to the indicator when performing manual adjustment by the operation means. be able to. This simplifies the manual focusing operation, improves the focus position accuracy, eliminates variations among operators, and increases the repeatability. Since the indicator display means displays the contrast value so that the display is 100% at the maximum contrast of the image, it is only necessary to adjust the contrast so that the contrast is always 100% during manual adjustment, and the focus adjustment is further facilitated.
[0007]
The indicator may display the contrast value as a numerical value, but if it is a graphic indicator that displays the contrast value as a graphic image, the contrast value can be intuitively grasped by a quantitative value, which makes the work easier. The If both are used together, it is more preferable because an intuitive value based on graphics display and an accurate value based on numerical values can be grasped simultaneously.
[0008]
Also, indicator When is a combination of a fine scale to be displayed in the coarse scale and fine unit that displays the contrast value in a coarse unit, is easy Komu fit the exact focus position at the time of the peak. For the same reason, the indicator display means may display the indicator so that the change in the contrast value with respect to the focus adjustment amount increases as the contrast value approaches the peak value, such as an inverse logarithmic scale display. .
[0009]
Further, for example, in a three-dimensional image measuring machine or the like, the focus adjustment amount may be a measurement value in the Z-axis (optical axis) direction. For this reason, the indicator display means is effective in such a device if it displays the focus adjustment amount of the imaging means. Similarly, if a focus adjustment amount storage means for storing the focus adjustment amount of the image pickup means is further provided, it can be used as a measurement value in a measuring instrument or the like, and can be reused for refocus adjustment. This eliminates the need for adjustment.
[0010]
DETAILED DESCRIPTION OF THE INVENTION
Preferred embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a perspective view showing the overall configuration of a CNC three-dimensional image measuring apparatus to which a focus adjusting apparatus for an image apparatus according to the present invention is applied.
This apparatus includes a non-contact image measurement type measuring machine
[0011]
The measuring machine
[0012]
The
This system centering on the computer
[0013]
Further, an
[0014]
The focus adjustment in this image measuring apparatus is realized by driving the Z-
[0015]
FIG. 3 is a diagram illustrating a display example of the contrast C and the
[0016]
[Expression 1]
[0017]
Here, gx, y is the luminance value of the pixel located at (x, y) on the XY coordinate plane. Although calculation is performed for m × n pixels, it is effective to set a window in advance and reduce the number of image data used for calculation.
[0018]
As shown in FIG. 3, when display is performed such that the peak value of contrast C is displayed at 100% on the level chart, the focus adjustment operation is facilitated and the variation among operators is also reduced. FIG. 4 is a flowchart showing processing of the
[0019]
First, the contrast value C is calculated (S1), the contrast value C is compared with the stored maximum value Cmax (S2), and when C> Cmax, the peak value has not yet been detected. Cmax is updated (S3), and C / K is displayed as a level value (S4). Here, K is an appropriate coefficient, and is set to a value slightly larger than the peak value of the contrast of an image that provides the highest contrast so that the level chart does not overflow. When C is less than or equal to Cmax (S2), since the peak value has already been detected as Cmax, C / Cmax is displayed as a level value (S5).
[0020]
Thereby, before the peak value of the contrast value C is detected, the level chart of the
[0021]
It is also possible to estimate the contrast curve before detecting the peak of the contrast value C, and adjust the peak position to display 100%. The contrast curve differs between an image with a large difference in brightness and an image with a small difference in brightness, but the contrast curve (peak value) is estimated to some extent by obtaining the peak value of the differential curve (slope) of the contrast curve. be able to. Further, as shown in FIG. 5, the differential curve of the contrast curve may be displayed on the level chart when it enters a certain range (± A). In this case, data of a section where the differential curve shows a decreasing tendency with respect to the movement in the increasing direction of the Z axis is used. That is, using the previous Z value zi-1 and differential value ai-1 and the current Z value zi and differential value ai,
[0022]
[Expression 2]
V = (ai-ai-1) / (zi-zi-1)
[However,
ai = (Ci-Ci-1) / (zi-zi-1)]
[0023]
If the evaluation value V is a negative value, it is determined that the peak is near.
[0024]
If only the vicinity of the peak is displayed, it is difficult to determine which direction of the Z axis should be adjusted in the initial stage of the adjustment operation. For example, as shown in FIG. 6, a coarse (COARSE)
[0025]
7 and 8 are flowcharts of the combined coarse / fine display process. This process is also started, for example, every time the Z value changes by a certain amount, every certain time interval, or a combination thereof. First, in FIG. 7, the contrast value Ci is obtained (S11), and then the gradient ai of the contrast curve from the previous sampling and its change (ai-ai-1) are evaluated (S12). That is, it is determined whether the evaluation value V is a negative value and the slope ai is within the range of ± A in FIG. 5 to determine whether it is near the peak value of the contrast curve (S13). Otherwise, the level of Ci / K is displayed on the coarse scale indicator 61 (S14). Here, K is an appropriate coefficient so as not to overflow as described above. When the vicinity of the peak value is reached, the contrast value Ci at that time is stored in the variable CCOAR (S15), and the process proceeds to FINE display processing.
[0026]
In the FINE display process, as shown in FIG. 8, first, the contrast value Ci is calculated (S21), the obtained contrast value Ci and CCOAR are compared in magnitude (S22), and if the contrast value Ci falls below CCOAR, Since it has deviated from the vicinity of the peak value, the process returns to step S14, and thereafter the COAR display process of FIG. 7 is executed again. If the contrast value Ci is within the range near the peak value, the level of Ci / K is displayed on the coarse scale indicator 61 (S23), and the level of 1- | ai | / A is displayed on the
[0027]
Instead of such coarse / fine combined display, for example, as shown in FIG. 9, an indicator may be displayed so that the change in contrast value with respect to the focus adjustment amount increases as the contrast value approaches 100%. .
[0028]
Further, the contrast value (% display) may be displayed as a numerical value, or the numerical value and the graphic level display described above may be used in combination. Further, as shown in FIG. 10, the focus adjustment amount, that is, the value of the Z axis in the above example, may be displayed together as a numerical value. In a three-dimensional image measuring machine, this focus adjustment amount is also a Z-axis measurement value, so this value is important. When the contrast peak value is obtained, the “OK” box is clicked with a mouse or the like, and the focus adjustment amount at that time is stored together with the XY coordinate value in, for example, the
[0029]
In the above embodiment, an example in which the present invention is applied to a three-dimensional image measuring machine has been shown. However, the present invention can also be applied to focus adjustment of other image equipment such as a projector, a microscope, and a camera. Needless to say.
[0030]
【The invention's effect】
As described above, according to the present invention, the indicator display means displays the indicator indicating the contrast value of the image on the display means, so that the operator can operate while referring to the indicator when performing manual adjustment by the operation means. Thus, the manual focusing operation is simplified, the focus position accuracy is improved, the variation among operators is eliminated, and the repetition accuracy is increased.
[Brief description of the drawings]
FIG. 1 is a perspective view of a CNC image measuring apparatus according to an embodiment of the present invention.
FIG. 2 is a block diagram showing a configuration of a computer system and its peripherals in the apparatus.
FIG. 3 is a diagram illustrating an example of a contrast value and an indicator thereof in the apparatus.
FIG. 4 is a flowchart showing display processing of the indicator.
FIG. 5 is a diagram for explaining the vicinity of a peak value of a contrast value from a relationship between a contrast curve and a differential value thereof.
FIG. 6 is a diagram illustrating an example of a combined coarse / fine display indicator.
FIG. 7 is a flowchart showing a rough display process of the indicator.
FIG. 8 is a flowchart showing a fine display process of the indicator.
FIG. 9 is a diagram showing an example of an indicator according to another embodiment of the present invention.
FIG. 10 is a diagram showing an example of an indicator according to still another embodiment of the present invention.
[Explanation of symbols]
DESCRIPTION OF
Claims (8)
この撮像手段を前記撮像対象に対してマニュアルでフォーカス調整するための操作手段と、
前記撮像手段で撮像された撮像対象の画像を記憶する画像記憶手段と、
この画像記憶手段に記憶された撮像対象の画像を表示する表示手段と、
前記画像記憶手段に記憶された撮像対象の画像からそのコントラスト値を逐次算出するコントラスト算出手段と、
このコントラスト算出手段で算出されたコントラスト値を示すインジケータを前記表示装置に表示させるインジケータ表示手段と
を備え、
前記インジケータ表示手段は、コントラスト値のピーク値を監視し、コントラスト値のピーク値が検出される前では予想されるコントラスト値の最大値よりも大きい値が前記インジケータの100%表示となるようにコントラスト値を表示し、コントラスト値のピーク値が検出された後はコントラスト値のピーク値が前記インジケータの100%表示となるようにコントラスト値を表示するものである
ことを特徴とする画像機器のフォーカス調整装置。An imaging means for imaging an imaging target;
Operating means for manually adjusting the focus of the imaging means with respect to the imaging target;
Image storage means for storing an image to be imaged captured by the imaging means;
Display means for displaying an image to be imaged stored in the image storage means;
Contrast calculation means for sequentially calculating the contrast value from the image to be imaged stored in the image storage means;
An indicator display means for displaying an indicator indicating the contrast value calculated by the contrast calculation means on the display device,
The indicator display means monitors the peak value of the contrast value, and before the peak value of the contrast value is detected, the contrast is set so that a value larger than the maximum expected contrast value is displayed as 100% of the indicator. The contrast value is displayed and the contrast value is displayed so that the peak value of the contrast value becomes 100% of the indicator after the peak value of the contrast value is detected. apparatus.
この撮像手段を前記撮像対象に対してマニュアルでフォーカス調整するための操作手段と、
前記撮像手段で撮像された撮像対象の画像を記憶する画像記憶手段と、
この画像記憶手段に記憶された撮像対象の画像を表示する表示手段と、
前記画像記憶手段に記憶された撮像対象の画像からそのコントラスト値を逐次算出するコントラスト算出手段と、
このコントラスト算出手段で算出されたコントラスト値を示すインジケータを前記表示装置に表示させるインジケータ表示手段と
を備え、
前記インジケータ表示手段は、コントラスト値のピーク値を検出する前にコントラスト曲線を推定してコントラスト値のピーク値で前記インジケータが100%表示となるようにコントラスト値を表示するものである
ことを特徴とする画像機器のフォーカス調整装置。An imaging means for imaging an imaging target;
Operating means for manually adjusting the focus of the imaging means with respect to the imaging target;
Image storage means for storing an image to be imaged captured by the imaging means;
Display means for displaying an image to be imaged stored in the image storage means;
Contrast calculation means for sequentially calculating the contrast value from the image to be imaged stored in the image storage means;
An indicator display means for displaying an indicator indicating the contrast value calculated by the contrast calculation means on the display device,
The indicator display means is configured to estimate a contrast curve before detecting a peak value of a contrast value, and display the contrast value so that the indicator is 100% displayed at the peak value of the contrast value. Focus adjustment device for imaging equipment.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP08150198A JP3673076B2 (en) | 1998-03-27 | 1998-03-27 | Focus adjustment device for imaging equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP08150198A JP3673076B2 (en) | 1998-03-27 | 1998-03-27 | Focus adjustment device for imaging equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH11283035A JPH11283035A (en) | 1999-10-15 |
| JP3673076B2 true JP3673076B2 (en) | 2005-07-20 |
Family
ID=13748125
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP08150198A Expired - Fee Related JP3673076B2 (en) | 1998-03-27 | 1998-03-27 | Focus adjustment device for imaging equipment |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3673076B2 (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6538249B1 (en) | 1999-07-09 | 2003-03-25 | Hitachi, Ltd. | Image-formation apparatus using charged particle beams under various focus conditions |
| JP4217427B2 (en) * | 2002-05-28 | 2009-02-04 | オリンパス株式会社 | Microscope imaging device |
| JP4624286B2 (en) * | 2006-03-14 | 2011-02-02 | オリンパスイメージング株式会社 | Camera focus status display device |
| JP4712661B2 (en) * | 2006-09-22 | 2011-06-29 | オリンパスイメージング株式会社 | Imaging device |
| JP4913609B2 (en) * | 2007-01-16 | 2012-04-11 | 株式会社ミツトヨ | Hardness testing machine |
| JP5365419B2 (en) * | 2009-08-28 | 2013-12-11 | 株式会社Jvcケンウッド | 3D shape sensor |
| JP5668227B2 (en) | 2011-02-17 | 2015-02-12 | 株式会社ミツトヨ | Image measuring device |
| DE102016121649A1 (en) * | 2016-11-11 | 2018-05-17 | Cl Schutzrechtsverwaltungs Gmbh | Method for automatable or automated determination of the focus position of a laser beam generated by an exposure device |
-
1998
- 1998-03-27 JP JP08150198A patent/JP3673076B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH11283035A (en) | 1999-10-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2696044B2 (en) | Focus detection method, non-contact displacement measuring method and apparatus using the same | |
| CN110300255B (en) | Information processing device, information processing method, program, and vision measuring device | |
| JP6053119B2 (en) | Machine vision inspection system and determination method of position measurement result thereof | |
| JP2015507262A (en) | Focusing operation using multiple lighting settings in machine vision system | |
| JP2007003212A (en) | Imaging recipe creation apparatus and method for scanning electron microscope, and semiconductor pattern shape evaluation apparatus | |
| CN107850619B (en) | scanning probe microscope | |
| JP2001059940A (en) | Microscope and recording medium | |
| JP3673076B2 (en) | Focus adjustment device for imaging equipment | |
| JP3403875B2 (en) | Three-dimensional measurement method and display method, and three-dimensional measurement device | |
| US20080203285A1 (en) | Charged particle beam measurement equipment, size correction and standard sample for correction | |
| JP2010276540A (en) | Living tissue surface analyzer, living tissue surface analysis program, and living tissue surface analysis method | |
| JP2000146794A (en) | Rockwell hardness tester | |
| US12013525B2 (en) | Magnified observation apparatus | |
| JPH08313217A (en) | Noncontact image measuring system | |
| JP3691404B2 (en) | Micro dimension measuring device | |
| JP2010121955A (en) | Height information acquisition device, height information acquisition method, and program | |
| JP2009068986A (en) | Shape measuring device | |
| JP2001041711A (en) | Method and apparatus for correcting table deflection of image measuring machine | |
| JP3296513B2 (en) | Micro diameter measuring device | |
| JP2023114760A (en) | Surface shape measuring device and surface shape measuring method | |
| JP6185697B2 (en) | X-ray analyzer | |
| KR100346409B1 (en) | Stage driving method of electron probe micro analyzer | |
| JP2015210396A (en) | Aligment device, microscope system, alignment method and alignment program | |
| JPH11304438A (en) | Contactless extensometer | |
| JP2005069795A (en) | Method for registering a predetermined part of a dimension measuring device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20040824 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20041025 |
|
| A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20041028 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20050405 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050421 |
|
| 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: 20110428 Year of fee payment: 6 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |