CN102988052A - Method and system for measuring foot length - Google Patents

Method and system for measuring foot length Download PDF

Info

Publication number
CN102988052A
CN102988052A CN2011102680237A CN201110268023A CN102988052A CN 102988052 A CN102988052 A CN 102988052A CN 2011102680237 A CN2011102680237 A CN 2011102680237A CN 201110268023 A CN201110268023 A CN 201110268023A CN 102988052 A CN102988052 A CN 102988052A
Authority
CN
China
Prior art keywords
foot
graduation mark
foot length
point
abscissa
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011102680237A
Other languages
Chinese (zh)
Other versions
CN102988052B (en
Inventor
王晓平
赵文忠
曾文斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yinchen Intelligent Identfiying Science & Technology Co Ltd Shanghai
Original Assignee
Yinchen Intelligent Identfiying Science & Technology Co Ltd Shanghai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yinchen Intelligent Identfiying Science & Technology Co Ltd Shanghai filed Critical Yinchen Intelligent Identfiying Science & Technology Co Ltd Shanghai
Priority to CN201110268023.7A priority Critical patent/CN102988052B/en
Publication of CN102988052A publication Critical patent/CN102988052A/en
Application granted granted Critical
Publication of CN102988052B publication Critical patent/CN102988052B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method for measuring foot length. The method includes acquiring a foot image which comprises a plurality of parallel scale lines with the radial direction of the foot intersected with the scale lines, conducting edge enhancement and binaryzation processing on the image, determining an interested area, acquiring two end points of the foot in the interested area and calculating foot length according to the two end points and the scale lines. A system for measuring foot length is further provided. Compared with the prior art, the method and the system achieve automation of the foot length measuring process by arranging an image analysis module and conducting machine processing, analysis and calculating on the foot image, and reduce manual operation quantity accordingly. In addition, arrangement of the scale lines enables image scaling proportion to be reacted through change of the scale lines. Simply, the foot length can be directly determined according to the multiple relation between the foot length and unit scale.

Description

Foot length measuring method and system
Technical field
The present invention relates to a kind of foot length automatic measurement system and method.
Background technology
Growing along with society to the comprehensive demand of collecting biological feature information of human body, foot length is measured is becoming a basic human body information measurement links, due to common foot length measure normally first foot to be measured is fixing after manual read's label taking footage value again, so the efficient of measuring is lower, if can realize that the automatization of this measuring process will reduce testing staff's work complexity to a certain extent, the automatic measurement means of foot length has positive effect therefore introduce easily.
Therefore, necessary a kind of foot length method for automatic measurement and the system of providing.
Summary of the invention
The objective of the invention is to propose a kind of foot length measuring method and foot length automatic measurement system that automatization realizes that be suitable for.
For achieving the above object, foot length measuring method provided by the invention comprises:
Obtain the image of foot, in the described image that obtains, comprise some graduation marks that are parallel to each other, the radial direction of foot and described graduation mark intersect;
Described image is carried out edge enhancing, binary conversion treatment, and definite area-of-interest;
Obtain foot in the radial direction two end points in described area-of-interest;
According to described two end points and described graduation mark, calculate the foot length value.
Optionally, the radial direction of described foot is vertical with described graduation mark.
Optionally, described image is carried out the edge strengthens, comprising:
Described image is carried out gray processing to be processed;
Image after gray processing is processed carries out the edge enhancement process.
Optionally, utilize formula Gray (i, j)=0.299 * R (i, j)+0.587 * G (i, j)+0.114 * B (i, j), carry out described gray processing and process; Wherein, Gray (i, j) is the gray value of point (i, j), and R (i, j) is the red color component value of point (i, j), and G (i, j) is the green component values of point (i, j), and B (i, j) is the blue component value of point (i, j).
Optionally, utilize SOBEL method, PREWITT method, ROBERTS method or LOG method, carry out described edge enhancement process.
Optionally, utilize the SOBEL method to carry out described edge enhancement process, wherein, convolution mask is:
1 0 - 1 2 0 - 2 1 0 - 1 .
Optionally, utilize empirical method, maximum variance between clusters or maximum entropy method (MEM) to carry out described binary conversion treatment.
Optionally, determine area-of-interest, comprising:
The binary map that forms after binary conversion treatment is carried out floor projection;
Determine area-of-interest according to the projection that described floor projection produces;
Wherein, utilize projection formula Carry out described floor projection; Wherein, the projection value when J (y) is y for vertical coordinate, I (x, y) are the value of pixel (x, y), and [m, n] is between projected area.
Optionally, determine area-of-interest according to the projection that described floor projection produces, comprising:
The projection value that produces of determined level projection line by line from top to bottom, if projection value surpasses first threshold, the position that described projection value is corresponding is as the upper edge of area-of-interest;
From described upper along continuing down to judge line by line projection value, if projection value surpasses Second Threshold, the position that described projection value is corresponding is as the lower edge of area-of-interest.
Optionally, described first threshold, Second Threshold rule of thumb arrange in advance.
Optionally, described first threshold is 5% to 10% of maximum horizontal projection value, and described Second Threshold is 90% to 95% of maximum horizontal projection value.
Optionally, obtain foot in the radial direction two end points in described area-of-interest, comprising:
Find out all left hand edge points, the right hand edge point of area-of-interest;
The distance of all left hand edge points and left scale line relatively will be from the left end point of the nearest left hand edge point of left scale line as foot; Relatively all right hand edge points and the distance of right graduation mark will be from the right endpoint of the nearest right hand edge point of the rightest graduation mark as foot.
Optionally, obtain foot in the radial direction two end points in described area-of-interest, comprising:
Take the image longitudinal central axis as reference path, area-of-interest to be searched for line by line, vertical coordinate of every movement is sought respectively the area-of-interest marginal point that runs into of turning left, to turn right in the horizontal direction respectively as left hand edge point, right hand edge point, and abscissa X corresponding to record LI, X RI, and seek from outside to inside the outer peripheral abscissa X of scale LO, X RO
Utilize formula N L=(X LI-X LO)/(X RO-X LO) calculate the degree of closeness of all left hand edge points and left scale line, utilize formula N R=(X RO-X RI)/(X RO-X LO) calculate all right hand edge points and the degree of closeness of right graduation mark, wherein, N LFor left scale line near rate, the more approaching left scale line of point corresponding to the less expression of this rate value; N RFor the rightest graduation mark near rate, point the rightest more approaching graduation mark corresponding to the less expression of this rate value;
With the left hand edge point of the most approaching left scale line left end point as foot, with the right hand edge point of the most approaching the rightest graduation mark right endpoint as foot.
Optionally, after obtaining the left and right end points of foot, utilize foot length computing formula S=L * [1-(X 1LI-X 1LO)/(X 1RO-X 1LO)-(X 2RO-X 2RI)/(X 2RO-X 2LO)] calculate the foot length value;
In above-mentioned formula, S represents the foot length value, and L represents left scale line and the actual distance of right graduation mark, X 1LIThe abscissa of expression foot left end point, X 1LOThe abscissa of the vertical coordinate line at expression foot left end point place and the joining of left scale line, X 1ROThe vertical coordinate line at expression foot left end point place and the abscissa of the joining of right graduation mark; X 2RIThe abscissa of expression foot right endpoint, X 2LOThe abscissa of the vertical coordinate line at expression foot right endpoint place and the joining of left scale line, X 2ROThe vertical coordinate line at expression foot right endpoint place and the abscissa of the joining of right graduation mark.
Optionally, after obtaining the left and right end points of foot, separately comprise:
Centered by the left end point that finds, right endpoint, respectively expand certain size as the Local Search zone to surrounding respectively;
Binaryzation is carried out in local region of search;
With the Local Search zone as the hunting zone, pursue pixel shift to the right from the left end point level, and statistical pixel point change frequency back and forth between black and white, if number of times become 2 will this moment points be updated to new left end point, if change frequency remains unchanged less than 2 left end points;
With the Local Search zone as the hunting zone, pursue pixel shift left from the right endpoint level, and statistical pixel point change frequency back and forth between black and white, if number of times become 2 will this moment points be updated to new right endpoint, if change frequency remains unchanged less than 2 right endpoints.
Optionally, after obtaining the left and right end points of foot, utilize foot length computing formula S=L * [1-(X 1LI-X 1LO)/(X 1RO-X 1LO)-(X 2RO-X 2RI)/(X 2RO-X 2LO)] calculate the foot length value;
In above-mentioned formula, S represents the foot length value, and L represents left scale line and the actual distance of right graduation mark, X 1LIThe abscissa of expression foot left end point, X 1LOThe abscissa of the vertical coordinate line at expression foot left end point place and the joining of left scale line, X 1ROThe vertical coordinate line at expression foot left end point place and the abscissa of the joining of right graduation mark; X 2RIThe abscissa of expression foot right endpoint, X 2LOThe abscissa of the vertical coordinate line at expression foot right endpoint place and the joining of left scale line, X 2ROThe vertical coordinate line at expression foot right endpoint place and the abscissa of the joining of right graduation mark.
The present invention also provides a kind of foot length measuring system, comprising:
For the measuring table of placing foot, described measuring table is provided with some graduation marks that are parallel to each other, and the color of described graduation mark is different from the other parts of described measuring table;
Image collection module is used for measuring table is taken pictures or made a video recording, to obtain the image with foot;
Image analysis module, be used for described image is carried out edge enhancing, binary conversion treatment, determine area-of-interest, obtain foot in the radial direction left end point, right endpoint in described area-of-interest, then calculate the foot length value according to described two end points and described graduation mark.
Optionally, described graduation mark is black, and other zone of measuring table is white in color.
Optionally, described image collection module is positioned at the measuring table oblique upper.
Optionally, described image analysis module comprises that the edge strengthens module, and described edge strengthens module and is used for described image is carried out the gray scale processing, and the image after gray scale is processed carries out the edge enhancement process.
Optionally, described image analysis module comprises the binary map processing module, and described binary map processing module is used for utilizing empirical method, maximum variance between clusters or maximum entropy method (MEM) to carry out described binary conversion treatment.
Optionally, described image analysis module comprises the area-of-interest determination module; Described area-of-interest determination module is used for the binary map that forms after binary conversion treatment is carried out floor projection, and determines area-of-interest according to the projection that described floor projection produces.
Optionally, described image analysis module comprises sufficient end points determination module; Described sufficient end points determination module is used for:
Find out all left hand edge points, the right hand edge point of area-of-interest;
The distance of all left hand edge points and left scale line relatively will be from the left end point of the nearest left hand edge point of left scale line as foot; Relatively all right hand edge points and the distance of right graduation mark will be from the right endpoint of the nearest right hand edge point of the rightest graduation mark as foot.
Optionally, described image analysis module comprises sufficient end points determination module; Described sufficient end points determination module is used for:
Take the image longitudinal central axis as reference path, area-of-interest to be searched for line by line, vertical coordinate of every movement is sought respectively the area-of-interest marginal point that runs into of turning left, to turn right in the horizontal direction respectively as left hand edge point, right hand edge point, and abscissa X corresponding to record LI, X RI, and seek from outside to inside the outer peripheral abscissa X of scale LO, X RO
Utilize formula N L=(X LI-X LO)/(X RO-X LO) calculate the degree of closeness of all left hand edge points and left scale line, utilize formula N R=(X RO-X RI)/(X RO-X LO) calculate all right hand edge points and the degree of closeness of right graduation mark, wherein, N LFor left scale line near rate, the more approaching left scale line of point corresponding to the less expression of this rate value; N RFor the rightest graduation mark near rate, point the rightest more approaching graduation mark corresponding to the less expression of this rate value;
With the left hand edge point of the most approaching left scale line left end point as foot, with the right hand edge point of the most approaching the rightest graduation mark right endpoint as foot.
Optionally, described image analysis module comprises the foot length computing module; Described foot length computing module is used for utilizing foot length computing formula S=L * [1-(X after the left and right end points that obtains foot 1LI-X 1LO)/(X 1RO-X 1LO)-(X 2RO-X 2RI)/(X 2RO-X 2LO)] calculate the foot length value;
In above-mentioned formula, S represents the foot length value, and L represents left scale line and the actual distance of right graduation mark, X 1LIThe abscissa of expression foot left end point, X 1LOThe abscissa of the vertical coordinate line at expression foot left end point place and the joining of left scale line, X 1ROThe vertical coordinate line at expression foot left end point place and the abscissa of the joining of right graduation mark; X 2RIThe abscissa of expression foot right endpoint, X 2LOThe abscissa of the vertical coordinate line at expression foot right endpoint place and the joining of left scale line, X 2ROThe vertical coordinate line at expression foot right endpoint place and the abscissa of the joining of right graduation mark.
Optionally, described image analysis module comprises the end points update module; Described end points update module is used for:
Centered by the left end point that finds, right endpoint, respectively expand certain size as the Local Search zone to surrounding respectively;
Binaryzation is carried out in local region of search;
With the Local Search zone as the hunting zone, pursue pixel shift to the right from the left end point level, and statistical pixel point change frequency back and forth between black and white, if number of times become 2 will this moment points be updated to new left end point, if change frequency remains unchanged less than 2 left end points;
With the Local Search zone as the hunting zone, pursue pixel shift left from the right endpoint level, and statistical pixel point change frequency back and forth between black and white, if number of times become 2 will this moment points be updated to new right endpoint, if change frequency remains unchanged less than 2 right endpoints.
Optionally, described image analysis module comprises the foot length computing module; Described foot length computing module is used for utilizing foot length computing formula S=L * [1-(X after the left and right end points that obtains foot 1LI-X 1LO)/(X 1RO-X 1LO)-(X 2RO-X 2RI)/(X 2RO-X 2LO)] calculate the foot length value;
In above-mentioned formula, S represents the foot length value, and L represents left scale line and the actual distance of right graduation mark, X 1LIThe abscissa of expression foot left end point, X 1LOThe abscissa of the vertical coordinate line at expression foot left end point place and the joining of left scale line, X 1ROThe vertical coordinate line at expression foot left end point place and the abscissa of the joining of right graduation mark; X 2RIThe abscissa of expression foot right endpoint, X 2LOThe abscissa of the vertical coordinate line at expression foot right endpoint place and the joining of left scale line, X 2ROThe vertical coordinate line at expression foot right endpoint place and the abscissa of the joining of right graduation mark.
Compared with prior art, the present invention has the following advantages: the setting of image analysis module and to machine processing, analysis, the calculating of foot image makes the foot length measuring process realize automatization, thereby has reduced the manually-operated amount.
In addition, the embodiment of the present invention adopts the pattern of laterally inclined downward shooting to obtain the foot image, and the surface of the test platform of Gong standing is provided with many graduation marks, and wherein, the surface of platform is white in color, and graduation mark is black.Compare with the foot screening-mode, the laterally inclined downward screening-mode of employing can reduce the difficulty that arranges of measuring table and camera lens greatly.The setting of graduation mark makes reacting condition that the imagezoom ratio can be by graduation mark out; More simply, can according to the multiple relation between foot and unit scales, directly determine the size of foot.The platform surface of white presents the graduation mark of black, can make that in the image that obtains, being blocked between graduation mark and foot (particularly foot profile) highlights with hiding relation, facilitate or simplify follow-up foot area judge process, and the process of calculating foot length according to graduation mark.
Description of drawings
Fig. 1 is the flow chart of foot length measuring method of the present invention.
Fig. 2 is a schematic diagram with the image of foot that obtains.
Fig. 3 is structure and the position relationship schematic diagram of measuring table and photographing device.
Fig. 4 is the schematic diagram that utilizes an image material object of Fig. 3 equipment picked-up.
Fig. 5 is the flow chart of edge enhancement process.
Fig. 6 is the schematic diagram of image after binary conversion treatment shown in Figure 4.
Fig. 7 is the flow chart of determining the area-of-interest method.
Fig. 8 is the reduced graph of Fig. 6, with the clear definite method that shows sufficient end points.
Fig. 9 is the module diagram of foot length measuring system.
Figure 10 is the module diagram of image analysis module.
Figure 11 is the module diagram of another kind of foot length measuring system.
The specific embodiment
Be to obtain the foot image, in theory can be from three angle shots: face down from the crown, self-sustaining dolly directly makes progress, and be tilted to down from the side.Face down from the crown and take in the image that obtains, the bulk zone of foot all can be hidden by head or body, often be not enough to build the foot profile according to remaining foot image, can't obtain the foot length data, in the foot length data that perhaps draw, the experience composition is too large and not accurate enough.
Upwards take from the vola, the foot image that obtains in theory is without obvious distortion.But photographic head or camera lens can be required to be placed in the measuring table of standing for the people; The surface of platform also can be required to adopt transparent material, so that foot can be made a video recording; In addition, to consider the problem of illumination compensation toward contact.Nonetheless harsh setting, because photographic head or camera lens placement space are limited and limited with the distance of foot, the foot image of acquisition also is not enough to guarantee to calculate foot length data accurately.
From laterally inclined downward shooting, photographic head or camera lens are easily placed, but the image that obtains often has distortion.The foot length that according to the image calculation of being out of shape often has certain deviation.
In image is processed, because the difference of foot in image and other object is often enough not large, after processor carries out conventional gray processing processing, the processing of two-value method to image, often can not judge accurately foot area, or to the getting the wrong sow by the ear of foot area, cause that final to calculate the foot length value that obtains wrong.
In addition, no matter adopt which kind of mode to take, because of factors such as visual angle change, depth information variations, tend to cause the object in image to exist to a certain degree shape distortion with respect to material object, determine that this distortion ratio is often cumbersome, be usually directed to a large amount of machine arithmetics.And due to the variation of focal length, lens direction, this ratio may change.This makes this ratio not have versatility; In other words, each shooting may all need to redefine this ratio value.
Based on above-mentioned cognition, the inventor proposes a kind of foot length automatic measuring platform, and its pattern that adopts laterally inclined downward shooting is to obtain the foot image, the surface of the test platform of Gong standing is provided with many graduation marks, wherein, the surface of platform is white in color, and graduation mark is black.Compare with the foot screening-mode, the laterally inclined downward screening-mode of employing can reduce the difficulty that arranges of measuring table and camera lens greatly.The setting of graduation mark makes reacting condition that the imagezoom ratio can be by graduation mark out; More simply, can according to the multiple relation between foot and unit scales, directly determine the size of foot.The platform surface of white presents the graduation mark of black, can be so that in the image that obtains, being blocked between graduation mark and foot (particularly foot profile) highlights with hiding relation, facilitate or simplify follow-up foot area judge process, and the process of calculating foot length according to graduation mark.The inventor has also proposed the measuring method that a kind of and above-mentioned platform matches or adapts.Above-mentioned foot length measuring method as shown in Figure 1, comprises the following steps:
S1: obtain the image of foot, in the described image that obtains, comprise some graduation marks that are parallel to each other, the radial direction of foot and described graduation mark intersect;
S2: described image is carried out edge enhancing, binary conversion treatment, and definite area-of-interest;
S3: obtain foot in the radial direction two end points in described area-of-interest;
S4: calculate foot length according to described two end points and described graduation mark.
In step S1, the picture that intersects for obtaining foot radial direction and graduation mark in the time of can requiring the measured erect-position, makes foot radially intersect with graduation mark as far as possible; Preferably vertical, hereinafter in detail vertically disposed benefit can be described in detail.The edge that image is carried out strengthens and binary conversion treatment, make and can find out quickly and accurately foot area (being area-of-interest), and and then definite foot in the radial direction two end points; Subsequently, according to the distance value of two end points in image, and the proportionate relationship that zooms in or out between image and corresponding material object, can calculate two-end-point distance in practice, i.e. the numerical value of foot length.
Set forth detail in the following description so that fully understand the present invention.But the present invention can be different from alternate manner described here and implements with multiple, and those skilled in the art can be in the situation that do similar popularization without prejudice to intension of the present invention.Therefore the present invention is not subjected to the restriction of the following public specific embodiment.
At first, obtain image with foot.The image that obtains as shown in Figure 2, comprises some graduation marks that are parallel to each other 13, and the radial direction of foot 15 is substantially vertical with described graduation mark 13.The background 11 of whole image is white in color, and graduation mark 13 is black; Graduation mark 13 in figure does not extend to the upper area of background 11, just for showing better both differences, can make as required in practice graduation mark extend and be covered with whole background.The background of white and the obvious difference of black graduation mark facilitate the follow-up foot area of telling, and then find out fast the end points of foot; The graduation mark that arranges can be used as reference, calculates the image ratio of dwindling or amplifying relatively in kind, and then calculates actual foot length numerical value by top foot length formula.If the image that obtains is analog image, for convenience of follow-up processing, be translated into digital picture here.
In the specific implementation, can utilize device shown in Figure 3, obtain image noted earlier; Fig. 4 is the schematic diagram that utilizes an actual picture of device acquisition shown in Figure 3.Please in conjunction with Fig. 3 and shown in Figure 4, measuring table 10 surfaces that confession people's foot is stood are (in the image of picked-up, this surface of test platform can become the background 11 of image) integral body is white in color, and be provided with many graduation marks 13 of uniformly-spaced arranging, graduation mark 13 is black.The spacing of adjacent graduation mark 13 (calling " unit scales " in the following text) can design according to the needs of certainty of measurement, and in the present embodiment, unit scales is 1 centimetre (cm).The side mark of some graduation mark 13 has number of division, as shown in scheming upward; But this is also inessential, and in follow-up image was processed, by operations such as Filtering Processing, connection district's processing, the impact that these marks bring can be eliminated at an easy rate, calculates thereby can not have influence on final foot length.Illustrate a bit, the image of acquisition is due to the relation of taking the visual angle, can distorted, and such as graduation mark in Fig. 4 has produced in various degree distortion nearly all.
Photographing device or picture pick-up device as photographic head 19, are positioned at the oblique upper of measuring table 11, and its camera lens is to the surface tilt of measuring table.Photographic head 19 can be connected with computer or other image analysis equipment (can be wired or wireless mode), in order to the image transmission of picked-up is then analyzed, thereby calculates foot length.
Then, the image that obtains is carried out the edge enhancement process.As shown in Figure 5, described image is carried out the edge enhancement process, comprises the following steps:
S211: described image is carried out gray processing process;
S212: the image after gray scale is processed carries out the edge enhancement process.
In said process, can utilize formula Gray (i, j)=0.299 * R (i, j)+0.587 * G (i, j)+0.114 * B (i, j), carry out described gray scale and process, so that image is transformed gray level image.In formula, Gray (i, j) is the gray value of any point (i, j), R (i, j) be the red color component value of point (i, j), G (i, j) is point (i, j) green component values, B (i, j) is the blue component value of point (i, j).
Can utilize SOBEL method, PREWITT method, ROBERTS method or LOG method, carry out described edge enhancement process.Preferably, utilize the SOBEL method to carry out described edge enhancement process, wherein, the convolution mask of use is: 1 0 - 1 2 0 - 2 1 0 - 1 .
Then, the image after edge strengthens carries out binary conversion treatment, noise reduction process.In the specific implementation, can utilize the image after the method edges such as empirical method, maximum variance between clusters or maximum entropy method (MEM) strengthen to carry out described binary conversion treatment, to form bianry image.In the present embodiment, employing is maximum variance between clusters.Disturb for getting rid of, the small size in bianry image is communicated with the district marks, area statistics, then remove little connection district to reach the noise reduction purpose according to threshold value.Above-mentioned threshold value can be by the experience setting, as is set as the 5%-15% of largest connected district area.
Image shown in Figure 4 is after above-mentioned several steps process, and the binary image of formation as shown in Figure 6.In Fig. 6, graduation mark 13 is presented black by the part that foot 20 hides, and not covered graduation mark 13 is white in color, and all the other objects (comprising foot) all present black.According to the distribution of faults of white graduation mark 13, make foot 20 clear-cut highlight.
Subsequently, determine area-of-interest (that is, the foot area relevant to sufficient end points).As shown in Figure 7, the method for determining area-of-interest can specifically comprise step:
Step S231: the binary map that forms after binary conversion treatment is carried out floor projection;
Step S232: determine area-of-interest according to the projection that described floor projection produces.
In step S231, utilize projection formula Carry out described floor projection; Wherein, the projection value when J (y) is y for vertical coordinate, I (x, y) are the value of pixel (x, y), and [m, n] is between projected area.In the present embodiment, can be with the longitudinal axis (Y-axis) of the axis of image in the vertical direction (it is substantially parallel with graduation mark) as coordinate system, with the transverse axis (X-axis) of in the horizontal direction axis of image (its substantially with the axially parallel of foot length) as coordinate axes, as shown in Figure 6; Then carry out above-mentioned projection.Certainly, select the difference of coordinate system, can directly have influence on the result of floor projection, but it can't have influence on determining of foot area (or claiming area-of-interest).
Continue ginseng shown in Figure 6, the graduation mark 13 that can shield portions be white in color due to foot 20, and then cause projection value and other zone of foot region to create a difference; Larger by the zone that foot occupies, this difference is more obvious.Take the gray value of white as example, because the white graduation mark at place is not all blocked by foot, axis Y=Y mThe place white value the highest, here with it as a standard value; Axis Y=Y nThe place has larger zone to be blocked by foot, so axis Y=Y nCorresponding white value is just little a lot.For ease of explanation, select the white gray value as the standard foot area in the embodiment of back, so in the content of back, alleged gray value all refers to the white gray value.
In step S232, determine area-of-interest according to projection or projection value that described floor projection produces, be specially: from up to down (can certainly be from bottom to top, can't affect result) projection value that produces of determined level projection line by line, if projection value surpasses first threshold, the position that described projection value is corresponding is as the upper edge (saying here along referring to upper bound) of area-of-interest; From described upper along continuing down to judge line by line projection value, if projection value surpasses Second Threshold, the position that described projection value is corresponding is as the lower edge of area-of-interest.Described first threshold, Second Threshold rule of thumb arrange in advance.In the specific implementation, first threshold can be 5% to 10% of maximum horizontal projection value (the floor projection maximum that namely obtains in time foot measurement), and Second Threshold can be 90% to 95% of maximum horizontal projection value.
After determining area-of-interest, then need to obtain foot in the radial direction two end points in the described area-of-interest of binary map.Can utilize following principle to carry out: in area-of-interest, find out all marginal points of foot, calculate these marginal points apart from the distance of outermost graduation mark (left scale line or the rightest graduation mark) or away from degree and make comparisons, will be from the right endpoint of the nearest marginal point of the rightest graduation mark as foot, will be from the left end point of the nearest marginal point of left scale line as foot.
In force, two end points can the following step determining foot:
(1), take image longitudinal central axis (being Y-axis) as reference path, join shown in Figure 8ly, from top to bottom area-of-interest is searched for line by line vertical coordinate of every movement, seek respectively in the horizontal direction first edge pixel of turning left, turning right and running into, and abscissa X corresponding to record LI, X RI, and seek from outside to inside the outer peripheral abscissa X of scale LO, X ROIllustrate a bit, because the graduation mark in image has distortion, it no longer is parallel to Y-axis, thus after vertical coordinate moves, vertical coordinate line and left scale line, the rightest graduation mark intersection point vertical/abscissa value all may change.
(2), utilize formula N L=(X LI-X LO)/(X RO-X LO) degree of closeness of all left hand edge points and left scale line relatively, utilize formula N R=(X RO-X RI)/(X RO-X LO) relatively all right hand edge points and the degree of closeness of right graduation mark, with the left hand edge point of the most approaching left scale line left end point as foot, with the right hand edge point of the most approaching the rightest graduation mark right endpoint as foot.In above-mentioned formula, X LIThe abscissa that represents the foot left hand edge point corresponding with longitudinal axis Y, X RIThe abscissa that represents the foot right hand edge point corresponding with longitudinal axis Y, X LOThe abscissa that represents the intersection point of left scale line and longitudinal axis Y, X ROThe abscissa of the intersection point of the rightest graduation mark of expression and longitudinal axis Y; N LFor left scale line near rate, the more approaching left scale line of point corresponding to the less expression of this rate value; N RFor the rightest graduation mark near rate, point the rightest more approaching graduation mark corresponding to the less expression of this rate value.
For making the back narration conveniently, the foot left end point of determining in above-mentioned steps, coordinate (X 1LI, Y 1) expression, the vertical coordinate line Y=Y at foot left end point place 1Be designated as X with the abscissa of the joining of left scale line 1LO, the vertical coordinate line Y=Y at foot left end point place 1Be designated as X with the abscissa of the joining of right graduation mark 1ROThe foot right endpoint of determining in above-mentioned steps, coordinate (X 2RI, Y 2) expression, the vertical coordinate line Y=Y at foot right endpoint place 2Be designated as X with the abscissa of the joining of left scale line 2LO, the vertical coordinate line Y=Y at foot right endpoint place 2Be designated as X with the abscissa of the joining of right graduation mark 2RO
After obtaining the left and right two-end-point of foot, utilize foot length computing formula S=L * [1-(X 1LI-X 1LO)/(X 1RO-X 1LO)-(X 2RO-X 2RI)/(X 2RO-X 2LO)] can calculate the foot length value.In above-mentioned formula, L is left scale line and the actual distance of right graduation mark, and other parameter has definition in the above, and it will not go into details here.
The inventor finds in practice, and the two-end-point that said method is determined sometimes can be not accurate enough, and the foot length and the actual value that cause calculating have deviation, usually greater than actual value.This error can not surpass the spacing (calling 1 times of scale spacing in the following text) of adjacent graduation mark usually, can satisfy the demands fully under the place or situation that is not strict especially requiring.In order to make measurement result enough accurate, the inventor further proposes a kind of error correction method.Macromethod is, former state method and obtain the foot two-end-point after, further judgement has or not coordinate points to be suitable for substituting aforementioned end points in certain regional area centered by this two-end-point; If any more suitable end points, the foot end points before substituting with new coordinate points, it's not true, carries out follow-up foot length value with former end points and calculate.Can implement by the following step said method:
(1), choose the Local Search zone.Concrete grammar is centered by the end points that finds, and respectively expands certain size (as 1 times of scale spacing) as the Local Search zone to surrounding.
(2), binaryzation is carried out in local region of search.During concrete enforcement, can adopt the methods such as empirical method, maximum variance between clusters, maximum entropy method (MEM), preferably, adopt maximum variance between clusters, carry out the binaryzation operation.
(3), search for and upgrade sufficient end points, a) to left end point, to the right by pixel shift, and statistical pixel point change frequency back and forth between black and white is updated to new left end point if number of times becomes 2 with points at this moment from Local Search regional center level; B) to right endpoint, left by pixel shift, and statistical pixel point change frequency back and forth between black and white is updated to new right endpoint if number of times becomes 2 with points at this moment from Local Search regional center level.
End points has renewal, with new left and right end points substitution formula S=L * [1-(X 1LI-X 1LO)/(X 1RO-X 1LO)-(X 2RO-X 2RI)/(X 2RO-X 2LO)] calculating foot length value; End points does not have to upgrade, and the accuracy of process before being equivalent to verify is with former left and right end points substitution formula S=L * [1-(X 1LI-X 1LO)/(X 1RO-X 1LO)-(X 2RO-X 2RI)/(X 2RO-X 2LO)] calculating foot length value.
Corresponding with aforementioned foot length method for automatic measurement, the present invention also provides a kind of foot length automatic measurement system.Described measuring system 100 as shown in Figure 9, comprising:
For the measuring table 3 of placing foot, described measuring table is provided with some graduation marks that are parallel to each other, and the color of described graduation mark is different from the other parts of described measuring table;
Image collection module 4 is used for measuring table is taken pictures or made a video recording, to obtain the image with foot;
Image analysis module 5, be used for described image is carried out edge enhancing, binary conversion treatment, determine area-of-interest, obtain foot in the radial direction left end point, right endpoint in described area-of-interest, then calculate the foot length value according to described two end points and described graduation mark.
During concrete enforcement, described image analysis module 5 can strengthen module 51, binary map processing module 52, area-of-interest determination module 54, sufficient end points determination module 56 and foot length computing module 58 by the edge and form, as Figure 10.
Wherein, the edge strengthens module 51, be used for that described image is carried out gray processing and process, and the image after gray processing is processed carries out the edge enhancement process.
When gray processing was processed, the edge strengthens module 51 can utilize formula Gray (i, j)=0.299 * R (i, j)+0.587 * G (i, j)+0.114 * B (i, j), completed described gray processing and processed; Wherein, Gray (i, j) is the gray value of point (i, j), and R (i, j) is the red color component value of point (i, j), and G (i, j) is the green component values of point (i, j), and B (i, j) is the blue component value of point (i, j).
When the edge enhancement process, the edge strengthens module 51 can utilize SOBEL method, PREWITT method, ROBERTS method or LOG method.Preferably, utilize the SOBEL method to carry out described edge enhancement process, wherein, convolution mask is: 1 0 - 1 2 0 - 2 1 0 - 1 .
Binary map processing module 52 is used for utilizing the methods such as empirical method, maximum variance between clusters or maximum entropy method (MEM) to carry out described binary conversion treatment.
Area-of-interest determination module 54 is used for the binary map that forms after binary conversion treatment is carried out floor projection, determines area-of-interest according to the projection that described floor projection produces.
Concrete, area-of-interest determination module 54 can utilize projection formula
Figure BDA0000090338160000161
Carry out described floor projection; Wherein, the projection value when J (y) is y for vertical coordinate, I (x, y) are the value of pixel (x, y), and [m, n] is between projected area.After obtaining horizontal projection, area-of-interest determination module 54 is the projection value of determined level projection generation line by line, if projection value surpasses first threshold, the position that described projection value is corresponding is as the upper edge of area-of-interest; From described upper along continuing to judge line by line projection value, if projection value surpasses Second Threshold, the position that described projection value is corresponding is as the lower edge of area-of-interest.Described first threshold, Second Threshold rule of thumb arrange in advance.In the specific implementation, described first threshold can be set to 5% to 10% of maximum horizontal projection value, and described Second Threshold can be set to 90% to 95% of maximum horizontal projection value.
Foot end points determination module 56 is used for obtaining foot in the radial direction two end points in described area-of-interest.During concrete enforcement, foot end points determination module 56 can first be found out all left hand edge points, the right hand edge point of area-of-interest, then the distance of all left hand edge points and left scale line relatively, will be from the left end point of the nearest left hand edge point of left scale line as foot, relatively all right hand edge points and the distance of right graduation mark will be from the right endpoint of the nearest right hand edge point of the rightest graduation mark as foot.The practice is more specifically:
Take the image longitudinal central axis as reference path, area-of-interest to be searched for line by line, vertical coordinate of every movement is sought respectively the area-of-interest marginal point that runs into of turning left, to turn right in the horizontal direction respectively as left hand edge point, right hand edge point, and abscissa X corresponding to record LI, X RI, and seek from outside to inside the outer peripheral abscissa X of scale LO, X RO
Utilize formula N L=(X LI-X LO)/(X RO-X LO) calculate the degree of closeness of all left hand edge points and left scale line, utilize formula N R=(X RO-X RI)/(X RO-X LO) calculate all right hand edge points and the degree of closeness of right graduation mark, wherein, N LFor left scale line near rate, the more approaching left scale line of point corresponding to the less expression of this rate value; N RFor the rightest graduation mark near rate, point the rightest more approaching graduation mark corresponding to the less expression of this rate value;
With the left hand edge point of the most approaching left scale line left end point as foot, with the right hand edge point of the most approaching the rightest graduation mark right endpoint as foot.
Foot length computing module 58 is used for utilizing foot length computing formula S=L * [1-(X after the left and right end points that obtains foot 1LI-X 1LO)/(X 1RO-X 1LO)-(X 2RO-X 2RI)/(X 2RO-X 2LO)] calculate the foot length value;
In above-mentioned formula, S represents the foot length value, and L represents left scale line and the actual distance of right graduation mark, X 1LIThe abscissa of expression foot left end point, X 1LOThe abscissa of the vertical coordinate line at expression foot left end point place and the joining of left scale line, X 1ROThe vertical coordinate line at expression foot left end point place and the abscissa of the joining of right graduation mark; X 2RIThe abscissa of expression foot right endpoint, X 2LOThe abscissa of the vertical coordinate line at expression foot right endpoint place and the joining of left scale line, X 2ROThe vertical coordinate line at expression foot right endpoint place and the abscissa of the joining of right graduation mark.
Corresponding with the second measuring method, the present invention also provides the second embodiment of foot length measuring system.Similar to the above embodiments, it comprises measuring table, image collection module and image analysis module equally.And, identical in the setting of its measuring table, image collection module and work process and above-described embodiment.Even image analysis module is also substantially substantially identical with above-described embodiment, and difference only is that the image analysis module in the second embodiment separately comprises the end points update module 57 that connects sufficient end points determination module 56 and foot length computing module 58, as shown in figure 11.Described end points update module 57 is used for judging whether the terminal point information that sufficient end points determination module 56 obtains accurate, inaccurate words, with seek new end points substitute, talk about accurately, keep former end points.Then, end points update module 57 can be with the end points of renewal or through confirming that end points is sent into foot length computing module 58 accurately, to obtain foot length value more accurately.
When specific works, described end points update module 57 centered by left end point that sufficient end points determination module 56 finds, right endpoint, is respectively expanded certain size as the Local Search zone to surrounding respectively; Then binaryzation is carried out in local region of search; With the Local Search zone as the hunting zone, pursue pixel shift to the right from the left end point level, and statistical pixel point change frequency back and forth between black and white, if number of times become 2 will this moment points be updated to new left end point, if change frequency remains unchanged less than 2 left end points; With the Local Search zone as the hunting zone, pursue pixel shift left from the right endpoint level, and statistical pixel point change frequency back and forth between black and white, if number of times become 2 will this moment points be updated to new right endpoint, if change frequency remains unchanged less than 2 right endpoints.
To sum up analyze, the image analysis module that arranges in the embodiment of the present invention and the gauge of foot image is processed, analyzes, calculated makes the foot length measuring process realize automatization, reduces the manually-operated amount.
In addition, the embodiment of the present invention adopts the pattern of laterally inclined downward shooting to obtain the foot image, and the surface of the test platform of Gong standing is provided with many graduation marks, and wherein, the surface of platform is white in color, and graduation mark is black.Compare with the foot screening-mode, the laterally inclined downward screening-mode of employing can reduce the difficulty that arranges of measuring table and camera lens greatly.The setting of graduation mark makes reacting condition that the imagezoom ratio can be by graduation mark out; More simply, can according to the multiple relation between foot and unit scales, directly determine the size of foot.The platform surface of white presents the graduation mark of black, can be so that in the image that obtains, graduation mark and foot (particularly foot profile) can highlight, facilitate or simplify follow-up foot area judge process, and the process of calculating foot length according to graduation mark.
Although the present invention with preferred embodiment openly as above; but it is not to limit the present invention; any those skilled in the art without departing from the spirit and scope of the present invention; can utilize method and the technology contents of above-mentioned announcement to make possible change and modification to technical solution of the present invention; therefore; every content that does not break away from technical solution of the present invention; to any simple modification, equivalent variations and modification that above embodiment does, all belong to the protection domain of technical solution of the present invention according to technical spirit of the present invention.

