CN105160688B - Walking direction system and method applied to mobile terminal - Google Patents

Walking direction system and method applied to mobile terminal Download PDF

Info

Publication number
CN105160688B
CN105160688B CN201510689726.5A CN201510689726A CN105160688B CN 105160688 B CN105160688 B CN 105160688B CN 201510689726 A CN201510689726 A CN 201510689726A CN 105160688 B CN105160688 B CN 105160688B
Authority
CN
China
Prior art keywords
stub
annual ring
image
annual
radial line
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.)
Active
Application number
CN201510689726.5A
Other languages
Chinese (zh)
Other versions
CN105160688A (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.)
Huzhou YingLie Intellectual Property Operation Co.,Ltd.
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510689726.5A priority Critical patent/CN105160688B/en
Publication of CN105160688A publication Critical patent/CN105160688A/en
Application granted granted Critical
Publication of CN105160688B publication Critical patent/CN105160688B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30161Wood; Lumber

Landscapes

  • Image Processing (AREA)

Abstract

The present invention provides a kind of walking direction system and method applied to mobile terminal, and the direction determination process includes:Obtain stub annual ring image;The distribution of stub annual ring in the stub annual ring image is analyzed, obtains the density information of the stub annual ring;And the density information according to the stub annual ring, it is inferred to corresponding directional information.The present invention can be distributed to be inferred to corresponding directional information by the density of stub annual ring in stub annual ring image, it can be indicated for user and be correctly oriented direction relatively, solve it is of the prior art lead to problems such as not can indicate that due to mobile terminal does not configure corresponding direction instrument be correctly oriented, improve the experience of user.

Description

