JP5095644B2 - Image measuring apparatus and computer program - Google Patents

Image measuring apparatus and computer program Download PDF

Info

Publication number
JP5095644B2
JP5095644B2 JP2009013346A JP2009013346A JP5095644B2 JP 5095644 B2 JP5095644 B2 JP 5095644B2 JP 2009013346 A JP2009013346 A JP 2009013346A JP 2009013346 A JP2009013346 A JP 2009013346A JP 5095644 B2 JP5095644 B2 JP 5095644B2
Authority
JP
Japan
Prior art keywords
measurement
image
measurement result
display
designation
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.)
Active
Application number
JP2009013346A
Other languages
Japanese (ja)
Other versions
JP2010169584A5 (en
JP2010169584A (en
Inventor
貴司 中務
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Keyence Corp
Original Assignee
Keyence Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Keyence Corp filed Critical Keyence Corp
Priority to JP2009013346A priority Critical patent/JP5095644B2/en
Priority to US12/628,430 priority patent/US8233665B2/en
Priority to CN2010100028259A priority patent/CN101832763B/en
Publication of JP2010169584A publication Critical patent/JP2010169584A/en
Publication of JP2010169584A5 publication Critical patent/JP2010169584A5/ja
Application granted granted Critical
Publication of JP5095644B2 publication Critical patent/JP5095644B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/24Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • G06T7/001Industrial image inspection using an image reference approach
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10056Microscopic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30164Workpiece; Machine component

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Description

本発明は、計測対象物の載置された状態に依存することなく、計測結果を見やすく表示することができる画像計測装置及びコンピュータプログラムに関する。   The present invention relates to an image measurement device and a computer program that can display a measurement result in an easily viewable manner without depending on a state where a measurement object is placed.

従来、計測対象物の形状を計測する装置として、計測対象物に光を照射し、照射した光の透過光又は反射光を受光レンズにより、CCD(Charge Coupled Device)、CMOS(Complementary Metal−Oxide Semiconductor)等の撮像素子に結像させて画像を取得し、取得した画像をコンピュータにて演算処理することにより計測対象物の形状を計測する画像計測装置が多々開発されている。   Conventionally, as a device for measuring the shape of a measurement object, the measurement object is irradiated with light, and the transmitted light or reflected light of the irradiated light is received by a light receiving lens, CCD (Charge Coupled Device), CMOS (Complementary Metal-Oxide Semiconductor) In many cases, an image measuring apparatus that acquires an image formed on an imaging element such as), and measures the shape of a measurement object by computing the acquired image using a computer has been developed.

計測対象物の画像は、受光レンズによって計測対象物に対して極めて正確な相似形となる。画像上の寸法を受光レンズの倍率でキャリブレーションすることにより、画像上の寸法に基づいて実際の計測対象物の寸法を計測することができる。したがって、画像上の計測対象物の形状を正確に特定することにより、実物の計測対象物の形状を正確に計測することができる。画像上の計測対象物の形状の特定は、計測対象物と背景画像との境界部分(以下、エッジ部分)を検出することにより行われる。図17は、従来の画像上で指定されるエッジ検出領域の例示図である。図18は、従来のエッジ点に基づいて最小二乗法によって特定する形状の例示図である。図19は、従来のエッジ点を幾何学図形にフィッティングして得られる円を説明するための模式図である。   The image of the measurement object is very accurately similar to the measurement object by the light receiving lens. By calibrating the dimensions on the image with the magnification of the light receiving lens, the dimensions of the actual measurement object can be measured based on the dimensions on the image. Therefore, by accurately specifying the shape of the measurement object on the image, the shape of the actual measurement object can be accurately measured. The shape of the measurement object on the image is specified by detecting a boundary part (hereinafter referred to as an edge part) between the measurement object and the background image. FIG. 17 is a view showing an example of an edge detection area designated on a conventional image. FIG. 18 is a view showing an example of a shape specified by a least square method based on a conventional edge point. FIG. 19 is a schematic diagram for explaining a circle obtained by fitting a conventional edge point to a geometric figure.

画像上でエッジを検出する場合、図17に示すように、エッジ部分周辺をマウス等のポインティングデバイスにてクリック操作又はドラッグ操作で囲む等してエッジ検出領域を指定する。エッジ部分は、計測対象物の画素と背景画像の画素との輝度値変化が激しい箇所であり、コンピュータは、指定された領域の画像データの中で例えば隣接する画素間の輝度差が所定の値より大きい箇所(画素間)を、図17に示すように複数のエッジ点として取得する。取得した複数のエッジ点は、最小二乗法のような回帰分析法により、図18に示すように直線等の幾何学図形にフィッティングされ、例えばフィッティングされた直線をエッジとして検出する。直線が点であっても同様に検出することができ、円形状についても直線と同様、図19に示すように隣接する画素間の輝度値変化が激しい箇所を複数のエッジ点として取得し、最小二乗法等によって幾何学図形にフィッティングされ、例えばフィッティングされた円をエッジとして検出することができる。   When an edge is detected on an image, as shown in FIG. 17, an edge detection area is designated by surrounding the edge portion with a pointing device such as a mouse by clicking or dragging. The edge portion is a portion where the luminance value changes sharply between the pixel of the measurement object and the pixel of the background image, and the computer determines that the luminance difference between adjacent pixels is a predetermined value in the image data of the specified area, for example. Larger locations (between pixels) are acquired as a plurality of edge points as shown in FIG. The acquired plurality of edge points are fitted to a geometric figure such as a straight line as shown in FIG. 18 by a regression analysis method such as a least square method, and for example, the fitted straight line is detected as an edge. Even if the straight line is a point, it can be detected in the same manner, and the circular shape is also obtained as a plurality of edge points as shown in FIG. Fitting to a geometric figure by a square method or the like, for example, a fitted circle can be detected as an edge.

計測対象物自体の大きさ、計測対象部分の大きさは様々である。したがって、人が手に持つことができる程度のサイズ(数mm〜100mm角程度のサイズ)の計測対象物を、数mm角の視野しか有していない計測装置にて計測を実行する場合、計測対象物の全体像を一括して把握することができない。この場合、例えば特許文献1に開示されているXYステージ等を移動させることにより、視野に対して計測対象物を相対的に移動させ、必要な部分を視野内に移動してから計測している。   The size of the measurement object itself and the size of the measurement target part are various. Therefore, when a measurement object having a size that can be held in a hand (a size of about several mm to 100 mm square) is measured by a measuring device having a field of view of only a few mm square, measurement is performed. The whole picture of the object cannot be grasped collectively. In this case, for example, the measurement object is moved relative to the field of view by moving the XY stage or the like disclosed in Patent Document 1, and measurement is performed after moving a necessary portion into the field of view. .

例えば同一の視野内に収まらない2つの直線間の距離を計測する場合、まず一方の直線エッジを指定し、XYステージを移動させて他方の直線エッジを指定する。指定された直線エッジ間の距離を、表示画像内位置及びXYステージの移動量から算出して計測する。   For example, when measuring the distance between two straight lines that do not fit within the same field of view, first one straight edge is designated, and the XY stage is moved to designate the other straight edge. The distance between the designated straight edges is calculated and measured from the position in the display image and the movement amount of the XY stage.

画像計測装置では、計測された計測結果が、計測対象物のどの部分のどの計測値であるのかを把握することが難しい。そこで従来は、例えば特許文献1に示すように、計測対象物の画像を表示画面にて表示するとともに、幾何寸法の計測のために指定された計測箇所に応じた寸法線も表示することにより、使用者はどの幾何寸法の計測結果が表示されているのか容易に確認することができる。   In the image measurement device, it is difficult to grasp which measurement value of which part of the measurement target is the measured measurement result. Therefore, conventionally, for example, as shown in Patent Document 1, while displaying an image of a measurement object on a display screen, by displaying a dimension line corresponding to a measurement location designated for measuring a geometric dimension, The user can easily confirm which geometric dimension measurement result is displayed.

特開平11−132740号公報Japanese Patent Laid-Open No. 11-132740

上述した特許文献1も含めて、従来の画像計測装置では、計測対象物が視野に収まる場合には、計測結果が計測対象物のどの部分のどの計測値であるのか、使用者は容易に把握することができる。しかし、計測対象物が視野に収まらない場合には、計測対象物の全体像を表示することができず、計測結果が計測対象物のどの部分をどのように計測した計測値であるのか把握することが困難であり、使用者が計測対象部分を直感的に把握することが難しいという問題点があった。   In the conventional image measurement apparatus including the above-described Patent Document 1, when the measurement object is within the field of view, the user can easily grasp which measurement value of which part of the measurement object is the measurement result. can do. However, if the measurement object does not fit in the field of view, the entire image of the measurement object cannot be displayed, and the measurement result is obtained by measuring which part of the measurement object and how it is measured. There is a problem that it is difficult for the user to intuitively grasp the measurement target part.

例えば、検出したエッジ部分を計測対象物とは別の画面上で表示し、別画面にて寸法線及び計測結果を表示する装置も存在する。しかし、計測対象物の全体像を表示することができないことには変わりは無く、計測対象物の形状が複雑である場合には、結局計測結果が計測対象物のどの部分をどのように計測した計測値であるのか把握することが困難であることには変わりは無い。   For example, there is an apparatus that displays a detected edge portion on a screen different from the measurement target and displays a dimension line and a measurement result on another screen. However, there is no change in that the entire image of the measurement object cannot be displayed. If the shape of the measurement object is complex, the measurement result eventually measures which part of the measurement object. The fact that it is difficult to grasp whether it is a measured value remains unchanged.

本発明は斯かる事情に鑑みてなされたものであり、計測結果が計測対象物のどの部分の計測値であるのかを使用者が的確に把握することができ、計測対象物の画像の姿勢、位置等に左右されず、計測結果が計測対象物のどの部分の計測結果であるのかを使用者が目視で確認することができる画像計測装置及びコンピュータプログラムを提供することを目的とする。   The present invention has been made in view of such circumstances, the user can accurately grasp which part of the measurement object the measurement result is, the posture of the image of the measurement object, An object of the present invention is to provide an image measurement device and a computer program that allow a user to visually confirm which part of a measurement object the measurement result is independent of the position or the like.

上記目的を達成するために第1発明に係る画像計測装置は、計測対象物を載置するステージと対向して、計測対象物の画像を取得する撮像手段が配置してある画像計測装置において、前記撮像手段で取得した前記計測対象物の画像を表示する表示手段と、表示された画像上の任意の部分画像を特徴画像として指定を受け付ける特徴画像指定受付段と、表示された画像上で、計測対象物の計測位置の指定を受け付ける計測位置指定受付手段と、前記特徴画像指定受付手段で指定を受け付けた特徴画像と、前記計測位置指定受付手段で指定を受け付けた計測位置及び該計測位置を示す寸法線を表示する表示位置を表す、前記特徴画像に対する相対位置に関する情報とを記憶する相対位置記憶手段と、前記撮像手段により新たに取得された計測対象物の画像と記憶してある特徴画像とを照合し、新たに取得した計測対象物の画像の姿勢及び位置に関する情報を特定する姿勢/位置特定手段と、前記相対位置記憶手段に記憶された特徴画像に対する計測位置の相対位置に関する情報に基づいて、姿勢及び位置が特定された計測対象物の画像に対して計測位置を設定し、該計測位置のエッジ部分を検出するエッジ部分検出手段と、検出したエッジ部分に基づいて所定の物理量を計測する計測手段と、前記相対位置記憶手段に記憶された寸法線の表示位置を表す、特徴画像に対する相対位置に関する情報に基づいて、計測位置を示す寸法線及び計測結果を所定の位置に表示する計測結果表示手段とを備えることを特徴とする。   In order to achieve the above object, the image measuring apparatus according to the first aspect of the present invention is an image measuring apparatus in which imaging means for acquiring an image of a measuring object is arranged opposite to a stage on which the measuring object is placed. On the displayed image, a display unit that displays the image of the measurement object acquired by the imaging unit, a feature image designation receiving stage that accepts designation as an arbitrary partial image on the displayed image, A measurement position designation accepting unit that accepts designation of a measurement position of a measurement object, a feature image that has been designated by the feature image designation acceptance unit, a measurement position that has been designated by the measurement position designation acceptance unit, and the measurement position A relative position storage means for storing information relating to a relative position with respect to the feature image, which represents a display position for displaying the indicated dimension line, and a measurement object newly acquired by the imaging means A posture / position specifying means for comparing the image of the image and the stored feature image and specifying information on the posture and position of the image of the newly acquired measurement object, and the feature image stored in the relative position storage means Based on the information on the relative position of the measurement position with respect to the image, the edge position detection means for setting the measurement position for the image of the measurement object whose posture and position are specified and detecting the edge portion of the measurement position, and A measurement unit that measures a predetermined physical quantity based on an edge portion, a dimension line that indicates a measurement position based on information on a relative position with respect to a feature image that represents a display position of the dimension line stored in the relative position storage unit, and And a measurement result display means for displaying the measurement result at a predetermined position.

また、第2発明に係る画像計測装置は、第1発明において、前記相対位置記憶手段は、前記計測結果を表示する表示位置も前記特徴画像に対する相対位置に関する情報として記憶するようにしてあり、前記計測結果表示手段は、前記相対位置記憶手段に記憶された特徴画像に対する前記計測結果を表示する表示位置の相対位置に関する情報に基づいて、前記計測結果を所定の位置に表示するようにしてあることを特徴とする。   Further, in the image measurement apparatus according to the second invention, in the first invention, the relative position storage means stores a display position for displaying the measurement result as information relating to a relative position with respect to the feature image, The measurement result display means displays the measurement result at a predetermined position based on information on the relative position of the display position for displaying the measurement result with respect to the feature image stored in the relative position storage means. It is characterized by.

また、第3発明に係る画像計測装置は、第1又は第2発明において、前記寸法線及び/又は前記計測結果を表示する位置の変更を受け付ける表示位置変更手段を備えることを特徴とする。   An image measuring apparatus according to a third aspect of the invention is characterized in that, in the first or second aspect of the invention, there is provided display position changing means for receiving a change in position for displaying the dimension line and / or the measurement result.

また、第4発明に係る画像計測装置は、第1乃至第3発明のいずれか1つにおいて、所定の公差範囲内であるか否かを判定する対象となる前記計測結果の指定を受け付ける計測結果指定受付手段と、該計測結果指定受付手段で指定を受け付けた計測結果の表示態様を変更する表示態様変更手段とを備えることを特徴とする。   According to a fourth aspect of the present invention, in any one of the first to third aspects, the image measurement apparatus receives a designation of the measurement result that is a target for determining whether or not it is within a predetermined tolerance range. It is characterized by comprising specification receiving means and display mode changing means for changing the display mode of the measurement result received by the measurement result specification receiving means.

また、第5発明に係る画像計測装置は、第4発明において、前記計測結果指定受付手段で指定を受け付けた計測結果が所定の公差範囲内であるか否かを判定する計測結果判定手段を備え、前記表示態様変更手段は、該計測結果判定手段で所定の公差範囲内であると判定された場合、前記計測結果の表示態様を変更するようにしてあることを特徴とする。   The image measurement apparatus according to a fifth aspect of the present invention is the image measurement device according to the fourth aspect, further comprising measurement result determination means for determining whether or not the measurement result accepted by the measurement result designation acceptance means is within a predetermined tolerance range. The display mode changing unit changes the display mode of the measurement result when the measurement result determining unit determines that the measurement result is within a predetermined tolerance range.

また、第6発明に係る画像計測装置は、第1乃至第5発明のいずれか1つにおいて、前記計測結果が表示範囲外にて表示されている部分が存在するか否かを判断する表示状態判断手段を備え、前記計測結果表示手段は、該表示状態判断手段で表示範囲外にて表示されている部分が存在すると判断した場合、前記計測結果の表示位置を表示範囲内へ移動させて表示するようにしてあることを特徴とする。   The image measurement device according to a sixth aspect of the present invention is the display state for determining whether or not there is a portion where the measurement result is displayed outside the display range in any one of the first to fifth aspects. When the measurement result display means determines that there is a portion displayed outside the display range by the display state determination means, the display position of the measurement result is moved into the display range and displayed. It is made to do so.

また、第7発明に係る画像計測装置は、第1乃至第6発明のいずれか1つにおいて、前記計測結果の表示位置の傾斜角度を検出する表示角度検出手段と、検出した傾斜角度が所定角度以上であるか否かを判断する傾斜角度判断手段とを備え、前記計測結果表示手段は、該傾斜角度判断手段で傾斜角度が所定角度以上であると判断した場合、前記計測結果を上下反転して表示するようにしてあることを特徴とする。   The image measurement apparatus according to a seventh aspect of the present invention is the image measurement apparatus according to any one of the first to sixth aspects, wherein the display angle detection unit detects the inclination angle of the display position of the measurement result, and the detected inclination angle is a predetermined angle. An inclination angle determining means for determining whether or not the above is satisfied, and the measurement result display means inverts the measurement result upside down when the inclination angle determining means determines that the inclination angle is equal to or greater than a predetermined angle. It is characterized by being displayed.

また、第8発明に係る画像計測装置は、第1発明において、表示された計測位置を示す寸法線及び計測結果の表示位置を表す、計測対象物の画像に対する相対位置に関する情報を、計測対象物の画像の姿勢及び位置に対応付けて記憶する計測結果表示位置記憶手段を備え、前記計測結果表示手段は、前記計測結果表示位置記憶手段に記憶された寸法線及び計測結果の表示位置を表す、計測対象物の画像に対する相対位置に関する情報に基づいて、前記姿勢/位置特定手段で特定した計測対象物の画像の姿勢及び位置に関する情報を変更して表示するようにしてあることを特徴とする。   An image measuring apparatus according to an eighth aspect of the present invention is the first aspect of the present invention, wherein the information regarding the relative position with respect to the image of the measurement object representing the dimension line indicating the displayed measurement position and the display position of the measurement result is displayed on the measurement object. Measurement result display position storage means for storing the image in association with the posture and position of the image, the measurement result display means represents the dimension line and the measurement result display position stored in the measurement result display position storage means, Based on the information on the relative position of the measurement object relative to the image, the information on the attitude and position of the image of the measurement object specified by the attitude / position specifying means is changed and displayed.

次に、上記目的を達成するために第9発明に係るコンピュータプログラムは、計測対象物を載置するステージと対向して、計測対象物の画像を取得する撮像手段が配置してある画像計測装置で実行することが可能なコンピュータプログラムにおいて、前記画像計測装置を、前記撮像手段で取得した前記計測対象物の画像を表示する表示手段、表示された画像上の任意の部分画像を特徴画像として指定を受け付ける特徴画像指定受付段、表示された画像上で、計測対象物の計測位置の指定を受け付ける計測位置指定受付手段、前記特徴画像指定受付手段で指定を受け付けた特徴画像と、前記計測位置指定受付手段で指定を受け付けた計測位置及び該計測位置を示す寸法線を表示する表示位置を表す、前記特徴画像に対する相対位置に関する情報とを記憶する相対位置記憶手段、前記撮像手段により新たに取得された計測対象物の画像と記憶してある特徴画像とを照合し、新たに取得した計測対象物の画像の姿勢及び位置に関する情報を特定する姿勢/位置特定手段、前記相対位置記憶手段に記憶された特徴画像に対する計測位置の相対位置に関する情報に基づいて、姿勢及び位置が特定された計測対象物の画像に対して計測位置を設定し、該計測位置のエッジ部分を検出するエッジ部分検出手段、検出したエッジ部分に基づいて所定の物理量を計測する計測手段、及び前記相対位置記憶手段に記憶された寸法線の表示位置を表す、特徴画像に対する相対位置に関する情報に基づいて、計測位置を示す寸法線及び計測結果を所定の位置に表示する計測結果表示手段として機能させることを特徴とする。   Next, in order to achieve the above object, a computer program according to a ninth aspect of the present invention is an image measurement apparatus in which an imaging means for acquiring an image of a measurement object is arranged facing a stage on which the measurement object is placed. In the computer program that can be executed, the image measurement device is designated as display means for displaying an image of the measurement object acquired by the imaging means, and an arbitrary partial image on the displayed image is designated as a feature image. A feature image designation accepting step for accepting a measurement, a measurement position designation accepting unit for accepting designation of a measurement position of a measurement object on the displayed image, a feature image for which designation is accepted by the feature image designation accepting unit, and the measurement position designation Information relating to the relative position with respect to the feature image, which indicates the measurement position for which the designation is accepted and the display position for displaying the dimension line indicating the measurement position Relative position storage means for storing the information, the image of the measurement object newly acquired by the imaging means is collated with the stored feature image, and information on the posture and position of the image of the measurement object newly acquired is obtained. Based on information on the relative position of the measurement position relative to the feature image stored in the posture / position specifying means and the relative position storage means, the measurement position is set for the image of the measurement object whose posture and position are specified. An edge portion detection means for detecting an edge portion of the measurement position, a measurement means for measuring a predetermined physical quantity based on the detected edge portion, and a display position of the dimension line stored in the relative position storage means. Based on the information on the relative position with respect to the feature image, function as a measurement result display means for displaying the dimension line indicating the measurement position and the measurement result at a predetermined position. And features.

また、第10発明に係るコンピュータプログラムは、第9発明において、前記相対位置記憶手段を、前記計測結果を表示する表示位置も前記特徴画像に対する相対位置に関する情報として記憶する手段として機能させ、前記計測結果表示手段を、前記相対位置記憶手段に記憶された特徴画像に対する前記計測結果を表示する表示位置の相対位置に関する情報に基づいて、前記計測結果を所定の位置に表示する手段として機能させることを特徴とする。   The computer program according to a tenth aspect of the invention is the computer program according to the ninth aspect, wherein the relative position storage means functions as means for storing a display position for displaying the measurement result as information relating to a relative position with respect to the feature image. Causing the result display means to function as means for displaying the measurement result at a predetermined position based on information on a relative position of a display position for displaying the measurement result with respect to the feature image stored in the relative position storage means; Features.

また、第11発明に係るコンピュータプログラムは、第9又は第10発明において、前記画像計測装置を、前記寸法線及び/又は前記計測結果を表示する位置の変更を受け付ける表示位置変更手段として機能させることを特徴とする。   According to an eleventh aspect of the present invention, the computer program according to the ninth or tenth aspect causes the image measuring device to function as a display position changing unit that accepts a change in a position for displaying the dimension line and / or the measurement result. It is characterized by.

また、第12発明に係るコンピュータプログラムは、第9乃至第11発明のいずれか1つにおいて、前記画像計測装置を、所定の公差範囲内であるか否かを判定する対象となる前記計測結果の指定を受け付ける計測結果指定受付手段、及び該計測結果指定受付手段で指定を受け付けた計測結果の表示態様を変更する表示態様変更手段として機能させることを特徴とする。   A computer program according to a twelfth aspect of the present invention is the computer program product according to any one of the ninth to eleventh aspects, wherein the measurement result is a target for determining whether or not the image measuring device is within a predetermined tolerance range. It is characterized by functioning as a measurement result designation accepting unit for accepting designation, and a display mode changing unit for changing the display mode of the measurement result accepted by the measurement result designation accepting unit.

また、第13発明に係るコンピュータプログラムは、第12発明において、前記画像計測装置を、前記計測結果指定受付手段で指定を受け付けた計測結果が所定の公差範囲内であるか否かを判定する計測結果判定手段として機能させ、前記表示態様変更手段を、該計測結果判定手段で所定の公差範囲内であると判定された場合、前記計測結果の表示態様を変更する手段として機能させることを特徴とする。   A computer program according to a thirteenth invention is the measurement according to the twelfth invention, wherein the image measuring device determines whether or not the measurement result received by the measurement result designation receiving means is within a predetermined tolerance range. It is made to function as a result determination means, and when the measurement result determination means determines that the display result changing means is within a predetermined tolerance range, it functions as a means for changing the display form of the measurement result. To do.

また、第14発明に係るコンピュータプログラムは、第9乃至第13発明のいずれか1つにおいて、前記画像計測装置を、前記計測結果が表示範囲外にて表示されている部分が存在するか否かを判断する表示状態判断手段として機能させ、前記計測結果表示手段を、該表示状態判断手段で表示範囲外にて表示されている部分が存在すると判断した場合、前記計測結果の表示位置を表示範囲内へ移動させて表示する手段として機能させることを特徴とする。   A computer program according to a fourteenth aspect of the present invention is the computer program product according to any one of the ninth to thirteenth aspects, wherein the image measurement device includes a portion where the measurement result is displayed outside a display range. When the measurement result display unit determines that there is a portion displayed outside the display range by the display state determination unit, the display position of the measurement result is displayed in the display range. It is made to function as a means to move and display inside.

また、第15発明に係るコンピュータプログラムは、第9乃至第14発明のいずれか1つにおいて、前記画像計測装置を、前記計測結果の表示位置の傾斜角度を検出する表示角度検出手段、及び検出した傾斜角度が所定角度以上であるか否かを判断する傾斜角度判断手段として機能させ、前記計測結果表示手段を、該傾斜角度判断手段で傾斜角度が所定角度以上であると判断した場合、前記計測結果を上下反転して表示する手段として機能させることを特徴とする。   According to a fifteenth aspect of the present invention, in any one of the ninth to fourteenth aspects, the computer program according to the fifteenth aspect of the present invention detects the image measurement device, a display angle detection unit that detects a tilt angle of the display position of the measurement result, and When the inclination angle determination means determines that the inclination angle is greater than or equal to a predetermined angle, the measurement result display means determines that the inclination angle is equal to or greater than the predetermined angle. It is characterized by functioning as means for displaying the result upside down.

また、第16発明に係るコンピュータプログラムは、第9発明において、前記画像計測装置を、表示された計測位置を示す寸法線及び計測結果の表示位置を表す、計測対象物の画像に対する相対位置に関する情報を、計測対象物の画像の姿勢及び位置に対応付けて記憶する計測結果表示位置記憶手段として機能させ、前記計測結果表示手段を、前記計測結果表示位置記憶手段に記憶された寸法線及び計測結果の表示位置を表す、計測対象物の画像に対する相対位置に関する情報に基づいて、前記姿勢/位置特定手段で特定した計測対象物の画像の姿勢及び位置に関する情報を変更して表示する手段として機能させることを特徴とする。   According to a sixteenth aspect of the present invention, the computer program according to the sixteenth aspect of the invention relates to the image measurement apparatus, wherein the information about the relative position of the measurement object to the image represents the dimension line indicating the displayed measurement position and the display position of the measurement result. As a measurement result display position storage unit that stores the measurement result in association with the posture and position of the image of the measurement object, and the measurement result display unit stores the dimension line and the measurement result stored in the measurement result display position storage unit. Based on the information on the relative position of the measurement object relative to the image representing the display position of the measurement object, the information on the posture and position of the image of the measurement object specified by the attitude / position specifying means is changed and displayed. It is characterized by that.

第1発明及び第9発明では、撮像手段で取得した計測対象物の画像を表示し、表示された画像上の任意の部分画像を特徴画像として指定を受け付け、計測対象物の計測位置の指定を受け付ける。指定を受け付けた特徴画像と、計測位置及び該計測位置を示す寸法線を表示する表示位置を表す、特徴画像に対する相対位置に関する情報とを記憶しておく。撮像手段により新たに取得された計測対象物の画像と記憶してある特徴画像とを照合し、新たに取得した計測対象物の画像の姿勢及び位置に関する情報を特定する。記憶された特徴画像に対する計測位置の相対位置に関する情報に基づいて、姿勢及び位置が特定された計測対象物の画像に対して計測位置を設定し、該計測位置のエッジ部分を検出して、所定の物理量を計測する。記憶された寸法線の表示位置を表す、特徴画像に対する相対位置に関する情報に基づいて、計測位置を示す寸法線及び計測結果を所定の位置に表示する。指定を受け付けた特徴画像と、計測位置及び該計測位置を示す寸法線を表示する表示位置を特徴画像に対する相対位置に関する情報として記憶しておくことにより、計測対象物の画像と特徴画像とを照合して、計測対象物の画像の姿勢及び位置、並びに計測位置及び該計測位置を示す寸法線を表示する表示位置を計測対象物の画像に対する相対位置として定めることができる。したがって、計測対象物の画像の姿勢、位置等に左右されず、計測結果が計測対象物のどの部分の計測値であるのかを使用者が目視で確認することができる。   In the first invention and the ninth invention, an image of the measurement object acquired by the imaging means is displayed, an arbitrary partial image on the displayed image is accepted as a feature image, and a measurement position of the measurement object is designated. Accept. The feature image that has received the designation and information related to the relative position with respect to the feature image that represents the measurement position and the display position for displaying the dimension line indicating the measurement position are stored. The image of the measurement object newly acquired by the imaging unit is collated with the stored feature image, and information regarding the posture and position of the image of the measurement object newly acquired is specified. Based on the information on the relative position of the measurement position with respect to the stored feature image, the measurement position is set for the image of the measurement object whose posture and position are specified, the edge portion of the measurement position is detected, and the predetermined position is detected. Measure the physical quantity. Based on the information related to the relative position with respect to the feature image, which represents the stored display position of the dimension line, the dimension line indicating the measurement position and the measurement result are displayed at a predetermined position. By storing the specified feature image and the display position for displaying the measurement position and the dimension line indicating the measurement position as information on the relative position to the feature image, the image of the measurement object and the feature image are collated. Then, the orientation and position of the image of the measurement object, and the display position for displaying the measurement position and the dimension line indicating the measurement position can be determined as a relative position with respect to the image of the measurement object. Therefore, the user can visually confirm which part of the measurement object the measurement result is, regardless of the orientation and position of the image of the measurement object.

第2発明及び第10発明では、計測結果を表示する表示位置も特徴画像に対する相対位置に関する情報として記憶しておき、記憶された特徴画像に対する計測結果を表示する表示位置の相対位置に関する情報に基づいて、計測結果を所定の位置に表示する。これにより、計測結果の表示についても、計測対象物の画像の姿勢、位置等に左右されず、計測対象物の画像に応じて表示する位置を変えることができるので、計測結果が計測対象物のどの部分の計測結果であるのかを使用者が目視で確認することができる。   In the second and tenth inventions, the display position for displaying the measurement result is also stored as information related to the relative position with respect to the feature image, and based on the information about the relative position of the display position for displaying the measurement result with respect to the stored feature image. The measurement result is displayed at a predetermined position. As a result, the display of the measurement result is not affected by the orientation or position of the image of the measurement object, and the display position can be changed according to the image of the measurement object. The user can visually confirm which part is the measurement result.

第3発明及び第11発明では、寸法線及び/又は計測結果を表示する位置の変更を受け付けることにより、寸法線及び/又は計測結果を表示する位置が視野から外れる場合であっても、視野内に収まるように表示する位置を変更することができ、計測結果が計測対象物のどの部分の計測結果であるのかを使用者が目視で確認することができる。   In the third invention and the eleventh invention, even if the position for displaying the dimension line and / or the measurement result is out of the field of view by receiving the change of the position for displaying the dimension line and / or the measurement result, The display position can be changed so as to be within the range, and the user can visually confirm which part of the measurement target the measurement result is.

第4発明及び第12発明では、所定の公差範囲内であるか否かを判定する対象となる計測結果の指定を受け付け、指定を受け付けた計測結果の表示態様を変更することにより、計測結果が公差範囲内に収まっているか否かを判定する対象となる計測結果を表示態様の相違により容易に確認することができる。したがって、公差範囲内に収まるよう精度が要求されている計測結果を目視で確認することができる。   In the fourth invention and the twelfth invention, the measurement result is received by receiving the designation of the measurement result to be determined whether or not it is within the predetermined tolerance range, and changing the display mode of the measurement result in which the designation is accepted. It is possible to easily confirm the measurement result to be determined whether or not it is within the tolerance range based on the difference in display mode. Therefore, it is possible to visually confirm a measurement result that requires accuracy so as to be within the tolerance range.

第5発明及び第13発明では、指定を受け付けた計測結果が所定の公差範囲内であるか否かを判定し、所定の公差範囲内であると判定された場合、計測結果の表示態様を変更することにより、適正と考えられる一定範囲内の計測結果であるか否かを計測結果の表示態様により容易に確認することができる。したがって、適正である計測結果と適正ではない計測結果とを目視で確認することができ、計測対象物のどの部分の計測結果が適正でないのか、容易に確認することができるので、再計測が容易となる。   In the fifth invention and the thirteenth invention, it is determined whether or not the measurement result having received the designation is within a predetermined tolerance range, and when it is determined that the measurement result is within the predetermined tolerance range, the display form of the measurement result is changed. By doing so, it can be easily confirmed by the display mode of the measurement result whether or not the measurement result is within a certain range considered appropriate. Therefore, it is possible to visually check the measurement result that is appropriate and the measurement result that is not appropriate, and it is easy to check which part of the measurement object is not appropriate, so re-measurement is easy. It becomes.

第6発明及び第14発明では、計測結果が表示範囲外にて表示されている部分が存在する場合、計測結果の表示位置を表示範囲内へ移動させて表示することにより、計測結果の表示を確実に目視で確認することが可能となる。   In the sixth invention and the fourteenth invention, when there is a portion where the measurement result is displayed outside the display range, the measurement result is displayed by moving the display position of the measurement result into the display range and displaying it. It is possible to confirm visually with certainty.

第7発明及び第15発明では、計測結果の表示位置の傾斜角度を検出し、検出した傾斜角度が所定角度以上である場合、計測結果を上下反転して表示することにより、計測対象物がどのような角度でステージに載置された場合であっても、計測結果を目視で確認し易いように表示することができる。   In the seventh invention and the fifteenth invention, the inclination angle of the display position of the measurement result is detected, and when the detected inclination angle is equal to or larger than the predetermined angle, the measurement result is displayed upside down to display which measurement object. Even when it is placed on the stage at such an angle, the measurement result can be displayed so that it can be easily confirmed visually.

第8発明及び第16発明では、表示された計測位置を示す寸法線及び計測結果の表示位置を表す、計測対象物の画像に対する相対位置に関する情報を、計測対象物の画像の姿勢及び位置に対応付けて記憶しておき、記憶された寸法線及び計測結果の表示位置を表す、計測対象物の画像に対する相対位置に関する情報に基づいて、特定した計測対象物の画像の姿勢及び位置に関する情報を変更して表示することにより、計測対象物がどのような角度でステージに載置された場合であっても、記憶してある寸法線及び計測結果の位置に関する情報等に基づいた表示位置に合わせて回転させて表示することができる。   In the eighth invention and the sixteenth invention, the dimension line indicating the displayed measurement position and the display position of the measurement result indicating the relative position with respect to the image of the measurement object correspond to the posture and position of the image of the measurement object. The information on the orientation and position of the specified measurement object image is changed based on the information on the relative position of the measurement object image representing the stored dimension line and the measurement result display position. Even if the measurement object is placed on the stage at any angle, the display position is adjusted based on the stored dimension line and information on the position of the measurement result. It can be rotated and displayed.

上記構成によれば、指定を受け付けた特徴画像と、計測位置及び該計測位置を示す寸法線を表示する表示位置を特徴画像に対する相対位置に関する情報として記憶しておくことにより、計測対象物の画像と特徴画像とを照合して、計測対象物の画像の姿勢及び位置、並びに計測位置及び該計測位置を示す寸法線を表示する表示位置を計測対象物の画像に対する相対位置として定めることができる。したがって、計測対象物の画像の姿勢、位置等に左右されず、計測結果が計測対象物のどの部分の計測値であるのかを使用者が目視で確認することができる。   According to the above configuration, the image of the measurement object is stored by storing the feature image that has received the designation and the display position for displaying the measurement position and the dimension line indicating the measurement position as information on the relative position with respect to the feature image. Can be determined as a relative position with respect to the image of the measurement object by comparing the posture and position of the image of the measurement object and the display position for displaying the measurement position and the dimension line indicating the measurement position. Therefore, the user can visually confirm which part of the measurement object the measurement result is, regardless of the orientation and position of the image of the measurement object.

本発明の実施の形態1に係る画像計測装置の本体部分を示す斜視図である。It is a perspective view which shows the main-body part of the image measuring device which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る画像計測装置の構成を示す模式図である。It is a schematic diagram which shows the structure of the image measuring device which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る画像計測装置の制御ユニットの構成を示すブロック図である。It is a block diagram which shows the structure of the control unit of the image measuring device which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る画像計測装置の制御ユニットの機能を示す機能ブロック図である。It is a functional block diagram which shows the function of the control unit of the image measuring device which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る画像計測装置の制御ユニットのCPUの特徴画像記憶処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the characteristic image storage process of CPU of the control unit of the image measuring device which concerns on Embodiment 1 of this invention. 計測対象物の画像と視野範囲との関係及び計測結果の表示位置との関係を示す模式図である。It is a schematic diagram which shows the relationship between the image of a measurement target object, a visual field range, and the display position of a measurement result. 特徴画像及び計測位置の指定の受付方法を示す模式図である。It is a schematic diagram which shows the reception method of designation | designated of a feature image and a measurement position. 本発明の実施の形態1に係る画像計測装置の制御ユニットのCPUの画像計測処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the image measurement process of CPU of the control unit of the image measuring device which concerns on Embodiment 1 of this invention. 特徴画像と計測対象物の画像とのマッチング処理の例示図である。It is an illustration figure of the matching process with the feature image and the image of a measurement object. 計測位置及び寸法線の表示方法を示す模式図である。It is a schematic diagram which shows the display method of a measurement position and a dimension line. 計測結果が表示範囲外へはみ出した場合の寸法線及び/又は計測結果の表示位置を変更する方法を説明する模式図である。It is a schematic diagram explaining the method to change the dimension line and / or display position of a measurement result when a measurement result protrudes out of a display range. 計測結果を上下反転して表示する場合の表示位置を変更する方法を説明する模式図である。It is a schematic diagram explaining the method to change the display position in the case of displaying a measurement result upside down. 本発明の実施の形態2に係る画像計測装置の制御ユニットの構成を示すブロック図である。It is a block diagram which shows the structure of the control unit of the image measuring device which concerns on Embodiment 2 of this invention. 本発明の実施の形態2に係る画像計測装置の制御ユニットの機能を示す機能ブロック図である。It is a functional block diagram which shows the function of the control unit of the image measuring device which concerns on Embodiment 2 of this invention. 本発明の実施の形態2に係る画像計測装置の制御ユニットのCPUの画像計測処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the image measurement process of CPU of the control unit of the image measurement apparatus which concerns on Embodiment 2 of this invention. 寸法線及び計測結果の表示方法を示す模式図である。It is a schematic diagram which shows the display method of a dimension line and a measurement result. 従来の画像上で指定されるエッジ検出領域の例示図である。It is an illustration figure of the edge detection area designated on the conventional image. 従来のエッジ点に基づいて最小二乗法によって特定する形状の例示図である。It is an illustration figure of the shape specified by the least squares method based on the conventional edge point. 従来のエッジ点を幾何学図形にフィッティングして得られる円を説明するための模式図である。It is a schematic diagram for demonstrating the circle | round | yen obtained by fitting the conventional edge point to a geometric figure.

以下、本発明の実施の形態に係る画像計測装置について、図面に基づいて具体的に説明する。   Hereinafter, an image measuring device according to an embodiment of the present invention will be specifically described with reference to the drawings.

(実施の形態1)
図1は、本発明の実施の形態1に係る画像計測装置の本体部分2を示す斜視図であり、図2は、本発明の実施の形態1に係る画像計測装置1の構成を示す模式図である。図2に示すように本実施の形態1に係る画像計測装置1は、本体部分2と制御ユニット3とで構成されており、本体部分2にて撮像された画像データを制御ユニット3にて演算処理して、所望の形状の寸法等を計測する。
(Embodiment 1)
FIG. 1 is a perspective view showing a main body portion 2 of an image measuring apparatus according to Embodiment 1 of the present invention, and FIG. 2 is a schematic diagram showing a configuration of the image measuring apparatus 1 according to Embodiment 1 of the present invention. It is. As shown in FIG. 2, the image measuring apparatus 1 according to the first embodiment includes a main body portion 2 and a control unit 3, and the control unit 3 calculates image data captured by the main body portion 2. Process and measure the dimensions of the desired shape.

図1に示すように、本体部分2では、中央部近傍に光を透過する載置部211を有するステージ21を備えており、本体部分2に、載置部211を中心に回転することが可能に、支持部212を介して連結されている。計測対象物20を載置部211の上に載置し、操作パネル29にて所望の操作の指定を受け付けることにより、アーム部28の上方に配置されている撮像部30により計測対象物20が撮像され、計測結果を表示装置27に表示する。   As shown in FIG. 1, the main body portion 2 includes a stage 21 having a mounting portion 211 that transmits light in the vicinity of the central portion, and the main body portion 2 can be rotated around the mounting portion 211. Are connected to each other via a support portion 212. By placing the measurement object 20 on the placement unit 211 and accepting designation of a desired operation on the operation panel 29, the measurement object 20 is placed by the imaging unit 30 disposed above the arm unit 28. The image is taken and the measurement result is displayed on the display device 27.

図2に示すように、本体部分2では、載置された計測対象物20を移動させるステージ21を挟んで2組の照明装置22、24が設置されている。まずステージ21上の計測対象物20を上方から照らすリング状の落射照明装置22が受光レンズユニット23に設置されている。落射照明装置22で照射された光は、計測対象物20の表面で反射して、受光レンズユニット23へ戻ってくる。これにより、計測対象物20の表面の凹凸、パターン等を撮像することができる。   As shown in FIG. 2, in the main body portion 2, two sets of illumination devices 22 and 24 are installed with a stage 21 for moving the placed measurement object 20 interposed therebetween. First, a ring-shaped epi-illumination device 22 that illuminates the measurement object 20 on the stage 21 from above is installed in the light receiving lens unit 23. The light irradiated by the epi-illumination device 22 is reflected by the surface of the measurement object 20 and returns to the light receiving lens unit 23. Thereby, the unevenness | corrugation of the surface of the measurement target object 20, a pattern, etc. can be imaged.

また、ステージ21の下方には、計測対象物20を下方から照らす透過照明装置24が設置されている。透過照明装置24は、少なくとも光源241、反射機構242及びレンズ243で構成されており、光源241から照射された光を反射機構242にてステージ21側へ反射させ、レンズ243にてステージ21に対して略直交する方向の平行光へと変換する。これにより、計測対象物20が存在しない位置の光のみ透過して撮像することができる。   A transmission illumination device 24 that illuminates the measurement target 20 from below is installed below the stage 21. The transmitted illumination device 24 includes at least a light source 241, a reflection mechanism 242, and a lens 243. The light emitted from the light source 241 is reflected by the reflection mechanism 242 toward the stage 21, and the lens 243 reflects the stage 21. To be converted into parallel light in a direction substantially perpendicular to each other. Thereby, only the light of the position where the measuring object 20 does not exist can be transmitted and imaged.

受光レンズユニット23は、少なくとも受光レンズ231、ビームスプリッタ232、高倍側結像レンズ部233、低倍側結像レンズ部236を備えている。高倍側結像レンズ部233は、結像するためのスリット234及び高倍側結像レンズ235で構成され、低倍側結像レンズ部236は、結像するためのスリット237及び低倍側結像レンズ238で構成されている。ビームスプリッタ232は、受光レンズ231からの光を二方向に分岐するプリズムである。例えばキューブ型、プレート型を使用することができる。キューブ型ビームスプリッタは、プレート型と比較して、ビームスプリッタを通過した光が屈折することがないので光軸がずれず、分岐角度のアライメント調整が容易なため好ましい。   The light receiving lens unit 23 includes at least a light receiving lens 231, a beam splitter 232, a high magnification side imaging lens unit 233, and a low magnification side imaging lens unit 236. The high-magnification side imaging lens unit 233 includes a slit 234 for imaging and a high-magnification side imaging lens 235, and the low-magnification side imaging lens unit 236 includes a slit 237 for imaging and a low-magnification side imaging. A lens 238 is used. The beam splitter 232 is a prism that branches light from the light receiving lens 231 in two directions. For example, a cube type or a plate type can be used. Compared with the plate type, the cube type beam splitter is preferable because the light passing through the beam splitter is not refracted, the optical axis is not shifted, and alignment adjustment of the branch angle is easy.

図2では、落射照明装置22から照射された光が計測対象物20で反射した光及び透過照明装置24から照射されて計測対象物20を透過した光を、高倍側結像レンズ部233及び低倍側結像レンズ部236へ誘導する一例を示している。ビームスプリッタ232により分岐された二方向の光は、低倍側結像レンズ部236及び高倍側結像レンズ部233の双方へ誘導される。   In FIG. 2, the light irradiated from the epi-illumination device 22 is reflected by the measurement object 20 and the light emitted from the transmission illumination device 24 and transmitted through the measurement object 20 is divided into the high-magnification imaging lens unit 233 and the low-light imaging lens unit 233. An example of guiding to the magnification side imaging lens unit 236 is shown. The light in two directions branched by the beam splitter 232 is guided to both the low magnification side imaging lens unit 236 and the high magnification side imaging lens unit 233.

高倍側撮像装置25は、高倍側結像レンズ部233へ誘導された光をCCD、CMOS等の撮像素子251で結像させ、高倍画像データとして制御ユニット3へ送信する。同様に低倍側撮像装置26は、低倍側結像レンズ部236へ誘導された光をCCD、CMOS等の撮像素子261で結像させ、低倍画像データとして制御ユニット3へ送信する。上述の受光レンズ231及びビームスプリッタ232による二分岐光学系の構成により、光学系を機械的に切り替えることなく高倍画像データと低倍画像データとを同時に取得することができる。両画像データは電子的に切り替えて1つの画面上に表示することができ、また2つの画面上に別個に同時に表示することもできる。   The high-magnification side imaging device 25 forms an image of light guided to the high-magnification side imaging lens unit 233 with an imaging element 251 such as a CCD or CMOS, and transmits the image to the control unit 3 as high-magnification image data. Similarly, the low-magnification side imaging device 26 causes the light guided to the low-magnification side imaging lens unit 236 to be imaged by an imaging element 261 such as a CCD or CMOS, and transmits the image to the control unit 3 as low-magnification image data. With the above-described configuration of the two-branch optical system including the light receiving lens 231 and the beam splitter 232, high-magnification image data and low-magnification image data can be acquired simultaneously without mechanically switching the optical system. Both image data can be electronically switched and displayed on one screen, or can be displayed separately on two screens simultaneously.

図3は、本発明の実施の形態1に係る画像計測装置1の制御ユニット3の構成を示すブロック図である。図3に示すように本実施の形態1に係る画像計測装置1の制御ユニット3は、少なくともCPU(中央演算装置)33、RAM34、ディスク等の記憶装置35、通信装置36及び上述したハードウェアを接続する内部バス37で構成されている。内部バス37を介して、入力装置であるマウス32、キーボード31、出力装置である表示装置27にも接続されている。   FIG. 3 is a block diagram showing the configuration of the control unit 3 of the image measurement apparatus 1 according to Embodiment 1 of the present invention. As shown in FIG. 3, the control unit 3 of the image measuring apparatus 1 according to the first embodiment includes at least a CPU (central processing unit) 33, a RAM 34, a storage device 35 such as a disk, a communication device 36, and the hardware described above. The internal bus 37 is connected. The internal bus 37 is also connected to a mouse 32, a keyboard 31, which is an input device, and a display device 27, which is an output device.

CPU33は、内部バス37を介して制御ユニット3の上述したようなハードウェア各部と接続されており、上述したハードウェア各部の動作を制御するとともに、記憶装置35に記憶されているコンピュータプログラムに従って、種々のソフトウェア的機能を実行する。RAM34は、例えばSRAM、SDRAM等の揮発性メモリで構成され、コンピュータプログラムの実行時にロードモジュールが展開され、コンピュータプログラムの実行時に発生する一時的なデータ等を記憶する。   The CPU 33 is connected to the above-described hardware units of the control unit 3 via the internal bus 37, controls the operation of the above-described hardware units, and according to a computer program stored in the storage device 35, Perform various software functions. The RAM 34 is composed of, for example, a volatile memory such as SRAM or SDRAM, and a load module is developed when the computer program is executed, and stores temporary data generated when the computer program is executed.

また、高倍側撮像装置25及び低倍側撮像装置26で撮像された両画像データは、高倍画像データ及び低倍画像データを互いに位置合わせをした状態で記憶装置35に記憶される。ここで、低倍画像と高倍画像とは、同じ受光レンズ231からの光をビームスプリッタ232で二方向に分岐した光のうちの各々一方向の光を高倍側結像レンズ235又は低倍側結像レンズ238を通して撮像素子251、261に結像させて得られているので、同軸で撮像されている。すなわち、低倍画像の視野中心と高倍画像の視野中心とが一致するように撮像されている。   Both image data captured by the high-magnification side imaging device 25 and the low-magnification side imaging device 26 are stored in the storage device 35 with the high-magnification image data and the low-magnification image data aligned with each other. Here, the low-magnification image and the high-magnification image are obtained by dividing the light from the same light-receiving lens 231 in two directions by the beam splitter 232 into light in one direction, respectively. Since it is obtained by forming an image on the image pickup elements 251 and 261 through the image lens 238, the image is taken coaxially. That is, the image is captured so that the center of the field of view of the low-magnification image matches the center of the field of view of the high-magnification image.

記憶装置35は、特徴画像記憶部351及び相対位置記憶部352も備えている。特徴画像記憶部351は、計測対象物20ごとに特徴を示す特徴画像データを記憶する。記憶してある特徴画像データと取得した画像データとをマッチング処理することによって、計測対象物20がステージ21上でどのような姿勢及び位置で載置されたか把握することができる。相対位置記憶部352は、指定を受け付けた計測位置及び該計測位置を示す寸法線の表示位置を表す、特徴画像に対する相対位置に関する情報として記憶する。記憶した相対位置に関する情報に基づいて、計測対象物20の画像の姿勢及び位置が特定された時点で、計測位置及び寸法線を表示する相対位置が定まる。もちろん、特徴画像記憶部351及び相対位置記憶部352を一体化させて記憶しても良い。   The storage device 35 also includes a feature image storage unit 351 and a relative position storage unit 352. The feature image storage unit 351 stores feature image data indicating features for each measurement object 20. By performing the matching process between the stored feature image data and the acquired image data, it is possible to grasp what posture and position the measurement object 20 is placed on the stage 21. The relative position storage unit 352 stores the information regarding the relative position with respect to the feature image, which represents the measurement position at which the designation is received and the display position of the dimension line indicating the measurement position. Based on the stored information on the relative position, the relative position for displaying the measurement position and the dimension line is determined when the posture and position of the image of the measurement target 20 are specified. Of course, the feature image storage unit 351 and the relative position storage unit 352 may be integrated and stored.

通信装置36は内部バス37に接続されており、通信線を介して高倍側撮像装置25、低倍側撮像装置26に接続され、高倍側撮像装置25、低倍側撮像装置26で撮像された画像データを受信する。また、インターネット、LAN、WAN等の外部のネットワークに接続されることにより、外部のコンピュータ等ともデータ送受信を行うことが可能となる。なお、記憶装置35に記憶されているコンピュータプログラムは、通信装置36を介して外部コンピュータからダウンロードされる。   The communication device 36 is connected to the internal bus 37, is connected to the high-magnification side imaging device 25 and the low-magnification side imaging device 26 via a communication line, and is imaged by the high-magnification side imaging device 25 and the low-magnification side imaging device 26. Receive image data. Further, by being connected to an external network such as the Internet, a LAN, or a WAN, data can be transmitted / received to / from an external computer or the like. The computer program stored in the storage device 35 is downloaded from an external computer via the communication device 36.

図4は、本発明の実施の形態1に係る画像計測装置1の制御ユニット3の機能を示す機能ブロック図である。図4において、画像データ取得部331は、低倍側撮像装置26にて撮像した低倍画像の低倍画像データ、及び低倍画像と同軸で高倍側撮像装置25にて撮像した高倍画像の高倍画像データを取得する。取得した両画像データは、記憶装置35に記憶される。   FIG. 4 is a functional block diagram showing functions of the control unit 3 of the image measuring apparatus 1 according to Embodiment 1 of the present invention. In FIG. 4, the image data acquisition unit 331 is a low-magnification image data of a low-magnification image captured by the low-magnification side imaging device 26, and a high-magnification image of a high-magnification image captured by the high-magnification side imaging device 25 coaxially with the low-magnification image Get image data. The acquired both image data are stored in the storage device 35.

表示部332は、取得した低倍画像データ又は高倍画像データを表示装置27に表示し、特徴画像指定受付部333は、表示装置27に表示されている計測対象物20の画像に対して、特徴的な部分を示す画像と考えられる部分画像の領域指定を受け付ける。領域指定の受付方法は特に限定されるものではなく、例えばマウス32等のドラッグ操作等により、特徴的な部分を示す画像と考えられる部分画像を含む矩形領域の指定を受け付け、指定を受け付けた矩形領域内に含まれる部分画像は、計測対象物20の特徴画像として記憶装置35の特徴画像記憶部351に記憶される。   The display unit 332 displays the acquired low-magnification image data or high-magnification image data on the display device 27, and the feature image designation receiving unit 333 performs a feature on the image of the measurement target 20 displayed on the display device 27. An area designation of a partial image that is considered to be an image showing a specific part is accepted. The method for accepting the designation of the area is not particularly limited. For example, by the drag operation of the mouse 32 or the like, the designation of the rectangular area including the partial image that is considered to be an image showing the characteristic part is accepted, and the rectangle that has received the designation. The partial image included in the region is stored in the feature image storage unit 351 of the storage device 35 as a feature image of the measurement target 20.

計測位置指定受付部334は、表示装置27に表示されている計測対象物20の画像に対して、計測位置の指定を受け付ける。計測位置の指定の受付方法は特に限定されるものではなく、例えばマウス32等のドラッグ操作等によりエッジ部分近傍の領域指定を受け付ける。なお、公差の適正範囲の指定を受け付ける公差指定受付部346を備えても良い。公差の適正範囲の指定の受付方法は特に限定されるものではなく、例えば設定画面からキーボード31等の打鍵により指定を受け付けても良い。   The measurement position designation accepting unit 334 accepts designation of the measurement position for the image of the measurement target 20 displayed on the display device 27. The method for accepting the designation of the measurement position is not particularly limited. For example, the designation of the area near the edge portion is accepted by a drag operation of the mouse 32 or the like. In addition, you may provide the tolerance designation | designated reception part 346 which receives designation | designated of the appropriate range of tolerance. The method for accepting designation of the appropriate range of tolerance is not particularly limited. For example, designation may be accepted from the setting screen by pressing the keyboard 31 or the like.

姿勢/位置特定部335は、取得した計測対象物20の画像データと特徴画像記憶部351に記憶してある特徴画像とをマッチング処理(照合)して、計測対象物20の画像の姿勢及び位置に関する情報を特定する。エッジ部分検出部336は、相対位置記憶部352に記憶された特徴画像に対する計測位置の相対位置に関する情報に基づいて、姿勢及び位置が特定された計測対象物20の画像に対して計測位置を設定して、設定された計測位置のエッジ部分を検出し、計測部337は、特定された計測対象物20の画像の姿勢及び位置に関する情報、及び検出されたエッジ部分に基づいて、所定の物理量を計測する。   The posture / position specifying unit 335 performs matching processing (collation) between the acquired image data of the measurement target 20 and the feature image stored in the feature image storage unit 351, and the posture and position of the image of the measurement target 20 Identify information about. The edge part detection unit 336 sets the measurement position for the image of the measurement object 20 whose posture and position are specified based on the information about the relative position of the measurement position with respect to the feature image stored in the relative position storage unit 352. Then, the edge part of the set measurement position is detected, and the measurement unit 337 calculates a predetermined physical quantity based on the information on the posture and position of the image of the specified measurement object 20 and the detected edge part. measure.

計測結果表示部338は、相対位置記憶部352に記憶された計測位置及び寸法線の表示位置を表す、特徴画像に対する相対位置に関する情報に基づいて、計測位置を示す寸法線及び計測結果を所定の位置に表示する。なお、相対位置記憶部352に、計測対象物20の画像に対する、計測結果を表示する相対位置に関する情報も記憶しておき、姿勢/位置特定部335にて特定した計測対象物20の画像の姿勢及び位置、並びに計測対象物20の画像に対する計測結果を表示する相対位置に関する情報に基づいて、計測結果を所定の位置に表示しても良い。これにより、計測対象物20の画像の姿勢及び位置に応じて計測結果の表示位置を変更することができる。   The measurement result display unit 338 displays the measurement line and the measurement result indicating the measurement position and the measurement result based on the information on the relative position with respect to the feature image, which represents the display position of the measurement position and the dimension line stored in the relative position storage unit 352. Display in position. The relative position storage unit 352 also stores information on the relative position for displaying the measurement result with respect to the image of the measurement target 20, and the posture of the image of the measurement target 20 specified by the posture / position specifying unit 335. The measurement result may be displayed at a predetermined position on the basis of the information on the relative position where the measurement result with respect to the image of the measurement object 20 is displayed. Thereby, the display position of the measurement result can be changed according to the posture and position of the image of the measurement object 20.

表示位置変更部339は、寸法線及び/又は計測結果を表示する位置の変更を受け付ける。表示する位置の変更の受付方法は、特に限定されるものではなく、例えばマウス32等のドラッグ操作等により受け付ける。   The display position changing unit 339 receives a change in the position where the dimension line and / or the measurement result is displayed. The method for accepting the change of the display position is not particularly limited, and is accepted, for example, by a drag operation of the mouse 32 or the like.

また、計測結果指定受付部340は、所定の公差範囲内であるか否かを判定する対象となる計測結果の指定を受け付ける。計測結果の指定の受付方法は、特に限定されるものではなく、例えばマウス32等のクリック操作等により計測結果の表示位置の指定を受け付けても良いし、計測結果を計測する計測位置の指定を受け付けても良い。   Further, the measurement result designation receiving unit 340 receives designation of a measurement result that is a target for determining whether or not the measurement result is within a predetermined tolerance range. The method for accepting the designation of the measurement result is not particularly limited. For example, the designation of the display position of the measurement result may be accepted by clicking the mouse 32 or the like, or the measurement position for measuring the measurement result may be designated. It may be accepted.

計測結果判定部341は、指定を受け付けた計測結果が所定の公差範囲内であるか否かを判定する。表示態様変更部342は、計測結果指定受付部340にて指定を受け付けた計測結果、及び計測結果判定部341にて公差範囲内であると判定された計測結果の表示態様を変更する。例えば表示色を変更する、強調表示する等の表示態様の変更により、公差範囲内であると判定された計測結果を使用者が目視で確認することができる。   The measurement result determination unit 341 determines whether or not the measurement result that has received the designation is within a predetermined tolerance range. The display mode changing unit 342 changes the display mode of the measurement result received by the measurement result designation receiving unit 340 and the measurement result determined by the measurement result determining unit 341 to be within the tolerance range. For example, the user can visually check the measurement result determined to be within the tolerance range by changing the display mode such as changing the display color or highlighting.

表示状態判断部343は、計測結果が表示範囲外にて表示されている部分が存在するか否かを判断する。計測結果表示部338は、表示状態判断部343にて計測結果が表示範囲外にて表示されている部分が存在すると判断した場合、計測結果の表示位置を表示範囲内へ移動させて表示する。これにより、計測結果を使用者が目視で確認することができる。   The display state determination unit 343 determines whether there is a portion where the measurement result is displayed outside the display range. When the display state determination unit 343 determines that there is a portion where the measurement result is displayed outside the display range, the measurement result display unit 338 moves and displays the display position of the measurement result within the display range. Thereby, a user can confirm a measurement result visually.

表示角度検出部344は、計測結果の表示位置の傾斜角度を検出し、傾斜角度判断部345は、表示角度検出部344にて検出した傾斜角度が所定角度以上であるか否かを判断する。計測結果表示部338は、傾斜角度判断部345にて傾斜角度が所定角度以上であると判断した場合、計測結果を上下反転して表示する。   The display angle detection unit 344 detects the tilt angle of the display position of the measurement result, and the tilt angle determination unit 345 determines whether the tilt angle detected by the display angle detection unit 344 is equal to or greater than a predetermined angle. The measurement result display unit 338 displays the measurement result upside down when the tilt angle determination unit 345 determines that the tilt angle is equal to or greater than a predetermined angle.

図5は、本発明の実施の形態1に係る画像計測装置1の制御ユニット3のCPU33の特徴画像記憶処理の手順を示すフローチャートである。制御ユニット3のCPU33は、低倍側撮像装置26にて撮像した低倍画像の低倍画像データ、及び低倍画像と同軸で高倍側撮像装置25にて撮像した高倍画像の高倍画像データを取得する(ステップS501)。取得した両画像データは、記憶装置35に記憶される。   FIG. 5 is a flowchart showing the procedure of the feature image storage process of the CPU 33 of the control unit 3 of the image measuring apparatus 1 according to the first embodiment of the present invention. The CPU 33 of the control unit 3 acquires low-magnification image data of a low-magnification image captured by the low-magnification side imaging device 26 and high-magnification image data of a high-magnification image that is coaxial with the low-magnification image and captured by the high-magnification side imaging device 25. (Step S501). The acquired both image data are stored in the storage device 35.

CPU33は、高倍画像データが視野範囲内にて表示することが可能であるか否かを判断し(ステップS502)、CPU33が、高倍画像データが視野範囲内にて表示することが可能であると判断した場合(ステップS502:YES)、CPU33は、高倍画像データを表示装置27に表示し(ステップS503)、CPU33が、高倍画像データが視野範囲内にて表示することが不可能であると判断した場合(ステップS502:NO)、CPU33は、低倍画像データを表示装置27に表示する(ステップS504)。   The CPU 33 determines whether or not the high-magnification image data can be displayed within the visual field range (step S502), and the CPU 33 can display the high-magnification image data within the visual field range. When the determination is made (step S502: YES), the CPU 33 displays the high-magnification image data on the display device 27 (step S503), and the CPU 33 determines that the high-magnification image data cannot be displayed within the visual field range. If so (step S502: NO), the CPU 33 displays the low-magnification image data on the display device 27 (step S504).

図6は、計測対象物20の画像と視野範囲との関係及び計測結果の表示位置との関係を示す模式図である。図6(a)に示すように計測対象物20の画像(画像データ)を取得した場合、図6(b)に示すように計測対象物20の画像データに対して視野範囲61が狭い場合、例えば高倍画像データを表示する場合等には、計測対象物20のどの部分が表示されているのか不明確になる。そこで、計測対象物20の画像データに対して視野範囲61が十分に広い場合、例えば低倍画像データを表示する場合等には、図6(c)に示すように計測対象物20の全体像が視野範囲61内に収まる。   FIG. 6 is a schematic diagram showing the relationship between the image of the measurement object 20 and the visual field range and the display position of the measurement result. When an image (image data) of the measurement object 20 is acquired as shown in FIG. 6A, when the visual field range 61 is narrower than the image data of the measurement object 20 as shown in FIG. For example, when high-magnification image data is displayed, it is unclear which part of the measurement object 20 is displayed. Therefore, when the visual field range 61 is sufficiently wide with respect to the image data of the measurement target 20, for example, when displaying low-magnification image data, the entire image of the measurement target 20 as shown in FIG. Falls within the visual field range 61.

そして、図6(c)に示すように、視野範囲61内に全体像が表示されている計測対象物20に対して、マウス32等のドラッグ操作等により計測領域62の指定を受け付けることで、計測対象物20の全体像を見ながら計測領域62を指定することができる。したがって、どの部分を計測しているのか使用者が目視で確認しつつ指定することができ、誤った部分について計測することを未然に防止することができる。   And as shown in FIG.6 (c), by specifying the measurement area | region 62 by drag | drug operation etc. of the mouse | mouth 32 etc. with respect to the measurement target object 20 with which the whole image is displayed in the visual field range 61, The measurement area 62 can be designated while viewing the entire image of the measurement object 20. Therefore, the user can specify which part is being measured while visually confirming, and can prevent an erroneous part from being measured in advance.

図5に戻って、制御ユニット3のCPU33は、表示された低倍画像上又は高倍画像上にて、特徴的な部分を示す画像と考えられる特徴画像を含む矩形領域の指定を受け付ける(ステップS505)。特徴画像を含む矩形領域の指定の受付方法は特に限定されるものではなく、例えばマウス32等のドラッグ操作等により、特徴画像を含む矩形領域の指定を受け付け、指定を受け付けた矩形領域内に含まれる部分画像を、計測対象物20の特徴画像として記憶装置35の特徴画像記憶部351に記憶すれば良い。   Returning to FIG. 5, the CPU 33 of the control unit 3 accepts designation of a rectangular area including a feature image that is considered to be an image showing a characteristic portion on the displayed low-magnification image or high-magnification image (step S505). ). The method for accepting designation of the rectangular area including the feature image is not particularly limited. For example, the designation of the rectangular area including the feature image is accepted by a drag operation of the mouse 32 or the like, and the rectangular area including the feature image is included in the received rectangular area. The stored partial image may be stored in the feature image storage unit 351 of the storage device 35 as a feature image of the measurement target 20.

