CN104751468A - Method for extracting human body refining center line in depth image - Google Patents

Method for extracting human body refining center line in depth image Download PDF

Info

Publication number
CN104751468A
CN104751468A CN201510151746.7A CN201510151746A CN104751468A CN 104751468 A CN104751468 A CN 104751468A CN 201510151746 A CN201510151746 A CN 201510151746A CN 104751468 A CN104751468 A CN 104751468A
Authority
CN
China
Prior art keywords
image
human body
pixel
depth
center 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.)
Granted
Application number
CN201510151746.7A
Other languages
Chinese (zh)
Other versions
CN104751468B (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.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
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 University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN201510151746.7A priority Critical patent/CN104751468B/en
Publication of CN104751468A publication Critical patent/CN104751468A/en
Application granted granted Critical
Publication of CN104751468B publication Critical patent/CN104751468B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a method for extracting a human body refining center line in a depth image. The method includes: acquiring a human body profile diagram, performing image smoothing processing on the human body profile diagram, adopting a depth image level division processing mode to acquire an image of a self-occlusion position, refining a body area image and a self-occlusion area image through an image refining algorithm respectively to acquire the human body refining center line. The method ingeniously integrates a refining line acquiring concept into occlusion area extraction, so that the problem of self-occlusion is solved while refining line containing depth information is acquired, and the method has the advantages of instantaneity, high efficiency and the like.

Description

A kind of method extracting human body refinement center line in depth image
Technical field
The present invention relates to technical field of image processing, particularly relate to a kind of method extracting human body refinement center line in depth image.
Background technology
Along with the fast development of computer technology, " body sense " operative technique enters into the life of people day by day as a kind of new man-machine interaction mode, the human skeleton of robust is identified in man-machine interaction, game, safety, remote monitoring, even medical aspect has to be applied very widely, and the appearance of depth camera makes human skeleton model identification more cheap and is easy to realize.
Skeleton maintains original figure topological structure, is the strong abstract means describing object basic topology in two dimension or three dimensions.Utilize depth image carry out human skeleton extract can well overcome illumination variation, shade, object block and the interference of the factor such as environmental change.In depth image, the extraction of human body refinement center line obtains people to complete the very important condition precedent of of skeleton.
And the thinning lines of blocking and blocking position in face of position and health cannot be obtained from traditional 2D human body refinement centerline algorithms.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of method extracting human body refinement center line in depth image is provided, solving in traditional 2D thinning algorithm and cannot be obtained from the problem of blocking the thinning lines of blocking position in face of position and health, is a kind of new method that can adapt to depth data.
The object of the invention is to be achieved through the following technical solutions: a kind of method extracting human body refinement center line in depth image, it comprises following multiple step:
S1: to the smoothing filtering process of human body contour outline figure.
S2: carry out the process of depth image Hierarchical Segmentation for human body contour outline figure, obtains the image of occlusion area in face of health.
S3: by image thinning algorithm respectively to inside and outside two-layer image, namely occlusion area image in face of body region image and health, carries out thinning processing, obtains human body refinement center line.
The detailed process of the disposal of gentle filter described in step S1 is: first the human body contour outline figure of acquisition is carried out convergent-divergent, use medium filtering to its smoothing process, again the human body contour outline figure after smoothing processing is amplified to life size, reuse medium filtering to its smoothing process, obtain level and smooth human body contour outline figure.
In face of acquisition health described in step S2, the detailed process of the image of occlusion area is:
S201: the deletion template T calculating each pixel, adopt iterative processing mode to calculate the depth value P of each pixel of body region 0with the depth value P of its 3 × 3 neighborhood territory pixel i(i=1,2 ..., 8).
S202: the depth value P judging current point 0with the depth value P of neighborhood territory pixel idegree of depth difference DELTA P, if this degree of depth difference DELTA P meets Δ P=P i-P 0> Threshold, then make the deletion template T of this field pixel i(i=1,2 ..., 8) value be T i=1, otherwise template T is deleted in order i=0, wherein Threshold value is the threshold value preset.
S203: mated with the deletion template T ' in delete list by current deletion template T, if containing this current deletion template T in delete list, then by the depth value P of this current pixel point 0change P ' into 0, P ' 0computing formula be:
P 0 ′ = 1 n Σ i = 1 8 P i ( T i = 1 )
In formula, P ' 0for the amended depth value of current pixel point, n is T ithe number of=1;
Again by the original depth value P of this current pixel point 0be kept in an empty image, as extracting occlusion area image;
If current deletion template T does not delete template T with any one in delete list 'coupling, then proceed the judgement of next pixel, do not modify to currency;
S204: after the process that iterates, occlusion area image in face of body region image and health can be obtained.
The detailed process obtaining human body refinement center line described in step S3 is:
S301: the deletion template calculating each pixel of body region image and occlusion area image respectively, adopts iterative processing mode to calculate the depth value P of each pixel 0with the depth value P of its 3 × 3 neighborhood i(i=1,2 ..., 8).
S302: the depth value P judging neighborhood territory pixel iif meet P i> 0, then make the deletion template T of this field pixel i(i=1,2 ..., 8) value be T i=1, otherwise the deletion template T making this field pixel i=0.
S303: mated with the deletion template T ' in delete list by current deletion template T, if containing this current deletion template T in delete list, then delete this current pixel point.
S304: if do not comprise this current deletion template T in delete list, then carry out the calculating of next pixel, repeats step S301 ~ S303.
S305: finally remaining pixel forms human body refinement center line, obtains blocking position thinning lines in health thinning lines in body region image and occlusion area image simultaneously.
The invention has the beneficial effects as follows: the refinement center line that can obtain human depth's image, cleverly thinning lines being obtained thought is dissolved in occlusion area extraction, solve from occlusion issue, obtain the thinning lines comprising depth information simultaneously, there is the advantages such as real-time, efficient.
Accompanying drawing explanation
Fig. 1 is a kind of schematic flow sheet extracting the method for human body refinement center line in depth image of the present invention;
Fig. 2 is the schematic diagram of current pixel and neighborhood distribution thereof in the present invention;
Fig. 3 is the schematic diagram being used for recording the deletion template calculating gained in the present invention;
Fig. 4 is the schematic diagram of delete list in the present invention;
Fig. 5 is the effect schematic diagram of different step gained in the present invention.
Embodiment
Below in conjunction with accompanying drawing, technical scheme of the present invention is described in further detail, but protection scope of the present invention is not limited to the following stated.
As shown in Figure 1, a kind of method extracting human body refinement center line in depth image proposed by the invention, first human body contour outline figure is obtained, picture smooth treatment is carried out to this human body contour outline figure, then depth image Hierarchical Segmentation processing mode is adopted, obtaining the image from blocking position, carrying out thinning processing to body region image with from occlusion area image respectively finally by image thinning algorithm, obtaining human body refinement center line.
The concrete implementation step of the inventive method is as follows:
Step one, to the smoothing filtering process of human body contour outline figure.
The Kinect for Windows that available Microsoft provides obtains the human body contour outline figure of 640 × 480 pixel sizes.The human body contour outline figure of acquisition is carried out zooming to 160 × 120 pixel sizes, use medium filtering to its smoothing process, depth value absent region is compensated, be amplified to life size again, and then use the smoothing process of the profile of medium filtering to this image, the human body contour outline figure that final acquisition is level and smooth.
Step 2, depth image Hierarchical Segmentation, obtains the image of occlusion area in face of health, namely from the image blocking position, comprises following multiple sub-step:
S201: current pixel point is set up to the domain template of 3 × 3
Calculate the deletion template T of each pixel, adopt iterative processing mode to calculate the depth value P of each pixel of body region 0with the depth value P of its 3 × 3 neighborhood territory pixel i(i=1,2 ..., 8).Foundation current pixel as shown in Figure 2 and the schematic diagram of neighborhood distribution thereof, wherein, P0 point is the current pixel point extracted, and P1 ~ P8 point is the field point around P0 point.
S202: set up the deletion template of 3 × 3
Judge the depth value P of current point 0with the depth value P of neighborhood territory pixel idegree of depth difference DELTA P, if this degree of depth difference DELTA P meets Δ P=P i-P 0> Threshold, in formula, Threshold value is the threshold value preset, then make the deletion template T of this field pixel i(i=1,2 ..., 8) value be T i=1, otherwise the deletion template T making this field pixel i=0.Set up the schematic diagram being used for recording the deletion template calculating gained as shown in Figure 3, wherein, T0 point is current pixel point, and T1 ~ T8 point is the field point around T0 point.
S203: current deletion template and delete list are carried out mating contrast
Current deletion template T is mated with the deletion template T ' in delete list, by the deletion template T of current pixel 0and 3 × 3 deletion template T of neighborhood territory pixel imate with the deletion template T ' in delete list, if containing this current deletion template T in delete list, then by the depth value P of this current pixel point 0change P ' into 0, P ' 0computing formula be:
P 0 ′ = 1 n Σ i = 1 8 P i ( T i = 1 )
In formula, P ' 0for the amended depth value of current pixel point, n is T ithe number of=1.
Again by the original depth value P of this current pixel point 0be kept in an empty image, as extracting occlusion area image, as hand region image.
Mate if current deletion template T does not delete template T ' with any one in delete list, then proceed the judgement of next pixel, currency is not modified.
As shown in Figure 4, Fig. 4 is the schematic diagram of delete list, comprises eight kinds and deletes template T ' 1~ T ' 8, wherein, " 1 " represents that the depth value of this pixel is 1, and " 0 " represents that the depth value of this pixel is 0, and " * " represents that the depth value of this pixel can be 1, also can be 0, and that is, actual in the delete list shown in Fig. 4 have 32 to delete template.Delete template T ' for these eight kinds 1~ T ' 8there is certain rule.
When some deletion template T ' match in deletion template T and delete list, represent that this pixel meets the treatment conditions of its depth value of amendment, just by the depth value P of this current pixel point 0change into
S204: after the process that iterates, namely repeat step S201 ~ S203, until in matching process, till not having the change of pixel depth value, occlusion area image in face of body region image and health can be obtained.
Described body region image is smooth body region image, and in face of described health, occlusion area image comprises the hand region image blocked in face of health, the head zone image etc. blocking the foot areas image in face of health and block in face of health.
Step 3, carries out refinement by image thinning algorithm respectively to inside and outside two-layer image, obtains human body refinement center line, comprises following multiple sub-step:
S301: set up the domain template of 3 × 3
Calculate the deletion template of each pixel of body region image and occlusion area image respectively, adopt iterative processing mode to calculate the depth value P of each pixel 0with the depth value P of its 3 × 3 neighborhood i(i=1,2 ..., 8);
S302: set up the deletion template of 3 × 3
Judge the depth value P of neighborhood territory pixel iif meet P i> 0, then make the deletion template T of this field pixel i(i=1,2 ..., 8) value be T i=1, otherwise the deletion template T making this field pixel i=0;
S303: mate with delete list
Current deletion template T is mated with the deletion template T ' in delete list, if containing this current deletion template T in delete list, then delete this current pixel point;
S304: if do not comprise this current deletion template T in delete list, then carry out the calculating of next pixel, repeats step S301 ~ S303;
S305: obtain human body refinement center line
Finally remaining pixel forms human body refinement center line, obtains blocking position thinning lines in health thinning lines in body region image and occlusion area image simultaneously.
Block the hand thinning lines that position thinning lines comprises the hand region image blocked in face of health.
As shown in Figure 5, Fig. 5 is the effect schematic diagram of different step gained in the present invention, the result of different disposal step is shown in Fig. 5, human body contour outline figure after first behavior smoothing processing, occlusion area image in face of the health extracted after second behavior depth image Hierarchical Segmentation process, the lines in the third line are the human body refinement center line by obtaining after image thinning algorithm process.
The present invention accurately can obtain the refinement center line of occlusion area in face of the refinement center line of the person and the person, accurately can obtain human body both hands when all not blocking health, the human body refinement center line of human body one hand when blocking health and when human body both hands all block health.First row in Fig. 5 is the processing procedure schematic diagram of human body both hands when blocking health, secondary series is the processing procedure schematic diagram of human body one hand when blocking health, 3rd is classified as processing procedure schematic diagram when human body both hands all do not block health, and the 4th is classified as human body both hands blocks health and blocks position and body centre's line processing when interleaving process schematic.

Claims (4)

1. extract a method for human body refinement center line in depth image, it is characterized in that: it comprises following multiple step:
S1: to the smoothing filtering process of human body contour outline figure;
S2: carry out the process of depth image Hierarchical Segmentation for human body contour outline figure, obtains the image of occlusion area in face of health;
S3: by image thinning algorithm respectively to inside and outside two-layer image, namely occlusion area image in face of body region image and health, carries out thinning processing, obtains human body refinement center line.
2. a kind of method extracting human body refinement center line in depth image according to claim 1, it is characterized in that: the detailed process of the disposal of gentle filter described in step S1 is: first the human body contour outline figure of acquisition is carried out convergent-divergent, use medium filtering to its smoothing process, again the human body contour outline figure after smoothing processing is amplified to life size, reuse medium filtering to its smoothing process, obtain level and smooth human body contour outline figure.
3. a kind of method extracting human body refinement center line in depth image according to claim 1, is characterized in that: in face of the acquisition health described in step S2, the detailed process of the image of occlusion area is:
S201: the deletion template T calculating each pixel, adopt iterative processing mode to calculate the depth value P of each pixel of body region 0with the depth value P of its 3 × 3 neighborhood territory pixel i(i=1,2 ..., 8);
S202: the depth value P judging current point 0with the depth value P of neighborhood territory pixel idegree of depth difference DELTA P, if this degree of depth difference DELTA P meets Δ P=P i-P 0> Threshold, then make the deletion template T of this field pixel i(i=1,2 ..., 8) value be T i=1, otherwise template T is deleted in order i=0, wherein Threshold value is the threshold value preset;
S203: mated with the deletion template T ' in delete list by current deletion template T, if containing this current deletion template T in delete list, then by the depth value P of this current pixel point 0change P ' into 0, P ' 0computing formula be:
P 0 ′ = 1 n Σ i = 1 8 P i ( T i = 1 )
In formula, P ' 0for the amended depth value of current pixel point, n is T ithe number of=1;
Again by the original depth value P of this current pixel point 0be kept in an empty image, as extracting occlusion area image;
Mate if current deletion template T does not delete template T ' with any one in delete list, then proceed the judgement of next pixel, currency is not modified;
S204: after the process that iterates, occlusion area image in face of body region image and health can be obtained.
4. a kind of method extracting human body refinement center line in depth image according to claim 1, is characterized in that: the detailed process obtaining human body refinement center line described in step S3 is:
S301: the deletion template calculating each pixel of body region image and occlusion area image respectively, adopts iterative processing mode to calculate the depth value P of each pixel 0with the depth value P of its 3 × 3 neighborhood i(i=1,2 ..., 8);
S302: the depth value P judging neighborhood territory pixel iif meet P i> 0, then make the deletion template T of this field pixel i(i=1,2 ..., 8) value be T i=1, otherwise the deletion template T making this field pixel i=0;
S303: mated with the deletion template T ' in delete list by current deletion template T, if containing this current deletion template T in delete list, then delete this current pixel point;
S304: if do not comprise this current deletion template T in delete list, then carry out the calculating of next pixel, repeats step S301 ~ S303;
S305: finally remaining pixel forms human body refinement center line, obtains blocking position thinning lines in health thinning lines in body region image and occlusion area image simultaneously.
CN201510151746.7A 2015-04-01 2015-04-01 A kind of method that human body refines center line in extraction depth image Active CN104751468B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510151746.7A CN104751468B (en) 2015-04-01 2015-04-01 A kind of method that human body refines center line in extraction depth image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510151746.7A CN104751468B (en) 2015-04-01 2015-04-01 A kind of method that human body refines center line in extraction depth image

Publications (2)

Publication Number Publication Date
CN104751468A true CN104751468A (en) 2015-07-01
CN104751468B CN104751468B (en) 2017-08-25

Family

ID=53591087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510151746.7A Active CN104751468B (en) 2015-04-01 2015-04-01 A kind of method that human body refines center line in extraction depth image

Country Status (1)

Country Link
CN (1) CN104751468B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114999638A (en) * 2022-07-19 2022-09-02 武汉蓝嵊科技有限公司 Big data visualization processing method and system for medical diagnosis based on artificial intelligence

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679175A (en) * 2013-12-13 2014-03-26 电子科技大学 Fast 3D skeleton model detecting method based on depth camera
US20140300597A1 (en) * 2013-04-08 2014-10-09 Jeffrey W. Holcomb Method for the automated identification of real world objects

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140300597A1 (en) * 2013-04-08 2014-10-09 Jeffrey W. Holcomb Method for the automated identification of real world objects
CN103679175A (en) * 2013-12-13 2014-03-26 电子科技大学 Fast 3D skeleton model detecting method based on depth camera

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
IN YEOP JANG等: "Depth Video based Human Model Reconstruction Resolving Self-Occlusion", 《IEEE TRANSACTIONS ON CONSUMER ELECTRONICS》 *
JEUNG-CHUL PARK等: "3D Mesh Construction from Depth Images with Occlusion", 《PROCEEDING PCM 06 PROCEEDINGS OF THE 7TH PACIFIC RIM COFERENCE ON ADVANCES IN MULTIMEDIA INFORMATION PROCESSING》 *
张世辉等: "结合深度图像和最佳分割阈值迭代的自遮挡检测算法", 《高技术通讯》 *
肖秦琨等: "基于RGB彩色和深度信息的人体关节点定位", 《国外电子测量技术》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114999638A (en) * 2022-07-19 2022-09-02 武汉蓝嵊科技有限公司 Big data visualization processing method and system for medical diagnosis based on artificial intelligence
CN114999638B (en) * 2022-07-19 2022-12-30 武汉蓝嵊科技有限公司 Big data visualization processing method and system for medical diagnosis based on artificial intelligence

Also Published As

Publication number Publication date
CN104751468B (en) 2017-08-25

Similar Documents

Publication Publication Date Title
CN103839268B (en) Method for detecting fissure on surface of subway tunnel
CN100573581C (en) Semi-automatic partition method of lung CT image focus
CN105518716A (en) Finger vein recognition method and apparatus
CN105092597B (en) A kind of crack detecting method on hard plastic material surface
CN104346619A (en) Device to extract biometric feature vector, method to extract biometric feature vector and program to extract biometric feature vector
CN105404888A (en) Saliency object detection method integrated with color and depth information
CN104408711A (en) Multi-scale region fusion-based salient region detection method
CN104932804A (en) Intelligent virtual assembly action recognition method
CN105335997A (en) Complex structure point cloud processing algorithm bases on Poisson reconstruction
CN103208104B (en) A kind of image de-noising method based on nonlocal theory
CN103927515A (en) Three-dimension dynamic facial comparison method
CN104657986A (en) Quasi-dense matching extension method based on subspace fusion and consistency constraint
CN101833668A (en) Detection method for similar units based on profile zone image
CN107909083A (en) A kind of hough transform extracting method based on outline optimization
CN104392434A (en) Triangle constraint-based image matching diffusion method
CN107644391A (en) A kind of digital watermark treatment method and device traced to the source for printed document
CN104751468A (en) Method for extracting human body refining center line in depth image
CN108710883A (en) A kind of complete conspicuousness object detecting method using contour detecting
CN105118036A (en) Method and system for restoring damaged image
CN106897394A (en) A kind of gps data denoising and segmentation method based on method of geometry
CN102034105A (en) Object contour detection method for complex scene
CN103971347A (en) Method and device for treating shadow in video image
CN103824074A (en) Crowd density estimation method based on background subtraction and texture features and system
CN103106663A (en) Method for detecting defect of subscriber identity module (SIM) card based on image processing in computer system
CN103164857B (en) A kind of efficient detection method of the short-distance large-deflection circular target based on image

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