Claims (27)

1. a foot length measuring method, is characterized in that, comprising:
Obtain the image of foot, in the described image that obtains, comprise some graduation marks that are parallel to each other, the radial direction of foot and described graduation mark intersect;
Described image is carried out edge enhancing, binary conversion treatment, and definite area-of-interest;
Obtain foot in the radial direction two end points in described area-of-interest;
According to described two end points and described graduation mark, calculate the foot length value.
2. foot length measuring method as claimed in claim 1, is characterized in that, the radial direction of described foot is vertical with described graduation mark.
3. foot length measuring method as claimed in claim 1, is characterized in that, described image carried out the edge strengthen, and comprising:
Described image is carried out gray processing to be processed;
Image after gray processing is processed carries out the edge enhancement process.
4. foot length measuring method as claimed in claim 3, is characterized in that, utilizes formula Gray (i, j)=0.299 * R (i, j)+0.587 * G (i, j)+0.114 * B (i, j), carries out described gray processing and process; Wherein, Gray (i, j) is the gray value of point (i, j), and R (i, j) is the red color component value of point (i, j), and G (i, j) is the green component values of point (i, j), and B (i, j) is the blue component value of point (i, j).
5. foot length measuring method as claimed in claim 3, is characterized in that, utilizes SOBEL method, PREWITT method, ROBERTS method or LOG method, carries out described edge enhancement process.
6. foot length measuring method as claimed in claim 5, is characterized in that, utilizes the SOBEL method to carry out described edge enhancement process, and wherein, convolution mask is:
Figure FDA0000090338150000011
7. foot length measuring method as claimed in claim 1, is characterized in that, utilizes empirical method, maximum variance between clusters or maximum entropy method (MEM) to carry out described binary conversion treatment.
8. foot length measuring method as claimed in claim 1, is characterized in that, determines area-of-interest, comprising:
The binary map that forms after binary conversion treatment is carried out floor projection;
Determine area-of-interest according to the projection that described floor projection produces;
Wherein, utilize projection formula
Figure FDA0000090338150000021
Carry out described floor projection; Wherein, the projection value when J (y) is y for vertical coordinate, I (x, y) are the value of pixel (x, y), and [m, n] is between projected area.
9. foot length measuring method as claimed in claim 8, is characterized in that, determines area-of-interest according to the projection that described floor projection produces, and comprising:
The projection value that produces of determined level projection line by line from top to bottom, if projection value surpasses first threshold, the position that described projection value is corresponding is as the upper edge of area-of-interest;
From described upper along continuing down to judge line by line projection value, if projection value surpasses Second Threshold, the position that described projection value is corresponding is as the lower edge of area-of-interest.
10. foot length measuring method as claimed in claim 9, is characterized in that, described first threshold, Second Threshold rule of thumb arrange in advance.
11. foot length measuring method as claimed in claim 9 is characterized in that, described first threshold is 5% to 10% of maximum horizontal projection value, and described Second Threshold is 90% to 95% of maximum horizontal projection value.
12. foot length measuring method as claimed in claim 1 is characterized in that, obtains foot in the radial direction two end points in described area-of-interest, comprising:
Find out all left hand edge points, the right hand edge point of area-of-interest;
The distance of all left hand edge points and left scale line relatively will be from the left end point of the nearest left hand edge point of left scale line as foot; Relatively all right hand edge points and the distance of right graduation mark will be from the right endpoint of the nearest right hand edge point of the rightest graduation mark as foot.
13. foot length measuring method as claimed in claim 1 is characterized in that, obtains foot in the radial direction two end points in described area-of-interest, comprising:
Take the image longitudinal central axis as reference path, area-of-interest is searched for line by line, vertical coordinate of every movement is sought respectively the area-of-interest marginal point that runs into of turning left, to turn right in the horizontal direction respectively as left hand edge point, right hand edge point, and abscissa X corresponding to record LI, X RI, and seek from outside to inside the outer peripheral abscissa X of scale LO, X RO
Utilize formula N L=(X LI-X LO)/(X RO-X LO) calculate the degree of closeness of all left hand edge points and left scale line, utilize formula N R=(X RO-X RI)/(X RO-X LO) calculate all right hand edge points and the degree of closeness of right graduation mark, wherein, N LFor left scale line near rate, the more approaching left scale line of point corresponding to the less expression of this rate value; N RFor the rightest graduation mark near rate, point the rightest more approaching graduation mark corresponding to the less expression of this rate value;
With the left hand edge point of the most approaching left scale line left end point as foot, with the right hand edge point of the most approaching the rightest graduation mark right endpoint as foot.
14. foot length measuring method as claimed in claim 13 is characterized in that, after obtaining the left and right end points of foot, utilizes foot length computing formula S=L * [1-(X 1LI-X 1LO)/(X 1RO-X 1LO)-(X 2RO-X 2RI)/(X 2RO-X 2LO)] calculate the foot length value;
In above-mentioned formula, S represents the foot length value, and L represents left scale line and the actual distance of right graduation mark, X 1LIThe abscissa of expression foot left end point, X 1LOThe abscissa of the vertical coordinate line at expression foot left end point place and the joining of left scale line, X 1ROThe vertical coordinate line at expression foot left end point place and the abscissa of the joining of right graduation mark; X 2RIThe abscissa of expression foot right endpoint, X 2LOThe abscissa of the vertical coordinate line at expression foot right endpoint place and the joining of left scale line, X 2ROThe vertical coordinate line at expression foot right endpoint place and the abscissa of the joining of right graduation mark.
15. foot length measuring method as claimed in claim 13 is characterized in that, after obtaining the left and right end points of foot, separately comprises:
Centered by the left end point that finds, right endpoint, respectively expand certain size as the Local Search zone to surrounding respectively;
Binaryzation is carried out in local region of search;
With the Local Search zone as the hunting zone, pursue pixel shift to the right from the left end point level, and statistical pixel point change frequency back and forth between black and white, if number of times become 2 will this moment points be updated to new left end point, if change frequency remains unchanged less than 2 left end points;
With the Local Search zone as the hunting zone, pursue pixel shift left from the right endpoint level, and statistical pixel point change frequency back and forth between black and white, if number of times become 2 will this moment points be updated to new right endpoint, if change frequency remains unchanged less than 2 right endpoints.
16. foot length measuring method as claimed in claim 15 is characterized in that, after obtaining the left and right end points of foot, utilizes foot length computing formula S=L * [1-(X 1LI-X 1LO)/(X 1RO-X 1LO)-(X 2RO-X 2RI)/(X 2RO-X 2LO)] calculate the foot length value;
In above-mentioned formula, S represents the foot length value, and L represents left scale line and the actual distance of right graduation mark, X 1LIThe abscissa of expression foot left end point, X 1LOThe abscissa of the vertical coordinate line at expression foot left end point place and the joining of left scale line, X 1ROThe vertical coordinate line at expression foot left end point place and the abscissa of the joining of right graduation mark; X 2RIThe abscissa of expression foot right endpoint, X 2LOThe abscissa of the vertical coordinate line at expression foot right endpoint place and the joining of left scale line, X 2ROThe vertical coordinate line at expression foot right endpoint place and the abscissa of the joining of right graduation mark.
17. a foot length measuring system is characterized in that, comprising:
For the measuring table of placing foot, described measuring table is provided with some graduation marks that are parallel to each other, and the color of described graduation mark is different from the other parts of described measuring table;
Image collection module is used for measuring table is taken pictures or made a video recording, to obtain the image with foot;
Image analysis module, be used for described image is carried out edge enhancing, binary conversion treatment, determine area-of-interest, obtain foot in the radial direction left end point, right endpoint in described area-of-interest, then calculate the foot length value according to described two end points and described graduation mark.
18. foot length measuring system as claimed in claim 17 is characterized in that, described graduation mark is black, and other zone of measuring table is white in color.
19. foot length measuring system as claimed in claim 17 is characterized in that, described image collection module is positioned at the measuring table oblique upper.
20. foot length measuring system as claimed in claim 17 is characterized in that, described image analysis module comprises that the edge strengthens module, and described edge strengthens module and is used for described image is carried out the gray scale processing, and the image after gray scale is processed carries out the edge enhancement process.
21. foot length measuring system as claimed in claim 17 is characterized in that, described image analysis module comprises the binary map processing module, and described binary map processing module is used for utilizing empirical method, maximum variance between clusters or maximum entropy method (MEM) to carry out described binary conversion treatment.
22. foot length measuring system as claimed in claim 17 is characterized in that, described image analysis module comprises the area-of-interest determination module; Described area-of-interest determination module is used for the binary map that forms after binary conversion treatment is carried out floor projection, and determines area-of-interest according to the projection that described floor projection produces.
23. foot length measuring system as claimed in claim 17 is characterized in that, described image analysis module comprises sufficient end points determination module; Described sufficient end points determination module is used for:
Find out all left hand edge points, the right hand edge point of area-of-interest;
The distance of all left hand edge points and left scale line relatively will be from the left end point of the nearest left hand edge point of left scale line as foot; Relatively all right hand edge points and the distance of right graduation mark will be from the right endpoint of the nearest right hand edge point of the rightest graduation mark as foot.
24. foot length measuring system as claimed in claim 17 is characterized in that, described image analysis module comprises sufficient end points determination module; Described sufficient end points determination module is used for:
Take the image longitudinal central axis as reference path, area-of-interest to be searched for line by line, vertical coordinate of every movement is sought respectively the area-of-interest marginal point that runs into of turning left, to turn right in the horizontal direction respectively as left hand edge point, right hand edge point, and abscissa X corresponding to record LI, X RI, and seek from outside to inside the outer peripheral abscissa X of scale LO, X RO
Utilize formula N L=(X LI-X LO)/(X RO-X LO) calculate the degree of closeness of all left hand edge points and left scale line, utilize formula N R=(X RO-X RI)/(X RO- XLO) calculate all right hand edge points and the degree of closeness of right graduation mark, wherein, N LFor left scale line near rate, the more approaching left scale line of point corresponding to the less expression of this rate value; N RFor the rightest graduation mark near rate, point the rightest more approaching graduation mark corresponding to the less expression of this rate value;
With the left hand edge point of the most approaching left scale line left end point as foot, with the right hand edge point of the most approaching the rightest graduation mark right endpoint as foot.
25. foot length measuring system as described in claim 17 or 24 is characterized in that described image analysis module comprises the foot length computing module; Described foot length computing module is used for utilizing foot length computing formula S=L * [1-(X after the left and right end points that obtains foot 1LI-X 1LO)/(X 1RO-X 1LO)-(X 2RO-X 2RI)/(X 2RO-X 2LO)] calculate the foot length value;
In above-mentioned formula, S represents the foot length value, and L represents left scale line and the actual distance of right graduation mark, X 1LIThe abscissa of expression foot left end point, X 1LOThe abscissa of the vertical coordinate line at expression foot left end point place and the joining of left scale line, X 1ROThe vertical coordinate line at expression foot left end point place and the abscissa of the joining of right graduation mark; X 2RIThe abscissa of expression foot right endpoint, X 2LOThe abscissa of the vertical coordinate line at expression foot right endpoint place and the joining of left scale line, X 2ROThe vertical coordinate line at expression foot right endpoint place and the abscissa of the joining of right graduation mark.
26. foot length measuring system as claimed in claim 24 is characterized in that, described image analysis module comprises the end points update module; Described end points update module is used for:
Centered by the left end point that finds, right endpoint, respectively expand certain size as the Local Search zone to surrounding respectively;
Binaryzation is carried out in local region of search;
With the Local Search zone as the hunting zone, pursue pixel shift to the right from the left end point level, and statistical pixel point change frequency back and forth between black and white, if number of times become 2 will this moment points be updated to new left end point, if change frequency remains unchanged less than 2 left end points;
With the Local Search zone as the hunting zone, pursue pixel shift left from the right endpoint level, and statistical pixel point change frequency back and forth between black and white, if number of times become 2 will this moment points be updated to new right endpoint, if change frequency remains unchanged less than 2 right endpoints.
27. foot length measuring system as claimed in claim 26 is characterized in that, described image analysis module comprises the foot length computing module; Described foot length computing module is used for utilizing foot length computing formula S=L * [1-(X after the left and right end points that obtains foot 1LI-X 1LO)/(X 1RO-X 1LO)-(X 2RO-X 2RI)/(X 2RO-X 2LO)] calculate the foot length value;
In above-mentioned formula, S represents the foot length value, and L represents left scale line and the actual distance of right graduation mark, X 1LIThe abscissa of expression foot left end point, X 1LOThe abscissa of the vertical coordinate line at expression foot left end point place and the joining of left scale line, X 1ROThe vertical coordinate line at expression foot left end point place and the abscissa of the joining of right graduation mark; X 2RIThe abscissa of expression foot right endpoint, X 2LOThe abscissa of the vertical coordinate line at expression foot right endpoint place and the joining of left scale line, X 2ROThe vertical coordinate line at expression foot right endpoint place and the abscissa of the joining of right graduation mark.
CN201110268023.7A 2011-09-09 2011-09-09 Method and system for measuring foot length Expired - Fee Related CN102988052B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110268023.7A CN102988052B (en) 2011-09-09 2011-09-09 Method and system for measuring foot length

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110268023.7A CN102988052B (en) 2011-09-09 2011-09-09 Method and system for measuring foot length