Walking direction system and method applied to mobile terminal
Technical field
The present invention relates to a kind of walking direction system and methods applied to mobile terminal.
Background technology
With the fast development of mobile communication technology, mobile terminal (such as:Mobile phone, tablet computer, laptop etc.) Progress make rapid progress, interpersonal communication is quicker, convenient.By taking most commonly seen smart mobile phone as an example, except Outside call the most conventional and message function, the third parties such as software, game clothes can be also installed according to user demand and voluntarily The program that business business provides, constantly expands (scalability) function of mobile phone by this class method, and can pass through shifting Dynamic communication network come realize wireless network access, obtain liking for public users rapidly.
But, some mobile phones do not have compass, compass etc. to judge the application tool in direction or without configuration GPS chip, side To inductor etc., in this way, user in the wild just can only self-dependent experience and may just can not judicious direction.
The content of the invention
It is existing to solve it is an object of the invention to provide a kind of walking direction system and method applied to mobile terminal When mobile terminal do not configure corresponding direction instrument leading to problems such as do not can indicate that in technology is correctly oriented.
The present invention provides a kind of direction determination process applied to mobile terminal on the one hand, including:
Obtain stub annual ring image;
The distribution of stub annual ring in the stub annual ring image is analyzed, obtains the density letter of the stub annual ring Breath;And
According to the density information of the stub annual ring, corresponding directional information is inferred to.
Preferably, stub annual ring image is obtained, including:Stub annual ring image is selected from photo library;Shoot stub annual ring Obtain the stub annual ring image of intake;Alternatively, as obtained from intercepting the stub annual ring to the preview under preview mode Stub annual ring image.
Preferably, the distribution of stub annual ring is further included before analyzing to the tree in the stub annual ring image Stake annual ring image carries out image procossing, and described image processing includes:Gray proces are carried out to the stub annual ring image;To gray scale Treated, and the stub annual ring image is smoothed;And threshold is carried out to the stub annual ring image after smoothing processing Value is handled.
Preferably, according to the density information of the stub annual ring, it is inferred to corresponding directional information, including:It obtains described The density information of stub annual ring from the density information, finds out most fine and closely woven position in the stub annual ring, for described most thin The direction that compact part position is drawn is i.e. as the first reference direction;Alternatively, the density information of the stub annual ring is obtained, from the density In information, most sparse position in the stub annual ring is found out, the direction drawn for the most sparse position is marked as second Quasi- direction.
Preferably, from the density information, most fine and closely woven position in the stub annual ring is found out, including:
The annual ring of most inner lane in the stub annual ring is oriented, using the center of the most inner lane annual ring as the stub year The annual ring center of wheel;It is swept using centered on the annual ring center to the radial line of external radiation as scan line around the stub annual ring It retouches, obtains the radial line set of the corresponding stub annual ring in all directions;And it chooses and corresponds to from the radial line set That shortest radial line at most fine and closely woven position, the shortest radial line is i.e. as the first reference direction;
From the density information, most sparse position in the stub annual ring is found out, including:
The annual ring of most inner lane in the stub annual ring is oriented, using the center of the most inner lane annual ring as the stub year The annual ring center of wheel;It is swept using centered on the annual ring center to the radial line of external radiation as scan line around the stub annual ring It retouches, obtains the radial line set of the corresponding stub annual ring in all directions;And it chooses and corresponds to from the radial line set That longest radial line at most sparse position, the longest radial line is i.e. as the second reference direction.
The present invention provides a kind of walking direction system applied to mobile terminal on the other hand, including:
Image acquisition unit, for obtaining stub annual ring image;
Analysis of annual rings unit is connected with described image acquiring unit, for the institute acquired in described image acquiring unit State the density information for being analyzed to obtain the stub annual ring of stub annual ring in stub annual ring image;And
Unit is inferred in direction, is connected with the analysis of annual rings unit, for being analyzed according to the analysis of annual rings unit The density information of the stub annual ring arrived, is inferred to corresponding directional information.
Preferably, stub annual ring image is obtained, including:Stub annual ring image is selected from photo library;Shoot stub annual ring Obtain the stub annual ring image of intake;Alternatively, as obtained from intercepting the stub annual ring to the preview under preview mode Stub annual ring image.
Preferably, the walking direction system is further included positioned at described image acquiring unit and the analysis of annual rings unit Between image processing unit, including:
Gradation processing module, for carrying out gray proces to the stub annual ring image;
Smoothing module is connected with the gradation processing module, after to the gradation processing module gray proces The stub annual ring image be smoothed;And
Thresholding processing module is connected with the smoothing module, for the smoothing module smoothing processing The stub annual ring image afterwards carries out thresholding processing.
Preferably, according to the density information of the stub annual ring, it is inferred to corresponding directional information, including:It obtains described The density information of stub annual ring from the density information, finds out most fine and closely woven position in the stub annual ring, for described most thin The direction that compact part position is drawn is i.e. as the first reference direction;Alternatively, the density information of the stub annual ring is obtained, from the density In information, most sparse position in the stub annual ring is found out, the direction drawn for the most sparse position is marked as second Quasi- direction.
Preferably, the direction infers that unit further comprises:
Centralized positioning module, for orienting the annual ring of most inner lane in the stub annual ring, by the most inner lane annual ring Annual ring center of the center as the stub annual ring;
Radial line scan module is connected with the centralized positioning module, for the outside spoke centered on the annual ring center The radial line penetrated, around the stub year wheel scan, obtains the radial line of the corresponding stub annual ring in all directions as scan line Set;And
Direction radial line determining module is connected with the radial line scan module, is corresponded to for being chosen from the radial line set That shortest radial line in most fine and closely woven position or that longest radial line corresponding to most sparse position, this is most short Radial line as the first reference direction or using the longest radial line as the second reference direction.
Walking direction system and method provided by the invention applied to mobile terminal, by stub annual ring image Stub annual ring is analyzed and obtains the density information of the stub annual ring, and then is believed by the density of the stub annual ring Breath, is inferred to corresponding directional information, can be indicated for user and be correctly oriented direction relatively, solved of the prior art because of movement Terminal does not configure corresponding direction instrument and leads to problems such as not can indicate that and is correctly oriented, and improves the experience of user.
Description of the drawings
Fig. 1 is that the present invention is applied to the structure diagram of the walking direction system of mobile terminal in one embodiment.
Fig. 2 is the refinement structure diagram of image processing unit in Fig. 1.
Fig. 3 is the refinement structure diagram that unit is inferred in direction in Fig. 1.
Fig. 4 is that the present invention is applied to the flow diagram of the direction determination process of mobile terminal in one embodiment.
Fig. 5 is the flow diagram of the refinement step in step S43 in Fig. 3.
Fig. 6 is to show that stub annual ring image is combined with the direction deduction knot of hand designations on mobile terminals according to Fig. 4 Fruit schematic diagram.
Component label instructions:
1 walking direction system
11 image acquisition units
13 image processing units
131 gradation processing modules
133 smoothing modules
135 thresholding processing modules
15 analysis of annual rings units
Infer unit in 17 directions
171 centralized positioning modules
173 radial line scan modules
175 direction radial line determining modules
S41~S47 steps
S431~S435 steps
Specific embodiment
Illustrate embodiments of the present invention below by way of particular specific embodiment, those skilled in the art can be by this explanation Content disclosed by book understands other advantages and effect of the present invention easily.The present invention can also be by addition different specific Embodiment is embodied or practiced, and the various details in this specification can also be based on different viewpoints and application, not carry on the back Various modifications or alterations are carried out under spirit from the present invention.
It should be noted that structure, ratio, size depicted in this specification institute accompanying drawings etc., only coordinating The bright revealed content of book so that those skilled in the art understands and reads, is not limited to the enforceable limit of the present invention Fixed condition, therefore do not have technical essential meaning, the modification of any structure, the change of proportionate relationship or the adjustment of size, not It influences under the effect of present invention can be generated and the purpose that can reach, should all still fall and be obtained in disclosed technology contents In the range of covering.It is meanwhile cited such as " on ", " under ", "left", "right", " centre " and " one " etc. in this specification Term is merely convenient to understanding rather than to limit the enforceable scope of the present invention, the change of relativeness or tune for narration It is whole, in the case where changing technology contents without essence, when being also considered as the enforceable scope of the present invention.
It please refers to Fig.1, it is shown that the present invention is applied to the structure of the walking direction system of mobile terminal in one embodiment Block diagram.As shown in Figure 1, the walking direction system 1 that the present invention is applied to mobile terminal includes:At image acquisition unit 11, image It manages unit 13, analysis of annual rings unit 15 and direction and infers unit 17.In the present embodiment, mobile terminal is preferably now most Common smart mobile phone, but be not limited thereto, such as tablet computer, laptop etc. are also applicable.
Above-mentioned various components are described in detail below.
Image acquisition unit 11 is used to obtain stub annual ring image.In the present embodiment, the side of stub annual ring image is obtained Formula can there are many, such as:One or more stub annual ring figure is selected in the stub annual ring image that can have been deposited from photo library The stub annual ring of picture or the direct floor of camera carried using mobile terminal obtains the stub annual ring figure of intake Picture, can also by preview stub annual ring under the preview mode to the camera in mobile terminal and by stub annual ring preview image into Row interception obtains stub annual ring image.
Image processing unit 13 is used to carry out image procossing to the stub annual ring image that image acquisition unit 11 obtains.At this In embodiment, as shown in Fig. 2, image processing unit 13 further comprises:Gradation processing module 131, smoothing module 133, And thresholding processing module 135.Gradation processing module 131 is used to carry out gray proces to the stub annual ring image.Specifically Stub annual ring image progress gray proces can be caused image to be more prone to processed and calculate, with OpenCV by ground Exemplified by (Open Source Computer Vision Library), because by color image with 83 passages in OpenCV Form be stored among matrix, i.e., each pixel saves as 3 integers between 0 to 255, corresponds to R, G, B tri- respectively Kind color, after gray proces are carried out, each pixel can save as an integer between 0 to 255, and image then becomes 8 Single pass image.Smoothing module 133 is connected with gradation processing module 131, to 131 gray scale of gradation processing module The stub annual ring image after reason is smoothed.Specifically, (also referred to as Fuzzy Processing) is smoothed to image, Medium filtering or gaussian filtering may be employed in more commonly used smoothing processing method, in contrast, compared to gaussian filtering, intermediate value Filter the speed of filtering relatively faster.Thresholding processing module 135 is connected with smoothing module 133, for smoothing processing The stub annual ring image after 133 smoothing processing of module carries out thresholding processing, to identify in the stub annual ring image Each circle annual ring.In order to distinguish the annual ring in the stub annual ring image, by the area that the color after smoothing processing is deeper Domain, which distinguishes, carries out thresholding processing.A threshold value can be first preset, for example, the pixel placement that will be above the threshold value is 255, and The pixel placement that will be less than the threshold value is 0, in this way, having reformed into " two-value " image by the processed image of thresholding.By Above simple operations, we only need to be detected the annual ring that can be found out in image to the pixel of black in image , this method has many advantages, such as easy to operate fast with the speed of service.
Analysis of annual rings unit 15 is connected with image processing unit 13, for 13 image procossing mistake of described image processing unit The stub annual ring image in the distribution of stub annual ring analyzed, to obtain the density information of the stub annual ring.At this In embodiment, since image processing unit 13 has carried out image procossing to the stub annual ring image so that the stub year Respectively enclosing annual ring in wheel image can be easier to be identified, in this way, being advantageous for using analysis of annual rings unit 15 to the stub Stub annual ring carries out distributional analysis in annual ring image.The density degree of stub annual ring can be by measuring arbitrary neighborhood two successively The spacing of stub annual ring obtains.
Direction infers that unit 17 is connected with analysis of annual rings unit 15, for what is analyzed according to analysis of annual rings unit 15 The density information of the stub annual ring, is inferred to corresponding directional information.Specifically, believed according to the density of the stub annual ring Breath, is inferred to corresponding directional information, including:The density information of the stub annual ring is obtained, from the density information, is found out Most fine and closely woven position in the stub annual ring, the direction drawn for the most fine and closely woven position are used as the first reference direction;Alternatively, The density information of the stub annual ring is obtained, from the density information, finds out most sparse position in the stub annual ring, for The direction that the most sparse position is drawn is i.e. as the second reference direction.From the foregoing, it will be observed that believe for the density of the stub annual ring No matter breath, find out the most fine and closely woven position of the density information or most sparse position, can be inferred to reference direction accordingly.It needs It is bright, due to the difference in the Southern Hemisphere and the Northern Hemisphere, so, the reference direction corresponding to most fine and closely woven position and most sparse position is Opposite.Such as:For the Northern Hemisphere, the positive north is oriented to by what the most fine and closely woven position of the density information was drawn, is dredged by described What the most sparse position of confidential information was drawn is oriented to Due South;For the Southern Hemisphere, drawn by the most fine and closely woven position of the density information What is gone out is oriented to Due South, and the positive north is oriented to by what the most sparse position of the density information was drawn.
In a preferred embodiment, as shown in figure 3, direction infers that unit 17 further comprises:Centralized positioning module 171, Radial line scan module 173 and direction radial line determining module 175.Centralized positioning module 171 is used to orient the stub annual ring In most inner lane annual ring, using the center of the most inner lane annual ring as the annual ring center of the stub annual ring.Radial line scan module 173 are connected with centralized positioning module 171, for using centered on the annual ring center and to the radial line of external radiation as scan line around The stub year wheel scan, obtains the radial line set of the corresponding stub annual ring in all directions.Direction radial line determines mould Block 175 is connected with radial line scan module, for from the radial line set choose corresponding to most fine and closely woven position it is shortest that Radial line or that longest radial line corresponding to most sparse position, using the shortest radial line as the first reference direction or Person is using the longest radial line as the second reference direction.
It should be noted that reduce the deviation that the particularity of indivedual stub annual ring images is inferred for direction, it is preferable that In practical applications, (such as multiple stub annual rings of same seeds can be shot by choosing different multiple stub annual ring images Multiple stub annual ring images of image or different tree species etc.) to obtain different directional informations respectively, to these directional informations It carries out statistical analysis and reduces the error that final direction is inferred.
Referring to Fig. 4, show that the present invention is applied to the flow of the direction determination process of mobile terminal in one embodiment Schematic diagram.As shown in figure 4, the present invention is applied to the direction determination process of mobile terminal, including:
Step S41 obtains stub annual ring image.
Step S43 carries out image procossing to the stub annual ring image.
Step S45 analyzes the distribution of stub annual ring in the stub annual ring image, obtains the stub annual ring Density information.
Step S47 according to the density information of the stub annual ring, is inferred to corresponding directional information.
Above-mentioned each step is described in detail below.
Step S41 is performed, obtains stub annual ring image.In the present embodiment, the mode for obtaining stub annual ring image can be with There are many, such as:One or more stub annual ring image is selected in the stub annual ring image that can have been deposited from photo library, also may be used It, can be with to be that the stub annual ring of the direct floor of camera carried using mobile terminal obtains the stub annual ring image of intake By preview stub annual ring under the preview mode to the camera in mobile terminal and by stub annual ring preview image intercept and Obtain stub annual ring image.
Step S43 is performed, image procossing is carried out to the stub annual ring image.In step S43, by the tree Stake annual ring image carries out image procossing, and the analysis of annual rings and direction that can be convenient for subsequent step are inferred.The image procossing operation can be into One step is divided into the flow diagram of refinement step as shown in Figure 5.As shown in figure 5, the image procossing operation includes:Step S431 carries out gray proces to the stub annual ring image.Stub annual ring image progress gray proces can to scheme As being more prone to processed and calculating, by taking OpenCV (Open Source Computer Vision Library) as an example, because Color image is stored in the form of 83 passages among matrix in OpenCV, i.e., each pixel saves as 0 to 255 Between 3 integers, correspond to R respectively, tri- kinds of colors of G, B, after gray proces are carried out, each pixel can save as 0 to 255 Between an integer, image then becomes 8 single pass images.Step S433, to the stub annual ring after gray proces Image is smoothed.Specifically, (also referred to as Fuzzy Processing), more commonly used smoothing processing are smoothed to image Medium filtering or gaussian filtering may be employed in method, and in contrast, compared to gaussian filtering, the speed of medium filtering filtering is opposite Faster.Step S435 carries out thresholding processing to the stub annual ring image after smoothing processing.In order to distinguish the stub The deeper region of color after smoothing processing is distinguished and carries out thresholding processing by the annual ring in annual ring image.It can be with A threshold value is first preset, for example, the pixel placement that will be above the threshold value is 255, and the pixel placement that will be less than the threshold value is 0, this Sample has reformed into " two-value " image by the processed image of thresholding.Simple operations more than, we are only needed to figure The pixel of black is detected the annual ring that can be found out in image as in, and this method has easy to operate and operation speed Spend the advantages that fast.
Step S45 analyzes the distribution of stub annual ring in the stub annual ring image, obtains the stub annual ring Density information.In the present embodiment, in step S43, image procossing has been carried out to the stub annual ring image so that described Annual ring is respectively enclosed in stub annual ring image can be easier to be identified, in this way, being advantageous for being set in the stub annual ring image Stake annual ring carries out distributional analysis.In this step S45, the density degree of stub annual ring can be by measuring arbitrary neighborhood two successively The spacing of a stub annual ring obtains.
Step S47 is performed, according to the density information of the stub annual ring, is inferred to corresponding directional information.In step S47 In, according to the density information of the stub annual ring, it is inferred to corresponding directional information, two kinds of forms can be used.The first form, The density information of the stub annual ring is obtained, from the density information, finds out most fine and closely woven position in the stub annual ring, for The direction that the most fine and closely woven position is drawn is i.e. as the first reference direction.Specifically, from the density information, the tree is found out Most fine and closely woven position in stake annual ring, including:The annual ring of most inner lane in the stub annual ring is oriented, it will be in the most inner lane annual ring Annual ring center of the heart as the stub annual ring;Using centered on the annual ring center and to the radial line of external radiation as scan line around The stub year wheel scan, obtains the radial line set of the corresponding stub annual ring in all directions;And from the radial line That shortest radial line corresponding to most fine and closely woven position is chosen in set, the shortest radial line is i.e. as the first reference direction. Second of form obtains the density information of the stub annual ring, from the density information, finds out most dilute in the stub annual ring Part of rarefaction position, the direction drawn for the most sparse position are used as the second reference direction.Specifically, from the density information In, most sparse position in the stub annual ring is found out, including:The annual ring of most inner lane in the stub annual ring is oriented, by described in Annual ring center of the most center of inner lane annual ring as the stub annual ring;Centered on the annual ring center and to the footpath of external radiation Line, around the stub year wheel scan, obtains the radial line set of the corresponding stub annual ring in all directions as scan line; And that the longest radial line for corresponding to most sparse position is chosen from the radial line set, which makees For the second reference direction.
From the foregoing, it will be observed that for the density information of the stub annual ring, the most fine and closely woven position of the density information no matter is found out Still most sparse position, can be inferred to reference direction accordingly.It should be noted that due to the difference in the Southern Hemisphere and the Northern Hemisphere, institute With the reference direction corresponding to most fine and closely woven position and most sparse position is opposite.Such as:For the Northern Hemisphere, by the density What the most fine and closely woven position of information was drawn is oriented to the positive north, and due south is oriented to by what the most sparse position of the density information was drawn Side;For the Southern Hemisphere, Due South is oriented to by what the most fine and closely woven position of the density information was drawn, by the density information most What sparse position was drawn is oriented to the positive north.
It should be noted that reduce the deviation that the particularity of indivedual stub annual ring images is inferred for direction, it is preferable that In practical applications, (such as multiple stub annual rings of same seeds can be shot by choosing different multiple stub annual ring images Multiple stub annual ring images of image or different tree species etc.) to obtain different directional informations respectively, to these directional informations It carries out statistical analysis and reduces the error that final direction is inferred.
For the walking direction system and method applied to mobile terminal of the present invention, a certain reality now applied with it It is illustrated exemplified by.In this example, it is assumed that user is in the wild, mobile phone is carried, which has camera. In advance, mobile phone setting in, in advance on the Northern Hemisphere with select the Northern Hemisphere in the Southern Hemisphere;By user stub is shot using mobile phone camera Annual ring and obtain stub annual ring image;Image procossing is carried out to the stub annual ring image, to identify the stub annual ring Stub annual ring in image;Stub annual ring in the stub annual ring image is analyzed, obtains dredging for the stub annual ring Confidential information;From the density information, most fine and closely woven position in the stub annual ring is found out, is inferred to for the most fine and closely woven position The direction of extraction is i.e. as the positive north;The result combination stub annual ring image that direction is inferred is given on the display screen of mobile phone It shows (as shown in Figure 6).In this way, user can just obtain being correctly oriented direction.
In conclusion the walking direction system and method provided by the invention applied to mobile terminal, by stub year Being analyzed and obtaining the density information of the stub annual ring for the stub annual ring in image is taken turns, and then by the stub year The density information of wheel, is inferred to corresponding directional information, can be indicated for user and be correctly oriented direction relatively, solve the prior art In lead to problems such as not can indicate that due to mobile terminal does not configure corresponding direction instrument and be correctly oriented, improve user Experience.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe Know the personage of this technology all can carry out modifications and changes under the spirit and scope without prejudice to the present invention to above-described embodiment.Cause This, those of ordinary skill in the art is complete without departing from disclosed spirit and institute under technological thought such as Into all equivalent modifications or change, should by the present invention claim be covered.