CPU33は、表示された低倍画像上又は高倍画像上にて、計測位置の指定を受け付ける(ステップS506)。計測位置の指定の受付方法は特に限定されるものではなく、例えばマウス32等のドラッグ操作等によりエッジ部分近傍の領域指定を受け付ける。なお、ステップS506にて公差の適正範囲の指定を受け付けても良い。公差の適正範囲の指定の受付方法は特に限定されるものではなく、例えば設定画面からキーボード31等の打鍵により指定を受け付けても良い。また、計測結果が表示された状態で、マウス32等のクリック操作等により計測位置の指定を受け付け、指定を受け付けた計測位置ごとに公差の適正範囲の指定を受け付けても良い。   The CPU 33 accepts designation of the measurement position on the displayed low-magnification image or high-magnification image (step S506). The method for accepting the designation of the measurement position is not particularly limited. For example, the designation of the area near the edge portion is accepted by a drag operation of the mouse 32 or the like. In step S506, designation of an appropriate tolerance range may be accepted. The method for accepting designation of the appropriate range of tolerance is not particularly limited. For example, designation may be accepted from the setting screen by pressing the keyboard 31 or the like. In addition, in a state where the measurement result is displayed, designation of a measurement position may be received by a click operation of the mouse 32 or the like, and designation of an appropriate range of tolerance may be accepted for each measurement position for which designation has been received.

