# Patent

## Title
Method and device for automatically identifying a point of interest on a viewed object

## Abstract

A method and device for automatically identifying a point of interest (e.g., the deepest or highest point) on a viewed object using a video inspection device. The method involves placing a first cursor on an image of the object to establish a first slice plane and first surface contour line, as well as placing another cursor, offset from the first cursor, used to establish an offset (second) slice plane and an offset (second) surface contour line. Profile slice planes and profile surface contour lines are then determined between corresponding points on the first surface contour line and the offset (second) surface contour line to automatically identify the point of interest.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This application is a Continuation-in-Part of, and claims priority to, U.S. patent application Ser. No. 14/512,835, filed Oct. 13, 2014, and entitled METHOD AND DEVICE FOR AUTOMATICALLY IDENTIFYING A POINT OF INTEREST ON THE SURFACE OF AN ANOMALY, the entirety of which is incorporated herein by reference, and which is a Continuation-in-Part of, and claims priority to, U.S. patent application Ser. No. 14/108,976, filed Dec. 17, 2013, and entitled METHOD AND DEVICE FOR AUTOMATICALLY IDENTIFYING THE DEEPEST POINT ON THE SURFACE OF AN ANOMALY, the entirety of which is incorporated herein by reference.


BACKGROUND
The subject matter disclosed herein relates to a method and device for automatically identifying a point of interest (e.g., the deepest or highest point) on a viewed object using a video inspection device.
Video inspection devices, such as video endoscopes or borescopes, can be used to inspect a surface of an object to identify and analyze anomalies (e.g., pits or dents) on the object that may have resulted from, e.g., damage, wear, corrosion, or improper installation. In many instances, the surface of the object is inaccessible and cannot be viewed without the use of the video inspection device. For example, a video inspection device can be used to inspect the surface of a blade of a turbine engine on an aircraft or power generation unit to identify any anomalies that may have formed on the surface to determine if any repair or further maintenance is required. In order to make that assessment, it is often necessary to obtain highly accurate dimensional measurements of the surface and the anomaly to verify that the anomaly does not exceed or fall outside an operational limit or required specification for that object.
A video inspection device can be used to obtain and display a two-dimensional image of the surface of a viewed object showing the anomaly to determine the dimensions of an anomaly on the surface. This two-dimensional image of the surface can be used to generate three-dimensional data of the surface that provides the three-dimensional coordinates (e.g., (x, y, z)) of a plurality of points on the surface, including proximate to an anomaly. In some video inspection devices, the user can operate the video inspection device in a measurement mode to enter a measurement screen in which the user places cursors on the two-dimensional image to determine geometric dimensions of the anomaly. In many instances, the contour of a viewed feature is difficult to assess from the two-dimensional image, making highly accurate placement of the cursors proximate to the anomaly difficult. For example, when trying to measure the depth of an anomaly, it may be difficult to determine from the two-dimensional image the location of, and place a cursor on, the deepest point on the surface of the anomaly.
In some video inspection devices, the depth of an anomaly is determined by placing three cursors one at a time around the anomaly to establish a reference plane and then a fourth cursor at a point not on the plane to determine the perpendicular distance between the reference surface and the surface at the fourth point. This depth measurement is most often used to try to measure the deepest point on the surface of the anomaly. After each cursor is positioned using a joystick, the user presses a button to indicate that they are done with that cursor and are ready for the next, after which a new cursor is arbitrarily initially positioned at the center of the screen. Accordingly, for the fourth cursor of a depth measurement, the user has to move the cursor from the center of the screen to the location of the anomaly, and then must move the cursor around to find the deepest point on the surface of the anomaly manually. This process can be time consuming and may not always result in the deepest point being identified.
SUMMARY
A method and device for automatically identifying a point of interest (e.g., the deepest or highest point) on a viewed object using a video inspection device is disclosed. The method involves placing a first cursor on an image of the object to establish a first slice plane and first surface contour line, as well as placing another cursor, offset from the first cursor, used to establish an offset (second) slice plane and an offset (second) surface contour line. Profile slice planes and profile surface contour lines are then determined between corresponding points on the first surface contour line and the offset (second) surface contour line to automatically identify the point of interest. An advantage that may be realized in the practice of some disclosed embodiments of the method and device for automatically identifying the point of interest is to reduce the time required to perform the measurement and to improve the accuracy of the measurement since the user does not need to manually identify the point of interest (deepest or highest point).
In one embodiment, a method of automatically identifying a point of interest on a viewed object is disclosed. The method comprises the steps of displaying on a monitor an image of the viewed object, determining the three-dimensional coordinates of a plurality of points on a surface of the viewed object using a central processor unit, selecting a first reference line positioning point using a pointing device, selecting a second reference line positioning point using a pointing device, determining a reference surface based on a plurality of points on the surface of the viewed object associated with the first reference line positioning point and the second reference line positioning point using the central processor unit, determining a first slice plane that is normal to the reference surface and includes a point on the surface of the viewed object associated with the first reference line positioning point and a point on the surface of the viewed object associated with the second reference line positioning point using the central processor unit, determining a first surface contour line that includes a plurality of points on the surface of the viewed object proximate to the first slice plane using the central processor unit, selecting an offset reference line positioning point using a pointing device, determining an offset slice plane that includes a point on the surface of the viewed object associated with the offset reference line positioning point using the central processor unit, determining an offset surface contour line that includes a plurality of points on the surface of the viewed object proximate to the offset slice plane using the central processor unit, determining a plurality of profile surface contour lines between the first surface contour line and the offset surface contour line using the central processor unit, and determining the point of interest as the deepest or highest point on any of the plurality of profile surface contour lines using the central processor unit.
In another embodiment, the method comprises the steps of displaying on a monitor an image of the viewed object, determining the three-dimensional coordinates of a plurality of points on a surface of the viewed object using a central processor unit, selecting a first reference line positioning point using a pointing device, determining a reference surface based on a plurality of points on the surface of the viewed object associated with the first reference line positioning point using the central processor unit, determining a first slice plane that is normal to the reference surface and includes a point on the surface of the viewed object associated with the first reference line positioning point using the central processor unit, determining a first surface contour line that includes a plurality of points on the surface of the viewed object proximate to the first slice plane using the central processor unit, selecting an offset reference line positioning point using a pointing device, determining an offset slice plane that includes a point on the surface of the viewed object associated with the offset reference line positioning point using the central processor unit, determining an offset surface contour line that includes a plurality of points on the surface of the viewed object proximate to the offset slice plane using the central processor unit, determining a plurality of profile surface contour lines between the first surface contour line and the offset surface contour line using the central processor unit, and determining the point of interest as the deepest or highest point on any of the plurality of profile surface contour lines using the central processor unit.
In yet another embodiment, a device for automatically identifying a point of interest on a viewed object is disclosed. The device comprises a monitor for displaying an image of the object surface, a pointing device for selecting a first reference line positioning point using a pointing device, and selecting an offset reference line positioning point, and a central processor unit for determining the three-dimensional coordinates of a plurality of points on a surface of the viewed object, determining a reference surface based on a plurality of points on the surface of the viewed object associated with the first reference line positioning point and the second reference line positioning point, determining a first slice plane that is normal to the reference surface and includes a point on the surface of the viewed object associated with the first reference line positioning point and a point on the surface of the viewed object associated with the second reference line positioning point, determining a first surface contour line that includes a plurality of points on the surface of the viewed object proximate to the first slice plane, determining an offset slice plane that includes a point on the surface of the viewed object associated with the offset reference line positioning point, determining an offset surface contour line that includes a plurality of points on the surface of the viewed object proximate to the offset slice plane, determining a plurality of profile surface contour lines between the first surface contour line and the offset surface contour line, and determining the point of interest as the deepest or highest point on any of the plurality of profile surface contour lines.
The above embodiments are exemplary only. Other embodiments are within the scope of the disclosed subject matter.



