System and method for measuring digital images of a workpiece
AssigneesHONG FU JIN PRECISION INDUSTRY (ShenZhen) CO., LTD., Hon Hai Precision Industry Co., Ltd.
InventorsChih-Kuang Chang, Xiao-Chao Sun, Zhong-Kui Yuan
Life of this patent
Estimating the term…
Abstract
A system and method measures digital images of a workpiece using a measuring computer and a client computer. The measuring computer reads each of the digital images of the workpiece from a source file, and merges all the images to generate a combined image of the workpiece. An object to be measured is selected from the combined image, and an image of the selected object is extracted from the combined image. The client computer measures the selected object on the extracted image, and displays measuring results of the selected object.
Claims7
A system for measuring digital images of a workpiece, the system comprising a client computer for measuring the digital images, the client computer comprising an image merging module, a selecting module, an image extracting module, and a measuring module, wherein:
- the images merging module is configured for merging all the digital images in a source file to generate a combined image of the workpiece according to center point coordinates of each of the captured images;
- the images merging module comprising a logic rectangle generating sub-module configured for generating a pixel rectangle rcB for each of the images according to height and width of the images, merging all the pixel rectangles rcB according to the center points coordinates measured in a pixels unit to generate a logic rectangle rcA, and generating an image rcC by reducing the logic rectangle rcA by a reduction scale S and a coordinate mapping, wherein the reduction scale S is the greater one of a length of the logic rectangle rcA divided by the length of the pixel rectangle rcB or a width of the logic rectangle rcA divided by the width of the pixel rectangle rcB;
- the selecting module is configured for selecting an object to be measured on the combined image;
- the image extracting module is configured for extracting an image of the selected object from the combined image;
- the measuring module is configured for measuring the selected object on the extracted image;
- and
- the client computer connects to a measuring computer for downloading the digital images.
A computer-based method for measuring digital images of a workpiece, the method comprising:
- obtaining the digital images from a measuring machine and storing the digital images into a source file to a storage of a client computer;
- reading each of the images of different parts of the workpiece from the source file and merging all the images to generate a combined image of the workpiece, wherein the reading step comprises step (a) to (c):
- (a) generating a pixel rectangle rcB for each of the images in the source file according to height and width of the images and a center point coordinates of the images;
- (b) generating a logic rectangle rcA by merging all the pixel rectangles rcB;
- and
- (c) calculating a reduction scale S of the logic rectangle rcA, wherein the reduction scale S is the greater one of a length of the logic rectangle rcA divided by the length of the pixel rectangle rcB or a width of the logic rectangle rcA divided by the width of the pixel rectangle rcB;
- selecting an object to be measured on the combined image;
- extracting an image of the selected object;
- and
- measuring the selected object on the extracted image and displaying measuring results on the client computer.
Dependencies are inferred from the claim text.