CPU33は、指定を受け付けた特徴画像と、指定を受け付けた計測位置及び該計測位置を示す寸法線の表示位置を表す、特徴画像に対する相対位置に関する情報とを、それぞれ特徴画像記憶部351及び相対位置記憶部352に記憶する(ステップS507)。   The CPU 33 displays the feature image that has received the designation, the measurement position that has received the designation, and the information about the relative position with respect to the feature image that represents the display position of the dimension line indicating the measurement position, respectively. It memorize | stores in the memory | storage part 352 (step S507).

図7は、特徴画像及び計測位置の指定の受付方法を示す模式図である。図7(a)は、特徴画像を含む矩形領域71及び計測位置72、72、・・・の指定の受付方法を示す例示図であり、図7(b)は、指定を受け付けて特徴画像記憶部351に記憶される特徴画像の例示図であり、図7(c)は、指定を受け付けた計測位置72、72、・・・、寸法線73、73、・・・及び計測結果74、74、・・・の表示位置の指定を受け付けて相対位置記憶部352に記憶される相対位置に関する情報の例示図である。   FIG. 7 is a schematic diagram illustrating a method for accepting designation of feature images and measurement positions. 7A is an exemplary diagram showing a method for accepting designation of a rectangular area 71 including a feature image and measurement positions 72, 72,..., And FIG. 7C is an exemplary view of the feature image stored in the unit 351. FIG. 7C shows measurement positions 72, 72,..., Dimension lines 73, 73,. ,... Is an exemplary diagram of information relating to the relative position stored in the relative position storage unit 352 upon receiving designation of the display position.