Claims (6)

1. a kind of direction determination process applied to mobile terminal, which is characterized in that including:
Obtain stub annual ring image;
The distribution of stub annual ring in the stub annual ring image is analyzed, obtains the density information of the stub annual ring;With And
According to the density information of the stub annual ring, corresponding directional information is inferred to;
According to the density information of the stub annual ring, corresponding directional information is inferred to, including:
The density information of the stub annual ring is obtained, from the density information, finds out most fine and closely woven position in the stub annual ring, The direction drawn for the most fine and closely woven position is used as the first reference direction;Or
The density information of the stub annual ring is obtained, from the density information, finds out most sparse position in the stub annual ring, The direction drawn for the most sparse position is used as the second reference direction;
From the density information, most fine and closely woven position in the stub annual ring is found out, including:
The annual ring of most inner lane in the stub annual ring is oriented, using the center of the most inner lane annual ring as the stub annual ring Annual ring center;
Using centered on the annual ring center and to the radial line of external radiation as scan line around the stub year wheel scan, acquisition pair Answer the radial line set of the stub annual ring in all directions;And
That shortest radial line corresponding to most fine and closely woven position, the shortest radial line, that is, conduct are chosen from the radial line set First reference direction;
From the density information, most sparse position in the stub annual ring is found out, including:
The annual ring of most inner lane in the stub annual ring is oriented, using the center of the most inner lane annual ring as the stub annual ring Annual ring center;
Using centered on the annual ring center and to the radial line of external radiation as scan line around the stub year wheel scan, acquisition pair Answer the radial line set of the stub annual ring in all directions;And
That longest radial line corresponding to most sparse position, the longest radial line, that is, conduct are chosen from the radial line set Second reference direction.
2. direction determination process according to claim 1, which is characterized in that stub annual ring image is obtained, including:
Stub annual ring image is selected from photo library;
Shoot the stub annual ring image that stub annual ring obtains intake;Or
The stub annual ring image as obtained from intercepting the stub annual ring to the preview under preview mode.
3. direction determination process according to claim 1, which is characterized in that the stub year in the stub annual ring image The distribution of wheel further includes before being analyzed and image procossing is carried out to the stub annual ring image, and described image processing includes:
Gray proces are carried out to the stub annual ring image;
The stub annual ring image after gray proces is smoothed;And
Thresholding processing is carried out to the stub annual ring image after smoothing processing.
4. a kind of walking direction system applied to mobile terminal, which is characterized in that including:
Image acquisition unit, for obtaining stub annual ring image;
Analysis of annual rings unit is connected with described image acquiring unit, for the tree acquired in described image acquiring unit The density information for being analyzed to obtain the stub annual ring of stub annual ring in stake annual ring image;And
Unit is inferred in direction, is connected with the analysis of annual rings unit, for what is analyzed according to the analysis of annual rings unit The density information of the stub annual ring, is inferred to corresponding directional information;
According to the density information of the stub annual ring, corresponding directional information is inferred to, including:
The density information of the stub annual ring is obtained, from the density information, finds out most fine and closely woven position in the stub annual ring, The direction drawn for the most fine and closely woven position is used as the first reference direction;Or
The density information of the stub annual ring is obtained, from the density information, finds out most sparse position in the stub annual ring, The direction drawn for the most sparse position is used as the second reference direction;
Infer that unit further comprises in the direction:
Centralized positioning module, for orienting the annual ring of most inner lane in the stub annual ring, by the center of the most inner lane annual ring Annual ring center as the stub annual ring;
Radial line scan module is connected with the centralized positioning module, for centered on the annual ring center and to external radiation Radial line, around the stub year wheel scan, obtains the radial line collection of the corresponding stub annual ring in all directions as scan line It closes;And
Direction radial line determining module is connected with the radial line scan module, is corresponded to most for being chosen from the radial line set That shortest radial line at fine and closely woven position or that longest radial line corresponding to most sparse position, by the shortest footpath Line is as the first reference direction or using the longest radial line as the second reference direction.
5. walking direction system according to claim 4, which is characterized in that stub annual ring image is obtained, including:
Stub annual ring image is selected from photo library;
Shoot the stub annual ring image that stub annual ring obtains intake;Or
The stub annual ring image as obtained from intercepting the stub annual ring to the preview under preview mode.
6. walking direction system according to claim 4, which is characterized in that further include positioned at described image acquiring unit and Image processing unit between the analysis of annual rings unit, including:
Gradation processing module, for carrying out gray proces to the stub annual ring image;
Smoothing module is connected with the gradation processing module, for the institute after the gradation processing module gray proces Stub annual ring image is stated to be smoothed;And
Thresholding processing module is connected with the smoothing module, after to the smoothing module smoothing processing The stub annual ring image carries out thresholding processing.
CN201510689726.5A 2015-10-22 2015-10-22 Walking direction system and method applied to mobile terminal Active CN105160688B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510689726.5A CN105160688B (en) 2015-10-22 2015-10-22 Walking direction system and method applied to mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510689726.5A CN105160688B (en) 2015-10-22 2015-10-22 Walking direction system and method applied to mobile terminal