Publications (2)

Publication Number Publication Date
CN102988052A true CN102988052A (en) 2013-03-27
CN102988052B CN102988052B (en) 2014-09-17

Family

ID=47917506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110268023.7A Expired - Fee Related CN102988052B (en) 2011-09-09 2011-09-09 Method and system for measuring foot length

Country Status (1)

Country Link
CN (1) CN102988052B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105659060A (en) * 2013-10-21 2016-06-08 丰田自动车株式会社 Axial force measurement method
CN105852870A (en) * 2016-06-21 2016-08-17 广西壮族自治区人民医院 Mouth opening and closing degree detection system
CN106097403A (en) * 2016-06-20 2016-11-09 山东科技大学 A kind of acquisition methods of the protected exponent data of network calculated based on image curve
CN109893082A (en) * 2017-12-11 2019-06-18 上海交通大学医学院附属第九人民医院 A kind of measuring system of corneal diameter
CN109900203A (en) * 2017-12-11 2019-06-18 中国科学院宁波工业技术研究院慈溪生物医学工程研究所 A kind of organism size non-contact measurement method
CN109919896A (en) * 2017-12-11 2019-06-21 中国科学院宁波工业技术研究院慈溪生物医学工程研究所 A kind of measurement method of corneal diameter
CN110070077A (en) * 2019-05-09 2019-07-30 瑞昌芯迈科技有限公司 A kind of arch of foot kind identification method
CN110123331A (en) * 2019-04-17 2019-08-16 平安科技(深圳)有限公司 Human body body and constitution collecting method, device and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2535245A (en) * 2014-02-10 2016-08-17 C & J Clark Int Ltd Measuring an object

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2652995A1 (en) * 1989-10-18 1991-04-19 Clerget Chaussures Device for determining the width of a foot as a function of its size
US5729905A (en) * 1995-09-11 1998-03-24 Dwayne L. Mason Foot measuring apparatus and circuitry to eliminate multiplexes and demultiplexers
CN1939210A (en) * 2005-09-28 2007-04-04 林维政 Scanning system for inspecting foot and its using method
US20090151176A1 (en) * 2007-12-13 2009-06-18 Pete Healey Integrated x-ray measurement tool for equine conformation
CN201431450Y (en) * 2009-05-05 2010-03-31 上海银晨智能识别科技有限公司 Human-body biological-information automatic collecting all-in-one machine
CN201463836U (en) * 2009-05-26 2010-05-12 上海银晨智能识别科技有限公司 Foot length measuring system
CN201977794U (en) * 2010-12-10 2011-09-21 上海银晨智能识别科技有限公司 Automatic height measuring system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2652995A1 (en) * 1989-10-18 1991-04-19 Clerget Chaussures Device for determining the width of a foot as a function of its size
US5729905A (en) * 1995-09-11 1998-03-24 Dwayne L. Mason Foot measuring apparatus and circuitry to eliminate multiplexes and demultiplexers
CN1939210A (en) * 2005-09-28 2007-04-04 林维政 Scanning system for inspecting foot and its using method
US20090151176A1 (en) * 2007-12-13 2009-06-18 Pete Healey Integrated x-ray measurement tool for equine conformation
CN201431450Y (en) * 2009-05-05 2010-03-31 上海银晨智能识别科技有限公司 Human-body biological-information automatic collecting all-in-one machine
CN201463836U (en) * 2009-05-26 2010-05-12 上海银晨智能识别科技有限公司 Foot length measuring system
CN201977794U (en) * 2010-12-10 2011-09-21 上海银晨智能识别科技有限公司 Automatic height measuring system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105659060A (en) * 2013-10-21 2016-06-08 丰田自动车株式会社 Axial force measurement method
CN105659060B (en) * 2013-10-21 2018-01-23 丰田自动车株式会社 Axial force measuration method
CN106097403A (en) * 2016-06-20 2016-11-09 山东科技大学 A kind of acquisition methods of the protected exponent data of network calculated based on image curve
CN105852870A (en) * 2016-06-21 2016-08-17 广西壮族自治区人民医院 Mouth opening and closing degree detection system
CN105852870B (en) * 2016-06-21 2018-12-18 广西壮族自治区人民医院 A kind of mouth opening and closing degree detection system
CN109893082A (en) * 2017-12-11 2019-06-18 上海交通大学医学院附属第九人民医院 A kind of measuring system of corneal diameter
CN109900203A (en) * 2017-12-11 2019-06-18 中国科学院宁波工业技术研究院慈溪生物医学工程研究所 A kind of organism size non-contact measurement method
CN109919896A (en) * 2017-12-11 2019-06-21 中国科学院宁波工业技术研究院慈溪生物医学工程研究所 A kind of measurement method of corneal diameter
CN110123331A (en) * 2019-04-17 2019-08-16 平安科技(深圳)有限公司 Human body body and constitution collecting method, device and storage medium
CN110070077A (en) * 2019-05-09 2019-07-30 瑞昌芯迈科技有限公司 A kind of arch of foot kind identification method
CN110070077B (en) * 2019-05-09 2022-02-01 瑞昌芯迈科技有限公司 Arch type identification method