図7(a)に示すように、まず矩形領域71の指定を受け付けることにより図7(b)に示すような特徴画像を切り出し、特徴画像記憶部351に記憶する。特徴画像記憶部351には、特徴画像の画像データだけではなく、計測対象物20の画像に対する矩形領域71の相対位置の座標、回転角度等も記憶される。   As shown in FIG. 7A, the feature image as shown in FIG. 7B is first cut out by receiving designation of the rectangular area 71 and stored in the feature image storage unit 351. The feature image storage unit 351 stores not only the image data of the feature image but also the coordinates of the relative position of the rectangular area 71 with respect to the image of the measurement target 20, the rotation angle, and the like.

次に、図7(a)に示すように計測位置72、72、・・・の指定を受け付けることにより、図7(c)に示すように、計測位置及び計測位置を示す寸法線73、73、・・・の表示位置を表す、特徴画像に対する相対位置に関する情報を、相対位置記憶部352に記憶する。相対位置記憶部352には、これら相対位置に関する情報だけでなく、計測位置72、72、・・・、寸法線73、73、・・・の表示位置を表す、計測対象物20の画像に対する相対位置の座標、回転角度等も記憶される。なお、計測結果を表示する計測結果表示位置74、74、・・・についても、図7(c)に示すように相対位置記憶部352に他の要素と同様に記憶しても良い。   Next, by receiving designation of the measurement positions 72, 72,... As shown in FIG. 7A, as shown in FIG. 7C, dimension lines 73, 73 indicating the measurement positions and measurement positions. ,... Are stored in the relative position storage unit 352, which represents the display positions of the feature images. In the relative position storage unit 352, not only information on these relative positions, but also relative to the image of the measurement object 20 representing the display positions of the measurement positions 72, 72,..., Dimension lines 73, 73,. The coordinates of the position, the rotation angle, etc. are also stored. Note that the measurement result display positions 74, 74,... For displaying the measurement results may be stored in the relative position storage unit 352 in the same manner as other elements as shown in FIG.