Publications (2)

Publication Number Publication Date
CN105160688A CN105160688A (en) 2015-12-16
CN105160688B true CN105160688B (en) 2018-05-25

Family

ID=54801530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510689726.5A Active CN105160688B (en) 2015-10-22 2015-10-22 Walking direction system and method applied to mobile terminal

Country Status (1)

Country Link
CN (1) CN105160688B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004164346A (en) * 2002-11-13 2004-06-10 Takayuki Okochi Method and device for measuring feature point of waveform signal
CN101441180A (en) * 2007-11-23 2009-05-27 夏萍 Fast analysis method of tree annual ring composing ingredient
CN102184389A (en) * 2011-05-17 2011-09-14 浙江大学 Automatic annual ring identification method used for tree species with high chromatic aberration of heartwood and sapwood
CN102749330A (en) * 2012-05-08 2012-10-24 冯泽民 Method for calculating tree age and annual ring width by using ordinary camera

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004164346A (en) * 2002-11-13 2004-06-10 Takayuki Okochi Method and device for measuring feature point of waveform signal
CN101441180A (en) * 2007-11-23 2009-05-27 夏萍 Fast analysis method of tree annual ring composing ingredient
CN102184389A (en) * 2011-05-17 2011-09-14 浙江大学 Automatic annual ring identification method used for tree species with high chromatic aberration of heartwood and sapwood
CN102749330A (en) * 2012-05-08 2012-10-24 冯泽民 Method for calculating tree age and annual ring width by using ordinary camera

