Abstract
A self-adaptive multi-scale respiratory monitoring method based on a camera, relates to the technical field of video image signal identification processing, in order to solve the defect that the local optimal respiratory signal and the global optimal respiratory signal cannot be acquired by single image scale, a method was provided: (1) acquiring a respiratory monitoring object in real time;(2) performing multi-scale regular pre-segmentation on a video image, performing local respiratory signal identification and extraction on each unit area pre-segmented under each scale respectively, and defining the unit area with local respiratory signal output as a target area; and (3) comparing local respiratory signals extracted from the target area pre-segmented under each scale, determining an optimal segmentation scale, and taking a local respiratory signal extracted from the target area under the optimal segmentation scale as a monitoring respiratory signal output. The reliability is improved, and intelligent monitoring is realized.
Claims
1. A self-adaptive multi-scale respiratory monitoring method based on a camera, comprising the following steps: (1) acquiring a respiratory monitoring object by the camera in real time; (2) performing multi-scale regular pre-segmentation on a video image acquired by the camera, performing local respiratory signal identification and extraction on each unit area pre-segmented under each scale respectively, and defining the unit area with local respiratory signal output as a target area; and (3) comparing local respiratory signals extracted from the target area pre-segmented under each scale, determining an optimal segmentation scale according to the quality of the local respiratory signals, and taking a local respiratory signal extracted from the target area under the optimal segmentation scale as a monitoring respiratory signal output.
2. The self-adaptive multi-scale respiratory monitoring method based on a camera according to claim 1, wherein in the step (3), when more than two target areas under the same scale are present, the local respiratory signals extracted from the two target areas with a highest pixel position coincidence degree under two different scales are compared; and a plurality of local respiratory signals extracted from a plurality of target areas under the optimal segmentation scale are synthesized or compared to obtain an optimal local respiration as a monitoring respiratory signal output.
3. The self-adaptive multi-scale respiratory monitoring method based on a camera according to claim 1, wherein in the step (2), when a local respiratory signal meeting a preset value cannot be extracted, a pixel of a local area is subjected to single-scale irregular segmentation through the guidance of a local feature of image content to obtain several unit areas with an approximate pixel feature, and each unit area is subjected to local respiratory signal identification and extraction; the unit area with the local respiratory signal output is defined as the target area; and a plurality of local respiratory signals extracted from a plurality of target areas are synthesized or compared to obtain an optimal local respiration as a monitoring respiratory signal output.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0014] FIG. 1 is a work flow chart when the present disclosure adopts a video image to perform multi-scale regular pre-segmentation; and
[0015] FIG. 2 is a schematic diagram of single scale irregular segmentation adopted by the present disclosure.
DESCRIPTION OF THE EMBODIMENTS
[0016] The method of the present disclosure is further described below with reference to the accompanying drawings and the preferred specific embodiments of the present disclosure.
[0017] Referring to FIG. 1, a self-adaptive multi-scale respiratory monitoring method based on a camera, disclosed by the present disclosure, includes the following steps: [0018] (1) a respiratory monitoring object is acquired by the camera in real time. Respiratory monitoring objects are mainly children and newborns because children and newborns are immature and not suitable for contact respiratory monitoring; in addition, children and newborns are also high-risk monitoring objects and are high-risk groups with acute respiratory dysfunction. At present, people generally use the camera to perform video and audio acquisition on the crib and perform motion detection on the acquired video to prevent accidents that infants and young children fall out of the bed in their sleep without being guarded because of turning over and crawling and avoid endangering the personal safety of the infants and young children. When the monitored object moves to a great extent, or when crying is identified by the acquired audio, the processor of the camera automatically produces alarm information and short message reminding is conducted by the guardian's smart phone. The camera adopted by the present disclosure may be a color camera which may identify the subtle periodic continuous motion signals of the chest, abdomen, neck or face of the monitored object during breathing on the basis of the motion detection and crying voice identification function of the traditional camera, or may be a monitoring camera with an infrared night vision function. [0019] (2) A video image acquired by the camera is subjected to multi-scale regular pre-segmentation, each unit area pre-segmented under each scale is subjected to local respiratory signal identification and extraction respectively, and the unit area with local respiratory signal output is defined as a target area; and Since the periodic continuous motion amplitude of the chest, abdomen, neck or face of the monitored object during breathing is extremely subtle relative to the global acquired video image, the respiratory frequency can be output efficiently and accurately only when the scale of the target region is suitable. Image segmentation is the common processing process of various kinds of image identification processing at present, and is the process of dividing the image into several unit areas which have feature consistency and do not overlap with each other. The image segmentation of the present disclosure preferably adopts multi-scale regular segmentation, that is, it adopts multiple different scale rules for image segmentation, similar to gridded segmentation, thereby achieving several unit areas. After image segmentation at each time, each unit area is subjected to local respiratory signal identification and extraction respectively. The specific identification and extraction process may include the processing processes such as image graying, histogram equalization, image normalization, video interframe matching, image whitening, removing a strange image to optimize a data set and the like. Generally, if the respiratory monitoring object wears clothes with obvious texture and can be directly acquired by the camera, the unit regions corresponding to the chest and the abdomen will generate obvious periodical continuous motion signals. According to the periodical continuous motion signals, the local respiratory signal may be identified and extracted. The local respiratory signal may be extracted continuously and stably by relatively larger scale regular segmentation. If the respiratory monitoring object wears clothes with single color or the clothes are covered with a quilt with single color, it is difficult for the unit areas corresponding to the chest and the abdomen to identify and extract the respiratory signals, the local respiratory signal only can be extracted from the relatively weak periodical continuous motion signals of the neck or face of the respiratory monitoring object, and relatively small scale regular segmentation only can be adopted. Although the quality of the extracted local respiratory signal is not as good as that of the local respiratory signal extracted by large scale regular segmentation when the texture of the chest and abdomen clothing is obvious, it can at least ensure the local respiratory signal that can be extracted. [0020] (3) comparing local respiratory signals extracted from the target area pre-segmented under each scale, determining an optimal segmentation scale according to the quality of the local respiratory signals, and taking a local respiratory signal extracted from the target area under the optimal segmentation scale as a monitoring respiratory signal output. When more than two target areas under the same scale are present, the local respiratory signals extracted from the two target areas with a highest pixel position coincidence degree under two different scales are compared; a plurality of local respiratory signals extracted from a plurality of target areas under the optimal segmentation scale are compared to obtain an optimal local respiration as a monitoring respiratory signal output; or the plurality of target areas under the optimal segmentation scale are combined as a target area, and a global respiratory signal is comprehensively output. After the local optimal segmentation scale is determined, the segmentation scale parameter setting is used in the subsequent respiratory monitoring. After the content of the respiratory monitoring object changes and the respiratory signal that meets the requirement cannot be identified and extracted under the original segmentation scale, the step (2) is repeated, the optimal segmentation scale parameter is re-determined and the multi-scale respiratory monitoring is adapted.
[0021] Since the image content is not considered during multi-scale regular pre-segmentation in the step (2), even if when the local respiratory signal meeting the preset value still cannot be extracted from the relatively weak periodical continuous motion signal of the neck or face of the respiratory monitoring object under the optimal scale. As shown in FIG. 2, a pixel of a local area is subjected to single-scale irregular segmentation through the guidance of the local feature of the image content, several unit areas with an approximate pixel feature are segmented, and each unit area is subjected to local respiratory signal identification and extraction respectively. The unit area with local respiratory signal output is defined as the target area. A plurality of local respiratory signals extracted from the plurality of target areas are synthesized or compared to obtain an optimal local respiration as a monitoring respiratory signal output. The single-scale irregular segmentation is a segmentation method based on mean drift, and color clustering of the feature space is realized through the gradient of the mode space density function, so that the image segmentation is achieved. Segmentation conducted according to the image edge detection is favorable for capturing the relatively weak periodical continuous motion signal of the neck or face.
[0022] The present disclosure adopts camera non-contact, multi-scale image segmentation and respiratory signal extraction and searches the optimal respiratory area under multiple scale and the global optimal respiratory signal, thereby realizing respiratory signal monitoring and meeting vital sign guardianship and early warning requirement efficiently and accurately.