摘要:
A system and method for determining inflection points in an image of an object includes obtaining the image of the object, performing binary image processing on a border of the image to obtain border points, selecting a predetermined number of the border points to fit a straight line, calculating a vertical distance between each selected border point and the straight line, and obtaining a total distance. The method further includes adding a new border point to the selected border points if the total distance is less than a predetermined value, so as to fit a new straight line and do a loop cycle, otherwise, regarding a last border point of the selected border points as an inflection point, and sequentially selecting the predetermined number of other border points to fit another new straight line.
摘要:
A method for correcting an image of a physical object first captures images of a circle and a rectangle set of a calibration plate placed on a measurement machine, and determines correction data using the images of the circle and the rectangle. The method further corrects the image of the physical object captured by the measurement machine according to the correction data, and displays a corrected image of the physical object.
摘要:
A method for storing images of a workpiece is provided. The method includes the steps of: (a) reading an image of the workpiece from the storage; (b) reading one byte of the three bytes' color information of each pixel of the image; (c) storing one by one the read one byte of the three bytes' color information of each pixel of the image in an array allocated by the storage; (d) obtaining a coordinate value of a center point of the image from the location file; (e) storing the coordinate value of the center point of the image and the array representing the image's color information as an object in a source file; and (f) repeating the steps (a) to (e) till all the images of the workpiece are read. A related system is also disclosed.
摘要:
A method for merging images of an object is provided. The method includes the steps of: (a) reading the images in a storage merging all the images to form a logic rectangle rcA, and calculating a reduction scale S of the logic rectangle rcA; (b) calculating a reduction scale S of the logic rectangle rcA; (c) generating a image rcC by reducing the logic rectangle rcA according to the reduction scale S and a coordinate mapping; (d) reading all the pixel rectangles rcB; (e) reducing each of the pixel rectangles rcB according to the reduction scale S to generate an image rcD; and (f) incorporating all the generated images rcD to the image rcC according to the coordinate mapping to form an overall image of the object. A related system is also disclosed.
摘要:
A system for measuring an image of an object is provided. The system includes a measuring machine and an application server. The application server includes: an edge searching module for finding outlines of an image of an under-measurement object based on gray scale of points in the image and around the image; a measuring module for constructing an applicable coordinate system for the image, and computing structural data of structural patterns of the image using the constructed coordinate system; and a process recording module for recording measuring process as a corresponding procedure instruction while measuring the under-measurement object and generating an automatic measurement program according to the procedure instruction. A related method is also disclosed.
摘要:
In a method for identifying border lines of elements on an image of an object using a computing device, a Dynamic Link Library (DLL) name and one or more measuring parameters are received from the computing device. A DLL is obtained according to the received DLL name. Measuring functions of the obtained DLL are provided for selection. A constructed function of the DLL is obtained according to the number and types of the received measuring parameters to transmit the received measuring parameters to a selected measuring function. Coordinates of points on the image are computed according to the received measuring parameters using the selected measuring function, and a border line of an element on the image is fitted according to the coordinates of the points.
摘要:
A computing device reads an entire image of an object. The entire image is spliced by a plurality of part images. A user selects an area on the entire image. The computing device determines a first number of first pixel points between a center point of the selected area and a center point of each covered image. The converted images are part images that the selected area covers. The coordinate values of the center point of the selected area are calculated according to the first number of pixel points and a size of each pixel point of the entire image. The computing device calculates coordinate values of each point of a selected area according to the size of each pixel point and the coordinate values of the center point of the selected area.
摘要:
A computer is connected to a measurement machine. The computer receives an area selected by a user of a three-dimensional model of a workpiece which is put on the measurement machine. A first size of the selected area is calculated corresponding to resolution values of various images of the workpiece captured by a charge-coupled device (CCD). The computer calculates a number of the images which are necessary to create a complete bitmap, of a certain second size, by splicing together the various images. Coordinate values of the pixel points of the various images are calculated according to a splicing type desired and set by the user. The computer puts the pixel points into a mapping relationship according to the coordinate values of the pixel points, to create the complete bitmap.
摘要:
An electronic device and a method for testing the light intensity of the electronic device include setting a colorbar comprising a plurality of colors corresponding to different gray values. The testing method further includes read bitmap data of read image upon the condition that the read image is a gray image, and recording a pixel number corresponding to each gray value. The method further includes drawing a relationship curve between the plurality of gray values and corresponding pixel numbers and recoloring the gray image according to the plurality of colors in the colorbar corresponding to the gray values of each pixel in the gray image, and displaying the relationship curve and a recolored gray image on a display.
摘要:
A system and method for calculating an observational error of a coordinate measuring machine includes receiving measuring parameters input by a user, obtaining observational errors of the ruler from a storage system, and identifying the zero mark of the ruler. A direction of the ruler is adjusted to be substantially parallel to the measuring direction of the measuring parameters, controlling the coordinate measuring machine to measure the ruler according to the measuring parameters, obtaining measured data. Observational error of the coordinate measuring machine is calculated according to the measured data, which is stored in the storage system.