図8は、本発明の実施の形態1に係る画像計測装置1の制御ユニット3のCPU33の画像計測処理の手順を示すフローチャートである。制御ユニット3のCPU33は、新たに低倍側撮像装置26にて撮像した低倍画像の低倍画像データ、及び低倍画像と同軸で高倍側撮像装置25にて撮像した高倍画像の高倍画像データを取得する(ステップS801)。取得した両画像データは、記憶装置35に記憶される。   FIG. 8 is a flowchart showing the procedure of the image measurement process of the CPU 33 of the control unit 3 of the image measurement apparatus 1 according to the first embodiment of the present invention. The CPU 33 of the control unit 3 newly generates a low-magnification image data of a low-magnification image picked up by the low-magnification side imaging device 26 and a high-magnification image data of a high-magnification image that is coaxial with the low-magnification image and picked up by the high-magnification side imaging device 25. Is acquired (step S801). The acquired both image data are stored in the storage device 35.

CPU33は、高倍画像データが視野範囲内にて表示することが可能であるか否かを判断し(ステップS802)、CPU33が、高倍画像データが視野範囲内にて表示することが可能であると判断した場合(ステップS802:YES)、CPU33は、高倍画像データを表示装置27に表示し(ステップS803)、CPU33が、高倍画像データが視野範囲内にて表示することが不可能であると判断した場合(ステップS802:NO)、CPU33は、低倍画像データを表示装置27に表示する(ステップS804)。   The CPU 33 determines whether or not the high-magnification image data can be displayed within the visual field range (step S802), and the CPU 33 can display the high-magnification image data within the visual field range. If it is determined (step S802: YES), the CPU 33 displays the high-magnification image data on the display device 27 (step S803), and the CPU 33 determines that the high-magnification image data cannot be displayed within the visual field range. If so (step S802: NO), the CPU 33 displays the low-magnification image data on the display device 27 (step S804).

CPU33は、新たに取得した画像データと特徴画像記憶部351に記憶してある特徴画像とをマッチング処理(照合)し(ステップS805)、計測対象物20の画像の姿勢及び位置に関する情報を特定する(ステップS806)。CPU33は、相対位置記憶部352に記憶された計測位置の特徴画像に対する相対位置に関する情報に基づいて、姿勢及び位置が特定された計測対象物20の画像に対して計測位置を設定して、設定された計測位置のエッジ部分を検出する(ステップS807)。   The CPU 33 performs matching processing (collation) between the newly acquired image data and the feature image stored in the feature image storage unit 351 (step S805), and specifies information regarding the posture and position of the image of the measurement target 20. (Step S806). The CPU 33 sets and sets the measurement position for the image of the measurement object 20 whose posture and position are specified based on the information on the relative position of the measurement position relative to the feature image stored in the relative position storage unit 352. The edge portion of the measured position is detected (step S807).

図9は、特徴画像と計測対象物20の画像とのマッチング処理の例示図である。図9(a)は、新たに取得した画像データの例示図であり、図9(b)は、特徴画像記憶部351に記憶されている特徴画像の例示図である。   FIG. 9 is an exemplary diagram of a matching process between the feature image and the image of the measurement target 20. FIG. 9A is an exemplary diagram of newly acquired image data, and FIG. 9B is an exemplary diagram of a feature image stored in the feature image storage unit 351.

図9(a)に示すように、新たに計測対象物20の画像データを取得した場合、図9(b)に示す特徴画像91と一致する部分画像を取得した画像データから探索する。特徴画像91と一致する部分画像が探索された場合、該部分画像に対する矩形領域71を特定する。特徴画像記憶部351には、計測対象物20の画像に対する矩形領域71の相対位置の座標、相対的な回転角度等も記憶されており、相対位置記憶部352には、計測位置72、72、・・・、寸法線73、73、・・・の表示位置を表す、計測対象物20の画像に対する相対位置の座標、回転角度等も記憶されているので、矩形領域71が特定されることにより、計測対象物20のどの部分が計測位置であるのか正確に特定することができ、所望のエッジ部分を検出することができる。   As shown in FIG. 9A, when image data of the measurement object 20 is newly acquired, a search is performed from the acquired image data for a partial image that matches the feature image 91 shown in FIG. 9B. When a partial image that matches the feature image 91 is searched, a rectangular area 71 for the partial image is specified. The feature image storage unit 351 also stores the coordinates of the relative position of the rectangular area 71 with respect to the image of the measurement target 20, the relative rotation angle, and the like. The relative position storage unit 352 stores the measurement positions 72, 72, ..., the coordinates of the relative position with respect to the image of the measurement object 20, the rotation angle, etc., representing the display positions of the dimension lines 73, 73, ... are also stored, so that the rectangular area 71 is specified. It is possible to accurately identify which part of the measurement object 20 is the measurement position, and it is possible to detect a desired edge part.

図8に戻って、制御ユニット3のCPU33は、検出したエッジ部分に基づいて所定の物理量を計測する(ステップS808)。計測する所定の物理量とは、長さ、直径、角度等である。CPU33は、相対位置記憶部352に記憶された寸法線の表示位置を表す、特徴画像に対する相対位置に関する情報に基づいて、計測位置を示す寸法線及び計測結果を所定の位置に表示する(ステップS809)。   Returning to FIG. 8, the CPU 33 of the control unit 3 measures a predetermined physical quantity based on the detected edge portion (step S808). The predetermined physical quantity to be measured is a length, a diameter, an angle or the like. The CPU 33 displays the dimension line indicating the measurement position and the measurement result at a predetermined position based on the information regarding the relative position with respect to the feature image, which represents the display position of the dimension line stored in the relative position storage unit 352 (step S809). ).

図10は、計測位置及び寸法線の表示方法を示す模式図である。図10(a)に示すように、計測位置62、62、・・・について計測された所定の物理量、例えば長さ、直径、角度等は、特定された計測対象物20の画像の姿勢及び位置、並びに相対位置記憶部352に記憶された特徴画像に対する寸法線63、63、・・・を表示する相対位置に関する情報に基づいて、所定の位置に計測結果64として表示される。   FIG. 10 is a schematic diagram showing a display method of measurement positions and dimension lines. As shown in FIG. 10 (a), the predetermined physical quantities measured at the measurement positions 62, 62,..., For example, the length, diameter, angle, etc. are the orientation and position of the image of the specified measurement object 20. , And the relative position display unit 352 displays the dimension lines 63, 63,... With respect to the feature image, and displays the measurement result 64 at a predetermined position.

なお、計測位置62及び寸法線63の表示位置は、特徴画像との相対位置として記憶していることから、例えば図10(b)に示すように計測対象物20が任意の位置にてステージ21上の載置された場合であっても、特定された計測対象物20の姿勢及び位置に対応して計測位置62及び寸法線63の表示位置を移動及び回転させ、図10(c)に示すように見やすい位置に計測結果64を表示することができる。したがって、使用者が適当に計測対象物20をステージ21上に載置した場合であっても、計測位置62及び寸法線63を計測対象物20の画像の姿勢及び位置に合わせて移動及び回転させて表示することができ、記憶した計測位置62にて計測した計測結果64を見やすい位置に表示することができる。   In addition, since the display position of the measurement position 62 and the dimension line 63 is stored as a relative position with respect to the feature image, for example, as illustrated in FIG. Even when placed above, the display position of the measurement position 62 and the dimension line 63 is moved and rotated in accordance with the specified posture and position of the measurement object 20, as shown in FIG. Thus, the measurement result 64 can be displayed at an easily viewable position. Therefore, even when the user appropriately places the measurement object 20 on the stage 21, the measurement position 62 and the dimension line 63 are moved and rotated in accordance with the posture and position of the image of the measurement object 20. The measurement result 64 measured at the stored measurement position 62 can be displayed at a position that is easy to see.