Also Published As

Publication number Publication date
CN102988052B (en) 2014-09-17

Similar Documents

Publication Publication Date Title
CN102988052B (en) Method and system for measuring foot length
US8401274B2 (en) Image processing apparatus and method
CN102506772B (en) Method and device for quickly detecting area of leaf blade based on mobile phone
CN110044405B (en) Automatic automobile instrument detection device and method based on machine vision
JP5861462B2 (en) Inspection standard registration method for solder inspection and board inspection apparatus using the method
JP2011238228A (en) Screen area detection method and system
WO2017128602A1 (en) Educational toy kit, and method of detecting and positioning alignment hole thereof
CN101303226A (en) Method for measuring circuit board line width based on largest communication domain
CN103954334B (en) Fully automatic image pickup type water meter verification system and operating method thereof
CN103033127B (en) Base plate pre-alignment pose measuring method
CN102074031B (en) Standard establishment method for observational check machine of printed circuit board
CN104103069B (en) Image processing apparatus, image processing method and recording medium
TWI512284B (en) Bubble inspection system for glass
CN110196252A (en) Groove defects detection algorithm and device
CN114280075A (en) Online visual inspection system and method for surface defects of pipe parts
TW201326735A (en) Method and system for measuring width
JP3887807B2 (en) Image measuring device
CN115598136B (en) Screen gluing quality detection device
JP2007033126A (en) Substrate inspection device, parameter adjusting method thereof and parameter adjusting device
CN105389795B (en) A kind of rubbish material level detection method, device and feeding trigger
CN206583440U (en) A kind of projected image sighting distance detecting system
JP7207948B2 (en) Appearance inspection method and program
JP2009250777A (en) Surface inspection device and surface inspection method
CN114581507B (en) Seed size calibration method, system and device based on image seed test and storage medium
CN112730427B (en) Product surface defect detection method and system based on machine vision

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140917

Termination date: 20200909

CF01 Termination of patent right due to non-payment of annual fee