Also Published As

Publication number Publication date
CN105160688A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
EP3770847A1 (en) Method and device for processing image, and storage medium
US10410327B2 (en) Shallow depth of field rendering
CN112241714B (en) Method and device for identifying designated area in image, readable medium and electronic equipment
CN110070101A (en) Floristic recognition methods and device, storage medium, computer equipment
Jiang et al. Image contrast enhancement with brightness preservation using an optimal gamma correction and weighted sum approach
CN106971165B (en) A kind of implementation method and device of filter
KR20200014842A (en) Image illumination methods, devices, electronic devices and storage media
CN107204034A (en) A kind of image processing method and terminal
CN110517246A (en) A kind of image processing method, device, electronic equipment and storage medium
CN112102164B (en) Image processing method, device, terminal and storage medium
CN109727216B (en) Image processing method, device, terminal equipment and storage medium
US8687894B2 (en) Continuous edge and detail mapping using a weighted monotony measurement
CN112541868B (en) Image processing method, device, computer equipment and storage medium
JP2021531571A (en) Certificate image extraction method and terminal equipment
CN110047122A (en) Render method, apparatus, electronic equipment and the computer readable storage medium of image
CN1972274A (en) System and method for processing facial image change based on Internet and mobile application
CN110298327B (en) Visual special effect processing method and device, storage medium and terminal
CN110691226A (en) Image processing method, device, terminal and computer readable storage medium
CN110599554A (en) Method and device for identifying face skin color, storage medium and electronic device
CN108304839A (en) A kind of image processing method and device
CN113052923B (en) Tone mapping method, tone mapping apparatus, electronic device, and storage medium
CN108764139A (en) A kind of method for detecting human face, mobile terminal and computer readable storage medium
CN112669232A (en) Depth image enhancement processing method and device
CN110990617B (en) Picture marking method, device, equipment and storage medium
US20240249411A1 (en) Physiological image processing method, model training method and apparatus, device and 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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201125

Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou Jiji Intellectual Property Operation Co., Ltd

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201217

Address after: 8319 Yanshan Road, Bengbu City, Anhui Province

Patentee after: Bengbu Lichao Information Technology Co.,Ltd.

Address before: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou Jiji Intellectual Property Operation Co., Ltd

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210312

Address after: 313000 room 1019, Xintiandi commercial office, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee after: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Address before: 8319 Yanshan Road, Bengbu City, Anhui Province

Patentee before: Bengbu Lichao Information Technology Co.,Ltd.