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

Method and system for measuring foot length Download PDF

Info

Publication number
CN102988052B
CN102988052B CN201110268023.7A CN201110268023A CN102988052B CN 102988052 B CN102988052 B CN 102988052B CN 201110268023 A CN201110268023 A CN 201110268023A CN 102988052 B CN102988052 B CN 102988052B
Authority
CN
China
Prior art keywords
foot
point
graduation mark
foot length
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.)
Expired - Fee Related
Application number
CN201110268023.7A
Other languages
Chinese (zh)
Other versions
CN102988052A (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

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
Along with growing to the comprehensive demand of collecting biological feature information of human body of society, 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 efficiency of measuring is lower, if can realize the automatization of this measuring process, will reduce to a certain extent testing staff's work complexity, therefore introduce the automatic measurement means of foot length easily, have positive effect.
Therefore, necessary a kind of foot length method for automatic measurement and the system of providing.
Summary of the invention
The object 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, described in the 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 to edge enhancing, binary conversion treatment, and definite area-of-interest;
In described area-of-interest, obtain foot at two end points in the radial direction;
According to described two end points and described graduation mark, calculate foot length value.
Optionally, the radial direction of described foot is vertical with described graduation mark.
Optionally, described image is carried out to edge enhancing, comprising:
Described image is carried out to gray processing processing;
Image after gray processing is processed carries out 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 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 forming after binary conversion treatment is carried out to floor projection;
The projection producing according to described floor projection is determined area-of-interest;
Wherein, utilize projection formula carry out described floor projection; Wherein, projection value when J (y) is y for vertical coordinate, I (x, y) is the value of pixel (x, y), [m, n] is between projected area.
Optionally, the projection producing according to described floor projection is determined area-of-interest, comprising:
The projection value that determined level projection produces line by line from top to bottom, if projection value surpasses first threshold, the upper edge using position corresponding to described projection value as area-of-interest;
From described upper along continuing down to judge line by line projection value, if projection value surpasses Second Threshold, the lower edge using position corresponding to described projection value as 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, in described area-of-interest, obtain foot at two end points in the radial direction, comprising:
Find out all left hand edge points, the right hand edge point of area-of-interest;
The distance of more all left hand edge points and left scale line, using the left end point from the nearest left hand edge point of left scale line as foot; More all right hand edge points and the distance of right graduation mark, using the right endpoint from the nearest right hand edge point of the rightest graduation mark as foot.
Optionally, in described area-of-interest, obtain foot at two end points in the radial direction, comprising:
Take image longitudinal central axis as reference path, area-of-interest is searched for line by line, vertical coordinate of every movement, finds respectively in the horizontal direction the area-of-interest marginal point that runs into of turning left, to turn right respectively as left hand edge point, right hand edge point, and records corresponding abscissa X lI, X rI, and find 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 the rate that approaches of left scale line, the more approaching left scale line of point that the less expression of this rate value is corresponding; N rfor the rate that approaches of right graduation mark, the point the rightest more approaching graduation mark that the less expression of this rate value is corresponding;
Left end point using the left hand edge point of the most approaching left scale line as foot, the right endpoint using the right hand edge point of the most approaching the rightest graduation mark as foot.
Optionally, obtain after 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 foot length value;
In above-mentioned formula, S represents foot length value, and L represents left scale line and the actual distance of right graduation mark, X 1LIthe abscissa that represents foot left end point, X 1LOthe abscissa of the vertical coordinate line that represents foot left end point place and the joining of left scale line, X 1ROthe vertical coordinate line that represents foot left end point place and the abscissa of the joining of right graduation mark; X 2RIthe abscissa that represents foot right endpoint, X 2LOthe abscissa of the vertical coordinate line that represents foot right endpoint place and the joining of left scale line, X 2ROthe vertical coordinate line that represents foot right endpoint place and the abscissa of the joining of right graduation mark.
Optionally, obtain after the left and right end points of foot, separately comprise:
Centered by the left end point that finds, right endpoint, to surrounding, respectively expand certain size as Local Search region respectively;
Binaryzation is carried out in local region of search;
Using Local Search region as hunting zone, from left end point level to the right by pixel shift, and statistical pixel point change frequency back and forth between black and white, if number of times becomes 2, point is now updated to new left end point, if being less than 2 left end points, change frequency remains unchanged;
Using Local Search region as hunting zone, from right endpoint level left by pixel shift, and statistical pixel point change frequency back and forth between black and white, if number of times becomes 2, point is now updated to new right endpoint, if being less than 2 right endpoints, change frequency remains unchanged.
Optionally, obtain after 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 foot length value;
In above-mentioned formula, S represents foot length value, and L represents left scale line and the actual distance of right graduation mark, X 1LIthe abscissa that represents foot left end point, X 1LOthe abscissa of the vertical coordinate line that represents foot left end point place and the joining of left scale line, X 1ROthe vertical coordinate line that represents foot left end point place and the abscissa of the joining of right graduation mark; X 2RIthe abscissa that represents foot right endpoint, X 2LOthe abscissa of the vertical coordinate line that represents foot right endpoint place and the joining of left scale line, X 2ROthe vertical coordinate line that represents 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, for measuring table is taken pictures or made a video recording, to obtain the image with foot;
Image analysis module, for described image is carried out to edge enhancing, binary conversion treatment, determine area-of-interest, in described area-of-interest, obtain foot at left end point, right endpoint in the radial direction, then according to described two end points and described graduation mark, calculate foot length value.
Optionally, described graduation mark is black, and other region of measuring table is white in color.
Optionally, described image collection module is positioned at measuring table oblique upper.
Optionally, described image analysis module comprises that edge strengthens module, and described edge strengthens module for described image is carried out to gray scale processing, and the image after gray scale is processed carries out edge enhancement process.
Optionally, described image analysis module comprises 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 area-of-interest determination module; Described area-of-interest determination module, for the binary map forming after binary conversion treatment is carried out to floor projection, and the projection producing according to described floor projection is determined area-of-interest.
Optionally, described image analysis module comprises sufficient end points determination module; Described sufficient end points determination module, for:
Find out all left hand edge points, the right hand edge point of area-of-interest;
The distance of more all left hand edge points and left scale line, using the left end point from the nearest left hand edge point of left scale line as foot; More all right hand edge points and the distance of right graduation mark, using the right endpoint from 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, for:
Take image longitudinal central axis as reference path, area-of-interest is searched for line by line, vertical coordinate of every movement, finds respectively in the horizontal direction the area-of-interest marginal point that runs into of turning left, to turn right respectively as left hand edge point, right hand edge point, and records corresponding abscissa X lI, X rI, and find 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 the rate that approaches of left scale line, the more approaching left scale line of point that the less expression of this rate value is corresponding; N rfor the rate that approaches of right graduation mark, the point the rightest more approaching graduation mark that the less expression of this rate value is corresponding;
Left end point using the left hand edge point of the most approaching left scale line as foot, the right endpoint using the right hand edge point of the most approaching the rightest graduation mark as foot.
Optionally, described image analysis module comprises foot length computing module; Described foot length computing module, for 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 foot length value;
In above-mentioned formula, S represents foot length value, and L represents left scale line and the actual distance of right graduation mark, X 1LIthe abscissa that represents foot left end point, X 1LOthe abscissa of the vertical coordinate line that represents foot left end point place and the joining of left scale line, X 1ROthe vertical coordinate line that represents foot left end point place and the abscissa of the joining of right graduation mark; X 2RIthe abscissa that represents foot right endpoint, X 2LOthe abscissa of the vertical coordinate line that represents foot right endpoint place and the joining of left scale line, X 2ROthe vertical coordinate line that represents foot right endpoint place and the abscissa of the joining of right graduation mark.
Optionally, described image analysis module comprises more new module of end points; Described end points is new module more, for:
Centered by the left end point that finds, right endpoint, to surrounding, respectively expand certain size as Local Search region respectively;
Binaryzation is carried out in local region of search;
Using Local Search region as hunting zone, from left end point level to the right by pixel shift, and statistical pixel point change frequency back and forth between black and white, if number of times becomes 2, point is now updated to new left end point, if being less than 2 left end points, change frequency remains unchanged;
Using Local Search region as hunting zone, from right endpoint level left by pixel shift, and statistical pixel point change frequency back and forth between black and white, if number of times becomes 2, point is now updated to new right endpoint, if being less than 2 right endpoints, change frequency remains unchanged.
Optionally, described image analysis module comprises foot length computing module; Described foot length computing module, for 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 foot length value;
In above-mentioned formula, S represents foot length value, and L represents left scale line and the actual distance of right graduation mark, X 1LIthe abscissa that represents foot left end point, X 1LOthe abscissa of the vertical coordinate line that represents foot left end point place and the joining of left scale line, X 1ROthe vertical coordinate line that represents foot left end point place and the abscissa of the joining of right graduation mark; X 2RIthe abscissa that represents foot right endpoint, X 2LOthe abscissa of the vertical coordinate line that represents foot right endpoint place and the joining of left scale line, X 2ROthe vertical coordinate line that represents 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 the machine processing of foot image, analysis, calculating, makes foot length measuring process realize automatization, thereby reduced manual operation amount.
In addition, the embodiment of the present invention adopts the pattern of laterally inclined downward shooting to obtain 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 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 scaling of image 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 being blocked between graduation mark and foot (particularly foot profile) in obtained image highlight with hiding relation, facilitate or simplify follow-up foot area judge process, and the process of calculating foot length according to graduation mark.
Accompanying drawing explanation
Fig. 1 is the flow chart of foot length measuring method of the present invention.
Fig. 2 is a schematic diagram of the image with 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 the image shown in Fig. 4 after binary conversion treatment.
Fig. 7 is the flow chart of determining area-of-interest method.
Fig. 8 is the reduced graph of Fig. 6, to know the 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
For obtaining foot image, in theory can be from three angle shots: from the crown, face down, the self-sustaining end vertically upward, and be tilted to down from the side.From the crown, face down and take in the image obtaining, the bulk region of foot all can be hidden by head or body, according to remaining foot image, be often not enough to build foot profile, cannot obtain foot length data, or in the foot length data that draw, experience composition is too large and not accurate enough.
From vola, upwards take, the foot image obtaining is in theory without obvious distortion.But photographic head or camera lens can be required to be placed in the measuring table of standing for people; The surface of platform also can be required to adopt transparent material, so that foot can be made a video recording; In addition, toward contact, to consider the problem of illumination compensation.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 is also 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 obtaining often has distortion.The foot length going out according to the image calculation of distortion often has certain deviation.
In image is processed, because the difference of foot in image and other object is often enough not large, processor carries out after conventional gray processing processing, the processing of two-value method 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 obtaining 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 shape distortion to a certain degree 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, inventor proposes a kind of foot length automatic measuring platform, and it adopts the pattern of laterally inclined downward shooting to obtain 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 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 scaling of image 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 being blocked between graduation mark and foot (particularly foot profile) highlights with hiding relation in the image obtaining, facilitate or simplify follow-up foot area judge process, and the process of calculating foot length according to graduation mark.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, described in the 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 to edge enhancing, binary conversion treatment, and definite area-of-interest;
S3: obtain foot at two end points in the radial direction in described area-of-interest;
S4: calculate foot length according to described two end points and described graduation mark.
In step S1, for obtaining the crossing picture of foot radial direction and graduation mark, in the time of can requiring the measured erect-position, make foot radially intersect with graduation mark as far as possible; Preferably vertical, hereinafter in detail vertically disposed benefit can be described in detail.Edge that image is carried out strengthens and binary conversion treatment, makes to find out quickly and accurately foot area (being area-of-interest), and and then definite foot at two end points in the radial direction; Subsequently, the distance value according to two end points in image, and the proportionate relationship zooming 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 do similar popularization without prejudice to intension of the present invention in the situation that.Therefore the present invention is not subject to the restriction of the following public specific embodiment.
First, obtain the image with foot.The image obtaining, 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 arranging 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 foot length formula above.If the image obtaining is analog image, for convenience of follow-up processing, be translated into digital picture here.
In the specific implementation, can utilize the device shown in Fig. 3, obtain image noted earlier; Fig. 4 is the schematic diagram that utilizes an actual picture of Fig. 3 shown device acquisition.Shown in Fig. 3 and Fig. 4, measuring table 10 surfaces of standing for people's foot 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 Figure; But this is also inessential, in follow-up image is processed, by operations such as Filtering Processing, connection district's processing, the impact that these marks bring can be eliminated at an easy rate, thereby can not have influence on final foot length, calculates.Illustrate a bit, the image of acquisition, owing to taking the relation at visual angle, can distort, such as graduation mark in Fig. 4 has produced distortion in various degree nearly all.
Photographing device or picture pick-up device, as photographic head 19, be 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), to the image of picked-up is transmitted and then analyzed, thereby calculates foot length.
Then, the image obtaining is carried out to edge enhancement process.As shown in Figure 5, described image is carried out to edge enhancement process, comprises the following steps:
S211: described image is carried out to gray processing processing;
S212: the image after gray scale is processed carries out 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 to 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 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 enhancing 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.For get rid of disturbing, the small size in bianry image is communicated with to district marks, area statistics, then according to threshold value, remove little connection district to reach noise reduction object.Above-mentioned threshold value can be by experience setting, as is set as the 5%-15% of largest connected district area.
Image shown in Fig. 4 is after above-mentioned several steps are processed, and the binary image of formation as shown in Figure 6.In Fig. 6, the part that graduation mark 13 is hidden by foot 20 presents black, 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 forming after binary conversion treatment is carried out to floor projection;
Step S232: the projection producing according to described floor projection is determined area-of-interest.
In step S231, utilize projection formula carry out described floor projection; Wherein, projection value when J (y) is y for vertical coordinate, I (x, y) is the value of pixel (x, y), [m, n] is between projected area.In the present embodiment, the longitudinal axis (Y-axis) that can be using the axis of image in the vertical direction (its substantially parallel with graduation mark) as coordinate system, transverse axis (X-axis) using axis in the horizontal direction 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 shown in ginseng Fig. 6, because foot 20 is understood the graduation mark 13 that shield portions are white in color, and then cause the projection value of foot region and other region to create a difference; The region being occupied by foot is larger, and this difference is more obvious.Take white gray value as example, because the white graduation mark at place is not all blocked by foot, axis Y=Y mthe white value at place is the highest, here using it as a standard value; Axis Y=Y nplace has larger region to be blocked by foot, so axis Y=Y ncorresponding white value is just little a lot.For ease of explanation, in embodiment below, select white gray value as standard foot area, so below in content alleged gray value all refer to white gray value.
In step S232, the projection or the projection value that according to described floor projection, produce are determined area-of-interest, be specially: from up to down (can certainly be from bottom to top, can't affect result) determined level projection produces line by line projection value, if projection value surpasses first threshold, the upper edge (saying here along referring to upper bound) using position corresponding to described projection value as area-of-interest; From described upper along continuing down to judge line by line projection value, if projection value surpasses Second Threshold, the lower edge using position corresponding to described projection value as 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 obtaining in time foot measurement), and Second Threshold can be 90% to 95% of maximum horizontal projection value.
Determine after area-of-interest, then need in the described area-of-interest of binary map, obtain foot at two end points in the radial direction.Can utilize principle below 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, using the right endpoint from the nearest marginal point of the rightest graduation mark as foot, using the left end point from 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) is reference path, shown in ginseng Fig. 8, from top to bottom area-of-interest is searched for line by line vertical coordinate of every movement, find respectively in the horizontal direction first edge pixel of turning left, turning right and running into, and record corresponding abscissa X lI, X rI, and find from outside to inside the outer peripheral abscissa X of scale lO, X rO.Illustrate a bit, because the graduation mark in image has distortion, it is no longer parallel to Y-axis, so after vertical coordinate moves, vertical coordinate line and left scale line, the most vertical/horizontal coordinate figure of the intersection point of right graduation mark all may change.
(2), utilize formula N l=(X lI-X lO)/(X rO-X lO) degree of closeness of more all left hand edge points and left scale line, utilize formula N r=(X rO-X rI)/(X rO-X lO) more all right hand edge points and the degree of closeness of right graduation mark, the left end point using the left hand edge point of the most approaching left scale line as foot, the right endpoint using the right hand edge point of the most approaching the rightest graduation mark 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 that represents the intersection point of the rightest graduation mark and longitudinal axis Y; N lfor the rate that approaches of left scale line, the more approaching left scale line of point that the less expression of this rate value is corresponding; N rfor the rate that approaches of right graduation mark, the point the rightest more approaching graduation mark that the less expression of this rate value is corresponding.
For making narration below convenient, definite foot left end point in above-mentioned steps, (X for coordinate 1LI, Y 1) represent 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 1RO; Definite foot right endpoint in above-mentioned steps, (X for coordinate 2RI, Y 2) represent 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.
Obtain after 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 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.
Inventor finds in practice, and the two-end-point that said method is determined sometimes can be not accurate enough, causes the foot length and the actual value that calculate to have deviation, is conventionally 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 conventionally, under the place or situation that is not strict especially, can satisfy the demands completely requiring.In order to make measurement result enough accurate, inventor further proposes a kind of error correction method.Macromethod is that the former method of stating obtains after foot two-end-point, further in certain regional area centered by this two-end-point, judges and has or not coordinate points to be suitable for substituting aforementioned end points; If any more suitable end points, the foot end points before substituting with new coordinate points, it's not true, with former end points, carries out follow-up foot length value and calculate.Can implement by the following step said method:
(1), choose Local Search region.Concrete grammar is centered by the end points finding, and to surrounding, respectively expands certain size (as 1 times of scale spacing) as Local Search region.
(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 binaryzation operation.
(3), search for and upgrade sufficient end points, a) to left end point, from Local Search regional center level, 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 by point now; B), to right endpoint, from Local Search regional center level, 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 by point now.
End points has renewal, by 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 is equivalent to the checking accuracy of process before, by 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, for measuring table is taken pictures or made a video recording, to obtain the image with foot;
Image analysis module 5, for described image is carried out to edge enhancing, binary conversion treatment, determine area-of-interest, in described area-of-interest, obtain foot at left end point, right endpoint in the radial direction, then according to described two end points and described graduation mark, calculate foot length value.
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 edge and form, as Figure 10.
Wherein, edge strengthens module 51, and for described image is carried out to gray processing processing, and the image after gray processing is processed carries out edge enhancement process.
When gray processing is processed, 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), completes described gray processing and processes; 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 edge enhancement process, edge strengthens module 51 can utilize SOBEL method, PREWITT method, ROBERTS method or LOG method.Preferably, utilize 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, 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, for the binary map forming after binary conversion treatment is carried out to floor projection, the projection producing according to described floor projection is determined area-of-interest.
Concrete, area-of-interest determination module 54 can utilize projection formula carry out described floor projection; Wherein, projection value when J (y) is y for vertical coordinate, I (x, y) is the value of pixel (x, y), [m, n] is between projected area.After obtaining horizontal projection, area-of-interest determination module 54 projection value that determined level projection produces line by line, if projection value surpasses first threshold, the upper edge using position corresponding to described projection value as area-of-interest; From described upper along continuing to judge line by line projection value, if projection value surpasses Second Threshold, the lower edge using position corresponding to described projection value as 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, for obtaining foot at two end points in the radial direction 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 more all left hand edge points and left scale line, using the left end point from the nearest left hand edge point of left scale line as foot, more all right hand edge points and the distance of right graduation mark, using the right endpoint from the nearest right hand edge point of the rightest graduation mark as foot.The practice is more specifically:
Take image longitudinal central axis as reference path, area-of-interest is searched for line by line, vertical coordinate of every movement, finds respectively in the horizontal direction the area-of-interest marginal point that runs into of turning left, to turn right respectively as left hand edge point, right hand edge point, and records corresponding abscissa X lI, X rI, and find 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 the rate that approaches of left scale line, the more approaching left scale line of point that the less expression of this rate value is corresponding; N rfor the rate that approaches of right graduation mark, the point the rightest more approaching graduation mark that the less expression of this rate value is corresponding;
Left end point using the left hand edge point of the most approaching left scale line as foot, the right endpoint using the right hand edge point of the most approaching the rightest graduation mark as foot.
Foot length computing module 58, for 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 foot length value;
In above-mentioned formula, S represents foot length value, and L represents left scale line and the actual distance of right graduation mark, X 1LIthe abscissa that represents foot left end point, X 1LOthe abscissa of the vertical coordinate line that represents foot left end point place and the joining of left scale line, X 1ROthe vertical coordinate line that represents foot left end point place and the abscissa of the joining of right graduation mark; X 2RIthe abscissa that represents foot right endpoint, X 2LOthe abscissa of the vertical coordinate line that represents foot right endpoint place and the joining of left scale line, X 2ROthe vertical coordinate line that represents 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 the setting of its measuring table, image collection module and work process are identical with above-described embodiment.Even image analysis module is also substantially substantially identical with above-described embodiment, and difference is only that the image analysis module in the second embodiment separately comprises the end points new module 57 more that connects sufficient end points determination module 56 and foot length computing module 58, as shown in figure 11.Whether described end points more new module 57 accurate for the terminal point information that judges sufficient end points determination module 56 and obtain, inaccurate words, with seek new end points substitute, talk about accurately, keep former end points.Then, more new module 57 can be by 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 for end points.
When specific works, centered by the described end points left end point that more new module 57 finds by sufficient end points determination module 56 respectively, right endpoint, to surrounding, respectively expand certain size as Local Search region; Then binaryzation is carried out in local region of search; Using Local Search region as hunting zone, from left end point level to the right by pixel shift, and statistical pixel point change frequency back and forth between black and white, if number of times becomes 2, point is now updated to new left end point, if being less than 2 left end points, change frequency remains unchanged; Using Local Search region as hunting zone, from right endpoint level left by pixel shift, and statistical pixel point change frequency back and forth between black and white, if number of times becomes 2, point is now updated to new right endpoint, if being less than 2 right endpoints, change frequency remains unchanged.
To sum up analyze, the image analysis module arranging in the embodiment of the present invention and gauge processing, analysis, calculating to foot image, make foot length measuring process realize automatization, reduces manual operation amount.
In addition, the embodiment of the present invention adopts the pattern of laterally inclined downward shooting to obtain 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 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 scaling of image 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 graduation mark and foot (particularly foot profile) can highlight in the image obtaining, 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 for limiting 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 depart from technical solution of the present invention; any simple modification, equivalent variations and the modification above embodiment done according to technical spirit of the present invention, all belong to the protection domain of technical solution of the present invention.

