1. Field of the Invention
The present invention relates to a positioning measurement apparatus and method for the same.
2. Description of Related Art
Generally, measurement tools such as rulers and calipers are used to measure dimensions of objects. Conventionally, these dimension measuring processes are manual operations and personnel are required to operate these measurement tools and to record measurement results. When multiple dimensions of a large number of objects are measured, it involves many operators and can be time consuming to measure the dimensions of the objects. In addition, in general, manual operations inevitably tends to have human error in the measurement process. Thus, the manual operations have less efficiency and low measurement precision. Furthermore these measurement tools are only used to measure dimension of objects.
Currently, with the development of electronic technologies, electronic measurement tools are used widely. The electronic measurement tools have high measurement precision, can automatically record the measurement result, and can also measure other parameters besides the dimensions. However, the electronic measurement tools are expensive and they are often used for measuring high precision objects. When low precision measurements are needed, the electronic measurements tools are unnecessary.
Therefore, what is needed is a positioning measurement apparatus and method which has a relatively high measurement precision and low cost.
A positioning measurement method is provided. The method includes the step of: capturing images of a standard object or to-be-measured objects; selecting one or more standard points on the image of standard object; selecting a general location area and a standard area by taking each standard point as a central; generating a script by recording the position of each standard range area on the image of the standard object and capturing a standard image in each standard area; storing the script into a data storage; determining the position of the general location area on the image of the to-be-measured object according to the position of general location area recorded in the script; and determining a measurement area, the image in the measurement is most similar to the standard image within the general location area.
Other advantages and novel features will be drawn from the following detailed description of the preferred embodiment with reference to the attached drawings.
a to 3b are schematic diagrams showing how to generate a script according to a standard rivet;
a to
The measurement apparatus 2 includes a data storage 21, an input unit 22, a display 23, and a central processing unit (CPU) 24. The data storage 21 stores the images of the standard objects and the to-be-measured objects generated from the image capturing apparatus 1. The input unit 22 is for generating instructions in response to operations of a user during a measurement process. The display 23 is for displaying information related to the measurement process, e.g., measurement results of the to-be-measured objects. The CPU 24 is for receiving the instructions generated from the input unit 22 and implementing the measurement process according to the instructions. The detailed description of the measurement process implemented by the CPU 24 will be described below by referring to
a˜
Referring to
Referring to
The method of selecting the measurement areas T1 and T2 is described in the following. Referring to
The measurement area selection module 244 respectively obtains luminance of each pixel Ti and Ii of the standard image S1 and the alternative image S1m, and computes the difference D1m between the standard image S1 and the alternative image S1m according to a formula
wherein, n is a total number of the pixels in the standard image and the alternative image, and i is a natural number and is less or equal to n.
After the difference D1m between the alternative image S1m and the standard image S1 is determined, the difference D1m and coordinates of four vertexes M1, M2, M3, M4 of the corresponding area T1m are stored in the data storage 21. The measurement area selection module 244 repeats the method described above until all difference D1m between other alternative images S1m and the standard image S1 are determined and obtained. When the measurement area selection module 244 obtains a last difference D1m between a last alternative image S1m and the standard image S1, referring to
Referring to
If the images of the standard objects and to-be-measured objects are colored images, chroma of the to-be-measured objects can also be determined. Firstly, an RGB value of the standard area R2 of the standard object can be computed. When the measurement area T2 of the to-be-measured object is determined, an RGB value of the measurement area T2 can also be computed. And then the measuring module 245 compares the RGB value of the standard area R2 with the RGB value of the measurement area T1. If the difference between the two RGB values is beyond a predetermined range, the measuring module 245 determines that the chroma of the to-be-measured object does not meet the predetermined standard specification.
In step S802, the standard model determined module 242 selects one or more standard points from the image of the standard object to response to a measurement request.
In step S803, the standard model determining module 242 takes each standard point as the reference point to select the general location area and the standard area, and the general location area is bigger than the standard area.
In step S804, the script generation module 243 records the position of each general location area and captures the standard image in each measurement area to generate a script and stores the script in the data storage 21.
In step S902, the measurement area selection module 244 determines the position of each general location area on the image of the to-be-measured object according to the position of each general location area recorded in the script.
In step S903, the measurement area selection module 244 moves the standard image recorded in the script at a predetermined displacement within the general location area, computes the difference between the standard image and the alternative image, and records the position of a corresponding alternative area of the difference. The measurement area selection module 244 repeats this step until all difference between other alternative images and the standard image are determined and obtained.
In step S904, the measurement area selection module 244 selects a minimal difference in all the differences and determines the measurement area according to the position of the corresponding area of the minimal difference.
In step S905, the measuring module 245 takes the central point of the measurement area as a measurement point.
In step S906, the measuring module 245 implements a measuring instruction according to the measurement require.
In step S907, the measuring module 245 displays the measured result through the display 23 and stores the measured result in the data storage 21. Then the procedure returns to the step S801 and repeats until all the to-be-measured objects are measured.
Although the present invention has been specifically described on the basis of a preferred embodiment, the invention is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiment without departing from the scope and spirit of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2006 1 0063415 | Nov 2006 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
5067162 | Driscoll et al. | Nov 1991 | A |
5750990 | Mizuno | May 1998 | A |
5956419 | Kopec et al. | Sep 1999 | A |
6009212 | Miller et al. | Dec 1999 | A |
6408107 | Miller et al. | Jun 2002 | B1 |
6411731 | Saito | Jun 2002 | B1 |
6553152 | Miller et al. | Apr 2003 | B1 |
6633686 | Bakircioglu et al. | Oct 2003 | B1 |
6915003 | Oosawa | Jul 2005 | B2 |
6968084 | Satoh | Nov 2005 | B2 |
7146347 | Vazquez et al. | Dec 2006 | B1 |
7173268 | Tanaka | Feb 2007 | B2 |
7454065 | Satoh | Nov 2008 | B2 |
20030152275 | Chung et al. | Aug 2003 | A1 |
20030185446 | Huang et al. | Oct 2003 | A1 |
20030185447 | Huang et al. | Oct 2003 | A1 |
20030185462 | Hsieh | Oct 2003 | A1 |
20050002070 | Nakaya et al. | Jan 2005 | A1 |
20050207636 | Liu et al. | Sep 2005 | A1 |
20060038986 | Honda et al. | Feb 2006 | A1 |
20060045350 | Itoh et al. | Mar 2006 | A1 |
20060066649 | Hirashima et al. | Mar 2006 | A1 |
20060164682 | Lev | Jul 2006 | A1 |
20070019842 | Kang | Jan 2007 | A1 |
20070248258 | Mitsui | Oct 2007 | A1 |
20090226076 | Sakai et al. | Sep 2009 | A1 |
20090268959 | Harada et al. | Oct 2009 | A1 |
20100149322 | Lev | Jun 2010 | A1 |
Number | Date | Country |
---|---|---|
10103922 | Apr 1998 | JP |
Number | Date | Country | |
---|---|---|---|
20080103726 A1 | May 2008 | US |