BRIEF DESCRIPTION OF THE DRAWINGS
So that the manner in which the features of the invention can be understood, a detailed description of the invention may be had by reference to certain embodiments, some of which are illustrated in the accompanying drawings. It is to be noted, however, that the drawings illustrate only certain embodiments of this invention and are therefore not to be considered limiting of its scope, for the scope of the disclosed subject matter encompasses other embodiments as well. The drawings are not necessarily to scale, emphasis generally being placed upon illustrating the features of certain embodiments of the invention. In the drawings, like numerals are used to indicate like parts throughout the various views.
FIG. 1 is a block diagram of an exemplary video inspection device;
FIG. 2 is an exemplary image obtained by the video inspection device of the object surface of a viewed object having an anomaly in an exemplary embodiment of the invention;
FIG. 3 is a flow diagram of an exemplary method for automatically identifying the deepest point on the surface of an anomaly on a viewed object shown in the image of FIG. 2 in an exemplary embodiment of the invention;
FIG. 4 illustrates an exemplary reference surface determined by the video inspection device;
FIG. 5 illustrates an exemplary region of interest determined by the video inspection device;
FIG. 6 illustrates another exemplary region of interest determined by the video inspection device;
FIG. 7 is a graphical representation of an exemplary profile of the object surface of the viewed object shown in the image of FIG. 1 in an exemplary embodiment of the invention;
FIG. 8 is an another exemplary image obtained by the video inspection device of the object surface of a viewed object having an anomaly in an another exemplary embodiment of the invention;
FIG. 9 illustrates the determination of an exemplary profile surface contour line on the object surface between the first reference line and the second reference line including the point of interest on the surface of the anomaly;
FIG. 10 is a graphical representation of another exemplary profile of the object surface of the viewed object shown in the image of FIG. 8 in an exemplary embodiment of the invention;
FIG. 11 is a flow diagram of another exemplary method for automatically identifying a point of interest on a surface of an anomaly on an object surface of a viewed object shown in the image of FIG. 8 in an exemplary embodiment of the invention;
FIG. 12 is yet another exemplary image obtained by the video inspection device of the object surface of a viewed object having an anomaly in an another exemplary embodiment of the invention; and
FIG. 13 is still another exemplary image obtained by the video inspection device of the inside of a pipe in an another exemplary embodiment of the invention.



DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the disclosed subject matter provide techniques for automatically identifying a point of interest on a viewed object using a video inspection device. In one embodiment, the method involves placing a first cursor on an image of the object to establish a first slice plane and first surface contour line, as well as placing another cursor, offset from the first cursor, used to establish an offset (second) slice plane and an offset (second) surface contour line. Profile slice planes and profile surface contour lines are then determined between corresponding points on the first surface contour line and the offset (second) surface contour line to automatically identify the point of interest. Other embodiments are within the scope of the disclosed subject matter.
FIG. 1 is a block diagram of an exemplary video inspection device 100. It will be understood that the video inspection device 100 shown in FIG. 1 is exemplary and that the scope of the invention is not limited to any particular video inspection device 100 or any particular configuration of components within a video inspection device 100.
Video inspection device 100 can include an elongated probe 102 comprising an insertion tube 110 and a head assembly 120 disposed at the distal end of the insertion tube 110. Insertion tube 110 can be a flexible, tubular section through which all interconnects between the head assembly 120 and probe electronics 140 are passed. Head assembly 120 can include probe optics 122 for guiding and focusing light from the viewed object 202 onto an imager 124. The probe optics 122 can comprise, e.g., a lens singlet or a lens having multiple components. The imager 124 can be a solid state CCD or CMOS image sensor for obtaining an image of the viewed object 202.
A detachable tip or adaptor 130 can be placed on the distal end of the head assembly 120. The detachable tip 130 can include tip viewing optics 132 (e.g., lenses, windows, or apertures) that work in conjunction with the probe optics 122 to guide and focus light from the viewed object 202 onto an imager 124. The detachable tip 130 can also include illumination LEDs (not shown) if the source of light for the video inspection device 100 emanates from the tip 130 or a light passing element (not shown) for passing light from the probe 102 to the viewed object 202. The tip 130 can also provide the ability for side viewing by including a waveguide (e.g., a prism) to turn the camera view and light output to the side. The tip 130 may also provide stereoscopic optics or structured-light projecting elements for use in determining three-dimensional data of the viewed surface. The elements that can be included in the tip 130 can also be included in the probe 102 itself.
The imager 124 can include a plurality of pixels formed in a plurality of rows and columns and can generate image signals in the form of analog voltages representative of light incident on each pixel of the imager 124. The image signals can be propagated through imager hybrid 126, which provides electronics for signal buffering and conditioning, to an imager harness 112, which provides wires for control and video signals between the imager hybrid 126 and the imager interface electronics 142. The imager interface electronics 142 can include power supplies, a timing generator for generating imager clock signals, an analog front end for digitizing the imager video output signal, and a digital signal processor for processing the digitized imager video data into a more useful video format.
The imager interface electronics 142 are part of the probe electronics 140, which provide a collection of functions for operating the video inspection device 10. The probe electronics 140 can also include a calibration memory 144, which stores the calibration data for the probe 102 and/or tip 130. A microcontroller 146 can also be included in the probe electronics 140 for communicating with the imager interface electronics 142 to determine and set gain and exposure settings, storing and reading calibration data from the calibration memory 144, controlling the light delivered to the viewed object 202, and communicating with a central processor unit (CPU) 150 of the video inspection device 100.
In addition to communicating with the microcontroller 146, the imager interface electronics 142 can also communicate with one or more video processors 160. The video processor 160 can receive a video signal from the imager interface electronics 142 and output signals to various monitors 170, 172, including an integral display 170 or an external monitor 172. The integral display 170 can be an LCD screen built into the video inspection device 100 for displaying various images or data (e.g., the image of the viewed object 202, menus, cursors, measurement results) to an inspector. The external monitor 172 can be a video monitor or computer-type monitor connected to the video inspection device 100 for displaying various images or data.
The video processor 160 can provide/receive commands, status information, streaming video, still video images, and graphical overlays to/from the CPU 150 and may be comprised of FPGAs, DSPs, or other processing elements which provide functions such as image capture, image enhancement, graphical overlay merging, distortion correction, frame averaging, scaling, digital zooming, overlaying, merging, flipping, motion detection, and video format conversion and compression.
The CPU 150 can be used to manage the user interface by receiving input via a joystick 180, buttons 182, keypad 184, and/or microphone 186, in addition to providing a host of other functions, including image, video, and audio storage and recall functions, system control, and measurement processing. The joystick 180 can be manipulated by the user to perform such operations as menu selection, cursor movement, slider adjustment, and articulation control of the probe 102, and may include a push-button function. The buttons 182 and/or keypad 184 also can be used for menu selection and providing user commands to the CPU 150 (e.g., freezing or saving a still image). The microphone 186 can be used by the inspector to provide voice instructions to freeze or save a still image.
The video processor 160 can also communicate with video memory 162, which is used by the video processor 160 for frame buffering and temporary holding of data during processing. The CPU 150 can also communicate with CPU program memory 152 for storage of programs executed by the CPU 150. In addition, the CPU 150 can be in communication with volatile memory 154 (e.g., RAM), and non-volatile memory 156 (e.g., flash memory device, a hard drive, a DVD, or an EPROM memory device). The non-volatile memory 156 is the primary storage for streaming video and still images.
The CPU 150 can also be in communication with a computer I/O interface 158, which provides various interfaces to peripheral devices and networks, such as USB, Firewire, Ethernet, audio I/O, and wireless transceivers. This computer I/O interface 158 can be used to save, recall, transmit, and/or receive still images, streaming video, or audio. For example, a USB “thumb drive” or CompactFlash memory card can be plugged into computer I/O interface 158. In addition, the video inspection device 100 can be configured to send frames of image data or streaming video data to an external computer or server. The video inspection device 100 can incorporate a TCP/IP communication protocol suite and can be incorporated in a wide area network including a plurality of local and remote computers, each of the computers also incorporating a TCP/IP communication protocol suite. With incorporation of TCP/IP protocol suite, the video inspection device 100 incorporates several transport layer protocols including TCP and UDP and several different layer protocols including HTTP and FTP.
It will be understood that, while certain components have been shown as a single component (e.g., CPU 150) in FIG. 1, multiple separate components can be used to perform the functions of the component.
FIG. 2 is an exemplary image 200 obtained by the video inspection device 100 of the object surface 210 of a viewed object 202 having an anomaly 204 in an exemplary embodiment of the invention. In this example, the anomaly 204 is shown as a dent, where material has been removed from the object surface 210 of the viewed object 202 in the anomaly 204 by damage or wear. It will be understood that the anomaly 204 shown in this exemplary embodiment is just an example and that the inventive method applies to other types of irregularities (e.g., cracks, corrosion pitting, coating loss, surface deposits, etc.). Once the image 200 is obtained, and the anomaly 204 is identified, the image 200 can be used to determine the dimensions of the anomaly 204 (e.g., height or depth, length, width, area, volume, point to line, profile slice, etc.). In one embodiment, the image 200 used can be a two-dimensional image 200 of the object surface 210 of the viewed object 202, including the anomaly 204.
FIG. 3 is a flow diagram of an exemplary method 300 for automatically identifying the deepest point on the object surface 210 of an anomaly 204 on a viewed object 202 shown in the image 200 of FIG. 2 in an exemplary embodiment of the invention. It will be understood that the steps described in the flow diagram of FIG. 3 can be performed in a different order than shown in the flow diagram and that not all of the steps are required for certain embodiments.
At step 310 of the exemplary method 300 (FIG. 3) and as shown in FIG. 2, the user can use the video inspection device 100 (e.g., the imager 124) to obtain at least one image 200 of the object surface 210 of a viewed object 202 having an anomaly 204 and display it on a video monitor (e.g., an integral display 170 or external monitor 172).
At step 320 of the exemplary method 300 (FIG. 3), the video inspection device 100 (e.g., the CPU 150) can determine the three-dimensional coordinates (e.g., (x, y, z)) of a plurality of surface points on the object surface 210 of the viewed object 202, including surface points of the anomaly 204. In one embodiment, the video inspection device can generate three-dimensional data from the image 200 in order to determine the three-dimensional coordinates. Several different existing techniques can be used to provide the three-dimensional coordinates of the surface points in the image 200 (FIG. 2) of the object surface 210 (e.g., stereo, scanning systems, stereo triangulation, structured light methods such as phase shift analysis, phase shift moire, laser dot projection, etc.).
Most such techniques comprise the use of calibration data, which, among other things, includes optical characteristic data that is used to reduce errors in the three-dimensional coordinates that would otherwise be induced by optical distortions. With some techniques, the three-dimensional coordinates may be determined using one or more images captured in close time proximity that may include projected patterns and the like. It is to be understood that references to three-dimensional coordinates determined using image 200 may also comprise three-dimensional coordinates determined using one or a plurality of images 200 of the object surface 210 captured in close time proximity, and that the image 200 displayed to the user during the described operations may or may not actually be used in the determination of the three-dimensional coordinates.
At step 330 of the exemplary method 300 (FIG. 3), and as shown in FIG. 4, the video inspection device 100 (e.g., the CPU 150) can determine a reference surface 250. In some embodiments, the reference surface 250 can be flat, while in other embodiments the reference surface 250 can be curved. Similarly, in one embodiment, the reference surface 250 can be in the form of a plane, while in other embodiments, the reference surface 250 can be in the form of a different shape (e.g., cylinder, sphere, etc.). For example, a user can use the joystick 180 (or other pointing device (e.g., mouse, touch screen)) of the video inspection device 100 to select one or more reference surface points on the object surface 210 of the viewed object 202 proximate to the anomaly 204 to determine a reference surface.
In one embodiment and as shown in FIG. 4, a total of three reference surface points 221, 222, 223 are selected on the object surface 210 of the viewed object 202 proximate to the anomaly 204 to conduct a depth measurement of the anomaly 204, with the three reference surface points 221, 222, 223 selected on the object surface 210 proximate to the anomaly 204. In one embodiment, the plurality of reference surface points 221, 222, 223 on the object surface 210 of the viewed object 202 can be selected by placing reference surface cursors 231, 232, 233 (or other pointing devices) on pixels 241, 242, 243 of the image 200 corresponding to the plurality of reference surface points 221, 222, 223 on the object surface 210. In the exemplary depth measurement, the video inspection device 100 (e.g., the CPU 150) can determine the three-dimensional coordinates of each of the plurality of reference surface points 221, 222, 223.
The three-dimensional coordinates of three or more surface points proximate to one or more of the three reference surface points 221, 222, 223 selected on the object surface 210 proximate to the anomaly 204 can be used to determine a reference surface 250 (e.g., a plane). In one embodiment, the video inspection device 100 (e.g., the CPU 150) can perform a curve fitting of the three-dimensional coordinates of the three reference surface points 221, 222, 223 to determine an equation for the reference surface 250 (e.g., for a plane) having the following form:

