| Software For Use With Optoelectronic Measuring Tool |
|
|
| Sep 30 2004 | |
|
advertisement: A computer program has been written to facilitate and accelerate the process of measurement by use of the apparatus described in “Optoelectronic Tool Adds Scale Marks to Photographic Images” (KSC-12201), NASA Tech Briefs, Vol. 27, No. 1 (January 2003), page 6a. To recapitulate: The tool contains four laser diodes that generate parallel beams of light spaced apart at a known distance. The beams of light are used to project bright spots that serve as scale marks that become incorporated into photographic images (including film and electronic images). The sizes of objects depicted in the images can readily be measured by reference to the scale marks. The computer program is applicable to a scene that contains the laser spots and that has been imaged in a square pixel format that can be imported into a graphical user interface (GUI) generated by the program. It is assumed that the laser spots and the distance(s) to be measured all lie in the same plane and that the plane is perpendicular to the line of sight of the camera used to record the image. The user marks the locations of the laser spots in the image, and the program calculates the distance (Ls) between them in pixels as simply the square root of the sum of squares of the horizontal and vertical pixel distances between them. Similarly, the user marks any two points, the distance between which is to be measured, and the program calculates the distance (Ps) between them in pixels, in the same manner in which it calculates the pixel distance between the laser spots. Then the program calculates the real distance (Lo) between the two points by Lo = LsPo / Ps, where Ls is the known real distance between the laser spots. The original version of the program, written in Fortran, offered limited performance: it could accept only bit-map (BMP) image data files and was somewhat awkward to use. The current version, written in C++, performs better, in part because it utilizes capabilities afforded by the Windows operating system. In addition to BMP files, the program can now read and save image files in the Joint Photographic Experts Group (JPEG or JPG) and Graphic Image File (GIF) formats. Some of the other features of the current version of the software are the following:
This program was written by Kim C. Ballard of Kennedy Space Center. For further information, access the Technical Support Package (TSP) free on-line at www.techbriefs.com/tsp under the Software category. This Brief includes a Technical Support Package (TSP).Software For Use With Optoelectronic Measuring Tool (reference KSC-12505) is currently available for download from the TSP library. Login first to download.
|