また、相対位置記憶部352に、特徴画像に対する計測結果64を表示する相対位置に関する情報も記憶しておき、制御ユニット3のCPU33が、特定された計測対象物20の画像の姿勢及び位置、並びに特徴画像に対する計測結果64を表示する相対位置に関する情報に基づいて、計測結果64を所定の位置に表示しても良い。これにより、計測対象物20の画像の姿勢及び位置に応じて計測結果64の表示位置を変更することができる。   The relative position storage unit 352 also stores information related to the relative position at which the measurement result 64 for the feature image is displayed, and the CPU 33 of the control unit 3 determines the orientation and position of the image of the specified measurement object 20, and The measurement result 64 may be displayed at a predetermined position based on information on the relative position where the measurement result 64 for the feature image is displayed. Thereby, the display position of the measurement result 64 can be changed according to the orientation and position of the image of the measurement object 20.

このように、寸法線63及び計測結果64の表示位置が自動的に特定される場合、計測対象物20の載置方法によっては、計測結果64が表示範囲外にはみ出すおそれがある。表示範囲外にはみ出した場合、使用者は計測結果64を知ることができず、目視で確認することができない。   Thus, when the display positions of the dimension line 63 and the measurement result 64 are automatically specified, the measurement result 64 may protrude out of the display range depending on the placement method of the measurement target 20. When it protrudes outside the display range, the user cannot know the measurement result 64 and cannot confirm it visually.

そこで、本実施の形態1では、寸法線63及び/又は計測結果64を表示する位置の変更を受け付けることにより、寸法線63及び/又は計測結果64を表示範囲内へ移動させて表示するので、使用者が目視で確認することができるようになる。もちろん、CPU33が、計測結果64が表示範囲外にて表示されている部分が存在するか否かを判断し、表示範囲外にて表示されている部分が存在すると判断した場合、CPU33が、計測結果64の表示位置を表示範囲内へ移動させて表示するようにしても良い。図11は、計測結果64が表示範囲外へはみ出した場合の寸法線63及び/又は計測結果64の表示位置を変更する方法を説明する模式図である。   Therefore, in the first embodiment, the dimension line 63 and / or the measurement result 64 is moved and displayed within the display range by receiving a change in the position where the dimension line 63 and / or the measurement result 64 is displayed. The user can check visually. Of course, when the CPU 33 determines whether or not there is a portion where the measurement result 64 is displayed outside the display range, and the CPU 33 determines that there is a portion displayed outside the display range, the CPU 33 performs measurement. The display position of the result 64 may be moved and displayed within the display range. FIG. 11 is a schematic diagram illustrating a method of changing the display position of the dimension line 63 and / or the measurement result 64 when the measurement result 64 protrudes outside the display range.

図11(a)に示すように計測対象物20が表示画面上の上方に位置するように載置された場合、計測対象物20の上辺の長さを示す寸法線63及び計測結果64は、視野範囲61外の領域81にて表示され、使用者が目視で確認することができない。そこで、CPU33は、視野範囲61外にて寸法線63及び計測結果64を表示する領域81が存在するか否かを判断し、存在すると判断した場合には、図11(b)に示すように、寸法線63の高さを減少させ、計測結果64が視野範囲61内に収まるように表示位置を変更する。もちろん、使用者がマウス32等のドラッグ操作等により明示的に移動しても良い。   When the measurement object 20 is placed so as to be positioned above the display screen as shown in FIG. 11A, the dimension line 63 and the measurement result 64 indicating the length of the upper side of the measurement object 20 are: It is displayed in a region 81 outside the visual field range 61 and cannot be confirmed visually by the user. Therefore, the CPU 33 determines whether or not there is an area 81 for displaying the dimension line 63 and the measurement result 64 outside the visual field range 61. If it is determined that the area 81 is present, as shown in FIG. Then, the height of the dimension line 63 is decreased, and the display position is changed so that the measurement result 64 falls within the visual field range 61. Of course, the user may explicitly move by dragging the mouse 32 or the like.

また、計測対象物20のステージ21上の載置方法によっては、計測結果64が上下反転して表示され、計測結果64として表示された計測値が読みにくくなる場合も生じうる。そこで、本実施の形態1では、計測結果64の表示位置の傾斜角度を検出し、検出した傾斜角度が所定角度以上である場合には、計測結果64を上下反転して表示することにより、使用者にとって常に確認し易い計測値として計測結果64を表示することができるようにした。図12は、計測結果64を上下反転して表示する場合の表示位置を変更する方法を説明する模式図である。   Further, depending on the placement method of the measurement object 20 on the stage 21, the measurement result 64 may be displayed upside down, and the measurement value displayed as the measurement result 64 may be difficult to read. Therefore, in the first embodiment, the inclination angle of the display position of the measurement result 64 is detected, and when the detected inclination angle is equal to or larger than the predetermined angle, the measurement result 64 is displayed upside down and used. The measurement result 64 can be displayed as a measurement value that is always easy for a person to confirm. FIG. 12 is a schematic diagram for explaining a method of changing the display position when displaying the measurement result 64 upside down.

図12(a)に示すように、例えば計測対象物20の画像が、記憶した計測対象物20の特徴画像に対して、画面に向かって時計回り又は反時計回りに90度以上回転した場合、計測結果64の数値は上下逆に表示されることから、使用者にとっては確認しづらい表示態様となる。そこで、CPU33が、計測対象物20の画像が、画面に向かって時計回り又は反時計回りに90度以上回転していると判断した場合、図12(b)に示すように計測結果64を上下反転して表示することにより、使用者が計測結果64を目視で確認しやすくなる。   As shown in FIG. 12A, for example, when the image of the measurement object 20 is rotated 90 degrees or more clockwise or counterclockwise toward the screen with respect to the stored characteristic image of the measurement object 20, Since the numerical value of the measurement result 64 is displayed upside down, the display mode is difficult for the user to confirm. Therefore, when the CPU 33 determines that the image of the measurement target 20 is rotated 90 degrees or more clockwise or counterclockwise toward the screen, the measurement result 64 is moved up and down as shown in FIG. By inverting and displaying, the user can easily confirm the measurement result 64 visually.

もちろん計測結果64を上下反転して表示することに限定されるものではなく、使用者が確認し易い表示態様で計測結果64を表示することができさえすれば良い。例えば図12(c)に示すように、計測結果64を上下反転するのではなく、画面の横方向に整列して表示しても良い。   Of course, the measurement result 64 is not limited to being displayed upside down, and it is only necessary to display the measurement result 64 in a display mode that is easy for the user to confirm. For example, as shown in FIG. 12C, the measurement result 64 may be displayed in an aligned manner in the horizontal direction of the screen instead of being inverted upside down.

さらに、計測対象物20の画像自体も回転させて、計測結果64を表示しても良い。すなわち図12(d)に示すように、計測対象物20の画像と寸法線63及び計測結果64を一体として相対位置関係を記憶しておき、CPU33が、計測対象物20の画像が記憶した計測対象物20の特徴画像に対して画面に向かって時計回り又は反時計回りに90度以上回転していると判断した場合、記憶してある特徴画像と同じ方向まで計測対象物20の画像、寸法線63、計測結果64を一体として回転させることにより、より確認し易い表示態様で計測結果64を表示することができる。   Furthermore, the measurement result 64 may be displayed by rotating the image of the measurement object 20 itself. That is, as shown in FIG. 12D, the relative positional relationship is stored by integrating the image of the measurement object 20, the dimension line 63, and the measurement result 64, and the CPU 33 stores the measurement image stored in the image of the measurement object 20. If it is determined that the feature image of the object 20 is rotated 90 degrees or more clockwise or counterclockwise toward the screen, the image and dimensions of the measurement object 20 to the same direction as the stored feature image By rotating the line 63 and the measurement result 64 as a unit, the measurement result 64 can be displayed in a display mode that is easier to confirm.

その他、CPU33が、計測結果64が公差範囲内であるか否かを判定し、CPU33が、公差範囲内であると判定した計測結果64については、計測結果64の表示態様を変更しても良い。例えば表示色を変更する、強調表示する等の表示態様の変更により、公差範囲内に収まらなかった計測結果64を使用者が目視で確認することができる。なお、公差範囲内であるか否かを判定する対象となる計測結果64について計測結果64の表示態様を変更しても良いことは言うまでもない。   In addition, the CPU 33 may determine whether or not the measurement result 64 is within the tolerance range, and the display form of the measurement result 64 may be changed for the measurement result 64 that the CPU 33 has determined to be within the tolerance range. . For example, by changing the display mode such as changing the display color or highlighting, the user can visually confirm the measurement result 64 that is not within the tolerance range. Needless to say, the display mode of the measurement result 64 may be changed with respect to the measurement result 64 that is a target for determining whether or not it is within the tolerance range.

以上のように本実施の形態1によれば、指定を受け付けた特徴画像と、計測位置及び該計測位置を示す寸法線の表示位置を表す、特徴画像に対する相対位置に関する情報として記憶しておくことにより、計測対象物20の画像と特徴画像とをマッチング処理して、計測対象物20の画像の姿勢及び位置、並びに計測位置62、62、・・・及び該計測位置62、62、・・・を示す寸法線63、63、・・・の表示位置を表す、計測対象物20の画像に対する相対位置として定めることができる。したがって、計測対象物20の画像の姿勢、位置等に左右されず、計測結果64、64、・・・が計測対象物20のどの部分の計測値であるのかを使用者が目視で確認することができる。   As described above, according to the first embodiment, it is stored as information about the relative position with respect to the feature image that represents the feature image that has received the designation, the measurement position, and the display position of the dimension line indicating the measurement position. Thus, the image of the measurement object 20 and the feature image are matched, and the posture and position of the image of the measurement object 20 and the measurement positions 62, 62,... And the measurement positions 62, 62,. Can be determined as relative positions with respect to the image of the measuring object 20, which represent the display positions of the dimension lines 63, 63,. Therefore, the user visually confirms which part of the measurement object 20 the measurement results 64, 64,... Are the measurement values regardless of the orientation, position, etc. of the image of the measurement object 20. Can do.

(実施の形態2)
本発明の実施の形態2に係る画像計測装置1の構成は、実施の形態1と同様であることから、同一の符号を付することにより詳細な説明を省略する。本実施の形態2は、表示された計測位置を示す寸法線及び計測結果の表示位置に関する情報を、計測対象物20の画像の姿勢及び位置に対応付けて記憶しておき、計測対象物20の画像を、表示した寸法線、計測結果、計測の基礎となった計測位置に応じて表示する点で実施の形態1とは相違する。
(Embodiment 2)
Since the configuration of the image measuring apparatus 1 according to the second embodiment of the present invention is the same as that of the first embodiment, detailed description thereof is omitted by attaching the same reference numerals. In the second embodiment, information on the displayed dimension line indicating the measurement position and the display position of the measurement result is stored in association with the orientation and position of the image of the measurement object 20, and the measurement object 20 The difference from Embodiment 1 is that the image is displayed according to the displayed dimension line, measurement result, and measurement position that is the basis of measurement.

図13は、本発明の実施の形態2に係る画像計測装置1の制御ユニット3の構成を示すブロック図である。図13に示すように本実施の形態2に係る画像計測装置1の制御ユニット3のハードウェア構成も、実施の形態1と同様であることから、同一の符号を付することにより、詳細な説明は省略する。   FIG. 13 is a block diagram showing the configuration of the control unit 3 of the image measurement apparatus 1 according to Embodiment 2 of the present invention. As shown in FIG. 13, the hardware configuration of the control unit 3 of the image measurement device 1 according to the second embodiment is also the same as that of the first embodiment. Is omitted.

記憶装置35は、特徴画像記憶部351、相対位置記憶部352に加えて、計測結果表示位置記憶部353を備えている。計測結果表示位置記憶部353は、計測対象物20の画像の姿勢、位置、計測位置及び寸法線の表示位置を表す、計測対象物20の画像に対する相対位置に関する情報を記憶する。記憶した相対位置に関する情報に基づいて、計測対象物20の画像の姿勢及び位置に関する情報が特定された時点で、対応する計測位置及び寸法線を表示する相対位置が定まる。もちろん計測結果を表示する位置についても相対位置に関する情報を記憶しても良い。   The storage device 35 includes a measurement result display position storage unit 353 in addition to the feature image storage unit 351 and the relative position storage unit 352. The measurement result display position storage unit 353 stores information related to the relative position of the measurement target object 20 with respect to the image, which represents the orientation of the image of the measurement target object 20, the position, the measurement position, and the display position of the dimension line. Based on the stored information on the relative position, when the information on the posture and position of the image of the measurement target 20 is specified, the corresponding measurement position and the relative position for displaying the dimension line are determined. Of course, information regarding the relative position may be stored for the position where the measurement result is displayed.

図14は、本発明の実施の形態2に係る画像計測装置1の制御ユニット3の機能を示す機能ブロック図である。図14において、画像データ取得部331は、低倍側撮像装置26にて撮像した低倍画像の低倍画像データ、及び低倍画像と同軸で高倍側撮像装置25にて撮像した高倍画像の高倍画像データを取得する。取得した両画像データは、記憶装置35の特徴画像記憶部351に記憶される。   FIG. 14 is a functional block diagram showing functions of the control unit 3 of the image measurement apparatus 1 according to Embodiment 2 of the present invention. In FIG. 14, the image data acquisition unit 331 performs high-magnification of the low-magnification image data of the low-magnification image captured by the low-magnification side imaging device 26 and the high-magnification image that is coaxial with the low-magnification image and captured by the high-magnification side imaging device 25. Get image data. Both acquired image data are stored in the feature image storage unit 351 of the storage device 35.

表示部332は、取得した低倍画像データ又は高倍画像データを表示装置27に表示し、特徴画像指定受付部333は、表示装置27に表示されている計測対象物20の画像に対して、特徴的な部分を示す画像と考えられる部分画像の領域指定を受け付ける。領域指定の受付方法は特に限定されるものではなく、例えばマウス32等のドラッグ操作等により、特徴的な部分を示す画像と考えられる部分画像を含む矩形領域の指定を受け付け、指定を受け付けた矩形領域内に含まれる部分画像は、計測対象物20の特徴画像として記憶装置35の特徴画像記憶部351に記憶される。   The display unit 332 displays the acquired low-magnification image data or high-magnification image data on the display device 27, and the feature image designation receiving unit 333 performs a feature on the image of the measurement target 20 displayed on the display device 27. An area designation of a partial image that is considered to be an image showing a specific part is accepted. The method for accepting the designation of the area is not particularly limited. For example, by the drag operation of the mouse 32 or the like, the designation of the rectangular area including the partial image that is considered to be an image showing the characteristic part is accepted, and the rectangle that has received the designation. The partial image included in the region is stored in the feature image storage unit 351 of the storage device 35 as a feature image of the measurement target 20.

計測位置指定受付部334は、表示装置27に表示されている計測対象物20の画像に対して、計測位置の指定を受け付ける。計測位置の指定の受付方法は特に限定されるものではなく、例えばマウス32等のドラッグ操作等によりエッジ部分近傍の領域指定を受け付ける。なお、公差の適正範囲の指定を受け付ける公差指定受付部346を備えても良い。公差の適正範囲の指定の受付方法は特に限定されるものではなく、例えば設定画面からキーボード31等の打鍵により指定を受け付けても良い。   The measurement position designation accepting unit 334 accepts designation of the measurement position for the image of the measurement target 20 displayed on the display device 27. The method for accepting the designation of the measurement position is not particularly limited. For example, the designation of the area near the edge portion is accepted by a drag operation of the mouse 32 or the like. In addition, you may provide the tolerance designation | designated reception part 346 which receives designation | designated of the appropriate range of tolerance. The method for accepting designation of the appropriate range of tolerance is not particularly limited. For example, designation may be accepted from the setting screen by pressing the keyboard 31 or the like.