k0RS+k1RS1·xiRS+k2RS·yiRS1=ziRS  (1)

where (xiRS, yiRS, ziRS) are coordinates of any three dimensional point on the defined reference surface 250 and k0RS, k1RS, and k2RS are coefficients obtained by a curve fitting of the three-dimensional coordinates.

It should be noted that a plurality of reference surface points (i.e., at least as many points as the number of k coefficients) are used to perform the curve fitting. The curve fitting finds the k coefficients that give the best fit to the points used (e.g., least squares approach). The k coefficients then define the plane or other reference surface 250 that approximates the three-dimensional points used. However, if more points are used in the curve fitting than the number of k coefficients, when you insert the x and y coordinates of the points used into the plane equation (1), the z results will generally not exactly match the z coordinates of the points due to noise and any deviation from a plane that may actually exist. Thus, the xiRS1 and yiRS1 can be any arbitrary values, and the resulting ziRS tells you the z of the defined plane at xiRS, yiRS. Accordingly, coordinates shown in these equations can be for arbitrary points exactly on the defined surface, not necessarily the points used in the fitting to determine the k coefficients.
In other embodiments, there are only one or two reference surface points selected, prohibiting the use of curve fitting based only on the three-dimensional coordinates of those reference surface points since three points are needed to determine k0RS, k1RS, and k2RS. In that case, the video inspection device 100 (e.g., the CPU 150) can identify a plurality of pixels proximate to each of the pixels of the image corresponding to a plurality of points on the object surface 210 proximate to the reference surface point(s), and determine the three-dimensional coordinates of the proximate point(s), enabling curve fitting to determine a reference surface 250.
While the exemplary reference surface 250 has been described as being determined based on reference surface points 221, 222, 223 selected by reference surface cursors 231, 232, 233, in other embodiments, the reference surface 250 can be formed by using a pointing device to place a reference surface shape 260 (e.g., circle, square, rectangle, triangle, etc.) proximate to anomaly 204 and using the reference surface points 261, 262, 263, 264 of the shape 260 to determine the reference surface 250. It will be understood that the reference surface points 261, 262, 263, 264 of the shape 260 can be points selected by the pointing device or be other points on or proximate to the perimeter of the shape that can be sized to enclose the anomaly 204.
At step 340 of the exemplary method 300 (FIG. 3), and as shown in FIG. 5, the video inspection device 100 (e.g., the CPU 150) determines a region of interest 270 proximate to the anomaly 204 based on the reference surface points of the reference surface 250. The region of interest 270 includes a plurality of surface points of the anomaly 204. In one embodiment, a region of interest 270 is formed by forming a region of interest shape 271 (e.g., a circle) based on two or more of the reference surface points 221, 222, 223. In another embodiment, the region of interest 270 can be determined by forming a cylinder perpendicular to the reference surface 260 and passing it through or proximate to two or more of the reference surface points 221, 222, 223. Referring again to FIG. 4, a region of interest could be formed within the reference surface shape 260 and reference surface points 261, 262, 263, 264.
Although the exemplary region of interest shape 271 in FIG. 5 is formed by passing through the reference surface points 221, 222, 223, in another embodiment, a smaller diameter reference surface shape can be formed by passing only proximate to the reference surface points. For example, as shown in FIG. 6, a region of interest 280 is formed by passing a region of interest shape 281 (e.g., a circle) proximate to two of the reference surface points 221, 222, where the diameter of the circle 281 is smaller than the distance between the two reference surface points 221, 222. It will be understood that region of interest shapes 271, 281 and the regions of interest 270, 280 may or may not be displayed on the image 200.
After the region of interest 270, 280 is determined, at step 350 of the exemplary method 300 (FIG. 3), the video inspection device 100 (e.g., the CPU 150) determines the distance (i.e., depth) from each of the plurality of surface points in the region of interest to the reference surface 250. In one embodiment, the video inspection device 100 (e.g., the CPU 150) determines the distance of a line extending between the reference surface 250 and each of the plurality of surface points in the region of interest 270, 280, wherein the line perpendicularly intersects the reference surface 250.
At step 360 of the exemplary method 300 (FIG. 3), the video inspection device determines the location of the deepest surface point 224 in the region of interest 270, 280 by determining the surface point that is furthest from the reference surface 250 (e.g., selecting the surface point with the longest line extending to the reference surface 250). It will be understood that, as used herein, the “deepest point” or “deepest surface point” can be a furthest point that is recessed relative to the reference surface 250 or a furthest point (i.e., highest point) that is protruding from the references surface 250. The video inspection device 100 can identify the deepest surface point 224 in the region of interest 270, 280 on the image by displaying, e.g., a cursor 234 (FIG. 5) or other graphic identifier 282 (FIG. 6) on the deepest surface point 224. In addition and as shown in FIGS. 5 and 6, the video inspection device 100 can display the depth 290 (in inches or millimeters) of the deepest surface point 224 in the region of interest 270, 280 on the image 200 (i.e., the length of the perpendicular line extending from the deepest surface point 224 to the reference surface 250. By automatically displaying the cursor 234 or other graphic identifier 282 (FIG. 6) at the deepest surface point 224 in the region of interest 270, 280, the video inspection device 100 reduces the time required to perform the depth measurement and improves the accuracy of the depth measurement since the user does not need to manually identify the deepest surface point 224 in the anomaly 204.
Once the cursor 234 has been displayed at the deepest surface point 224 in the region of interest 270, 280, the user can select that point to take and save a depth measurement. The user can also move the cursor 234 within the region of interest 270, 280 to determine the depth of other surface points in the region of interest 270, 280. In one embodiment, the video inspection device 100 (e.g., CPU 150) can monitor the movement of the cursor 234 and detect when the cursor 234 has stopped moving. When the cursor 234 stops moving for a predetermined amount of time (e.g., 1 second), the video inspection device 100 (e.g., the CPU 150) can determine the deepest surface point proximate to the cursor 234 (e.g., a predetermined circle centered around the cursor 234) and automatically move the cursor 234 to that position.
FIG. 7 is a graphical representation of an exemplary profile 400 of the object surface 210 of the viewed object 202 shown in the image 200 of FIG. 1. In this exemplary profile 400, the reference surface 250 is shown extending between two reference surface points 221, 222 and their respective reference surface cursors 231, 232. The location and depth 290 of the deepest surface point 224 in the region of interest is also shown in the graphical representation. In another embodiment, a point cloud view can also be used to show the deepest surface point 224.
FIG. 8 is another exemplary image 500 obtained by the video inspection device 100 of the object surface 210 of a viewed object 202 having an anomaly 204 in another exemplary embodiment of the invention. Once again, in this example, the anomaly 204 is shown as a dent, where material has been removed from the object surface 210 of the viewed object 202 in the anomaly 204 by damage or wear. It will be understood that the anomaly 204 shown in this exemplary embodiment is just an example and that the inventive method applies to other types of irregularities (e.g., cracks, corrosion pitting, coating loss, surface deposits, etc.). Once the image 500 is obtained, and the anomaly 204 is identified, the image 500 can be used to determine the dimensions of the anomaly 204 (e.g., height or depth, length, width, area, volume, point to line, profile slice, etc.). In one embodiment, the image 500 used can be a two-dimensional image 500 of the object surface 210 of the viewed object 202, including the anomaly 204. In another embodiment, image 500 can be a point cloud or other three dimensional representation of the object surface 210 of the viewed object 202 including the anomaly 204.
FIG. 11 is a flow diagram of another exemplary method 700 for automatically identifying a point of interest 502 on a surface of an anomaly 204 on an object surface 210 of a viewed object 202 shown in the image 500 of FIG. 8 in an exemplary embodiment of the invention. It will be understood that the steps described in the flow diagram of FIG. 11 can be performed in a different order than shown in the flow diagram and that not all of the steps are required for certain embodiments.
At step 710 of the exemplary method 700 (FIG. 11) and as shown in FIG. 8, the user can use the video inspection device 100 (e.g., the imager 124) to obtain at least one image 500 of the object surface 210 of a viewed object 202 having an anomaly 204 and display it on a video monitor (e.g., an integral display 170 or external monitor 172). In one embodiment, the image 500 can be displayed in a measurement mode of the video inspection device 100.
At step 720 of the exemplary method 700 (FIG. 11), the video inspection device 100 (e.g., the CPU 150) determines the three-dimensional coordinates (e.g., (x, y, z)) of a plurality of surface points on the object surface 210 of the viewed object 202, including surface points 501, 502, 503 of the anomaly 204. In one embodiment, the video inspection device can generate three-dimensional data from the image 500 in order to determine the three-dimensional coordinates. Several different existing techniques can be used to provide the three-dimensional coordinates of the surface points in the image 500 (FIG. 8) of the object surface 210 (e.g., stereo, scanning systems, stereo triangulation, structured light methods such as phase shift analysis, phase shift moire, laser dot projection, etc.).
Once again, most such techniques comprise the use of calibration data, which, among other things, includes optical characteristic data that is used to reduce errors in the three-dimensional coordinates that would otherwise be induced by optical distortions. With some techniques, the three-dimensional coordinates may be determined using one or more images captured in close time proximity that may include projected patterns and the like. It is to be understood that references to three-dimensional coordinates determined using image 500 may also comprise three-dimensional coordinates determined using one or a plurality of images 500 of the object surface 210 captured in close time proximity, and that the image 500 displayed to the user during the described operations may or may not actually be used in the determination of the three-dimensional coordinates.
At step 730 of the exemplary method 700 (FIG. 11) and as shown in FIG.8, the user establishes a first reference line 510 by selecting a first reference line endpoint 511 on a first pixel 561 of the image 500 and by selecting a second reference line endpoint 512 on a second pixel 562 of the image 500 using a pointing device (e.g., joystick, mouse, touch screen) to place cursors on the image 500. The first reference line endpoint 511 and the second reference line endpoint 512 can be selected to be proximate to and on a first side of the anomaly 204. At step 732 of the exemplary method 700 (FIG. 11), the video inspection device 100 (e.g., the CPU 150) can determine the three-dimensional coordinates of a plurality of points on the first reference line 510 extending between the first reference line endpoint 511 and the second reference line endpoint 512.
Similarly, at step 734 of the exemplary method 700 (FIG. 11) and as shown in FIG. 8, the user establishes a second reference line 520 by selecting a third reference line endpoint 521 on a third pixel 563 of the image 500 and by selecting a fourth reference line endpoint 522 on a fourth pixel 564 of the image 500 using a pointing device to place cursors on the image 500. The third reference line endpoint 521 and the fourth reference line endpoint 522 can be selected to be proximate to and on a second side of the anomaly 204. At step 736 of the exemplary method 700 (FIG. 11), the video inspection device 100 (e.g., the CPU 150) can determine the three-dimensional coordinates of a plurality of points on the second reference line 520 extending between the third reference line endpoint 521 and the fourth reference line endpoint 522. As can be seen in FIG. 8, the first reference line 510 and the second reference line 520 can be positioned to straddle or surround the anomaly 204.
In one embodiment, the video inspection device 100 (e.g., the CPU 150) can employ least-squares regression (to reduce the effects of noise) on the three-dimensional coordinates of pixels between the first reference line endpoint 511 and the second reference line endpoint 512 to determine the following equations for the first reference line 510

x(d1)=kx0+kx1*d1+kx2*d12  (2)

y(d1)=ky0+ky1*d1+ky2*d12  (3)

z(d1)=kz0+kz1*d1+kz2*d12  (4)

where d1 is the fraction along the first reference line 510 ranging from, e.g., 0.0 to 1.0. For example, as shown in FIG. 8, the first reference line 510 is broken into ten segments (d1=0.0, 0.10, 0.20, . . . 0.90, 1.00). One set of constant (k) terms are determined for the first reference line 510. The same process is performed for the second reference line 520, with the same number of segments (i.e., d2=0.0, 0.10, 0.20, . . . 0.90, 1.00). Although in the exemplary embodiment, the first reference line 510 and second reference line 520 are shown as the same length with the same number of segments, in other embodiments, the reference lines 510, 520 can be of different lengths and/or with a different number of segments.

In the embodiment shown in FIG. 8, the first reference line 510 and the second reference line 520 are straight lines. In one embodiment, the video inspection device 100 (e.g., the CPU 150) performs regression on the three-dimensional coordinates of points on the object surface 210 corresponding to pixels of the image 500 proximate to a straight line between the first pixel 561 and the second pixel 562. In another embodiment, the video inspection device 100 (e.g., the CPU 150) performs low-pass filtering on the three-dimensional coordinates of points on the object surface 210 corresponding to pixels of the image 500 proximate to a straight line between the first pixel 561 and the second pixel 562.
In another embodiment (e.g., where the object surface 210 is more complex or curved), for the step of determining the three-dimensional coordinates of the plurality of points on the first reference line 510, the video inspection device 100 (e.g., the CPU 150) determines a first reference line plane 581 intersecting (e.g., normal to) the object surface 210 and passing through the first reference line endpoint 511 and the second reference line endpoint 512. The video inspection device 100 then determines the three-dimensional coordinates of a plurality of points of a first surface contour line 591 on the object surface 210 proximate to the first reference line plane 581 (e.g., on, or within a predetermined distance, of the first reference line plane 581). Similarly, for the step of determining the three-dimensional coordinates of the plurality of points on the second reference line 520, the video inspection device 100 (e.g., the CPU 150) determines a second reference line plane 582 intersecting (e.g., normal to) the object surface 210 and passing through the third reference line endpoint 521 and the fourth reference line endpoint 522. The video inspection device 100 then determines the three-dimensional coordinates of a plurality of points of a second surface contour line 592 on the object surface 210 proximate to the second reference line plane 582 (e.g., on, or within a predetermined distance, of the second reference line plane 582). In this embodiment, where the reference lines can be curved, a different set of constants (k) would be determined for equations and d values along the reference lines.
At step 740 of the exemplary method 700 (FIG. 11) and as shown in FIG. 8, the video inspection device 100 (e.g., the CPU 150) determines a reference surface 550 using the three-dimensional coordinates of at least two of the plurality of points (e.g., 514, 515, 516) on the first reference line 510 and at least one of the plurality of points (e.g., 524, 525, 526) on the second reference line 520. For clarity, FIG. 8 only shows the determination of a single reference surface 550 for one group of points along the first reference line 510 and the second reference line 520. However, in the exemplary method, a plurality of reference surfaces will be created for different groups of points along the first reference line 510 and the second reference line 520. For example, while the illustrated reference surface 550 can be determined based on points proximate to d1=d2=0.50, other reference surfaces can be determined based on points proximate to d1=d2=0.00, 0.10, 0.20, 0.30, 0.40, 0.60, 0.70, 0.80, 0.90, 1.00.
In some embodiments, the reference surface 550 can be flat (e.g., a plane), while in other embodiments the reference surface 550 can be curved or in the form of a different shape (e.g., cylinder, sphere, etc.). In an embodiment where the first reference line 510 and/or the second reference line 520 are curved, the reference surfaces 550 along each of the first reference line 510 and/or the second reference line 520 can include reference surfaces wherein at least two of which are not parallel.
Returning to FIG. 8, the exemplary reference surface 550 corresponding to the position on the first reference line 510 and second reference line 520 where d1=d2=0.50, the three-dimensional coordinates of a set of two points 514, 516 (d1=0.50±0.05) on the first reference line 510 and a set of two points 524, 526 (d2=0.50±0.05) on the second reference line 520 are used to determine the reference surface 550 as a reference plane. In one embodiment, the video inspection device 100 (e.g., the CPU 150) can perform a fitting of the three-dimensional coordinates of at least three of the four points 514, 516, 524, 526 to determine an equation for the reference surface 550 having the following form

z(x,y)=a0+a1*x+a2*y  (5)

where (x, y, z) are coordinates of any three dimensional point on the defined reference surface 550 and a0, a1, and a2 are coefficients obtained by a fitting of the three-dimensional coordinates. While in the exemplary embodiment, the reference surface 550 was determined based on points from two corresponding segments of the reference lines 510, 520 (i.e., d1=d2), in other embodiments, the reference surface 550 could be determined based on two segments that did not correspond (i.e., d1≠d2).

At step 750 of the exemplary method 700 (FIG. 11) and as shown in FIG. 8, the video inspection device 100 (e.g., the CPU 150) determines a region of interest 570 for each reference surface 550 that comprises a plurality of points 501, 502, 503 on the surface of the anomaly 204. In one embodiment, the region of interest 570 is created by determining a polygon 571 on the reference surface 550 with vertices based on the at least two of the plurality of points 514, 516 on the first reference line 510 and at least one of the plurality of points 524, 526 on the second reference line 520. The region of interest 570 includes a plurality of points 501, 502, 503 on the surface of the anomaly 204 that lie on lines normal to the reference surface 550 and that intersect the reference surface 550 within the polygon 571.
In another embodiment, the region of interest 570 is created by determining a region of interest plane 580 intersecting (e.g., normal to) the reference surface 550 and passing through the first reference line 510 in between at least two of the plurality of points 514, 516 on the first reference line 510. The region of interest 570 comprises a plurality of points 501, 502, 503 on the surface of the anomaly 204 that lie within a predetermined distance 571, 572 of the region of interest plane 580.
At step 760 of the exemplary method 700 (FIG. 11) and as shown in FIG. 8, the video inspection device 100 (e.g., the CPU 150) determines the distances between the reference surfaces 550 and the plurality of points 501, 502, 503 on the surface of the anomaly 204 in each of the regions of interest 570. At step 770 of the exemplary method 700 (FIG. 11) and as shown in FIG. 8, the video inspection device 100 (e.g., the CPU 150) determines the three-dimensional coordinates of the point of interest 502 on the surface of the anomaly 204 in the region of interest 570 having the greatest distance from the reference surface (e.g., the deepest point in a depression or the highest point on a protrusion). Once the point of interest 502 has been identified, the video inspection device 100 (e.g., the CPU 150) seeks to find the profile (or profile slice) that passes through the point of interest 502.
At step 780 of the exemplary method 700 (FIG. 11) and as shown in FIG. 9, the video inspection device 100 (e.g., the CPU 150) determines a profile surface contour line 594 on the object surface 210 between the first reference line 510 and the second reference line 520 including the point of interest 502 on the surface of the anomaly 204 as shown in FIG. 9. In one embodiment, the profile surface contour line 594 comprises a first point 518 on or proximate to the first reference line 510, a second point 528 on or proximate to the second reference line 520, and the point of interest 502 on the surface of the anomaly 204 as shown in FIG. 9. In one embodiment, in order to determine a profile surface contour line 594 that passes through the point of interest 502 (the deepest or highest point), the video inspection device 100 (e.g., the CPU 150) can perform an iterative process in the particular segment of the first reference line 510 and the second reference line 520 where the point of interest 502 was found. For example and as shown in FIG. 9, since the point of interest 502 was found in the segment corresponding to d1=d2=0.50, the video inspection device 100 can determine a plurality of reference surface planes 583, 584 intersecting (e.g., normal to) the reference surface 550 and passing through corresponding points on the reference lines 510, 520 (e.g., where d1=d2). While in the exemplary embodiment, the plurality of reference surface planes 583, 584 are determined based on points from two corresponding segments of the reference lines 510, 520 (i.e., d1=d2), in other embodiments, the reference surface planes 583, 584 could be determined based on two segments that did not correspond (i.e., d1≠d2).
For example, the video inspection device 100 (e.g., the CPU 150) can determine the distance between the point of interest 502 and the region of interest plane 580 for d1=d2=0.50. As can be seen in FIG. 9, the point of interest 502 is located at a distance 574 away from the region of interest plane 580 such that profile (or profile slice) taken at the region of interest plane 580 would not include the point of interest 502.
Next, the video inspection device 100 (e.g., the CPU 150) can determine a reference surface plane 583 intersecting (e.g., normal to) the original reference surface 550 or a new reference surface (created using points on the reference lines 510, 520 proximate to d1=d2=0.52) and passing through a reference line point 517 on the first reference line 510 and a corresponding reference line point 527 on the second reference line 520 for d1=d2=0.52. The video inspection device 100 then can determine the distance between the point of interest 502 and the reference surface plane 583 for d1=d2=0.52. As can be seen in FIG. 9, the point of interest 502 is located at a distance 575 away from the reference surface plane 583 such that a profile (or profile slice) taken at the reference surface plane 583 would not include the point of interest 502.
Continuing to iterate, the video inspection device 100 (e.g., the CPU 150) can determine a reference surface plane 584 intersecting (e.g., normal to) the reference surface 550 or a new reference surface (created using points on the reference lines 510, 520 proximate to d1=d2=0.53) and passing through a reference line point 518 on or proximate to the first reference line 510 and a corresponding reference line point 528 on or proximate to the second reference line 520 for d1=d2=0.53. The video inspection device 100 then can determine the distance between the point of interest 502 and the reference surface plane 584 for d1=d2=0.53. As can be seen in FIG. 9, the point of interest 502 is located on the reference surface plane 584 such that a profile (or profile slice) taken at the reference surface plane 584 would include the point of interest 502. The video inspection device 100 then can determine the three-dimensional coordinates of a plurality of points of a profile surface contour line 594 on the object surface 210 proximate to the reference surface plane 584 (e.g., on, or within a predetermined distance, of the reference surface plane 584). The profile surface contour line 594 comprises point 518 on or proximate to the first reference line 510, point 528 on or proximate to the second reference line 520, and the point of interest 502 on the surface of the anomaly 204 as shown in FIG. 9.
At step 790 of the exemplary method 700 (FIG. 11), the video inspection device 100 (e.g., the CPU 150) determines a profile of the object surface 210 including the point of interest 502 by determining the distance from the reference surface 550 to the plurality of points of the profile surface contour line 594 on the object surface 210. FIG. 10 is an image 600 of the graphical representation of the profile of the object surface 210 of the viewed object 202 shown in the image 500 of FIG. 8. The graphical representation of the profile showing a cross-section of the viewed object 210 at the profile surface contour line 594 can be displayed on the video monitor (e.g., an integral display 170 or external monitor 172). The profile includes point 518 on or proximate to the first reference line 510, point 528 on or proximate to the second reference line 520, and the point of interest 502 on the surface of the anomaly 204. The graphical representation of the profile also displays the distance 602 between the reference surface 550 and the point of interest 502 on the surface. In another embodiment, a point cloud image comprising, e.g., a three-dimensional representation of the reference surface 550 and the profile surface contour line 594, including point 518 on or proximate to the first reference line 510, point 528 on or proximate to the second reference line 520, and the point of interest 502 on the surface of the anomaly 204, can be displayed on the video monitor (e.g., an integral display 170 or external monitor 172).
FIG. 12 is yet another exemplary image 800 obtained by the video inspection device 100 of the object surface 210 of a viewed object 202 having an anomaly 204 in an another exemplary embodiment of the invention. Once again, in this example, the anomaly 204 is shown as a dent, where material has been removed from the object surface 210 of the viewed object 202 in the anomaly 204 by damage or wear. It will be understood that the anomaly 204 shown in this exemplary embodiment is just an example and that the inventive method applies to other types of irregularities (e.g., cracks, corrosion pitting, coating loss, surface deposits, etc.), surface features (e.g., welds), or clearances between surfaces (e.g., tip to shroud clearances). Once the image 800 is obtained, and the anomaly 204 is identified, the image 800 can be used to determine the dimensions of the anomaly 804 (e.g., height or depth, length, width, area, volume, point to line, profile slice, etc.). In one embodiment, the image 800 used can be a two-dimensional image 800 of the object surface 210 of the viewed object 202, including the anomaly 204. In another embodiment, image 800 can be a point cloud or other three dimensional representation of the object surface 210 of the viewed object 202 including the anomaly 204.
As shown in FIG. 12, the user can use the video inspection device 100 (e.g., the imager 124) to obtain at least one image 800 of the object surface 210 of a viewed object 202 having an anomaly 204 and display it on a video monitor (e.g., an integral display 170 or external monitor 172). In one embodiment, the image 800 can be displayed in a measurement mode of the video inspection device 100.
The video inspection device 100 (e.g., the CPU 150) can determine the three-dimensional coordinates (e.g., (x, y, z)) of a plurality of surface points on the object surface 210 of the viewed object 202, including surface points of the anomaly 204. In one embodiment, the video inspection device can generate three-dimensional data from the image 800 in order to determine the three-dimensional coordinates. Several different existing techniques can be used to provide the three-dimensional coordinates of the surface points in the image 800 (FIG. 12) of the object surface 210 (e.g., stereo, scanning systems, stereo triangulation, structured light methods such as phase shift analysis, phase shift moire, laser dot projection, etc.).
Once again, most such techniques comprise the use of calibration data, which, among other things, includes optical characteristic data that is used to reduce errors in the three-dimensional coordinates that would otherwise be induced by optical distortions. With some techniques, the three-dimensional coordinates may be determined using one or more images captured in close time proximity that may include projected patterns and the like. It is to be understood that references to three-dimensional coordinates determined using image 800 may also comprise three-dimensional coordinates determined using one or a plurality of images 800 of the object surface 210 captured in close time proximity, and that the image 800 displayed to the user during the described operations may or may not actually be used in the determination of the three-dimensional coordinates.
As shown in FIG. 12, in one embodiment, the user can select a first reference line positioning point 811 on a first pixel 861 of the image 800 by placing a first cursor 831, and can select a second reference line positioning point 812 on a second pixel 862 of the image 800 by placing a second cursor 832 using, e.g., a pointing device (e.g., joystick, mouse, touch screen) to place the cursors on the image 800. The first reference line positioning point 811 and the second reference line positioning point 812 can be selected on a first side of the anomaly 204. In another embodiment, the user only selects a first reference line positioning point 811 on a first pixel 861 of the image 800 by placing a first cursor 831 and does not select a second reference line positioning point 812.
As shown in FIG. 12, the video inspection device 100 (e.g., the CPU 150) can determine a reference surface 850. In some embodiments, the reference surface 850 can be flat, while in other embodiments the reference surface 850 can be curved. Similarly, in one embodiment, the reference surface 850 can be in the form of a plane, while in other embodiments, the reference surface 850 can be in the form of a different shape (e.g., cylinder, sphere, etc.). The video inspection device 100 (e.g., the CPU 150) can determine the three-dimensional coordinates of the surface points on the object surface 210 of the viewed object 202 associated with the pixels in the vicinity of the first cursor 831 for the first reference line positioning point 811 and associated with the pixels on the vicinity of the second cursor 832 for the second reference line positioning point 812. Those three dimensional coordinates can be used to determine a reference surface 850 (e.g., a plane). In one embodiment, the video inspection device 100 (e.g., the CPU 150) can perform a curve fitting of the three-dimensional coordinates of the surface points associated with the pixels in the vicinity of the first cursor 831 and the second cursor 832 to determine an equation for the reference surface 850 (e.g., for a plane) as described in equation (1) above. In another embodiment, the curve fitting may use only the three-dimensional coordinates of the surface points associated with the pixels in the vicinity of the first cursor 831 or only the three-dimensional coordinates of the surface points associated with the pixels in the vicinity of the second cursor 832 to determine an equation for the reference surface 850.
In one embodiment, the video inspection device 100 (e.g., the CPU 150) determines a first slice plane 881 that is normal to (or perpendicular to) the reference surface 850, intersects the object surface 210, and includes a three-dimensional coordinate associated with a pixel in the vicinity of the first cursor 831 (the first reference line positioning point 811) and a three-dimensional coordinate associated with a pixel in the vicinity of the second cursor 832 (the second reference line positioning point 812). The video inspection device 100 (e.g., the CPU 150) then determines the three-dimensional coordinates of a plurality of surface points of a first surface contour line 891 on the object surface 210 proximate to the first slice plane 881 (e.g., on, or within a predetermined distance (e.g., 0.1 mm)), of the first slice plane 881, surface points that are associated with pixels that are diagonally touching or adjacently touching that are on opposite sides of the first slice plane 881, or points interpolated from surface points associated with diagonally or adjacently touching pixels that are on opposite sides of the first slice plane 881). As shown in FIG. 12, in one embodiment, the first surface contour line 891 includes surface points located between the first cursor 831 (associated with the first reference line positioning point 811) and the second cursor 832 (associated with the second reference line positioning point 812). In one embodiment, the video inspection device 100 (e.g., the CPU 150) performs regression and/or low pass filtering on the three-dimensional coordinates of the plurality of surface points of the first surface contour line 891 on the object surface 210 proximate to the first slice plane 881.
As shown in FIG. 12, the user can select an offset reference line positioning point 813 on a third pixel 863 of the image 800 by placing a third cursor 833 using, e.g., a pointing device (e.g., joystick, mouse, touch screen) to place the cursor 833 on the image 800. In one embodiment, the video inspection device 100 (e.g., the CPU 150) determines an offset (second) slice plane 882 that includes a three-dimensional coordinate of a surface point on the object surface 210 of the viewed object 202 associated with a pixel in the vicinity of the third cursor 833. The offset (second) slice plane 882 is offset by a perpendicular distance (D) from the first slice plane 881 in a first direction. In one embodiment, the video inspection device 100 (e.g., the CPU 150) can determine an offset (second) slice plane 882 by determining a slice plane that is parallel to the first slice plane 881 and offsetting that slice plane until it includes a surface point on the object surface 210 of the viewed object 202 associated with a pixel in the vicinity of the third cursor 833. In another embodiment, the video inspection device 100 (e.g., the CPU 150) can determine the offset (second) slice plane 882 by determining a first line passing through the first reference line positioning point 811 and the second reference line positioning point 812, a second line parallel to the first line and passing through the offset reference line positioning point 813, and an offset surface normal line normal to the object surface 210 in the vicinity of the offset reference line positioning point 813 and passing through the offset reference line positioning point 813, wherein the offset (second) slice plane includes the second line and the offset surface normal line.
The video inspection device 100 (e.g., the CPU 150) then determines the three-dimensional coordinates of a plurality of surface points of an offset (second) surface contour line 892 on the object surface 210 proximate to the offset (second) slice plane 882 (e.g., on, or within a predetermined distance, of the offset (second) slice plane 882, surface points that are associated with pixels that are diagonally touching or adjacently touching that are on opposite sides of the offset (second) slice plane 882, or points interpolated from surface points associated with diagonally or adjacently touching pixels that are on opposite sides of the offset (second) slice plane 882). In one embodiment, the video inspection device 100 (e.g., the CPU 150) performs regression and/or low pass filtering on the three-dimensional coordinates of the plurality of surface points of the offset (second) surface contour line 892 on the object surface 210 proximate to the offset (second) slice plane 882. As can be seen in FIG. 12, the first surface contour line 891 and the offset (second) surface contour line 892 are positioned to straddle or surround the anomaly 204.
As shown in FIG. 12, in one embodiment, the offset (second) surface contour line 892 can comprise all of the plurality surface points on the object surface 210 proximate to the offset (second) slice plane 882 or can comprise just a portion or segment of the plurality surface points on the object surface 210 proximate to the offset (second) slice plane 882 (e.g., between the first offset (second) surface contour line endpoint 821 and the second offset (second) surface contour line endpoint 822). In one embodiment, the video inspection device 100 (e.g., the CPU 150) can evaluate different portions or segments (e.g., strips) of the entire length of the offset (second) surface contour line 892 (i.e., all of the plurality surface points on the object surface 210 proximate to the offset (second) slice plane 882) to find a segment or segments that have a curvature that is similar (i.e., matches or has minimum curvature difference) to the curvature of the first surface contour line 891 or have a curvature difference with the first surface contour line 891 that is below a threshold or within an acceptable range. In one embodiment, the video inspection device 100 (e.g., the CPU 150) can also evaluate different portions or segments (e.g., strips) of the entire length of the offset (second) surface contour line 892 (i.e., all of the plurality surface points on the object surface 210 proximate to the offset (second) slice plane 882) to find a segment or segments that are parallel (in the direction normal to the reference surface 850) with the first surface contour line 891. As shown in FIG. 12, the segment of the offset (second) surface contour line 892 between the first offset (second) surface contour line endpoint 821 and the second offset (second) surface contour line endpoint 822 is chosen as having a similar curvature to the curvature of the first surface contour line 891 and as being parallel to the first surface contour line 891. In one embodiment, the video inspection device 100 (e.g., the CPU 150) can identify pairs of points on the offset (second) surface contour line that are spaced apart by the distance between first reference line positioning point 811 and the second reference line positioning point 812. For each point pair, the angle between a line passing through both points of the pair and a line passing through the first reference line positioning point 811 and the second reference line positioning point 812 is computed as a curvature difference value, and the point pair giving the smallest curvature difference value is chosen as the first offset (second) surface contour line endpoint 821 and second offset (second) surface contour line endpoint 822. In the example shown, the first offset (second) surface contour line endpoint 821 corresponds with the first reference line positioning point 811 of the first surface contour line 891. In some examples, the offset (second) surface contour line 892 will have a different length that the first surface contour line 891. In one embodiment, the video inspection device 100 (e.g., the CPU 150) performs regression and/or low pass filtering on the three-dimensional coordinates of the plurality of surface points of the selected portion or segment of the offset (second) surface contour line 892 on the object surface 210 proximate to the offset (second) slice plane 882. As can be seen in FIG. 12, the first surface contour line 891 and the offset (second) surface contour line 892 are positioned to straddle or surround the anomaly 204.
FIG. 13 is still another exemplary image 900 obtained by the video inspection device 100 of the inside of a pipe in another exemplary embodiment of the invention. As seen in FIG. 13, the user can by place a first cursor 931 and a second cursor 932 using, e.g., a pointing device (e.g., joystick, mouse, touch screen) to place the cursors on the image 800 of the inside of the pipe. Using the techniques described above, the video inspection device 100 (e.g., the CPU 150) then determines the three-dimensional coordinates of a plurality of surface points of a first surface contour line 991 on the inner surface of the pipe. As shown in FIG. 13, the user can select an offset reference line positioning point by placing a third cursor 933 using, e.g., a pointing device (e.g., joystick, mouse, touch screen) to place the cursor 933 on the image 900. The video inspection device 100 (e.g., the CPU 150) then determines the three-dimensional coordinates of a plurality of surface points of an offset (second) surface contour line 992.
As shown in FIG. 13, the video inspection device 100 (e.g., the CPU 150) can find a segment of the offset (second) surface contour line 992 that has a curvature that is similar (i.e., matches or has minimum curvature difference) to the curvature of the first surface contour line 991 or has a curvature difference with the first surface contour line 991 that is below a threshold or within an acceptable range. In one embodiment, the video inspection device 100 (e.g., the CPU 150) can find a segment of the offset (second) surface contour line 992 that is parallel with the first surface contour line 991. As shown in FIG. 13, the segment of the offset (second) surface contour line 992 is chosen as having a similar curvature to the curvature of the first surface contour line 991 and as being parallel to the first surface contour line 991. This parallel arrangement of the first surface contour line 991 and the offset (second) surface contour line 992 results in a profile surface contour line 944 that extends longitudinally down the inner surface of the pipe.
Returning again to FIG. 12, once the first surface contour line 891 and the offset (second) surface contour line 892 are determined, the video inspection device 100 (e.g., the CPU 150) can identify pairs of corresponding points, one point on or proximate each of the surface contour lines 891, 892 (e.g., first profile slice plane endpoint 841 and second profile slice plane endpoint 842) and then determine a profile slice plane 843 and profile surface contour line 844 between each pair of endpoints 841, 842. For example, in FIG. 12, the video inspection device 100 (e.g., the CPU 150) can determine a profile slice reference surface 851 based on the three-dimensional coordinates of a plurality of points on the surface of the viewed object 210 associated with the first profile slice plane endpoint 841 and second profile slice plane endpoint 842 and/or points on the first surface contour line 891 and the offset (second) surface contour line 892, which may be surface points or three dimensional coordinates determined through curve fitting or low-pass filtering, proximate the pair of profile slice plane endpoints 841, 842. The profile slice reference surface 851 can be determined using the same techniques described above for determining reference surface 850.
After the profile slice reference surface 851 is established, the video inspection device 100 (e.g., the CPU 150) determines a profile slice plane 843 that is normal to (or perpendicular to) the profile slice reference surface 851, intersects the object surface 210, and includes the three-dimensional coordinates associated with the pair of profile slice plane endpoints 841, 842. The video inspection device 100 (e.g., the CPU 150) then determines the three-dimensional coordinates of a plurality of surface points of a profile surface contour line 844 between the pair of endpoints 841, 842 proximate to the profile slice plane 843 (e.g., on, or within a predetermined distance, of the profile slice plane 843, surface points that are associated with pixels that are diagonally touching or adjacently touching that are on opposite sides of the profile slice plane 843, or points interpolated from surface points associated with diagonally or adjacently touching pixels that are on opposite sides of the profile slice plane 843). As discussed above with respect to FIGS. 8 and 9, the video inspection device 100 (e.g., the CPU 150) determines profile slices for a plurality of pairs of corresponding points on each of the surface contour lines 891, 892 and identifies the profile slice having the point of interest 845, i.e., the surface point having the greatest distance from the profile slice reference surface 850 (e.g., the deepest point in a depression or the highest point on a protrusion). Once the point of interest 845 has been identified, the video inspection device 100 (e.g., the CPU 150) can display the distance from the reference surface and display the corresponding slice path and location of the point of the interest on the image 800 or on a 3D point cloud.
In view of the foregoing, embodiments of the invention automatically determine the depth or height of a point on an anomaly on a surface. A technical effect is to reduce the time required to perform the measurement and to improve the accuracy of the measurement since the user does not need to manually identify the point of interest (deepest or highest point). Furthermore, in embodiments of the invention in which the endpoints of the offset (second) surface contour line are automatically determined based on matching the curvature of the first surface contour line, the user is freed from the burden of correctly identifying the endpoints manually such that surface curvature does not affect or minimally affects the measured height or depth at the point of interest.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method, or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.), or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “service,” “circuit,” “circuitry,” “module,” and/or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code and/or executable instructions embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer (device), partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
To the extent that the claims recite the phrase “at least one of” in reference to a plurality of elements, this is intended to mean at least one or more of the listed elements, and is not limited to at least one of each element. For example, “at least one of an element A, element B, and element C,” is intended to indicate element A alone, or element B alone, or element C alone, or any combination thereof. “At least one of element A, element B, and element C” is not intended to be limited to at least one of an element A, at least one of an element B, and at least one of an element C.
This written description uses examples to disclose the invention, including the best mode, and also to enable any person skilled in the art to practice the invention, including making and using any devices or systems and performing any incorporated methods. The patentable scope of the invention is defined by the claims, and may include other examples that occur to those skilled in the art. Such other examples are intended to be within the scope of the claims if they have structural elements that do not differ from the literal language of the claims, or if they include equivalent structural elements with insubstantial differences from the literal language of the claims.

