JP2009002789A - Portable measuring device, and measuring method using the same - Google Patents
Portable measuring device, and measuring method using the same Download PDFInfo
- Publication number
- JP2009002789A JP2009002789A JP2007163800A JP2007163800A JP2009002789A JP 2009002789 A JP2009002789 A JP 2009002789A JP 2007163800 A JP2007163800 A JP 2007163800A JP 2007163800 A JP2007163800 A JP 2007163800A JP 2009002789 A JP2009002789 A JP 2009002789A
- Authority
- JP
- Japan
- Prior art keywords
- image
- recording
- focus
- photographed image
- photographed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、手持ちで被測定物の計測を行うことが可能な携帯型計測器に関し、特に、被測定物を撮像して合焦画像を取得する携帯型計測器及びこれを用いた計測方法に関する。 The present invention relates to a portable measuring instrument capable of measuring an object to be measured by hand, and more particularly to a portable measuring instrument that captures an image of the object to be measured and obtains a focused image, and a measurement method using the same. .
従来、例えば医療用の患部形状計測器や内視鏡スケールといった被測定物の三次元形状を非接触で測定する三次元計測器(特許文献1参照)など、ユーザが手で持って(手持ちで)被測定物の計測を行うことが可能な携帯型計測器(ハンディタイプの計測器)が知られている。この携帯型計測器による計測時には、被測定物を撮像して焦点(ピント)が合った画像(合焦画像)を取得する。当該撮像時の焦点を合わせる方式として固定焦点(パンフォーカス)方式がある。
しかしながら、上記固定焦点方式では焦点位置が固定されているため、携帯型計測器を手で移動すなわち被測定物に対して遠近移動させることで焦点を合わせる必要があるが、正しい合焦位置を見付け、この距離(焦点距離)を固定して合焦画像を得ることは容易ではない。また、このような固定焦点でなく焦点可変であったとしても、マニュアルフォーカスの場合、当該手持ちであり被測定物との距離を固定できないため、フォーカシング機能自体が意味をもたない。一方、オートフォーカス(AF)方式(特許文献2参照)の場合には、上記正しい合焦位置を容易に見付けることは可能となるものの、AF機能(AF機構)を備える分だけ携帯型計測器のサイズアップ(大型化)やコストアップを招いてしまう。 However, since the focus position is fixed in the above fixed focus method, it is necessary to adjust the focus by moving the portable measuring instrument by hand, that is, by moving the object far or away from the object to be measured. It is not easy to obtain a focused image with this distance (focal length) fixed. Further, even if the focus is variable instead of such a fixed focus, in the case of manual focus, the distance from the object to be measured cannot be fixed and the focusing function itself has no meaning. On the other hand, in the case of the autofocus (AF) method (see Patent Document 2), the correct focus position can be easily found, but the portable measuring instrument has only the AF function (AF mechanism). This leads to an increase in size (upsizing) and cost.
本発明は上記事情に鑑みてなされたもので、携帯型であっても、計測における合焦画像を容易に取得することが可能な携帯型計測器及びこれを用いた計測方法を提供することを目的とする。 The present invention has been made in view of the above circumstances, and provides a portable measuring instrument that can easily acquire a focused image in measurement even if it is portable, and a measurement method using the portable measuring instrument. Objective.
本発明に係る携帯型計測器は、ユーザが手に持った状態で被測定物の計測を行うことが可能な携帯型計測器であって、前記被測定物を撮影して撮影画像を得る撮像手段と、前記撮像手段によって一定期間に連続的に撮影して得られた撮影画像群を記録する記録手段と、前記一定期間における撮影画像群の記録動作を開始させるための指示入力を行う指示入力手段と、前記記録手段に記録された複数の撮影画像から最も合焦度合いの高い撮影画像を選択する選択手段とを備えることを特徴とする。 A portable measuring instrument according to the present invention is a portable measuring instrument capable of measuring an object to be measured while being held in a hand of a user, and obtains a photographed image by photographing the object to be measured. Means, recording means for recording a group of photographed images obtained by continuous photographing by the imaging means for a predetermined period, and instruction input for instructing to start a recording operation of the photographed image group for the predetermined period And a selection means for selecting a photographed image with the highest degree of focus from a plurality of photographed images recorded in the recording means.
上記構成によれば、ユーザが手に持った状態で被測定物の計測を行うことが可能な携帯型計測器において、撮像手段によって被測定物が撮影されて撮影画像が得られ、記録手段によって、撮像手段により一定期間に連続的に撮影して得られた撮影画像群が記録される。そして、指示入力手段によって、一定期間における撮影画像群の記録動作を開始させるための指示入力が行われ、選択手段によって、記録手段に記録された複数の撮影画像から最も合焦度合いの高い撮影画像が選択される。 According to the above configuration, in the portable measuring instrument capable of measuring the object to be measured while being held in the hand, the object to be measured is captured by the imaging unit to obtain a captured image, and the recording unit A group of captured images obtained by continuously capturing images for a predetermined period by the imaging unit is recorded. Then, an instruction input for starting the recording operation of the photographed image group for a certain period is performed by the instruction input unit, and a photographed image with the highest degree of focus is selected from the plurality of photographed images recorded in the recording unit by the selection unit. Is selected.
このように、ユーザの操作に応じて撮影画像の記録が開始されて、一定期間の間、連続的に撮影して得られた撮影画像群が記録され、この記録された撮影画像群の中から最も合焦度合いの高い撮影画像が選択されるので、例えばユーザが手で持って携帯型計測器を大凡の合焦位置までもっていき、合焦位置の近傍を移動させながら一定期間の間、撮影画像を記録することによって合焦位置の撮影画像を含んだ撮影画像群が記録され、この撮影画像群から、選択手段による処理(最も合焦度合いの高い撮影画像を選択する処理)によって自動的に合焦画像を取得することができる。したがって、このように携帯型であっても、ユーザは被測定物に対する焦点位置を正確に合わせる作業が不要となり、謂わば大まかに合焦位置近傍を撮影する(複数の画像フレームを連続的に記録する)だけで容易に合焦画像を取得することが可能となる。 In this way, recording of a captured image is started in response to a user's operation, and a captured image group obtained by continuously capturing images for a certain period is recorded, and the recorded captured image group is selected from the recorded captured image group. Since the photographed image with the highest degree of focus is selected, for example, the user holds the portable measuring instrument to the approximate in-focus position with his hand, and shoots for a certain period while moving the vicinity of the in-focus position. By recording the image, a group of captured images including the captured image at the in-focus position is recorded, and from this captured image group, processing by a selection unit (processing for selecting a captured image with the highest degree of focus) is automatically performed. A focused image can be acquired. Therefore, even in such a portable type, the user does not need to accurately adjust the focus position with respect to the object to be measured, and so-called roughly photographing the vicinity of the focus position (recording a plurality of image frames continuously). It is possible to easily obtain a focused image.
また、上記構成において、前記撮像手段による撮影画像をモニタ表示可能に構成された表示手段をさらに備えてもよい(請求項2)。 Moreover, in the said structure, you may further provide the display means comprised so that the monitor image of the picked-up image by the said imaging means was possible (Claim 2).
これによれば、撮像手段による撮影画像をモニタ表示可能に構成された表示手段をさらに備えるので、ユーザは、被測定物の撮影画像を表示手段のモニタ表示を見ながら容易に大凡の合焦位置を見付けることができる。すなわち、確実に撮影画像群に合焦画像を含ませることができるようになり、ひいては携帯型計測器による計測において一層容易に合焦画像を取得することができる。 According to this, since the display unit configured to be able to monitor and display the captured image by the imaging unit is further provided, the user can easily approximate the in-focus position while viewing the captured image of the object to be measured on the monitor display of the display unit. Can be found. That is, the focused image can be surely included in the captured image group, and as a result, the focused image can be acquired more easily in the measurement by the portable measuring instrument.
また、上記構成において、前記撮影画像に基づいて、前記被測定物に対して合焦したか否かを検知する合焦検知手段と、前記合焦検知手段により前記合焦が検知されると前記記録手段による記録動作を停止させる制御を行う記録制御手段とをさらに備えてもよい(請求項3)。 Further, in the above configuration, a focus detection unit that detects whether or not the object to be measured is focused based on the captured image, and when the focus is detected by the focus detection unit, It may further comprise recording control means for performing control for stopping the recording operation by the recording means.
これによれば、合焦検知手段によって、撮影画像に基づいて、被測定物に対して合焦したか否かが検知され、また、記録制御手段によって、合焦検知手段により合焦が検知されると記録手段による記録動作を停止させる制御が行われるので、大まかに合焦位置近傍を撮影して得た撮影画像群の中に、合焦が検知されたときの撮影画像(最も焦点度合いが高いつまり合焦画像であろうと想定される画像であって、必ずしもこの画像が所要の合焦画像ではない)をより容易且つ確実に含ませることが可能となる。 According to this, the focus detection unit detects whether or not the object to be measured is focused based on the photographed image, and the focus is detected by the focus detection unit by the recording control unit. Then, control for stopping the recording operation by the recording means is performed, so that a photographed image (when the focus degree is the most focused) is detected in the photographed image group obtained by photographing the vicinity of the in-focus position roughly. It is possible to more easily and reliably include an image that is assumed to be a high-in-focus image, which is not necessarily a required focused image.
また、上記構成において、前記記録制御手段は、前記記録手段に撮影画像を循環的に記録させる制御を行うものであって、前記合焦検知手段により前記合焦が検知された時点から、前記記録手段の記録容量における所定容量分だけ撮影画像を前記循環的に記録させた後、前記記録動作を停止させる制御を行ってもよい(請求項4)。 Further, in the above configuration, the recording control unit performs control to cause the recording unit to record a captured image in a cyclic manner, and the recording control unit starts from the time when the in-focus is detected by the in-focus detection unit. Control may be performed to stop the recording operation after the photographed image is cyclically recorded by a predetermined capacity in the recording capacity of the means (claim 4).
これによれば、記録制御手段が、記録手段に撮影画像を循環的に記録させる制御を行うものとされ、この記録制御手段によって、合焦検知手段により合焦が検知された時点から、記録手段の記録容量における所定容量分だけ撮影画像が循環的に記録された後、記録動作を停止させる制御が行われるので、記録した撮影画像群の中に、合焦検知手段により合焦が検知されたときの撮影画像(上述と同様、合焦画像であろうと想定される画像)と共に、この撮影画像(合焦位置)の前後位置での撮影画像(前ピン画像及び後ピン画像)をも含ませることができる。このため、これら撮影画像群から最も合焦度合いの高い撮影画像を選択するなどしてより正確に合焦画像を取得することが可能となる。 According to this, the recording control means performs control to cause the recording means to record the photographed image cyclically, and the recording means from the time point when the focus detection means detects the in-focus by the recording control means. Since the recorded image is cyclically recorded by a predetermined capacity in the recording capacity of the recording medium, the recording operation is controlled so that the focus is detected by the focus detection means in the recorded photographed image group. A photographed image (a front pin image and a rear pin image) at a position before and after the photographed image (focused position) is included in addition to the photographed image (image assumed to be a focused image as described above). be able to. For this reason, it becomes possible to acquire a focused image more accurately by selecting a captured image with the highest degree of focus from these captured image groups.
また、上記構成において、前記合焦検知手段は、前記撮影画像のコントラストに基づいて前記合焦したか否かを検知してもよい(請求項5)。 In the above configuration, the focus detection unit may detect whether or not the focus is achieved based on the contrast of the captured image.
これによれば、合焦検知手段によって、撮影画像のコントラストに基づいて合焦したか否かが検知されるので、簡易な方法で容易に合焦検知を行うことができる。 According to this, since it is detected by the focus detection means based on the contrast of the photographed image, it is possible to easily perform the focus detection by a simple method.
また、上記構成において、前記被測定物に十字状スリット光を投影する投影手段をさらに備え、前記合焦検知手段は、前記十字状スリット光の交点が該被測定物の所定位置に一致する度合いを判別することで前記合焦したか否かを検知してもよい(請求項6)。 Further, in the above configuration, the projector further includes a projecting unit that projects the cross-shaped slit light onto the object to be measured, and the focus detection unit is configured such that the intersection of the cross-shaped slit light coincides with a predetermined position of the object to be measured. It is also possible to detect whether or not the in-focus state is obtained by discriminating the above.
これによれば、投影手段によって被測定物に十字状スリット光が投影され、合焦検知手段によって、十字状スリット光の交点が該被測定物の所定位置に一致する度合いを判別することで合焦したか否かが検知されるので、例えば携帯型計測器が三次元計測器であり、該三次元計測を行うために十字状スリット光を被測定物に投影するものである場合に、この既存の投影手段を利用して(低コストで)、容易に合焦検知を行うことができる。 According to this, the cross-shaped slit light is projected onto the object to be measured by the projecting means, and the focus detection means determines the degree of coincidence of the intersection of the cross-shaped slit light with the predetermined position of the object to be measured. Since it is detected whether or not it is in focus, for example, when the portable measuring instrument is a three-dimensional measuring instrument and projects a cross-shaped slit light onto the object to be measured in order to perform the three-dimensional measurement, this Focus detection can be easily performed using existing projection means (at low cost).
また、上記構成において、前記記録制御手段は、前記指示入力手段による指示入力に従って前記記録手段による撮影画像の記録動作が開始されてから、該指示入力手段による指示入力に従って記録動作が停止されるまでの前記一定期間の間、該記録手段に撮影画像を記録させる制御を行ってもよい(請求項7)。 In the above-described configuration, the recording control unit may start the recording operation of the photographed image by the recording unit in accordance with the instruction input from the instruction input unit until the recording operation is stopped in accordance with the instruction input by the instruction input unit. Control may be performed to cause the recording means to record a photographed image during the predetermined period.
これによれば、記録制御手段によって、指示入力手段による指示入力に従って記録手段による撮影画像の記録動作が開始されてから、該指示入力手段による指示入力に従って記録動作が停止されるまでの一定期間の間、該記録手段に撮影画像を記録させる制御が行われる。すなわち、ユーザが指示入力手段例えば入力ボタンを押下している間(一定期間)だけ撮影画像が記録される構成であるので、合焦位置近傍を移動させながら当該撮影画像を記録するための操作が簡単に行えるようになる。 According to this, the recording control means starts a recording image recording operation by the recording means in accordance with the instruction input by the instruction input means, and then stops for a certain period of time until the recording operation is stopped by the instruction input by the instruction input means. In the meantime, the recording unit is controlled to record the photographed image. That is, since the photographed image is recorded only while the user presses the instruction input means, for example, the input button (a certain period), an operation for recording the photographed image while moving the vicinity of the in-focus position is performed. It becomes easy to do.
また、上記構成において、前記記録制御手段は、前記指示入力手段による指示入力に従って前記記録手段による撮影画像の記録動作が開始されてから、該記録手段の記録容量を満たして記録されるまでの前記一定期間の間、該記録手段に撮影画像を記録させる制御を行ってもよい(請求項8)。 Further, in the above configuration, the recording control unit is configured to start recording a captured image by the recording unit in accordance with an instruction input from the instruction input unit until recording is performed while satisfying a recording capacity of the recording unit. Control may be performed to cause the recording means to record a photographed image for a certain period.
これによれば、記録制御手段によって、指示入力手段による指示入力に従って記録手段による撮影画像の記録動作が開始されてから、該記録手段の記録容量を満たして記録されるまでの一定期間の間、該記録手段に撮影画像を記録させる制御が行われるので、指示入力手段によって記録動作を停止させる指示入力動作を不要とすることができる、或いは、少なくとも初めに記録動作開始の指示入力さえ行えば(開始ボタンを押下すれば)、後は自動的に記録手段の記録容量を満たすまで記録されて当該記録動作が停止(終了)する構成とすることができるので、合焦位置近傍における一定期間の撮影画像の記録を簡単な操作で容易に行うことができる。 According to this, for a certain period from when the recording control unit starts the recording operation of the photographed image by the recording unit according to the instruction input by the instruction input unit until the recording capacity of the recording unit is recorded and recorded. Since the recording means controls to record the photographed image, the instruction input operation for stopping the recording operation by the instruction input means can be made unnecessary, or at least the instruction for starting the recording operation can be input at the beginning ( Since the recording operation is automatically stopped until the recording capacity of the recording means is satisfied and the recording operation is stopped (terminated) after that, the image can be taken for a certain period in the vicinity of the in-focus position. It is possible to easily record an image with a simple operation.
また、上記構成において、前記選択手段は、前記撮影画像のコントラストに基づいて前記撮影画像群から最も合焦度合いの高い撮影画像を選択してもよい(請求項9)。 In the above configuration, the selection unit may select a photographed image with the highest degree of focus from the photographed image group based on the contrast of the photographed image.
これによれば、選択手段によって、撮影画像のコントラストに基づいて撮影画像群から最も合焦度合いの高い撮影画像が選択されるので、簡易な方法(画像処理)によって容易に撮影画像群から最も合焦度合いの高い撮影画像を選択することができる。 According to this, since the selection unit selects a captured image with the highest degree of focus from the captured image group based on the contrast of the captured image, it is most easily selected from the captured image group by a simple method (image processing). A photographed image with a high degree of focus can be selected.
また、上記構成において、前記被測定物に所定のスリット光を投影する投影手段をさらに備え、前記選択手段は、前記スリット光による投影像の合焦状態を示す特徴量に基づいて、前記撮影画像群から最も合焦度合いの高い撮影画像を選択してもよい(請求項10)。 Further, in the above configuration, the image processing apparatus further includes a projecting unit that projects a predetermined slit light onto the object to be measured, and the selecting unit is configured to perform the captured image based on a feature amount indicating a focused state of a projected image by the slit light. A photographed image with the highest degree of focus may be selected from the group (claim 10).
これによれば、投影手段によって被測定物に所定のスリット光が投影され、選択手段によって、スリット光による投影像の合焦状態を示す特徴量に基づいて、撮影画像群から最も合焦度合いの高い撮影画像が選択されるので、例えば携帯型計測器が三次元計測器であり、該三次元計測を行うために所定のスリット光を被測定物に投影するものである場合に、既存の投影手段を利用して(低コストで)、投影像におけるこの特徴量に基づいて、容易に撮影画像群から最も合焦度合いの高い撮影画像を選択することができる。 According to this, the predetermined slit light is projected onto the object to be measured by the projecting unit, and the most in-focus degree is obtained from the photographed image group based on the feature amount indicating the focused state of the projected image by the slit light by the selecting unit. Since a high-captured image is selected, for example, when the portable measuring instrument is a three-dimensional measuring instrument and projects predetermined slit light onto the object to be measured in order to perform the three-dimensional measurement, the existing projection Using the means (at a low cost), it is possible to easily select a photographed image with the highest degree of focus from the photographed image group based on this feature amount in the projected image.
また、上記構成において、前記選択手段は、前記特徴量としての前記スリット光の幅の大きさに基づいて、前記撮影画像群から最も合焦度合いの高い撮影画像を選択してもよい(請求項11)。 In the above configuration, the selection unit may select a photographed image with the highest degree of focus from the photographed image group based on the width of the slit light as the feature amount. 11).
これによれば、選択手段によって、特徴量としてのスリット光の幅の大きさに基づいて、撮影画像群から最も合焦度合いの高い撮影画像が選択されるので、スリット光の幅の大きさという簡単な特徴量に基づいて、容易に撮影画像群から最も合焦度合いの高い撮影画像を選択することができる。 According to this, since the selection unit selects a photographed image with the highest degree of focus from the photographed image group based on the width of the slit light as the feature amount, the width of the slit light is referred to as Based on a simple feature amount, a captured image with the highest degree of focus can be easily selected from the captured image group.
また、上記構成において、前記選択手段は、前記特徴量としての、前記スリット光の幅の大きさ及び該幅方向における輝度分布のピークに基づいて、前記撮影画像群から最も合焦度合いの高い撮影画像を選択してもよい(請求項12)。 Further, in the above configuration, the selection unit performs shooting with the highest degree of focus from the captured image group based on the width of the slit light and the peak of the luminance distribution in the width direction as the feature amount. An image may be selected (claim 12).
これによれば、選択手段によって、特徴量としての、スリット光の幅の大きさ及び該幅方向における輝度分布のピークに基づいて、撮影画像群から最も合焦度合いの高い撮影画像が選択されるので、例えば最もスリット光の幅が狭く且つピークが高くなっている撮影画像(投影像)を選択する、というようにして、より正確に且つ容易に撮影画像群から最も合焦度合いの高い撮影画像を選択することができる。 According to this, based on the size of the width of the slit light and the peak of the luminance distribution in the width direction as the feature amount, the selection unit selects the captured image with the highest degree of focus from the captured image group. Therefore, for example, a captured image (projected image) having the narrowest slit light width and the highest peak is selected, so that the captured image with the highest degree of focus can be more accurately and easily selected. Can be selected.
また、上記構成において、前記選択手段は、前記特徴量としての、前記スリット光による投影像のコントラストに基づいて、前記撮影画像群から最も合焦度合いの高い撮影画像を選択してもよい(請求項13)。 In the above configuration, the selection unit may select a photographed image with the highest degree of focus from the photographed image group based on the contrast of the projected image by the slit light as the feature amount. Item 13).
これによれば、選択手段によって、特徴量としての、スリット光による投影像のコントラストに基づいて、撮影画像群から最も合焦度合いの高い撮影画像が選択されるので、簡易な方法(画像処理)によって容易に撮影画像群から最も合焦度合いの高い撮影画像を選択することができる。 According to this, since the picked-up image with the highest degree of focus is selected from the picked-up image group based on the contrast of the projected image by the slit light as the feature amount by the selecting means, a simple method (image processing) Thus, it is possible to easily select a photographed image with the highest degree of focus from the photographed image group.
また、本発明に係る計測方法は、ユーザが手に持った状態で被測定物の計測を行うことが可能な携帯型計測器を用いた計測方法であって、前記被測定物を撮影して撮影画像を得る撮像工程と、前記撮像工程において一定期間に連続的に撮影して得られた撮影画像群を記録する記録工程と、前記一定期間における撮影画像群の記録動作を開始させるための指示入力を行う指示入力工程と、前記記録工程において記録された複数の撮影画像から最も合焦度合いの高い撮影画像を選択する選択工程とを有することを特徴とする(請求項14)。 Further, the measurement method according to the present invention is a measurement method using a portable measuring instrument capable of measuring an object to be measured while being held in a hand of a user, and images the object to be measured. An imaging process for obtaining a captured image, a recording process for recording a captured image group obtained by continuously capturing images in a predetermined period in the imaging process, and an instruction for starting a recording operation for the captured image group in the predetermined period An instruction input step for inputting, and a selection step for selecting a photographed image with the highest degree of focus from a plurality of photographed images recorded in the recording step (claim 14).
上記構成によれば、ユーザが手に持った状態で被測定物の計測を行うことが可能な携帯型計測器を用いた計測方法において、撮像工程によって、被測定物を撮影して撮影画像が得られ、記録工程によって、上記撮像工程で一定期間に連続的に撮影して得られた撮影画像群が記録される。そして、指示入力工程によって、一定期間における撮影画像群の記録動作を開始させるための指示入力が行われ、選択工程によって、上記記録工程で記録された複数の撮影画像から最も合焦度合いの高い撮影画像が選択される。 According to the above configuration, in the measurement method using the portable measuring instrument capable of measuring the object to be measured while being held in the hand, the object to be measured is photographed by the imaging process. The captured image group obtained by continuously capturing images in a predetermined period in the imaging step is recorded by the recording step. Then, an instruction input for starting the recording operation of the photographed image group in a certain period is performed by the instruction input process, and the photographing with the highest degree of focus is performed from the plurality of photographed images recorded in the recording process by the selection process. An image is selected.
このように、ユーザの操作に応じて撮影画像の記録が開始されて、一定期間の間、連続的に撮影して得られた撮影画像群が記録され、この記録された撮影画像群の中から最も合焦度合いの高い撮影画像が選択されるので、例えばユーザが手で持って携帯型計測器を大凡の合焦位置までもっていき、合焦位置の近傍を移動させながら一定期間の間、撮影画像を記録することによって合焦位置の撮影画像を含んだ撮影画像群が記録され、この撮影画像群から、選択手段による処理によって自動的に合焦画像を取得することができる。したがって、このように携帯型であっても、ユーザは被測定物に対する焦点位置を正確に合わせる作業が不要となり、謂わば大まかに合焦位置近傍を撮影する(複数の画像フレームを連続的に記録する)だけで容易に合焦画像を取得することが可能となる。 In this way, recording of a captured image is started in response to a user's operation, and a captured image group obtained by continuously capturing images for a certain period is recorded, and the recorded captured image group is selected from the recorded captured image group. Since the photographed image with the highest degree of focus is selected, for example, the user holds the portable measuring instrument to the approximate in-focus position with his hand, and shoots for a certain period while moving the vicinity of the in-focus position. By recording the image, a group of captured images including the captured image at the in-focus position is recorded, and the focused image can be automatically acquired from the captured image group by processing by the selection unit. Therefore, even in such a portable type, the user does not need to accurately adjust the focus position with respect to the object to be measured, and so-called roughly photographing the vicinity of the focus position (recording a plurality of image frames continuously). It is possible to easily obtain a focused image.
本発明によれば、ユーザの操作に応じて撮影画像の記録が開始されて、一定期間の間、連続的に撮影して得られた撮影画像群が記録され、この記録された撮影画像群の中から最も合焦度合いの高い撮影画像が選択されるので、例えばユーザが手で持って携帯型計測器を大凡の合焦位置までもっていき、合焦位置の近傍を移動させながら一定期間の間、撮影画像を記録することによって合焦位置の撮影画像を含んだ撮影画像群が記録され、この撮影画像群から、選択手段による処理(最も合焦度合いの高い撮影画像を選択する処理)によって自動的に合焦画像を取得することができる。したがって、このように携帯型であっても、ユーザは被測定物に対する焦点位置を正確に合わせる作業が不要となり、謂わば大まかに合焦位置近傍を撮影する(複数の画像フレームを連続的に記録する)だけで容易に合焦画像を取得することが可能となる。 According to the present invention, recording of a photographed image is started in response to a user operation, and a photographed image group obtained by continuously photographing for a certain period is recorded, and the recorded photographed image group is recorded. Since the photographed image with the highest degree of focus is selected from among them, for example, the user holds the portable measuring instrument to the approximate in-focus position with his hand and moves the vicinity of the in-focus position for a certain period of time. By recording the captured image, a captured image group including the captured image at the in-focus position is recorded, and from this captured image group, automatic processing is performed by processing by a selection unit (processing for selecting a captured image with the highest degree of focus). In-focus image can be acquired. Therefore, even in such a portable type, the user does not need to accurately adjust the focus position with respect to the object to be measured, and so-called roughly photographing the vicinity of the focus position (recording a plurality of image frames continuously). It is possible to easily obtain a focused image.
(実施形態1)
図1は、第1の実施形態に係る携帯型三次元測定装置1を示す斜視図、図2はその側面図、図3は携帯型三次元測定装置1の測定領域を示す斜視図、図4は、例えば被測定物100に示すような3次元形状を有する被測定物(測定対象)に対するスリット光Sの照射状況を示す斜視図である。携帯型三次元測定装置1は、被測定物の三次元形状を光切断法により計測するものであって、本体ハウジング10と、この中に収納されるスリット光発生手段2、投光光学系3、撮像手段4、照明手段5及び制御部6とを含んでいる。ここで例示している携帯型三次元測定装置1は、一般的なノギス程度の大きさの棒状を呈し、一方の端部側はスリット光Sの投受光を行う測定ヘッド部Hとされ、他方の端部側はユーザが把手するためのグリップ部Gとされている。
(Embodiment 1)
1 is a perspective view showing a portable three-
図1に示すように、本体ハウジング10は、測定ヘッド部Hに対応するヘッドハウジング部11と、中間ハウジング部12と、グリップ部Gに対応するグリップハウジング部13とが一体化されたハウジングである。ヘッドハウジング部11は矩形状とされ、その内部には三次元測定に必要な測定エレメントであるスリット光発生手段2、投光光学系3及び撮像手段4などが搭載される。中間ハウジング部12の内部には、上記測定エレメントの動作を制御する制御部6が搭載される。グリップハウジング部13は手持ち具合が良いように円筒型とされ、その内部には図略の電源電池などが収納される。なお、グリップハウジング部13の外周面は、滑り止めのための粗面化加工が施されている。
As shown in FIG. 1, the
スリット光発生手段2は、被測定物に照射するための、扇形に広がるスリット光Sを発生する。スリット光発生手段2は、例えば小型のレーザ光源からなる、すなわち例えば可視波長のレーザ光を発生する小型のLD(Laser diode)からなるレーザ光源21を備え(レーザ光源21が発した光をスリット光に変換する図略の光学部材も含む)、スリット光を発生させるものである。なお、上記光学部材は例えばシリンドリカルレンズ、円柱レンズ或いはスリット板等からなる。また、スリット光発生手段2は、撮像手段4の受光面の背面側に配置されており、このことは、測定ヘッド部Hの図1におけるX方向のサイズのコンパクト化に寄与している。
The slit light generating means 2 generates a slit light S spreading in a fan shape for irradiating the object to be measured. The slit light generating means 2 includes a
投光光学系3は、スリット光Sを被測定物(被測定物100)に向けて照射させるためのもの(スリット投光光学系31)である。すなわち投光光学系3は、撮像手段4の受光面の背面側に配置されたスリット光発生手段2から発せられたスリット光Sを、撮像手段4の近傍を迂回し、撮像手段4の正面方向に向かわせる迂回光路を提供するものである。スリット投光光学系31は、レーザ光源21から発せられたレーザ光を扇型に広がるスリット光Sとし、該スリット光Sを被測定物に向けて照射させる。本実施形態では、スリット投光光学系31は、1つのレーザ光を2方向に分離して得た互いに直交するX方向スリット光及びY方向スリット光を被測定物に向けて照射し、十字状にクロスした(図6参照)X方向スリット投影像及びY方向スリット投影像(十字状スリット光)を被測定物の表面に投影させる。この投影像は後述の撮像センサ41により被測定物とともに撮影される(撮影画像中にはこの十字状スリット光による投影像が写っている)。
The light projecting
また、投光光学系3は、スリット光Sを反射させる反射面を含んでおり、この反射面の少なくとも1つは、被測定物側から見て撮像手段4の受光面の配置位置と同等の位置若しくはそれよりも遠い位置に配置される。ここでは投光光学系3は、2つの反射面R1、R2を備え、そのうちの反射面R1が撮像手段4の受光面の配置位置よりも遠い位置に配置される例を示している。
Further, the light projecting
撮像手段4(撮像ユニット)は、例えばCCD(Charge coupled device)エリアセンサのような2次元撮像センサ(撮像センサ41とする)を備え(撮像手段4は、撮像センサ41の受光面にスリット光Sを含む被測定物からの反射光を結像させる図略の受光光学系も含む)、被測定物を撮像して画像(撮影画像)を得るものである。撮像手段4の受光面は、被測定物に正対するように配置されている。その結果、図2に示すように、撮像手段4の受光光軸A2は真下(Z方向)に延びている。これに対し、スリット光Sの投光光軸A1は傾きを持って下方向に延びている。すなわち、投光光軸A1は、受光光軸A2に対して所定の交差角で交差している。光切断法では、このような光軸の交差が必須である。なお、この図の例では、投光光軸A1と受光光軸A2との交差点が、投光光学系及び受光光学系の焦点面となるように設定されている。因みに図3は、撮像手段4の撮像領域である測定領域(焦点面)を示している。 The imaging means 4 (imaging unit) includes a two-dimensional imaging sensor (referred to as imaging sensor 41) such as a CCD (Charge coupled device) area sensor (the imaging means 4 has slit light S on the light receiving surface of the imaging sensor 41). Including a light receiving optical system (not shown) that forms an image of reflected light from the object to be measured including the image of the object to be measured. The light receiving surface of the imaging means 4 is disposed so as to face the object to be measured. As a result, as shown in FIG. 2, the light receiving optical axis A2 of the image pickup means 4 extends right below (Z direction). On the other hand, the light projecting optical axis A1 of the slit light S extends downward with an inclination. That is, the light projecting optical axis A1 intersects the light receiving optical axis A2 at a predetermined crossing angle. In the light cutting method, such crossing of the optical axes is essential. In the example of this figure, the intersection of the light projecting optical axis A1 and the light receiving optical axis A2 is set to be the focal plane of the light projecting optical system and the light receiving optical system. Incidentally, FIG. 3 shows a measurement area (focal plane) which is an imaging area of the imaging means 4.
照明手段5は、例えばLED(Light-emitting diode)やランプ等の照明光源51を備え(照明手段5は、照明光源51からの照明光を導くための照明光学系を備えていてもよい)、被測定物を照明するものである。照明光源51は、具体的には例えば測定ヘッド部Hの下面(被測定物との対向面)の四隅にLEDが配設されて、これら四隅における4個のLEDによって被測定物表面を照明する構成となっている。
The
制御部6は、CPU(Central processing unit)や各種回路等を含み、スリット光発生手段2の発光動作、撮像手段4の撮像動作などを制御する。この制御部6の詳細を以下、図5において説明する。図5は、携帯型三次元測定装置1の電気的構成を示すブロック図である。携帯型三次元測定装置1は、上述したレーザ光源21、撮像センサ41、照明光源51及び制御部6の他、トリガースイッチ(SW)7と、外部インターフェイス部8とを備えている。
The
トリガーSW7は、撮像センサ41によって得られた撮影画像の後述する画像バッファ用フレームメモリ66への記録(記憶)動作を開始させる及び停止させるためのスイッチである。このトリガーSW7は例えば図1に示すようにグリップ部Gに配設されている。ユーザがトリガーSW7を押下してON(オン)すると、撮像動作が画像バッファ用フレームメモリ66に記録される(取り込まれる)。このトリガーSW7がON状態となっている間、複数の撮影画像が連続的に順に画像バッファ用フレームメモリ66に記録されていく。トリガーSW7がOFF(オフ)されると当該画像記録動作は停止(終了)する。或いは、画像バッファ用フレームメモリ66の残容量が無くなった時点で記録動作を停止するか、画像バッファ用フレームメモリ66に循環して記録を続け、トリガーSW7がOFFされた時点で記録動作を停止するかの、いずれか早い方(記録動作が先に終了する方)を選択するような制御をしてもよい。なお、トリガーSW7のON、OFFに拘わらず、撮像センサ41による撮像動作は行われる。すなわち操作部で例えばプレビューモードに切り替えることで、撮像センサ41からの画像を画像バッファ用フレームメモリ66に記録せずに(スルーさせて)モニタ部91に表示(後述のプレビュー表示)させることができる。
The
外部インターフェイス部8は、上記グリップ部G等に設けられたUSB端子等を介して、携帯型三次元測定装置1とパーソナルコンピュータ(PC)等の外部装置9とをデータ通信可能に接続するためのインターフェイスである。なお、外部装置9は、モニタ部91等を備えており、外部インターフェイス部8を介して送信されてきた上記撮影画像が表示される構成となっている。ユーザはこのモニタ部91に所謂プレビュー表示される画像(モニタ画像;撮影画像)を見ながら、携帯型三次元測定装置1(測定ヘッド部H)を移動させて被測定物(被測定物100)を撮影することができる。
The
制御部6は、第1発光制御部61、第2発光制御部62、タイミングジェネレータ(TG)63、ADコンバータ64、デジタル演算処理部65、画像バッファ用フレームメモリ66、画像演算用フレームメモリ67、コントラスト演算部68及びCPU69を含んで構成されている。第1発光制御部61は、レーザ光源21の発光動作を制御するものであって、LDをレーザ発振させるLD駆動回路である。第2発光制御部62は、照明光源51の発光動作を制御するものであって、LEDを点灯駆動させるLED駆動回路である。
The
TG63は、CPU69から与えられる基準クロックに基づいて所定のタイミングパルス(垂直転送パルス、水平転送パルス、電荷掃き出しパルス等)を生成して撮像センサ41に出力し、撮像センサ41の撮像動作を制御する、また、所定のタイミングパルスをADコンバータ64に出力することにより、ADコンバータ64におけるアナログ/デジタル変換動作を制御するものである。ADコンバータ64は、撮像センサ41から出力されるアナログのR,G,Bの画像信号を、TG63から出力されるタイミングパルスに基づいて、複数のビット(例えば12ビット)からなるデジタルの画像信号に変換する。なお、ADコンバータ64には、入力段にCDS(相関二重サンプリング)回路、AGC(オートゲインコントロール)回路及びクランプ回路(クランプ手段)等が備えられている。
The
デジタル演算処理部65は、FPGA(Field Programmable Gate Array)等からなり、ADコンバータ64から出力される画像(画素)データに所定の信号処理を行って画像ファイルを作成するもので、黒レベル補正回路、ホワイトバランス制御回路、ガンマ補正回路等を備えて構成されている。コントラスト演算部68は、画像(撮影画像)の合焦検知すなわち或る画像がピントの合っている画像であるか否かを検知する、換言すれば画像の合焦度合いを判別するために、画像のコントラスト(像面コントラスト)を求める演算処理(コントラスト演算という)を行うものである。なお、デジタル演算処理部65は、上記被測定物100のような被測定物の三次元形状を求めるための演算処理を行う機能も備えている。
The digital
画像バッファ用フレームメモリ66は、RAM(Random Access Memory)等からなり、撮像センサ41により撮像された画像(フレーム画像)データが格納される。デジタル演算処理部65へ取り込まれた画像データは、撮像センサ41の読み出しに同期してこの画像バッファ用フレームメモリ66に書き込まれる。画像演算用フレームメモリ67は、RAM等からなり、コントラスト演算部68による上記コントラスト演算(或いはデジタル演算処理部65による演算処理)時に、画像バッファ用フレームメモリ66から取り出された演算処理対象となる画像(演算用フレーム画像)が格納される。
The image
CPU69は、トリガーSW7等から与えられる操作信号に従い、第1発光制御部61、第2発光制御部62、TG63、デジタル演算処理部65及びコントラスト演算部68等の各機能部の動作を制御する所謂中央演算処理装置である。また、CPU69は、画像バッファ用フレームメモリ66及び画像演算用フレームメモリ67に対するフレーム画像の記録(後述の循環記録、循環上書き)動作を制御する機能(記録制御機能)を有している。また、CPU69は、画像バッファ用フレームメモリ66に記録された各画像に対するコントラスト演算部68による上記コントラスト演算の結果に基づいて、当該複数の記録画像の中から後述するように合焦画像としての最も合焦度合いの高い或いは合焦状態の良い撮影画像を選択(選出)する機能(選択機能)も有している。
The
ところで図6に示すように、携帯型三次元測定装置1を前後方向(上下方向;図1のZ方向、或いは被測定部に対する遠近方向)に撮像位置を移動(前後移動;上下移動)させた場合、この撮像位置に応じて、撮影画像は符号201で示すようなピントが合った画像(合焦画像と表現する)と、この合焦画像前後における符号202、203で示すようなピントが合っていないピンボケ画像(前ピン画像、後ピン画像と表現する)とになる。これら前ピン画像、後ピン画像は、合焦画像(合焦位置)から遠くなるほどピンボケ度合いも大きい。ただし、ここでいう“合焦”とは、被写界深度を考慮した場合の合焦も含むものとする。例えば図4に示す被測定物100のような立体的な(表面に段差があるような)被測定物を撮像する場合であっても、奥行きを有して焦点が合っている合焦画像が得られる。
Incidentally, as shown in FIG. 6, the portable three-
図7及び図8は、本実施形態における携帯型三次元測定装置1を用いた計測動作について説明する図であり、図7は、ユーザ(操作者)が携帯型三次元測定装置1を上記前後移動させて被測定物を撮影している様子を、図8は、この場合の前後移動動作を概念的に示す、すなわち前後移動に伴って被測定物と携帯型三次元測定装置1との間の距離が経時的に変化する様子を示す図である。なお、図7における符号310で示す上方図は、矢印311で表現しているように大きい範囲で前後移動している(前後移動距離が長い)様子を、符号320で示す下方図は、矢印312で表現しているように小さい範囲で前後移動している(前後移動距離が短い)様子を示している。
7 and 8 are diagrams for explaining a measurement operation using the portable three-
初めの段階において、ユーザは、上記符号310で示すように携帯型三次元測定装置1を前後移動させて、モニタ(モニタ部91)を通して被測定物(測定部位)の撮影画像を見ながら、大凡の合焦位置を見付ける(携帯型三次元測定装置1を大凡の合焦位置までもってくる;合焦位置に一致してなくてもよい)。この段階では、トリガーSW7は押下されていない。そして次の段階で、上記符号320の図に示すように、大まかに見当をつけた合焦位置の近傍で、トリガーSW7をONした状態で携帯型三次元測定装置1を僅かに前後移動させながら撮影画像を取得する。
In the first stage, the user moves the portable three-
図8における符号331で示すラインは、合焦位置、すなわち合焦画像が得られるときの被測定物と携帯型三次元測定装置1との間の距離を示している。符号332で示す期間(上記初めの段階)において、例えば符号333で示す折れ線グラフに示すように、携帯型三次元測定装置1を合焦位置をまたぐように(挟んで)前後移動させながら合焦位置に近づけていく。ただし、この折れ線グラフは、当該合焦位置に手動で近づけるべく前後移動させている様子を誇張して示したものであって、実際には、必ずしもこのように合焦位置を挟んで対象的に且つ何度も前後移動させて近づけていく必要はなく(折れ線のように直線的に動かす必要もない)、例えば操作が慣れることなどにより、1回の動作で合焦位置の近傍まで近づけてもよい。次に、この大凡の撮像位置つまり符号334で示すタイミングでトリガーSW7をONし、このON状態を維持しながら、合焦位置を挟むように携帯型三次元測定装置1を前後移動させる。このトリガーSW7がON状態のとき、各撮影画像が連続して画像バッファ用フレームメモリ66に記録されていく。
A line indicated by
当該画像記録が可能な期間は、撮像センサ41の撮像フレームレート、撮影画像のデータサイズ或いは画像バッファ用フレームメモリ66の容量(メモリ容量)に依存する。例えばメモリ容量が120MByte、撮像フレームレートが60コマ/sec、撮影画像が100万画素である場合には、画像記録可能期間は約2秒間となる。換言すれば、ユーザは、モニタで確認した大凡の合焦位置でトリガーSW7をONし、画像記録可能期間内(ここでは2秒以内)に、合焦位置を含むように僅かに前後させながらメモリ書き込みを行って画像を取得するようにする。すなわち、ユーザは、必ずしもこの2秒間トリガーSW7をONし続けて画像を記録し続ける必要はなく、この2秒を待たずに、例えば合焦位置での撮影画像が記録できたと確信した時点でトリガーSW7をOFFにしてもよい(すなわち例えば1秒間だけトリガーSW7を押下してその間だけ画像記録を行ってもよい)。ただし、トリガーSW7を2秒以上ONし続けても構わないが、画像記録されるのはこの画像記録可能期間の2秒間だけとなる、すなわち2秒が経過した時点で自動的に画像記録動作が停止される。このような画像記録期間が図8の符号335で示す期間である。なお、上記メモリ容量や撮像フレームレートの値は一例に過ぎず、任意なものが採用可能である。特に撮像フレームレートは、上記60コマ/secのように、通常、ユーザが携帯型三次元測定装置1を前後移動させる速度と比べて、撮影した画像中に合焦画像が含まれるように充分高速な値に設定されることが望ましい(ただし、あまり高速過ぎてもメモリ容量に限界があることから、メモリ容量を考慮した最適値が設定される)。
The period during which the image can be recorded depends on the imaging frame rate of the
図9は、第1の実施形態における携帯型三次元測定装置1による測定動作の一例を示すフローチャートである。先ず携帯型三次元測定装置1の電源スイッチ(図略)がONされる或いは電源スイッチがONされた後、プレビューモード等に切り替えられることで、撮像センサ41による撮影画像(被測定物或いは測定部位の画像)がモニタ部91に表示される(ステップS1)。ユーザは、このモニタ画像を見ながら、携帯型三次元測定装置1を大凡の合焦位置まで移動させる。そして、この合焦位置の近傍位置でトリガーSW7がONされる。このトリガーSW7がONされた時点で、撮影画像の画像バッファ用フレームメモリ66への記録動作が開始されるとともに、制御部6の例えばCPU69により時間計測動作(タイムカウント)が開始される(ステップS2)。トリガーSW7がOFFされる(ステップS3のYES)まで或いは所定時間(例えば2秒間)が経過する(ステップS4のYES)まで、すなわちトリガーSW7がONされた状態(ステップS3のNO)で且つ所定時間経過が計測されていない(ステップS4のNO)間は、ユーザによって携帯型三次元測定装置1が当該合焦位置の近傍で前後移動されながら上記画像記録動作が継続(連続)して行われる。ユーザによりトリガーSW7がOFFされる或いは上記CPU69により所定時間の経過が計測された時点で、画像記録動作が終了される(ステップS5)。そして、CPU69によって、画像バッファ用フレームメモリ66に記録された各画像に対するコントラスト演算部68によるコントラスト演算処理の結果に基づいて、当該複数の記録画像の中から合焦画像(最も合焦度合いの高い或いは最も合焦状態の良い撮影画像)が選択される(ステップS6)。ただしこの場合、CPU69は、コントラスト演算により得られた各記録画像のコントラスト情報を用いて、各記録画像のうちの例えば最もコントラストが高い画像を合焦画像として選択する。
FIG. 9 is a flowchart illustrating an example of a measurement operation performed by the portable three-
(実施形態2)
上記第1の実施形態は、あくまでも、一連の撮影した画像群(連続画像群)の中に合焦画像が含まれるであろうことを想定して単に合焦位置近傍を前後移動させて撮影画像を記録するという方法を用いるのに対し、第2の実施形態は、上記合焦位置近傍を前後移動させて撮影画像を記録する際に、被測定物に対して合焦しているか否かを検知(判別)する、換言すれば、撮像センサ41が合焦位置で撮影を行ったか否かを検知する合焦検知機能を備え、大凡の合焦位置(合焦状態)を自動的に(謂わばAF的に)検出するという方法を用いる。
(Embodiment 2)
In the first embodiment, it is assumed that a focused image will be included in a series of captured images (continuous image group), and the captured image is simply moved back and forth in the vicinity of the focused position. In the second embodiment, when the captured image is recorded by moving the vicinity of the in-focus position back and forth, it is determined whether or not the object to be measured is in focus. It detects (discriminates), in other words, has a focus detection function for detecting whether or not the
本実施形態では、図10に示すように、ユーザはモニタを通して被測定物(測定部位)の撮影画像を見ながら大凡の合焦位置を見付け、初めの段階からトリガーSW7をONした状態で、合焦位置をまたぐように携帯型三次元測定装置1aを前後方向に動かす。このとき、第1の実施形態のように合焦位置近傍で“僅かに”前後移動(符号320で示す図)させる必要はなく、図10の矢印411で示す大きな範囲(図7の矢印311と同様の大きな範囲)で前後移動させる、すなわち合焦位置近傍であるか否かをユーザが気にすることなく大まかな範囲で前後移動させればよい。
In the present embodiment, as shown in FIG. 10, the user finds an approximate focus position through the monitor while viewing the captured image of the object to be measured (measurement site), and in the state where the
図11は、本実施形態における携帯型三次元測定装置1aの前後移動動作を概念的に示す図である。本実施形態では、同図に示すようにトリガーSWをONした状態で撮影画像の記録動作を行いながら、符号441の折れ線グラフに示すように合焦位置をまたいで(横切って;挟んで)上記大まかな範囲で携帯型三次元測定装置1aを前後移動させると、自動的に合焦検知が行われて、この記録動作が停止する。これにより、当該合焦検知が行われたときの撮影画像(所要の合焦画像であろうと想定される画像)を含む合焦位置近傍の複数の撮影画像が記録される。これは以下の構成を備えて実現される。
FIG. 11 is a diagram conceptually showing the back-and-forth movement operation of the portable three-
すなわち、携帯型三次元測定装置1aは、携帯型三次元測定装置1と同様にトリガーSWがONされると、撮像センサ41による撮影画像が画像バッファ用フレームメモリ66へ順次記録されるが、携帯型三次元測定装置1a(制御部6a或いはCPU69)では、撮影画像の記録によって画像バッファ用フレームメモリ66のメモリ容量が満たされると、撮影画像を循環的にこの画像バッファ用フレームメモリ66における古いフレーム画像に上書きして(書き換えて)記録する形式でバッファが継続される機能を備えている。この循環的に上書きして記録することを「循環記録」或いは「循環上書き」と表現する。
That is, in the portable three-
また、携帯型三次元測定装置1a(制御部6a)は、合焦検知がなされると、その時点から画像バッファ用フレームメモリ66のメモリ容量における部分的な所定メモリ容量分、例えば半分のメモリ容量分だけ循環記録した後、当該記録動作を停止(終了)する機能を備えている。具体的には、この機能つまり合焦検知されると半分のメモリ容量分だけ循環記録した後に書き込みを停止する制御はCPU69によって実行される。この場合の合焦検知とは、コントラスト演算部68によるコントラスト演算結果に基づいて撮影画像のコントラストを判断することで、撮影画像が合焦画像である(携帯型三次元測定装置1aが合焦位置にきている)ことを検知することを示す。
When the in-focus detection is performed, the portable three-
図12は、画像バッファ用フレームメモリ66に記録された全撮影画像を概念的に示したものである(撮影画像451がこのメモリ容量において最初に記録されたつまり最も古い撮影画像であり、撮影画像452が最新の記録画像である)。この撮影画像452が合焦画像であると検知されると、撮影画像452が符号453で示す全メモリ容量の半分の位置にくるまで、謂わば矢印454の方向から新しい撮影画像が順次追加され記録されていくとともに、古い撮影画像から順に矢印455の方向へ謂わば押し出される(符号456で示す範囲の撮影画像は上書きされてメモリから無くなる)。かかるコントラスト演算部68によるコントラスト演算、及びこのコントラスト演算結果(合焦検知)に基づく画像バッファ用フレームメモリ66への撮影画像の記録動作は、CPU69によって制御される。
FIG. 12 conceptually shows all photographed images recorded in the image buffer frame memory 66 (the photographed
ただし、画像バッファ用フレームメモリ66のメモリ容量は、画像記録可能期間に対応するものであり、この意味において、上述したことは画像バッファ用フレームメモリ66の画像記録可能期間における部分的例えば半分の画像記録可能期間分だけ循環記録する、というように“メモリ容量”を“記録時間”に置き換えて考えてもよい。画像記録可能期間が携帯型三次元測定装置1と同様に2秒間である場合、当該合焦検知してから1秒後に循環記録動作を停止したとすれば、この合焦検知の前後1秒間における各撮影画像が画像バッファ用フレームメモリ66に記録される。
However, the memory capacity of the image
一例として、図11の符号4111のグラフ線に示すように携帯型三次元測定装置1aを被測定物から遠い位置から近い位置へ合焦位置をまたいで移動させるような場合、符号442で示す位置(タイミング)で合焦検知されると、この合焦検知された時点から、符号Fで示す期間(期間F;上記1秒間)だけ撮影画像が画像バッファ用フレームメモリ66に上書き記録される(図13に示す期間Fに相当)。一方、符号Bで示す期間(期間B)の撮影画像は上書きされずに画像バッファ用フレームメモリ66に残っている(図13に示す期間Bに相当)。合焦検知されるまでの符号J及び符号Bで示す期間は循環記録動作が継続されている。また、符号443で示す期間が画像バッファ用フレームメモリ66の画像記録可能期間(上記2秒間;全メモリ容量)となる。
As an example, when the portable three-
なお、トリガーSW7をONしたまま、再度、合焦位置をまたいで携帯型三次元測定装置1を移動させたとしても、撮影画像の画像バッファ用フレームメモリ66への書き込み動作は行われない。すなわち、実際の動作として期間F後もユーザがトリガーSW7をONしたままであっても、合焦検知後に上記期間Fの時間が経過した時点(符号444で示すタイミング)で画像記録動作が停止するつまりトリガーSW7が実質的にOFFされた状態となる。
Even if the portable three-
また、トリガーSW7をONして前後移動を開始してから合焦検知されるまでの期間が短い、つまり上記メモリ容量が満たされておらずまだ循環記録が開始されていない段階で合焦検知がなされた場合であっても、同様に、この合焦検知タイミングから画像記録可能期間内での所定時間分(所定メモリ容量分)だけ画像記録動作が行われてその後、停止する。上記の場合も含め、この場合も、必ずしも画像記録可能期間全体における期間Fと期間Bとの比率、或いは合焦検知が行われる前後で記録された撮影画像枚数の比率が同じにならなくともよい。このように合焦検知前後での撮影画像が記録されることが望ましいが、必ずしもこうでなくともよく、トリガーSW7をONした直後に合焦検知されて、合焦検知前の期間F内に記録された撮影画像が1枚も無くても構わない。要は、合焦検知されて画像バッファ用フレームメモリ66にそのときの撮影画像が記録されればよい(この場合、後に最も合焦度合いの高い画像を選択する動作を行うことなしに、この1枚の撮影画像を合焦画像として決定してもよい)。
The focus detection is performed at a stage where the
図14は、第2の実施形態における携帯型三次元測定装置1aによる測定動作の一例を示すフローチャートである。先ず携帯型三次元測定装置1aの電源スイッチがONされる或いは電源スイッチがONされた後、プレビューモード等に切り替えられることで、撮像センサ41による撮影画像(被測定物或いは測定部位の画像)がモニタ部91に表示される(ステップS21)。ユーザは、このモニタ画像を見ながら携帯型三次元測定装置1aを移動させるなどして合焦位置の大凡の見当をつけておいてから、トリガーSW7をONする。トリガーSW7がONされると、この時点で、撮影画像の画像バッファ用フレームメモリ66への記録動作が開始され(ステップS22)、後述の合焦検知がなされるまでこの記録動作が継続される。このとき、画像バッファ用フレームメモリ66の全メモリ容量分に画像が記録された時点で循環記録が開始されて当該記録動作が継続される(ステップS23のNO)。CPU69によって、コントラスト演算部68によるコントラスト演算の結果に基づいて合焦検知がなされると(この時点で制御部6の例えばCPU69により時間計測動作が開始される)(ステップS23のYES)、画像バッファ用フレームメモリ66の例えば半分のメモリ容量分だけ循環記録された後(ステップS24)、当該循環記録動作が停止されて画像バッファ用フレームメモリ66への撮影画像の記録動作が終了する(ステップS25)。そして、CPU69によって、画像バッファ用フレームメモリ66に記録された各画像に対するコントラスト演算部68によるコントラスト演算処理の結果に基づいて、当該複数の記録画像の中から合焦画像(最も合焦度合いの高い或いは合焦状態の良い撮影画像)が選択される(ステップS26)。ただしこの場合も、CPU69は、コントラスト演算により得られた各記録画像のコントラスト情報を用いて、各記録画像の中の例えば最もコントラストが高い画像を合焦画像として選択する。
FIG. 14 is a flowchart illustrating an example of a measurement operation performed by the portable three-
本発明は次の態様をとることができる。上記第1及び第2の実施形態では、画像バッファ用フレームメモリ66に記録された記録画像群(連続画像群)の中から最も合焦度合いの高い画像を選択する方法として、各記録画像のコントラスト情報に基づく選択を行う方法を採用しているが、これに限らず、例えばスリット光発生手段2によるスリット光(十字状のスリット光でなくともよい)による投影像の合焦状態を示す特徴量に基づいて、記録画像群から最も合焦度合いの高い画像を選択する方法を採用してもよい。ただし、この特徴量とは、例えばスリット光の幅の大きさを示す。この場合、投影されたスリット光の幅が合焦位置で最も細く(最も幅が狭く)なることを利用して、スリット光の幅が最も狭くなる(例えば半値幅の値が最も小さくなる)投影像が写っている記録画像を合焦画像として選択してもよい。また、この特徴量は、スリット光の幅の大きさだけでなく、この幅方向における輝度分布のピークの情報を含むものとしてもよい。この場合、例えば最もスリット光の幅が狭く且つ輝度分布のピークが高い記録画像(投影像)を合焦画像として選択してもよい。さらに、この特徴量を、スリット光による投影像のコントラスト(CCDの画素間の出力値の差;各画素値の差)情報としてもよい。この場合、スリット光の投影像のコントラストが最も高い記録画像(投影像)を合焦画像として選択してもよい。なお、ここではスリット光の場合を説明しているが、必ずしも“スリット”という投影形状が線状となる光でなくともよく、例えば円状や四角状となる光であってもよいし、所定のパターン形状の光であってもよい。
The present invention can take the following aspects. In the first and second embodiments, as a method for selecting an image with the highest degree of focus from the recorded image group (continuous image group) recorded in the image
また、上記第2の実施形態では、上述のように(ステップS26のように)、画像バッファ用フレームメモリ66に記録された記録画像群の中から合焦画像を選択する際、記録画像のコントラストに基づいて選択しているが、これに限らず、初めの合焦位置近傍を前後移動させて撮影する段階で合焦検知機能によって合焦検知されたときの撮影画像(記録画像)を、合焦画像として選択してもよい。
In the second embodiment, as described above (as in step S26), when selecting a focused image from the recorded image group recorded in the image
また、上記第2の実施形態では、撮影画像のコントラストに基づいて合焦検知を行っているが、これに限定されない。すなわち、スリット光発生手段2による十字状スリット光を利用して、この十字状スリット光の交点(X方向スリット光とY方向スリット光との交点)が被測定物の所定位置に一致する度合い(例えば上記スリット光の交点と所定位置との距離或いは合焦度合い)を判別することで合焦検知を行ってもよい。 In the second embodiment, focus detection is performed based on the contrast of the captured image, but the present invention is not limited to this. That is, by using the cross-shaped slit light by the slit light generating means 2, the degree of intersection of the cross-shaped slit light (intersection of the X-direction slit light and the Y-direction slit light) coincides with a predetermined position of the object to be measured ( For example, focus detection may be performed by determining the distance or the degree of focus between the intersection of the slit lights and a predetermined position.
また、記録画像群から最も合焦度合いの高い画像を選択する際に、例えば合焦度合いが同じである画像が複数存在するような場合は、これらのうちの1つを代表として選択してもよいし、各画像の合焦度合いの高い領域をそれぞれ抽出して、該抽出した領域を合成して1つの画像(合成画像)としてもよいし、これら複数の画像全てを最も合焦度合いの高い画像として選択してもよい。 Further, when selecting an image with the highest degree of focus from the group of recorded images, for example, when there are a plurality of images with the same degree of focus, one of them may be selected as a representative. It is also possible to extract regions with a high degree of focus in each image, and combine the extracted regions into one image (synthesized image), or all these images have the highest degree of focus. You may select as an image.
以上のように、本発明の第1及び第2の実施形態に係る携帯型計測器(携帯型三次元測定装置1、1a)によれば、ユーザが手に持った状態で被測定物(例えば被測定物100)の計測を行うことが可能な携帯型計測器において、撮像手段(撮像センサ41)によって被測定物が撮影されて撮影画像が得られ、記録手段(画像バッファ用フレームメモリ66)によって、撮像手段により一定期間に連続的に撮影して得られた撮影画像群が記録される。そして、指示入力手段(トリガーSW7)によって、一定期間における撮影画像群の記録動作を開始させるための指示入力が行われ、選択手段(CPU69の選択機能)によって、記録手段に記録された複数の撮影画像から最も合焦度合いの高い撮影画像が選択される。
As described above, according to the portable measuring instrument (portable three-
また、本発明の第1及び第2の実施形態に係る計測方法によれば、ユーザが手に持った状態で被測定物の計測を行うことが可能な携帯型計測器を用いた計測方法において、撮像工程によって、被測定物を撮影して撮影画像が得られ、記録工程によって、上記撮像工程で一定期間に連続的に撮影して得られた撮影画像群が記録される。そして、指示入力工程によって、一定期間における撮影画像群の記録動作を開始させるための指示入力が行われ、選択工程によって、上記記録工程で記録された複数の撮影画像から最も合焦度合いの高い撮影画像が選択される。 Moreover, according to the measurement method according to the first and second embodiments of the present invention, in the measurement method using the portable measuring instrument capable of measuring the object to be measured while being held in the hand of the user. In the imaging step, a photographed image is obtained by photographing the object to be measured, and in the recording step, a group of photographed images obtained by continuously photographing in the imaging step in a certain period is recorded. Then, an instruction input for starting the recording operation of the photographed image group in a certain period is performed by the instruction input process, and the photographing with the highest degree of focus is performed from the plurality of photographed images recorded in the recording process by the selection process. An image is selected.
このように、ユーザの操作に応じて撮影画像の記録が開始されて、一定期間の間、連続的に撮影して得られた撮影画像群が記録され、この記録された撮影画像群の中から最も合焦度合いの高い撮影画像が選択されるので、例えばユーザが手で持って携帯型計測器を大凡の合焦位置までもっていき、合焦位置の近傍を移動させながら一定期間の間、撮影画像を記録することによって合焦位置の撮影画像を含んだ撮影画像群が記録され、この撮影画像群から、選択手段による処理(最も合焦度合いの高い撮影画像を選択する処理)によって自動的に合焦画像を取得することができる。したがって、このように携帯型であっても、ユーザは被測定物に対する焦点位置を正確に合わせる作業が不要となり、謂わば大まかに合焦位置近傍を撮影する(複数の画像フレームを連続的に記録する)だけで容易に合焦画像を取得することが可能となる。なお、このことは、AF機能(手持ち起因の距離変動に追従するフォーカシング機構;フォーカシング光学系)を備えずして実現されるため、携帯型計測器のコンパクト(小型)化且つ低コスト化を図ることができる。 In this way, recording of a captured image is started in response to a user's operation, and a captured image group obtained by continuously capturing images for a certain period is recorded, and the recorded captured image group is selected from the recorded captured image group. Since the photographed image with the highest degree of focus is selected, for example, the user holds the portable measuring instrument to the approximate in-focus position with his hand, and shoots for a certain period while moving the vicinity of the in-focus position. By recording the image, a group of captured images including the captured image at the in-focus position is recorded, and from this captured image group, processing by a selection unit (processing for selecting a captured image with the highest degree of focus) is automatically performed. A focused image can be acquired. Therefore, even in such a portable type, the user does not need to accurately adjust the focus position with respect to the object to be measured, and so-called roughly photographing the vicinity of the focus position (recording a plurality of image frames continuously). It is possible to easily obtain a focused image. Note that this is achieved without the AF function (focusing mechanism that follows hand-held distance fluctuation; focusing optical system), so the portable measuring instrument is made compact (small) and low in cost. be able to.
また、撮像手段による撮影画像をモニタ表示可能に構成された表示手段(モニタ部91)をさらに備えるので、ユーザは、被測定物の撮影画像を表示手段のモニタ表示を見ながら容易に大凡の合焦位置を見付けることができる。すなわち、確実に撮影画像群に合焦画像を含ませることができるようになり、ひいては携帯型計測器による計測において一層容易に合焦画像を取得することができる。 Further, since the display unit (monitor unit 91) configured to display the captured image by the imaging unit on a monitor is further provided, the user can easily view the captured image of the object to be measured while viewing the monitor display on the display unit. The focal position can be found. That is, the focused image can be surely included in the captured image group, and as a result, the focused image can be acquired more easily in the measurement by the portable measuring instrument.
また、合焦検知手段(コントラスト演算部68、CPU69の合焦検知機能)によって、撮影画像に基づいて、被測定物に対して合焦したか否かが検知され、また、記録制御手段(CPU69の記録制御機能)によって、合焦検知手段により合焦が検知されると記録手段による記録動作を停止させる制御が行われるので、大まかに合焦位置近傍を撮影して得た撮影画像群の中に、合焦が検知されたときの撮影画像(最も焦点度合いが高いつまり合焦画像であろうと想定される画像であって、必ずしもこの画像が所要の合焦画像すなわち最も合焦度合いの高い画像ではない)をより容易且つ確実に含ませることが可能となる。
Further, whether or not the object to be measured is in focus is detected based on the photographed image by the focus detection means (
また、記録制御手段が、記録手段に撮影画像を循環的に記録(循環的に書き換えて記録;循環記録)させる制御を行うものとされ、この記録制御手段によって、合焦検知手段により合焦が検知された時点から、記録手段の記録容量における所定容量分だけ撮影画像が循環的に記録された後、記録動作を停止させる制御が行われるので、記録した撮影画像群の中に、合焦検知手段により合焦が検知されたときの撮影画像(上述と同様、合焦画像であろうと想定される画像)と共に、この撮影画像(合焦位置)の前後位置での撮影画像(前ピン画像及び後ピン画像)をも含ませることができる。このため、これら撮影画像群から最も合焦度合いの高い撮影画像を選択するなどしてより正確に合焦画像を取得することが可能となる。 Further, the recording control means controls to record the photographic image in the recording means in a cyclic manner (circular rewriting and recording; cyclic recording). Since the captured image is cyclically recorded by the predetermined capacity of the recording capacity of the recording means from the time of detection, control is performed to stop the recording operation, so that the focus detection is performed in the recorded captured image group. In addition to the captured image when the focus is detected by the means (the image that is assumed to be the focused image as described above), the captured image (the front pin image and A rear pin image) can also be included. For this reason, it becomes possible to acquire a focused image more accurately by selecting a captured image with the highest degree of focus from these captured image groups.
また、投影手段によって被測定物に十字状スリット光が投影され、合焦検知手段によって、十字状スリット光の交点が該被測定物の所定位置に一致する度合いを判別することで合焦したか否かが検知されるので、例えば携帯型計測器が三次元計測器(携帯型三次元測定装置1、1a)であり、該三次元計測を行うために十字状スリット光を被測定物に投影するものである場合に、この既存の投影手段(スリット投光光学系31)を利用して(低コストで)、容易に合焦検知を行うことができる。
Whether the cross-shaped slit light is projected onto the object to be measured by the projecting means, and the in-focus detection means determines whether the intersection of the cross-shaped slit light matches the predetermined position of the object to be measured. For example, the portable measuring instrument is a three-dimensional measuring instrument (portable three-
また、記録制御手段によって、指示入力手段による指示入力に従って記録手段による撮影画像の記録動作が開始されてから、該指示入力手段による指示入力に従って記録動作が停止されるまでの一定期間の間、該記録手段に撮影画像を記録させる制御が行われる。すなわち、ユーザが指示入力手段例えば入力ボタン(トリガーSW7)を押下している間(一定期間)だけ撮影画像が記録される構成であるので、合焦位置近傍を移動させながら当該撮影画像を記録するための操作が簡単に行えるようになる。 In addition, the recording control unit starts the recording operation of the photographed image by the recording unit according to the instruction input by the instruction input unit, and then stops the recording operation according to the instruction input by the instruction input unit. Control is performed to cause the recording means to record the photographed image. That is, since the photographed image is recorded only while the user presses the instruction input means, for example, the input button (trigger SW7) (a certain period), the photographed image is recorded while moving in the vicinity of the in-focus position. Can be easily performed.
また、記録制御手段によって、指示入力手段による指示入力に従って記録手段による撮影画像の記録動作が開始されてから、該記録手段の記録容量を満たして記録されるまでの一定期間の間、該記録手段に撮影画像を記録させる制御が行われるので、指示入力手段によって記録動作を停止させる指示入力動作を不要とすることができる、或いは、少なくとも初めに記録動作開始の指示入力さえ行えば(開始ボタン;トリガーSW7を押下すれば)、後は自動的に記録手段の記録容量を満たすまで記録されて当該記録動作が停止(終了)する構成とすることができるので、合焦位置近傍における一定期間の撮影画像の記録を簡単な操作で容易に行うことができる。 In addition, the recording means for a certain period from when the recording operation of the photographed image is started by the recording means according to the instruction input by the instruction input means until the recording capacity of the recording means is recorded. Since the control for recording the photographed image is performed, the instruction input operation for stopping the recording operation by the instruction input means can be made unnecessary, or at least when the instruction input for starting the recording operation is performed at first (start button; Since the recording operation is automatically stopped until the recording capacity of the recording unit is satisfied and the recording operation is stopped (terminated) after that, when the trigger SW7 is pressed, the image is taken for a certain period in the vicinity of the in-focus position. It is possible to easily record an image with a simple operation.
また、選択手段によって、撮影画像のコントラストに基づいて撮影画像群から最も合焦度合いの高い撮影画像が選択されるので、簡易な方法(画像処理)によって容易に撮影画像群から最も合焦度合いの高い撮影画像を選択することができる。 Further, since the selection unit selects the photographed image with the highest degree of focus from the photographed image group based on the contrast of the photographed image, the simplest method (image processing) can easily select the most focused degree from the photographed image group. A high photographed image can be selected.
また、投影手段によって被測定物に所定のスリット光が投影され、選択手段によって、スリット光による投影像の合焦状態を示す特徴量に基づいて、撮影画像群から最も合焦度合いの高い撮影画像が選択されるので、例えば携帯型計測器が三次元計測器であり、該三次元計測を行うために所定のスリット光を被測定物に投影するものである場合に、既存の投影手段(スリット投光光学系31)を利用して(低コストで)、投影像におけるこの特徴量に基づいて、容易に撮影画像群から最も合焦度合いの高い撮影画像を選択することができる。 Further, a predetermined slit light is projected onto the object to be measured by the projecting means, and a photographed image having the highest degree of focus from the photographed image group based on the feature amount indicating the focused state of the projected image by the slit light by the selecting means. Therefore, for example, when the portable measuring instrument is a three-dimensional measuring instrument and projects predetermined slit light onto the object to be measured in order to perform the three-dimensional measurement, the existing projection means (slit Using the light projecting optical system 31) (at a low cost), it is possible to easily select a photographed image with the highest degree of focus from the photographed image group based on this feature amount in the projected image.
また、選択手段によって、特徴量としてのスリット光の幅の大きさに基づいて、撮影画像群から最も合焦度合いの高い撮影画像が選択されるので、スリット光の幅の大きさという簡単な特徴量に基づいて、容易に撮影画像群から最も合焦度合いの高い撮影画像を選択することができる。 In addition, since the selection unit selects a photographed image having the highest degree of focus from the photographed image group based on the width of the slit light as the feature amount, a simple feature of the width of the slit light is selected. Based on the amount, a photographed image with the highest degree of focus can be easily selected from the photographed image group.
また、選択手段によって、特徴量としての、スリット光の幅の大きさ及び該幅方向における輝度分布のピークに基づいて、撮影画像群から最も合焦度合いの高い撮影画像が選択されるので、例えば最もスリット光の幅が狭く且つピークが高くなっている撮影画像(投影像)を選択する、というようにして、より正確に且つ容易に撮影画像群から最も合焦度合いの高い撮影画像を選択することができる。 Further, since the selection unit selects a photographed image with the highest degree of focus from the photographed image group based on the width of the slit light as the feature amount and the peak of the luminance distribution in the width direction, for example, A photographed image (projected image) with the narrowest slit light width and a high peak is selected, and the photographed image with the highest degree of focus is selected from the photographed image group more accurately and easily. be able to.
さらに、選択手段によって、特徴量としての、スリット光による投影像のコントラストに基づいて、撮影画像群から最も合焦度合いの高い撮影画像が選択されるので、簡易な方法(画像処理)によって容易に撮影画像群から最も合焦度合いの高い撮影画像を選択することができる。 Furthermore, since the selection means selects a photographed image with the highest degree of focus from the photographed image group based on the contrast of the projected image by the slit light as the feature quantity, it can be easily obtained by a simple method (image processing). A photographed image with the highest degree of focus can be selected from the photographed image group.
1、1a 携帯型三次元測定装置(携帯型計測器)
2 スリット光発生手段
21 レーザ光源
3 投光光学系
31 スリット投光光学系(投影手段)
4 撮像手段
41 撮像センサ(撮像手段)
5 照明手段
51 照明光源
6、6a 制御部
61 第1発光制御部
62 第2発光制御部
65 デジタル演算処理部
66 画像バッファ用フレームメモリ(記録手段)
67 画像演算用フレームメモリ
68 コントラスト演算部(合焦検知手段)
69 CPU(選択手段、合焦検知手段、記録制御手段)
7 トリガーSW(指示入力手段)
8 外部インターフェイス部
9 外部装置
91 モニタ部(表示手段)
10 本体ハウジング
100 被測定物
1, 1a Portable three-dimensional measuring device (portable measuring instrument)
2 Slit light generation means 21 Laser
4 Imaging means 41 Imaging sensor (imaging means)
DESCRIPTION OF
67 Image
69 CPU (selection means, focus detection means, recording control means)
7 Trigger SW (Instruction input means)
8 External interface unit 9
10
Claims (14)
前記被測定物を撮影して撮影画像を得る撮像手段と、
前記撮像手段によって一定期間に連続的に撮影して得られた撮影画像群を記録する記録手段と、
前記一定期間における撮影画像群の記録動作を開始させるための指示入力を行う指示入力手段と、
前記記録手段に記録された複数の撮影画像から最も合焦度合いの高い撮影画像を選択する選択手段と
を備えることを特徴とする携帯型計測器。 A portable measuring instrument capable of measuring an object to be measured while being held in a hand,
Imaging means for photographing the object to be measured and obtaining a photographed image;
A recording unit for recording a group of captured images obtained by continuously capturing a predetermined period by the imaging unit;
An instruction input means for performing an instruction input for starting the recording operation of the captured image group in the predetermined period;
A portable measuring instrument comprising: selecting means for selecting a photographed image with the highest degree of focus from a plurality of photographed images recorded in the recording means.
前記合焦検知手段により前記合焦が検知されると前記記録手段による記録動作を停止させる制御を行う記録制御手段とをさらに備えることを特徴とする請求項1又は2に記載の携帯型計測器。 Focus detection means for detecting whether or not the object to be measured is focused based on the captured image;
The portable measuring instrument according to claim 1, further comprising: a recording control unit that performs control to stop a recording operation by the recording unit when the focusing is detected by the focusing detection unit. .
前記記録手段に撮影画像を循環的に記録させる制御を行うものであって、
前記合焦検知手段により前記合焦が検知された時点から、前記記録手段の記録容量における所定容量分だけ撮影画像を前記循環的に記録させた後、前記記録動作を停止させる制御を行うことを特徴とする請求項3に記載の携帯型計測器。 The recording control means includes
The recording unit is configured to perform a control to record a captured image in a cyclic manner,
Control is performed to stop the recording operation after the captured image is cyclically recorded by a predetermined amount in the recording capacity of the recording unit from the time when the in-focus detection unit detects the in-focus state. The portable measuring instrument according to claim 3, wherein
前記撮影画像のコントラストに基づいて前記合焦したか否かを検知することを特徴とする請求項3又は4に記載の携帯型計測器。 The focus detection means is
The portable measuring instrument according to claim 3 or 4, wherein whether or not the in-focus state is achieved is detected based on a contrast of the captured image.
前記合焦検知手段は、
前記十字状スリット光の交点が該被測定物の所定位置に一致する度合いを判別することで前記合焦したか否かを検知することを特徴とする請求項3又は4に記載の携帯型計測器。 A projection means for projecting cross-shaped slit light onto the object to be measured;
The focus detection means is
5. The portable measurement according to claim 3, wherein it is detected whether or not the in-focus state is detected by determining a degree to which an intersection of the cross-shaped slit light coincides with a predetermined position of the object to be measured. vessel.
前記指示入力手段による指示入力に従って前記記録手段による撮影画像の記録動作が開始されてから、該指示入力手段による指示入力に従って記録動作が停止されるまでの前記一定期間の間、該記録手段に撮影画像を記録させる制御を行うことを特徴とする請求項1又は2に記載の携帯型計測器。 The recording control means includes
In accordance with the instruction input from the instruction input means, the recording means captures an image on the recording means for a certain period after the recording operation is started by the recording means until the recording operation is stopped according to the instruction input by the instruction input means. 3. The portable measuring instrument according to claim 1, wherein control for recording an image is performed.
前記指示入力手段による指示入力に従って前記記録手段による撮影画像の記録動作が開始されてから、該記録手段の記録容量を満たして記録されるまでの前記一定期間の間、該記録手段に撮影画像を記録させる制御を行うことを特徴とする請求項7に記載の携帯型計測器。 The recording control means includes
In accordance with an instruction input from the instruction input unit, a recording image is recorded on the recording unit for a certain period after the recording operation of the recording unit is started until the recording capacity of the recording unit is recorded. The portable measuring instrument according to claim 7, wherein control for recording is performed.
前記撮影画像のコントラストに基づいて前記撮影画像群から最も合焦度合いの高い撮影画像を選択することを特徴とする請求項1〜8のいずれかに記載の携帯型計測器。 The selection means includes
The portable measuring instrument according to any one of claims 1 to 8, wherein a photographed image with the highest degree of focus is selected from the group of photographed images based on the contrast of the photographed image.
前記選択手段は、
前記スリット光による投影像の合焦状態を示す特徴量に基づいて、前記撮影画像群から最も合焦度合いの高い撮影画像を選択することを特徴とする請求項1〜8のいずれかに記載の携帯型計測器。 A projection means for projecting predetermined slit light onto the object to be measured;
The selection means includes
The photographed image with the highest degree of focusing is selected from the photographed image group based on a feature amount indicating a focused state of the projected image by the slit light. Portable measuring instrument.
前記特徴量としての前記スリット光の幅の大きさに基づいて、前記撮影画像群から最も合焦度合いの高い撮影画像を選択することを特徴とする請求項10に記載の携帯型計測器。 The selection means includes
The portable measuring instrument according to claim 10, wherein a photographed image with the highest degree of focus is selected from the photographed image group based on the width of the slit light as the feature amount.
前記特徴量としての、前記スリット光の幅の大きさ及び該幅方向における輝度分布のピークに基づいて、前記撮影画像群から最も合焦度合いの高い撮影画像を選択することを特徴とする請求項11に記載の携帯型計測器。 The selection means includes
The photographed image having the highest degree of focus is selected from the photographed image group based on the width of the slit light and the peak of the luminance distribution in the width direction as the feature amount. 11. The portable measuring instrument according to 11.
前記特徴量としての、前記スリット光による投影像のコントラストに基づいて、前記撮影画像群から最も合焦度合いの高い撮影画像を選択することを特徴とする請求項10に記載の携帯型計測器。 The selection means includes
The portable measuring device according to claim 10, wherein a photographed image with the highest degree of focus is selected from the photographed image group based on the contrast of the projected image by the slit light as the feature amount.
前記被測定物を撮影して撮影画像を得る撮像工程と、
前記撮像工程において一定期間に連続的に撮影して得られた撮影画像群を記録する記録工程と、
前記一定期間における撮影画像群の記録動作を開始させるための指示入力を行う指示入力工程と、
前記記録工程において記録された複数の撮影画像から最も合焦度合いの高い撮影画像を選択する選択工程と
を有することを特徴とする計測方法。 A measurement method using a portable measuring instrument capable of measuring an object to be measured while being held in a hand,
An imaging step of capturing the measured object and obtaining a captured image;
A recording step of recording a group of captured images obtained by continuously capturing images in a predetermined period in the imaging step;
An instruction input step for inputting an instruction for starting the recording operation of the captured image group in the predetermined period;
And a selection step of selecting a photographed image with the highest degree of focus from a plurality of photographed images recorded in the recording step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007163800A JP2009002789A (en) | 2007-06-21 | 2007-06-21 | Portable measuring device, and measuring method using the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007163800A JP2009002789A (en) | 2007-06-21 | 2007-06-21 | Portable measuring device, and measuring method using the same |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009002789A true JP2009002789A (en) | 2009-01-08 |
Family
ID=40319335
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007163800A Pending JP2009002789A (en) | 2007-06-21 | 2007-06-21 | Portable measuring device, and measuring method using the same |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009002789A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017038680A1 (en) * | 2015-08-31 | 2017-03-09 | 日本ユニシス株式会社 | System, method and program for generating three-dimensional image data of a target object |
JP2021012126A (en) * | 2019-07-08 | 2021-02-04 | 三菱重工業株式会社 | Device and method for inspecting crimp terminal |
CN116295090A (en) * | 2022-12-20 | 2023-06-23 | 深圳市前海公共安全科学研究院有限公司 | Safety detector for fire-fighting electric facilities |
-
2007
- 2007-06-21 JP JP2007163800A patent/JP2009002789A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017038680A1 (en) * | 2015-08-31 | 2017-03-09 | 日本ユニシス株式会社 | System, method and program for generating three-dimensional image data of a target object |
JP2021012126A (en) * | 2019-07-08 | 2021-02-04 | 三菱重工業株式会社 | Device and method for inspecting crimp terminal |
JP7304756B2 (en) | 2019-07-08 | 2023-07-07 | 三菱重工業株式会社 | crimp terminal inspection device and method |
CN116295090A (en) * | 2022-12-20 | 2023-06-23 | 深圳市前海公共安全科学研究院有限公司 | Safety detector for fire-fighting electric facilities |
CN116295090B (en) * | 2022-12-20 | 2024-03-12 | 深圳市前海公共安全科学研究院有限公司 | Safety detector for fire-fighting electric facilities |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6321145B2 (en) | Ranging device, ranging method, and ranging program | |
RU2008127323A (en) | DIGITAL CAMERA | |
JP6494410B2 (en) | Lighting device and control method | |
JP2008122534A (en) | Imaging apparatus, control method and program therefor | |
JP2009267566A (en) | Image pickup apparatus | |
JP2006330272A5 (en) | ||
JP2007304124A (en) | Camera and index | |
JP2009002789A (en) | Portable measuring device, and measuring method using the same | |
JP4344622B2 (en) | Digital camera | |
JP2006246224A (en) | Imaging apparatus | |
JP2019184710A (en) | Imaging device, light emission control method of the same and program thereof | |
JP2006343421A (en) | Information input system for camera, camera and attachment for photography used therein | |
JP2013074929A (en) | Oral cavity interior observation device and oral cavity interior observation system | |
JP2009278280A (en) | Image pickup device, control method for the same, and program | |
JP4552131B2 (en) | Digital camera, digital camera control method and program | |
JP2009014495A (en) | Measuring device and measuring method using it | |
JP3905696B2 (en) | 3D image input device | |
JP2019095807A (en) | Focus detection device and imaging apparatus | |
JP2014204249A (en) | Imaging apparatus | |
JP5573311B2 (en) | camera | |
JP2019169822A (en) | Imaging apparatus and image display method in the same | |
JP2011147075A (en) | Display device for camera | |
JP5157729B2 (en) | camera | |
JP2008236149A (en) | Camera | |
JP2007036951A (en) | Camera having electronic viewfinder |