姿勢/位置特定部335は、取得した計測対象物20の画像データと特徴画像記憶部351に記憶してある特徴画像とをマッチング処理(照合)して、計測対象物20の画像の姿勢及び位置に関する情報を特定する。エッジ部分検出部336は、相対位置記憶部352に記憶された特徴画像に対する計測位置の相対位置に関する情報に基づいて、姿勢及び位置が特定された計測対象物20の画像に対して計測位置を設定して、設定された計測位置のエッジ部分を検出し、計測部337は、特定された計測対象物20の画像の姿勢及び位置に関する情報、及び検出されたエッジ部分に基づいて、所定の物理量を計測する。   The posture / position specifying unit 335 performs matching processing (collation) between the acquired image data of the measurement target 20 and the feature image stored in the feature image storage unit 351, and the posture and position of the image of the measurement target 20 Identify information about. The edge part detection unit 336 sets the measurement position for the image of the measurement object 20 whose posture and position are specified based on the information about the relative position of the measurement position with respect to the feature image stored in the relative position storage unit 352. Then, the edge part of the set measurement position is detected, and the measurement unit 337 calculates a predetermined physical quantity based on the information on the posture and position of the image of the specified measurement object 20 and the detected edge part. measure.

計測結果表示部338は、相対位置記憶部352に記憶された計測位置及び寸法線の表示位置を表す、特徴画像に対する相対位置に関する情報に基づいて、計測位置を示す寸法線及び計測結果を所定の位置に表示する。そして、表示されている計測対象物20の特徴画像に対応付けて、寸法線、計測結果の表示位置を表す、計測対象物20に対する相対位置に関する情報を計測結果表示位置記憶部353に記憶する。   The measurement result display unit 338 displays the measurement line and the measurement result indicating the measurement position and the measurement result based on the information on the relative position with respect to the feature image, which represents the display position of the measurement position and the dimension line stored in the relative position storage unit 352. Display in position. Then, the measurement result display position storage unit 353 stores information on the relative position with respect to the measurement object 20, which represents the display position of the dimension line and the measurement result, in association with the feature image of the measurement object 20 being displayed.

図15は、本発明の実施の形態2に係る画像計測装置1の制御ユニット3のCPU33の画像計測処理の手順を示すフローチャートである。制御ユニット3のCPU33は、相対位置記憶部352に記憶された寸法線の表示位置を表す、特徴画像に対する相対位置に関する情報に基づいて、計測位置を示す寸法線及び計測結果を所定の位置に表示し(図8のステップS809)、表示した寸法線、計測結果及び該計測対象物20の画像の表示位置を、計測位置及び寸法線の表示位置を表す、計測対象物20の画像に対する相対位置に関する情報として計測結果表示位置記憶部353に記憶する(ステップS1501)。   FIG. 15 is a flowchart showing a procedure of image measurement processing of the CPU 33 of the control unit 3 of the image measurement apparatus 1 according to the second embodiment of the present invention. The CPU 33 of the control unit 3 displays the dimension line indicating the measurement position and the measurement result at a predetermined position based on the information regarding the relative position with respect to the feature image, which represents the display position of the dimension line stored in the relative position storage unit 352. (Step S809 in FIG. 8), the displayed dimension line, the measurement result, and the display position of the image of the measurement object 20 are related to the relative position to the image of the measurement object 20 that represents the measurement position and the display position of the dimension line. The information is stored in the measurement result display position storage unit 353 as information (step S1501).

CPU33は、新たに低倍側撮像装置26にて撮像した低倍画像の低倍画像データ、及び低倍画像と同軸で高倍側撮像装置25にて撮像した高倍画像の高倍画像データを取得する(ステップS1502)。取得した両画像データは、記憶装置35の特徴画像記憶部351に記憶される。   The CPU 33 acquires low-magnification image data of a low-magnification image newly captured by the low-magnification side imaging device 26 and high-magnification image data of a high-magnification image that is coaxial with the low-magnification image and captured by the high-magnification imaging device 25 ( Step S1502). Both acquired image data are stored in the feature image storage unit 351 of the storage device 35.

CPU33は、高倍画像データが視野範囲内にて表示することが可能であるか否かを判断し(ステップS1503)、CPU33が、高倍画像データが視野範囲内にて表示することが可能であると判断した場合(ステップS1503:YES)、CPU33は、高倍画像データを表示装置27に表示し(ステップS1504)、CPU33が、高倍画像データが視野範囲内にて表示することが不可能であると判断した場合(ステップS1503:NO)、CPU33は、低倍画像データを表示装置27に表示する(ステップS1505)。   The CPU 33 determines whether or not the high-magnification image data can be displayed within the visual field range (step S1503), and the CPU 33 can display the high-magnification image data within the visual field range. If it is determined (step S1503: YES), the CPU 33 displays the high-magnification image data on the display device 27 (step S1504), and the CPU 33 determines that the high-magnification image data cannot be displayed within the visual field range. If so (step S1503: NO), the CPU 33 displays the low-magnification image data on the display device 27 (step S1505).

CPU33は、新たに取得した画像データと特徴画像記憶部351に記憶してある特徴画像とをマッチング処理(照合)し(ステップS1506)、計測対象物20の画像の姿勢及び位置に関する情報を特定する(ステップS1507)。CPU33は、相対位置記憶部352に記憶された計測位置の特徴画像に対する相対位置に関する情報に基づいて、姿勢及び位置が特定された計測対象物20の画像に対して計測位置を設定して、設定された計測位置のエッジ部分を検出する(ステップS1508)。   The CPU 33 performs matching processing (collation) between the newly acquired image data and the feature image stored in the feature image storage unit 351 (step S1506), and specifies information on the posture and position of the image of the measurement target 20. (Step S1507). The CPU 33 sets and sets the measurement position for the image of the measurement object 20 whose posture and position are specified based on the information on the relative position of the measurement position relative to the feature image stored in the relative position storage unit 352. The edge portion of the measured position is detected (step S1508).

CPU33は、検出したエッジ部分に基づいて所定の物理量を計測する(ステップS1509)。計測する所定の物理量とは、長さ、直径、角度等である。CPU33は、計測結果表示位置記憶部353に記憶された計測位置及び寸法線の表示位置を表す、計測対象物20の画像に対する相対位置に関する情報に基づいて、計測位置を示す寸法線、計測結果及び計測対象物20の画像を所定の位置に表示する(ステップS1510)。   The CPU 33 measures a predetermined physical quantity based on the detected edge portion (step S1509). The predetermined physical quantity to be measured is a length, a diameter, an angle or the like. The CPU 33 represents the measurement position and the display position of the dimension line stored in the measurement result display position storage unit 353, and the dimension line indicating the measurement position, the measurement result, and the information on the relative position of the measurement target 20 with respect to the image. An image of the measurement object 20 is displayed at a predetermined position (step S1510).

図16は、寸法線及び計測結果の表示方法を示す模式図である。図16(a)に示すように、計測された所定の物理量、例えば長さ、角度、直径等は、計測対象物20の画像の姿勢及び位置、並びに相対位置記憶部352に記憶した、計測対象物20の画像に対する計測位置(計測領域)62及び寸法線63を表示する相対位置に関する情報に基づいて、所定の位置に計測結果64として表示される。   FIG. 16 is a schematic diagram illustrating a method of displaying dimension lines and measurement results. As shown in FIG. 16A, the measured physical quantity, for example, the length, angle, diameter, etc., is stored in the orientation and position of the image of the measurement object 20 and the relative position storage unit 352. Based on the measurement position (measurement region) 62 with respect to the image of the object 20 and information on the relative position at which the dimension line 63 is displayed, the measurement result 64 is displayed at a predetermined position.

次に、表示してある寸法線63、計測位置62、好ましくは計測結果64の表示位置65を計測対象物20の画像との相対位置として記憶する。例えば図16(b)に示すように、図16(a)から計測対象物20を除き、計測結果64の表示を除いた画面イメージとして、計測結果表示位置記憶部353に記憶する。   Next, the displayed dimension line 63 and measurement position 62, preferably the display position 65 of the measurement result 64, are stored as relative positions with respect to the image of the measurement object 20. For example, as shown in FIG. 16B, the measurement target 20 is removed from FIG. 16A and the measurement result display position storage unit 353 stores the screen image excluding the display of the measurement result 64.

そして、図16(c)に示すように、計測対象物20が任意の位置にてステージ21上に載置された場合、計測対象物20の姿勢及び位置を特定して、対応する特徴画像及び特徴画像に対応する寸法線63、計測位置62、好ましくは計測結果64の表示位置65に合わせて、計測対象物20の画像自体を移動及び回転して表示させる。すなわち、図16(d)に示すように、特徴画像に計測対象物20の画像を重ね合わせるように計測対象物20の画像を移動及び回転させ、記憶した計測位置62にてエッジ部分を自動検出して所定の物理量を自動計測して、計測結果64として表示位置65に表示する。   And as shown in FIG.16 (c), when the measurement target object 20 is mounted on the stage 21 in arbitrary positions, the attitude | position and position of the measurement target object 20 are specified, and the corresponding feature image and The image itself of the measurement object 20 is moved and rotated in accordance with the dimension line 63 corresponding to the feature image and the measurement position 62, preferably the display position 65 of the measurement result 64, and displayed. That is, as shown in FIG. 16D, the image of the measurement object 20 is moved and rotated so that the image of the measurement object 20 is superimposed on the feature image, and the edge portion is automatically detected at the stored measurement position 62. Then, a predetermined physical quantity is automatically measured and displayed as a measurement result 64 at the display position 65.

以上のように本実施の形態2によれば、計測対象物20がどのような角度でステージ21上に載置された場合であっても、計測結果表示位置記憶部353に記憶した計測位置及び寸法線の表示位置を表す、計測対象物20の画像に対する相対位置に関する情報に基づいて計測対象物20の画像を回転させ、計測された計測結果を所定の位置に表示することができる。また、同じ計測対象物20については、新たに計測位置の指定を受け付けることなく、必要な物理量を自動的に計測することも可能となる。   As described above, according to the second embodiment, the measurement position stored in the measurement result display position storage unit 353 and the measurement object 20 are placed on the stage 21 at any angle. The image of the measurement target 20 can be rotated based on the information on the relative position of the measurement target 20 with respect to the image representing the display position of the dimension line, and the measured measurement result can be displayed at a predetermined position. Further, with respect to the same measurement object 20, it is possible to automatically measure a necessary physical quantity without receiving a new measurement position designation.

なお、本発明は上記実施の形態1及び2に限定されるものではなく、本発明の趣旨の範囲内であれば多種の変形、置換等が可能であることは言うまでもない。例えば、画像計測装置1が、本体部分2と外部コンピュータとで構成されており、本体部分2にて撮像して取得された画像データを外部コンピュータにて演算処理して、所望の形状の寸法等を計測しても良い。また、制御ユニット3を本体部分2に内蔵しても良いことは言うまでもない。   The present invention is not limited to Embodiments 1 and 2 described above, and it goes without saying that various modifications and replacements are possible within the scope of the present invention. For example, the image measuring apparatus 1 includes a main body portion 2 and an external computer. The image data obtained by capturing the image in the main body portion 2 is processed by an external computer to obtain a desired shape dimension and the like. May be measured. Needless to say, the control unit 3 may be built in the main body 2.

1 画像計測装置
2 本体部分
3 制御ユニット
20 計測対象物
21 ステージ
25 高倍側撮像装置
26 低倍側撮像装置
27 表示装置
31 キーボード
32 マウス
33 CPU
34 RAM
35 記憶装置
36 通信装置
37 内部バス
351 特徴画像記憶部
352 相対位置記憶部
353 計測結果表示位置記憶部
DESCRIPTION OF SYMBOLS 1 Image measuring device 2 Main body part 3 Control unit 20 Measurement object 21 Stage 25 High magnification side imaging device 26 Low magnification side imaging device 27 Display device 31 Keyboard 32 Mouse 33 CPU
34 RAM
35 storage device 36 communication device 37 internal bus 351 feature image storage unit 352 relative position storage unit 353 measurement result display position storage unit

Claims (9)