## Claims

1. A method of automatically identifying a point of interest on a viewed object, the method comprising the steps of:
displaying on a monitor an image of the viewed object;
determining the three-dimensional coordinates of a plurality of points on a surface of the viewed object using a central processor unit;
selecting a first reference line positioning point using a pointing device;
selecting a second reference line positioning point using a pointing device;
determining a reference surface based on a plurality of points on the surface of the viewed object associated with the first reference line positioning point and the second reference line positioning point using the central processor unit;
determining a first slice plane that is normal to the reference surface and includes a point on the surface of the viewed object associated with the first reference line positioning point and a point on the surface of the viewed object associated with the second reference line positioning point using the central processor unit;
determining a first surface contour line that includes a plurality of points on the surface of the viewed object proximate to the first slice plane using the central processor unit;
selecting an offset reference line positioning point using a pointing device;
determining an offset slice plane that includes a point on the surface of the viewed object associated with the offset reference line positioning point using the central processor unit;
determining an offset surface contour line that includes a plurality of points on the surface of the viewed object proximate to the offset slice plane using the central processor unit;
determining a plurality of profile surface contour lines between the first surface contour line and the offset surface contour line using the central processor unit; and
determining the point of interest as the deepest or highest point on any of the plurality of profile surface contour lines using the central processor unit.