Claims (26)

1. a foot length measuring method, is characterized in that, comprising:
Obtain the image of foot, described in the 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 to edge enhancing, binary conversion treatment, the binary map forming after binary conversion treatment is carried out to floor projection, and the projection producing according to described floor projection is determined area-of-interest;
In described area-of-interest, obtain foot at two end points in the radial direction;
According to described two end points and described graduation mark, calculate 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 is carried out to edge enhancing, comprising:
Described image is carried out to gray processing processing;
Image after gray processing is processed carries out 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 processes; 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 SOBEL method to carry out described edge enhancement process, and wherein, convolution mask is:
1 0 - 1 2 0 - 2 1 0 - 1 .
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, describedly the binary map forming after binary conversion treatment is carried out to floor projection comprises:
Utilize projection formula carry out described floor projection; Wherein, projection value when J (y) is y for vertical coordinate, I (x, y) is the value of pixel (x, y), [m, n] is between projected area.
9. foot length measuring method as claimed in claim 1, is characterized in that, the described projection producing according to described floor projection is determined area-of-interest, comprising:
The projection value that determined level projection produces line by line from top to bottom, if projection value surpasses first threshold, the upper edge using position corresponding to described projection value as area-of-interest;
From described upper along continuing down to judge line by line projection value, if projection value surpasses Second Threshold, the lower edge using position corresponding to described projection value as 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 methods 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 methods as claimed in claim 1, is characterized in that, obtain foot at two end points in the radial direction 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 more all left hand edge points and left scale line, using the left end point from the nearest left hand edge point of left scale line as foot; More all right hand edge points and the distance of right graduation mark, using the right endpoint from the nearest right hand edge point of the rightest graduation mark as foot.
13. foot length measuring methods as claimed in claim 1, is characterized in that, obtain foot at two end points in the radial direction in described area-of-interest, comprising:
Take image longitudinal central axis as reference path, area-of-interest is searched for line by line, vertical coordinate of every movement, finds respectively in the horizontal direction the area-of-interest marginal point that runs into of turning left, to turn right respectively as left hand edge point, right hand edge point, and records corresponding abscissa X lI, X rI, and find 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 the rate that approaches of left scale line, the more approaching left scale line of point that the less expression of this rate value is corresponding; N rfor the rate that approaches of right graduation mark, the point the rightest more approaching graduation mark that the less expression of this rate value is corresponding;
Left end point using the left hand edge point of the most approaching left scale line as foot, the right endpoint using the right hand edge point of the most approaching the rightest graduation mark as foot.
14. foot length measuring methods as claimed in claim 13, is characterized in that, obtain after 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 foot length value;
In above-mentioned formula, S represents foot length value, and L represents left scale line and the actual distance of right graduation mark, X 1LIthe abscissa that represents foot left end point, X 1LOthe abscissa of the vertical coordinate line that represents foot left end point place and the joining of left scale line, X 1ROthe vertical coordinate line that represents foot left end point place and the abscissa of the joining of right graduation mark; X 2RIthe abscissa that represents foot right endpoint, X 2LOthe abscissa of the vertical coordinate line that represents foot right endpoint place and the joining of left scale line, X 2ROthe vertical coordinate line that represents foot right endpoint place and the abscissa of the joining of right graduation mark.
15. foot length measuring methods as claimed in claim 13, is characterized in that, obtain after the left and right end points of foot, separately comprise:
Centered by the left end point that finds, right endpoint, to surrounding, respectively expand certain size as Local Search region respectively;
Binaryzation is carried out in local region of search;
Using Local Search region as hunting zone, from left end point level to the right by pixel shift, and statistical pixel point change frequency back and forth between black and white, if number of times becomes 2, point is now updated to new left end point, if being less than 2 left end points, change frequency remains unchanged;
Using Local Search region as hunting zone, from right endpoint level left by pixel shift, and statistical pixel point change frequency back and forth between black and white, if number of times becomes 2, point is now updated to new right endpoint, if being less than 2 right endpoints, change frequency remains unchanged.
16. foot length measuring methods as claimed in claim 15, is characterized in that, obtain after 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 foot length value;
In above-mentioned formula, S represents foot length value, and L represents left scale line and the actual distance of right graduation mark, X 1LIthe abscissa that represents foot left end point, X 1LOthe abscissa of the vertical coordinate line that represents foot left end point place and the joining of left scale line, X 1ROthe vertical coordinate line that represents foot left end point place and the abscissa of the joining of right graduation mark; X 2RIthe abscissa that represents foot right endpoint, X 2LOthe abscissa of the vertical coordinate line that represents foot right endpoint place and the joining of left scale line, X 2ROthe vertical coordinate line that represents foot right endpoint place and the abscissa of the joining of right graduation mark.
17. 1 kinds of foot length measuring systems, 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, for measuring table is taken pictures or made a video recording, to obtain the image with foot;
Image analysis module, for described image is carried out to edge enhancing, binary conversion treatment, determine area-of-interest, in described area-of-interest, obtain foot at left end point, right endpoint in the radial direction, then according to described two end points and described graduation mark, calculate foot length value, described image analysis module comprises: area-of-interest determination module, for the binary map forming after binary conversion treatment is carried out to floor projection, and the projection producing according to described floor projection is determined area-of-interest.
18. foot length measuring systems as claimed in claim 17, is characterized in that, described graduation mark is black, and other region of measuring table is white in color.
19. foot length measuring systems as claimed in claim 17, is characterized in that, described image collection module is positioned at measuring table oblique upper.
20. foot length measuring systems as claimed in claim 17, is characterized in that, described image analysis module comprises that edge strengthens module, and described edge strengthens module for described image is carried out to gray scale processing, and the image after gray scale is processed carries out edge enhancement process.
21. foot length measuring systems as claimed in claim 17, is characterized in that, described image analysis module comprises 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 systems 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, for:
Find out all left hand edge points, the right hand edge point of area-of-interest;
The distance of more all left hand edge points and left scale line, using the left end point from the nearest left hand edge point of left scale line as foot; More all right hand edge points and the distance of right graduation mark, using the right endpoint from the nearest right hand edge point of the rightest graduation mark as foot.
23. foot length measuring systems 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, for:
Take image longitudinal central axis as reference path, area-of-interest is searched for line by line, vertical coordinate of every movement, finds respectively in the horizontal direction the area-of-interest marginal point that runs into of turning left, to turn right respectively as left hand edge point, right hand edge point, and records corresponding abscissa X lI, X rI, and find 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 the rate that approaches of left scale line, the more approaching left scale line of point that the less expression of this rate value is corresponding; N rfor the rate that approaches of right graduation mark, the point the rightest more approaching graduation mark that the less expression of this rate value is corresponding;
Left end point using the left hand edge point of the most approaching left scale line as foot, the right endpoint using the right hand edge point of the most approaching the rightest graduation mark as foot.
24. foot length measuring systems as described in claim 17 or 23, is characterized in that, described image analysis module comprises foot length computing module; Described foot length computing module, for 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 foot length value;
In above-mentioned formula, S represents foot length value, and L represents left scale line and the actual distance of right graduation mark, X 1LIthe abscissa that represents foot left end point, X 1LOthe abscissa of the vertical coordinate line that represents foot left end point place and the joining of left scale line, X 1ROthe vertical coordinate line that represents foot left end point place and the abscissa of the joining of right graduation mark; X 2RIthe abscissa that represents foot right endpoint, X 2LOthe abscissa of the vertical coordinate line that represents foot right endpoint place and the joining of left scale line, X 2ROthe vertical coordinate line that represents foot right endpoint place and the abscissa of the joining of right graduation mark.
25. foot length measuring systems as claimed in claim 23, is characterized in that, described image analysis module comprises more new module of end points; Described end points is new module more, for:
Centered by the left end point that finds, right endpoint, to surrounding, respectively expand certain size as Local Search region respectively;
Binaryzation is carried out in local region of search;
Using Local Search region as hunting zone, from left end point level to the right by pixel shift, and statistical pixel point change frequency back and forth between black and white, if number of times becomes 2, point is now updated to new left end point, if being less than 2 left end points, change frequency remains unchanged;
Using Local Search region as hunting zone, from right endpoint level left by pixel shift, and statistical pixel point change frequency back and forth between black and white, if number of times becomes 2, point is now updated to new right endpoint, if being less than 2 right endpoints, change frequency remains unchanged.
26. foot length measuring systems as claimed in claim 25, is characterized in that, described image analysis module comprises foot length computing module; Described foot length computing module, for 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 foot length value;
In above-mentioned formula, S represents foot length value, and L represents left scale line and the actual distance of right graduation mark, X 1LIthe abscissa that represents foot left end point, X 1LOthe abscissa of the vertical coordinate line that represents foot left end point place and the joining of left scale line, X 1ROthe vertical coordinate line that represents foot left end point place and the abscissa of the joining of right graduation mark; X 2RIthe abscissa that represents foot right endpoint, X 2LOthe abscissa of the vertical coordinate line that represents foot right endpoint place and the joining of left scale line, X 2ROthe vertical coordinate line that represents 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 CN102988052A (en) 2013-03-27
CN102988052B true 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 (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

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5835300B2 (en) * 2013-10-21 2015-12-24 トヨタ自動車株式会社 Axial force measurement method
CN106097403B (en) * 2016-06-20 2020-07-21 山东科技大学 Method for acquiring network protected index data based on image curve calculation
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
CN110070077B (en) * 2019-05-09 2022-02-01 瑞昌芯迈科技有限公司 Arch type identification method

Family Cites Families (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
CN100515323C (en) * 2005-09-28 2009-07-22 林维政 Scanning system for inspecting foot and its using method
US7716843B2 (en) * 2007-12-13 2010-05-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 (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

Also Published As

Publication number Publication date
CN102988052A (en) 2013-03-27

Similar Documents

Publication Publication Date Title
CN102988052B (en) Method and system for measuring foot length
CN102914545B (en) Gear defect detection method and system based on computer vision
CN102176228B (en) Machine vision method for identifying dial plate information of multi-pointer instrument
CN103366250B (en) City appearance environment detection method based on three-dimensional live-action data and system
CN101207833B (en) Method for checking optical centre bias of lens of digital camera
CN110044405B (en) Automatic automobile instrument detection device and method based on machine vision
KR100998885B1 (en) Apparatus and method for measuring liquid level using change of temporal pixel distribution on image
CN103487104B (en) A kind of image acquisition identification system and method for capillary pipe liquid level type data
CN101424514B (en) Band tape graduation on-line automatic detection system and method based on image processing
CN103954334B (en) Fully automatic image pickup type water meter verification system and operating method thereof
CN206223683U (en) A kind of tabular workpiece with hole surface defect detection apparatus
TWI512284B (en) Bubble inspection system for glass
CN114280075A (en) Online visual inspection system and method for surface defects of pipe parts
CN104103069B (en) Image processing apparatus, image processing method and recording medium
TW201326735A (en) Method and system for measuring width
CN106989681A (en) The dimension measurement method and measuring apparatus of a kind of via
CN206281468U (en) A kind of contactless detection device of columnar object perpendicularity
CN112284983A (en) Method for measuring contact angle by image processing
CN115598136B (en) Screen gluing quality detection 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
JP2007033126A (en) Substrate inspection device, parameter adjusting method thereof and parameter adjusting device
TW201317587A (en) Dimension measuring device and method thereof
JP2525487B2 (en) Particle aggregation pattern determination method
CN114219758A (en) Defect detection method, system, electronic device and computer readable storage medium

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