計測対象物を載置するステージと対向して、計測対象物の画像を取得する撮像手段が配置してある画像計測装置において、
前記撮像手段で取得した前記計測対象物の画像を表示する表示手段と、
表示された画像上の任意の部分画像を特徴画像として指定を受け付ける特徴画像指定受付段と、
表示された画像上で、計測対象物の計測位置の指定を受け付ける計測位置指定受付手段と、
前記特徴画像指定受付手段で指定を受け付けた特徴画像と、前記計測位置指定受付手段で指定を受け付けた計測位置及び該計測位置を示す寸法線を表示する表示位置を表す、前記特徴画像に対する相対位置に関する情報とを記憶する相対位置記憶手段と、
前記撮像手段により新たに取得された計測対象物の画像と記憶してある特徴画像とを照合し、新たに取得した計測対象物の画像の姿勢及び位置に関する情報を特定する姿勢/位置特定手段と、
前記相対位置記憶手段に記憶された特徴画像に対する計測位置の相対位置に関する情報に基づいて、姿勢及び位置が特定された計測対象物の画像に対して計測位置を設定し、該計測位置のエッジ部分を検出するエッジ部分検出手段と、
検出したエッジ部分に基づいて所定の物理量を計測する計測手段と、
前記相対位置記憶手段に記憶された寸法線の表示位置を表す、特徴画像に対する相対位置に関する情報に基づいて、計測位置を示す寸法線及び計測結果を所定の位置に表示する計測結果表示手段と
を備えることを特徴とする画像計測装置。
In the image measuring device in which an imaging means for acquiring an image of the measurement object is arranged opposite to the stage on which the measurement object is placed,
Display means for displaying an image of the measurement object acquired by the imaging means;
A feature image designation receiving stage for accepting designation as an arbitrary partial image on the displayed image as a feature image;
A measurement position designation accepting means for accepting designation of a measurement position of the measurement object on the displayed image;
Relative position with respect to the feature image that represents a feature image that has been designated by the feature image designation accepting means, a measurement position that has been designated by the measurement position designation accepting means, and a display position that displays a dimension line indicating the measurement position. Relative position storage means for storing information about,
A posture / position specifying means for collating the image of the measurement object newly acquired by the imaging means with the stored feature image and specifying information relating to the posture and position of the image of the newly acquired measurement object; ,
Based on the information on the relative position of the measurement position with respect to the feature image stored in the relative position storage means, the measurement position is set for the image of the measurement object whose posture and position are specified, and the edge portion of the measurement position Edge portion detecting means for detecting
A measuring means for measuring a predetermined physical quantity based on the detected edge portion;
Measurement result display means for displaying a dimension line indicating a measurement position and a measurement result at a predetermined position based on information on a relative position with respect to a feature image, which represents a display position of the dimension line stored in the relative position storage means. An image measuring device comprising:
前記相対位置記憶手段は、
前記計測結果を表示する表示位置も前記特徴画像に対する相対位置に関する情報として記憶するようにしてあり、
前記計測結果表示手段は、前記相対位置記憶手段に記憶された特徴画像に対する前記計測結果を表示する表示位置の相対位置に関する情報に基づいて、前記計測結果を所定の位置に表示するようにしてあることを特徴とする請求項1記載の画像計測装置。
The relative position storage means includes
The display position for displaying the measurement result is also stored as information on the relative position with respect to the feature image,
The measurement result display means displays the measurement result at a predetermined position based on information on a relative position of a display position for displaying the measurement result with respect to the feature image stored in the relative position storage means. The image measuring device according to claim 1.
前記寸法線及び/又は前記計測結果を表示する位置の変更を受け付ける表示位置変更手段を備えることを特徴とする請求項1又は2記載の画像計測装置。 The image measuring apparatus according to claim 1, further comprising a display position changing unit that receives a change in a position for displaying the dimension line and / or the measurement result. 所定の公差範囲内であるか否かを判定する対象となる前記計測結果の指定を受け付ける計測結果指定受付手段と、
該計測結果指定受付手段で指定を受け付けた計測結果の表示態様を変更する表示態様変更手段と
を備えることを特徴とする請求項1乃至3のいずれか一項に記載の画像計測装置。
Measurement result designation accepting means for accepting designation of the measurement result as a target for determining whether or not it is within a predetermined tolerance range;
The image measurement apparatus according to claim 1, further comprising: a display mode changing unit that changes a display mode of the measurement result received by the measurement result specification receiving unit.
前記計測結果指定受付手段で指定を受け付けた計測結果が所定の公差範囲内であるか否かを判定する計測結果判定手段を備え、
前記表示態様変更手段は、該計測結果判定手段で所定の公差範囲内であると判定された場合、前記計測結果の表示態様を変更するようにしてあることを特徴とする請求項4記載の画像計測装置。
A measurement result determination unit that determines whether the measurement result received by the measurement result specification reception unit is within a predetermined tolerance range;
5. The image according to claim 4, wherein the display mode changing unit changes the display mode of the measurement result when the measurement result determination unit determines that the measurement result is within a predetermined tolerance range. Measuring device.
前記計測結果が表示範囲外にて表示されている部分が存在するか否かを判断する表示状態判断手段を備え、
前記計測結果表示手段は、該表示状態判断手段で表示範囲外にて表示されている部分が存在すると判断した場合、前記計測結果の表示位置を表示範囲内へ移動させて表示するようにしてあることを特徴とする請求項1乃至5のいずれか一項に記載の画像計測装置。
A display state determining means for determining whether or not there is a portion where the measurement result is displayed outside the display range;
The measurement result display means moves the display position of the measurement result into the display range and displays it when it is determined by the display state determination means that there is a portion displayed outside the display range. The image measurement device according to claim 1, wherein the image measurement device is a device.
前記計測結果の表示位置の傾斜角度を検出する表示角度検出手段と、
検出した傾斜角度が所定角度以上であるか否かを判断する傾斜角度判断手段と
を備え、
前記計測結果表示手段は、該傾斜角度判断手段で傾斜角度が所定角度以上であると判断した場合、前記計測結果を上下反転して表示するようにしてあることを特徴とする請求項1乃至6のいずれか一項に記載の画像計測装置。
Display angle detection means for detecting the tilt angle of the display position of the measurement result;
An inclination angle determining means for determining whether or not the detected inclination angle is a predetermined angle or more,
7. The measurement result display means displays the measurement result upside down when the inclination angle determination means determines that the inclination angle is equal to or greater than a predetermined angle. The image measurement device according to any one of the above.
表示された計測位置を示す寸法線及び計測結果の表示位置を表す、計測対象物の画像に対する相対位置に関する情報を、計測対象物の画像の姿勢及び位置に対応付けて記憶する計測結果表示位置記憶手段を備え、
前記計測結果表示手段は、前記計測結果表示位置記憶手段に記憶された寸法線及び計測結果の表示位置を表す、計測対象物の画像に対する相対位置に関する情報に基づいて、前記姿勢/位置特定手段で特定した計測対象物の画像の姿勢及び位置に関する情報を変更して表示するようにしてあることを特徴とする請求項1記載の画像計測装置。
Measurement result display position memory for storing information on the relative position of the measurement object image relative to the image of the measurement object, which represents the displayed measurement line and the display position of the measurement result, in association with the posture and position of the image of the measurement object With means,
The measurement result display means is the posture / position specifying means based on information on a relative position with respect to the image of the measurement object that represents the dimension line stored in the measurement result display position storage means and the display position of the measurement result. The image measurement apparatus according to claim 1, wherein information relating to the posture and position of the image of the specified measurement object is changed and displayed.
計測対象物を載置するステージと対向して、計測対象物の画像を取得する撮像手段が配置してある画像計測装置で実行することが可能なコンピュータプログラムにおいて、
前記画像計測装置を、
前記撮像手段で取得した前記計測対象物の画像を表示する表示手段、
表示された画像上の任意の部分画像を特徴画像として指定を受け付ける特徴画像指定受付段、
表示された画像上で、計測対象物の計測位置の指定を受け付ける計測位置指定受付手段、
前記特徴画像指定受付手段で指定を受け付けた特徴画像と、前記計測位置指定受付手段で指定を受け付けた計測位置及び該計測位置を示す寸法線を表示する表示位置を表す、前記特徴画像に対する相対位置に関する情報とを記憶する相対位置記憶手段、
前記撮像手段により新たに取得された計測対象物の画像と記憶してある特徴画像とを照合し、新たに取得した計測対象物の画像の姿勢及び位置に関する情報を特定する姿勢/位置特定手段、
前記相対位置記憶手段に記憶された特徴画像に対する計測位置の相対位置に関する情報に基づいて、姿勢及び位置が特定された計測対象物の画像に対して計測位置を設定し、該計測位置のエッジ部分を検出するエッジ部分検出手段、
検出したエッジ部分に基づいて所定の物理量を計測する計測手段、及び
前記相対位置記憶手段に記憶された寸法線の表示位置を表す、特徴画像に対する相対位置に関する情報に基づいて、計測位置を示す寸法線及び計測結果を所定の位置に表示する計測結果表示手段
として機能させることを特徴とするコンピュータプログラム。
In a computer program that can be executed by an image measurement apparatus in which an imaging unit that acquires an image of a measurement object is arranged opposite to a stage on which the measurement object is placed,
The image measuring device;
Display means for displaying an image of the measurement object acquired by the imaging means;
A feature image designation receiving stage for accepting designation as an arbitrary partial image on the displayed image as a feature image;
A measurement position designation accepting means for accepting designation of the measurement position of the measurement object on the displayed image;
Relative position with respect to the feature image that represents a feature image that has been designated by the feature image designation accepting means, a measurement position that has been designated by the measurement position designation accepting means, and a display position that displays a dimension line indicating the measurement position. Relative position storage means for storing information on,
A posture / position specifying means for collating the image of the measurement object newly acquired by the imaging means with the stored feature image and specifying information on the posture and position of the image of the measurement object newly acquired;
Based on the information on the relative position of the measurement position with respect to the feature image stored in the relative position storage means, the measurement position is set for the image of the measurement object whose posture and position are specified, and the edge portion of the measurement position Edge part detecting means for detecting,
A dimension indicating a measurement position based on information related to a relative position with respect to a feature image, which represents a display position of a dimension line stored in the relative position storage means, and a measurement unit that measures a predetermined physical quantity based on the detected edge portion A computer program which functions as a measurement result display means for displaying a line and a measurement result at a predetermined position.
JP2009013346A 2009-01-23 2009-01-23 Image measuring apparatus and computer program Active JP5095644B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2009013346A JP5095644B2 (en) 2009-01-23 2009-01-23 Image measuring apparatus and computer program
US12/628,430 US8233665B2 (en) 2009-01-23 2009-12-01 Image measuring apparatus and computer program
CN2010100028259A CN101832763B (en) 2009-01-23 2010-01-18 Image measuring apparatus and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009013346A JP5095644B2 (en) 2009-01-23 2009-01-23 Image measuring apparatus and computer program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2012206392A Division JP5531071B2 (en) 2012-09-19 2012-09-19 Image measuring apparatus and computer program

Publications (3)

Publication Number Publication Date
JP2010169584A JP2010169584A (en) 2010-08-05
JP2010169584A5 JP2010169584A5 (en) 2011-11-04
JP5095644B2 true JP5095644B2 (en) 2012-12-12

Family

ID=42354194

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009013346A Active JP5095644B2 (en) 2009-01-23 2009-01-23 Image measuring apparatus and computer program

Country Status (3)

Country Link
US (1) US8233665B2 (en)
JP (1) JP5095644B2 (en)
CN (1) CN101832763B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014197004A (en) * 2014-04-21 2014-10-16 株式会社キーエンス Image measurement device

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5525953B2 (en) 2010-07-29 2014-06-18 株式会社キーエンス Dimension measuring apparatus, dimension measuring method and program for dimension measuring apparatus
JP5597056B2 (en) 2010-08-02 2014-10-01 株式会社キーエンス Image measuring apparatus, image measuring method, and program for image measuring apparatus
JP5547105B2 (en) * 2011-02-01 2014-07-09 株式会社キーエンス Dimension measuring apparatus, dimension measuring method and program for dimension measuring apparatus
JP5679560B2 (en) 2011-02-01 2015-03-04 株式会社キーエンス Dimension measuring apparatus, dimension measuring method and program for dimension measuring apparatus
JP5865666B2 (en) * 2011-10-19 2016-02-17 株式会社キーエンス Image processing apparatus and image processing program
TWI462027B (en) * 2011-12-02 2014-11-21 Hon Hai Prec Ind Co Ltd Image processing device and image processing method thereof
US8570537B1 (en) 2012-10-26 2013-10-29 Nissan North America, Inc. Method for bore chamfer measurement
JP6325877B2 (en) * 2014-04-18 2018-05-16 株式会社キーエンス Optical coordinate measuring device
JP6348832B2 (en) * 2014-12-12 2018-06-27 ヤマハ発動機株式会社 Component mounting apparatus, surface mounter, and component thickness detection method
KR102377626B1 (en) * 2015-03-27 2022-03-24 주식회사바텍 System of processing X-ray image and method of using the same
JP6474334B2 (en) 2015-07-30 2019-02-27 株式会社キーエンス Image inspection apparatus, image inspection method, and image inspection program
WO2017183211A1 (en) 2016-04-22 2017-10-26 株式会社ニコン Image measurement method, image measurement program, image measurement device, and object manufacture method
DE102016107900B4 (en) * 2016-04-28 2020-10-08 Carl Zeiss Industrielle Messtechnik Gmbh Method and device for determining the edge of a measurement object in optical measurement technology
WO2018117022A1 (en) * 2016-12-20 2018-06-28 株式会社資生堂 Application control device, application device, application control method, and recording medium
JP7143057B2 (en) 2016-12-28 2022-09-28 株式会社キーエンス Three-dimensional measuring device
JP7188870B2 (en) * 2017-05-31 2022-12-13 株式会社キーエンス Image inspection equipment
US10885622B2 (en) 2018-06-29 2021-01-05 Photogauge, Inc. System and method for using images from a commodity camera for object scanning, reverse engineering, metrology, assembly, and analysis
JP7154069B2 (en) 2018-08-31 2022-10-17 株式会社キーエンス Image inspection device
JP7152223B2 (en) 2018-08-31 2022-10-12 株式会社キーエンス Image measuring device
JP7222764B2 (en) 2019-03-18 2023-02-15 株式会社キーエンス Image measuring device
JP7252018B2 (en) 2019-03-18 2023-04-04 株式会社キーエンス Image measuring device
JP7280810B2 (en) * 2019-11-28 2023-05-24 株式会社キーエンス Image measuring device
JP7419164B2 (en) 2020-05-29 2024-01-22 株式会社キーエンス Image dimension measuring device

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03240879A (en) * 1990-02-19 1991-10-28 Nec Corp Automatic dimension line generation system
JPH07296023A (en) * 1994-04-28 1995-11-10 Hitachi Ltd Dimension plotting method in cad system
JPH10221054A (en) * 1997-02-05 1998-08-21 Shinko Electric Ind Co Ltd Automatic generation apparatus for information on measuring place
JPH1132740A (en) * 1997-07-22 1999-02-09 Binshiyoo:Kk Production of sesame processed product
JP3887807B2 (en) 1997-10-24 2007-02-28 株式会社ニコン Image measuring device
JP2000235594A (en) * 1999-02-17 2000-08-29 Toshiba Corp Cad system and method for inspecting measured dimension value
JP3596753B2 (en) * 2000-05-10 2004-12-02 株式会社ミツトヨ Apparatus and method for generating part program for image measuring device
KR100875230B1 (en) * 2000-06-27 2008-12-19 가부시키가이샤 에바라 세이사꾸쇼 Inspection device by charged particle beam and device manufacturing method using the inspection device
JP2002288633A (en) * 2001-03-27 2002-10-04 Matsushita Electric Works Ltd Image processing device and its positional correction method
US7230239B2 (en) * 2003-06-13 2007-06-12 Hitachi High-Technologies Corporation Apparatus for inspecting three dimensional shape of a specimen and method of watching an etching process using the same
JP2005017805A (en) * 2003-06-27 2005-01-20 Mitsutoyo Corp Focus detecting method of image measuring device, focus detection mechanism, and image measuring device equipped with the focus detection mechanism
JP4401126B2 (en) * 2003-08-22 2010-01-20 株式会社日立国際電気 Method for registering predetermined part of dimension measuring device
JP2005190094A (en) * 2003-12-25 2005-07-14 Hitachi Ltd Drawing editing method and device
US7499584B2 (en) * 2004-10-21 2009-03-03 Mitutoyo Corporation Smear-limit based system and method for controlling vision systems for consistently accurate and high-speed inspection
KR100752758B1 (en) * 2005-10-19 2007-08-29 (주) 인텍플러스 Apparatus and method for measuring image
CN101173853B (en) * 2006-11-01 2011-02-02 鸿富锦精密工业(深圳)有限公司 Positioning measurement method and device thereof
JP5217193B2 (en) * 2007-03-14 2013-06-19 カシオ計算機株式会社 Imaging apparatus, dimension measuring method, and program.

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014197004A (en) * 2014-04-21 2014-10-16 株式会社キーエンス Image measurement device

Also Published As

Publication number Publication date
CN101832763B (en) 2013-12-04
CN101832763A (en) 2010-09-15
US20100189308A1 (en) 2010-07-29
JP2010169584A (en) 2010-08-05
US8233665B2 (en) 2012-07-31

Similar Documents

Publication Publication Date Title
JP5095644B2 (en) Image measuring apparatus and computer program
KR100499764B1 (en) Method and system of measuring an object in a digital
US10088301B2 (en) Image measurement device
JP5997989B2 (en) Image measuring apparatus, control method thereof, and program for image measuring apparatus
US8503758B2 (en) Image measurement device, method for image measurement, and computer readable medium storing a program for image measurement
JP5270971B2 (en) Image measuring apparatus, image measuring method, and computer program
CN108072335B (en) Three-dimensional shape measuring device
JP5074319B2 (en) Image measuring apparatus and computer program
US10088302B2 (en) Image measurement device
JP6726967B2 (en) Brightness unevenness measuring device
US9122048B2 (en) Image processing apparatus and image processing program
JP2009300125A (en) Image measuring device, image measuring method, and computer program
JP2010032330A (en) Image measuring device and computer program
TWI417774B (en) Optical distance determination device, optical touch monitor system and method for measuring distance of a touch point on an optical touch panel
JP5531071B2 (en) Image measuring apparatus and computer program
JP2014197004A (en) Image measurement device
JP5416234B2 (en) Method of moving an object to be imaged and probe apparatus using this method
JP4954608B2 (en) Method for moving object to be imaged and processing apparatus using this method
JP2009058459A (en) Profile measuring system
JP2010032329A (en) Image measuring device and computer program
CN111707446B (en) Method and system for adjusting alignment of light spot center and detector receiving surface center
CN114046768A (en) Laser ranging method and device, laser ranging equipment and storage medium
JP6508763B2 (en) Surface inspection device
US10724847B2 (en) Optical measuring device
JP6653539B2 (en) Image measuring device, control program therefor, and measuring device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110318

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110916

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110916

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120814

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: 20120821

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120919

R150 Certificate of patent or registration of utility model

Ref document number: 5095644

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150928

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250