2. The method of claim 1, wherein the first reference line positioning point and the second reference line positioning point are endpoints of the first surface contour line.

3. The method of claim 1, wherein the first surface contour line includes points on the surface of the viewed object that are on the first slice plane, points that are within a predetermined distance of the first slice plane, points that are associated with pixels that are diagonally touching or adjacently touching that are on opposite sides of the first slice plane, or points that are interpolated from points associated with diagonally or adjacently touching pixels that are on opposite sides of the first slice plane.

4. The method of claim 1, wherein the offset surface contour line includes points on the surface of the viewed object that are on the offset slice plane, points that are within a predetermined distance of the offset slice plane, points that are associated with pixels that are diagonally touching or adjacently touching that are on opposite sides of the offset slice plane, or points that are interpolated from points associated with diagonally or adjacently touching pixels that are on opposite sides of the offset slice plane.

5. The method of claim 1, further comprising the steps of:
determining a plurality of possible first and second offset surface contour line endpoint pairs for the offset surface contour line using the central processor unit;
computing a curvature mismatch value between the first surface contour line and the offset surface contour line between each of the plurality of possible first and second offset surface contour line endpoint pairs using the central processor unit; and
selecting one of the plurality of possible first and second offset surface contour line endpoint pairs based on its curvature mismatch value as the endpoints of the offset surface contour line using the central processor unit.

6. The method of claim 1, wherein the offset slice plane is parallel to the first slice plane.

7. The method of claim 1, wherein each of the plurality of profile surface contour lines between the first surface contour line and the offset surface contour line comprises a first point on or proximate the first surface contour line and a second point on or proximate the offset surface contour line.

8. The method of claim 1, wherein the step of determining a plurality of profile surface contour lines further comprises for each profile surface contour line:
determining a first profile slice plane endpoint on the first surface contour line using the central processor unit;
determining a second profile slice plane endpoint on the offset surface contour line using the central processor unit;
determining a profile slice reference surface based on at least one point on the first surface contour line proximate to the first profile slice plane endpoint and at least one point on the second surface contour line proximate to the second profile slice plane endpoint using the central processor unit;
determining a profile slice plane that is normal to the profile slice reference surface and includes the first profile slice plane endpoint and the second profile slice plane endpoint using the central processor unit; and
determining a profile surface contour line that includes a plurality of points on the surface of the viewed object proximate to the profile slice plane using the central processor unit.

9. The method of claim 8, further comprising the steps of:
determining the distances between the profile slice reference surface and the plurality of points on the profile surface contour line using the central processor unit; and
determining the three-dimensional coordinates of the point of interest on the surface having the greatest distance from the profile slice reference surface using the central processor unit.

10. The method of claim 1, wherein the reference surface is a reference plane.

11. A method of automatically identifying a point of interest on a viewed object, the method comprising the steps of:
displaying on a monitor an image of the viewed object;
determining the three-dimensional coordinates of a plurality of points on a surface of the viewed object using a central processor unit;
selecting a first reference line positioning point using a pointing device;
determining a reference surface based on a plurality of points on the surface of the viewed object associated with the first reference line positioning point using the central processor unit;
determining a first slice plane that is normal to the reference surface and includes a point on the surface of the viewed object associated with the first reference line positioning point using the central processor unit;
determining a first surface contour line that includes a plurality of points on the surface of the viewed object proximate to the first slice plane using the central processor unit;
selecting an offset reference line positioning point using a pointing device;
determining an offset slice plane that includes a point on the surface of the viewed object associated with the offset reference line positioning point using the central processor unit;
determining an offset surface contour line that includes a plurality of points on the surface of the viewed object proximate to the offset slice plane using the central processor unit;
determining a plurality of profile surface contour lines between the first surface contour line and the offset surface contour line using the central processor unit; and
determining the point of interest as the deepest or highest point on any of the plurality of profile surface contour lines using the central processor unit.

12. The method of claim 11, wherein the first surface contour line includes points on the surface of the viewed object that are on the first slice plane, points that are within a predetermined distance of the first slice plane, points that are associated with pixels that are diagonally touching or adjacently touching that are on opposite sides of the first slice plane, or points that are interpolated from points associated with diagonally or adjacently touching pixels that are on opposite sides of the first slice plane.

13. The method of claim 11, wherein the offset surface contour line includes points on the surface of the viewed object that are on the offset slice plane, points that are within a predetermined distance of the offset slice plane, points that are associated with pixels that are diagonally touching or adjacently touching that are on opposite sides of the offset slice plane, or points that are interpolated from points associated with diagonally or adjacently touching pixels that are on opposite sides of the offset slice plane.

14. The method of claim 11, further comprising the steps of:
determining a plurality of possible first and second offset surface contour line endpoint pairs for the offset surface contour line using the central processor unit;
computing a curvature mismatch value between the first surface contour line and the offset surface contour line between each of the plurality of possible first and second offset surface contour line endpoint pairs using the central processor unit; and
selecting one of the plurality of possible first and second offset surface contour line endpoint pairs based on its curvature mismatch value as the endpoints of the offset surface contour line using the central processor unit.

15. The method of claim 11, wherein the offset slice plane is parallel to the first slice plane.

16. The method of claim 11, wherein each of the plurality of profile surface contour lines between the first surface contour line and the offset surface contour line comprises a first point on or proximate the first surface contour line and a second point on or proximate the offset surface contour line.

17. The method of claim 11, wherein the step of determining a plurality of profile surface contour lines further comprises for each profile surface contour line:
determining a first profile slice plane endpoint on the first surface contour line using the central processor unit;
determining a second profile slice plane endpoint on the offset surface contour line using the central processor unit;
determining a profile slice reference surface based on at least one point on the first surface contour line proximate to the first profile slice plane endpoint and at least one point on the second surface contour line proximate to the second profile slice plane endpoint using the central processor unit;
determining a profile slice plane that is normal to the profile slice reference surface and includes the first profile slice plane endpoint and the second profile slice plane endpoint using the central processor unit; and
determining a profile surface contour line that includes a plurality of points on the surface of the viewed object proximate to the profile slice plane using the central processor unit.

18. The method of claim 17, further comprising the steps of:
determining the distances between the profile slice reference surface and the plurality of points on the profile surface contour line using the central processor unit; and
determining the three-dimensional coordinates of the point of interest on the surface having the greatest distance from the profile slice reference surface using the central processor unit.

19. The method of claim 1, wherein the reference surface is a reference plane.

20. A device for automatically identifying a point of interest on a viewed object, the device comprising:
a monitor for displaying an image of the object surface;
a pointing device for
selecting a first reference line positioning point using a pointing device, and
selecting an offset reference line positioning point; and

a central processor unit for
determining the three-dimensional coordinates of a plurality of points on a surface of the viewed object,
determining a reference surface based on a plurality of points on the surface of the viewed object associated with the first reference line positioning point and the second reference line positioning point,
determining a first slice plane that is normal to the reference surface and includes a point on the surface of the viewed object associated with the first reference line positioning point and a point on the surface of the viewed object associated with the second reference line positioning point,
determining a first surface contour line that includes a plurality of points on the surface of the viewed object proximate to the first slice plane,
determining an offset slice plane that includes a point on the surface of the viewed object associated with the offset reference line positioning point,
determining an offset surface contour line that includes a plurality of points on the surface of the viewed object proximate to the offset slice plane,
determining a plurality of profile surface contour lines between the first surface contour line and the offset surface contour line, and
determining the point of interest as the deepest or highest point on any of the plurality of profile surface contour lines.