Image processing system and control program

By using distance and two-dimensional image processing to generate composite images and applying machine learning, the system effectively detects human gestures in monitoring spaces with high precision, addressing the challenge of accurate motion detection without visual interference.

JP7560949B2Active Publication Date: 2024-10-03SECOM CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2020050250
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-03-19
Publication Date
2024-10-03
Estimated Expiration
2040-03-19

AI Technical Summary

Technical Problem

Existing image processing systems struggle to accurately detect human gestures in monitoring spaces with high precision, particularly in environments where motion detection is required without interfering with the subjects' vision.

Method used

The system employs a combination of distance and two-dimensional image acquisition, followed by processing to identify changed areas within these images, generating a composite image that highlights motion, and using machine learning to recognize specific gestures.

Benefits of technology

This approach enables accurate detection of human gestures, such as waving or beckoning, by focusing on areas of motion and reducing interference, thus enhancing the system's ability to recognize and notify actions like nurse calls.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007560949000001
    Figure 0007560949000001
  • Figure 0007560949000002
    Figure 0007560949000002
  • Figure 0007560949000003
    Figure 0007560949000003
Patent Text Reader

Abstract

To create an image with which the movement of an object moving in a photographed image can be easily recognized.SOLUTION: An image processing system sequentially acquires distance images with information on the distance from a reference position to an object in a monitored space as gradation values. The image processing system sequentially acquires two-dimensional images with information on light and shade in the monitored space corresponding to the sequentially acquired distance images as gradation values. The image processing system detects a change area from the plurality of distance images acquired in a predetermined period. The image processing system creates a processed image obtained by composing the plurality of two-dimensional images acquired in the predetermined period by using an area corresponding to the change area in the two-dimensional images.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an image processing system and a control program for detecting a gesture of a person. [Background technology]

[0002] In recent years, image processing systems have been developed that detect gestures of a person based on images captured in a monitored space.

[0003] Patent Document 1 discloses an information input device that emits light with varying intensity to an object, detects the light reflected by the object by separating it from external light, and detects an image of the light reflected by the object.

[0004] Patent Document 2 discloses a portable computer that recognizes the reciprocating motion of an object with a predetermined period. The portable computer receives multiple consecutive frames from an image sensor that captures an image of the object. The portable computer then compares the background image with the blurred image contained in each frame, calculates the difference in the grayscale values ​​of corresponding pixels, and recognizes the motion of the object from the binarized difference image. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] Japanese Patent Application Publication No. 10-177449 [Patent Document 2] Patent No. 5782061 Summary of the Invention [Problem to be solved by the invention]

[0006] In an image processing system, it is desirable to detect gestures of a person in a monitored space with high accuracy.

[0007] The problem to be solved by the present invention is to provide an image processing system that generates an image in which the movement of a moving object in a captured image can be easily recognized, and also to provide an image processing system and a control program that can accurately recognize a gesture made by a person in a monitored space with his or her hand extended forward. [Means for solving the problem]

[0008] In order to solve the above-mentioned problems, as one aspect of the present invention, there is provided an image processing system comprising: a distance image acquisition means for sequentially acquiring distance images whose tone values ​​are information relating to the distance from a reference position to an object in a monitored space; a two-dimensional image acquisition means for sequentially acquiring two-dimensional images whose tone values ​​are information relating to the shading in the monitored space corresponding to the sequentially acquired distance images; a changed area detection means for detecting changed areas from multiple distance images acquired over a specified period by the distance image acquisition means; and a processed image generation means for generating a processed image by combining the multiple two-dimensional images acquired over the specified period using areas corresponding to the changed areas in the two-dimensional images.

[0009] In the above image processing system, it is preferable that the processed image generating means generates the processed image using an area corresponding to the changed area in the two-dimensional image corresponding to the distance image in which the changed area has been detected.

[0010] In the above image processing system, it is preferable that the processed image generating means changes the area corresponding to the changed area of ​​the two-dimensional image by synthesizing the gradation values ​​of pixels within the area corresponding to the changed area of ​​the multiple two-dimensional images.

[0011] In the above image processing system, the changed region detection means preferably detects, as the changed region, a region in the plurality of distance images whose gradation value is smaller than the gradation value of a corresponding region in the immediately preceding distance image.

[0012] In the above image processing system, it is preferable that the processed image generation means synthesizes multiple two-dimensional images using the gradation value of an area in the two-dimensional image corresponding to the distance image in which the changed area was detected as the gradation value of the corresponding area in the processed image.

[0013] The image processing system preferably further comprises a detection means for detecting, based on the processed image, a predetermined gesture made in front of a person present in the monitored space.

[0014] In the above-mentioned image processing system, it is preferable that the system further includes a detection means for inputting a processed image into a model trained to output information relating to a person's gesture movements contained in the input learning processed image, and detecting a gesture of a person in the monitored space based on the information output from the model.

[0015] In the above image processing system, it is preferable that the system further comprises a person area detection means for detecting a person area including a person within the distance image or the two-dimensional image, and the processed image generation means generates the processed image so that only the area corresponding to the person area is changed based on the area corresponding to the change area of ​​the two-dimensional image.

[0016] In addition, in order to solve the above-mentioned problems, in another aspect, the present invention provides a control program that causes a computer to execute the following steps: sequentially acquire distance images in which information regarding the distance from a reference position to an object in a monitored space is used as a gradation value; sequentially acquire two-dimensional images in which information regarding the shading in the monitored space corresponding to the sequentially acquired distance images is used as a gradation value; detect changed areas from the multiple distance images acquired over a specified period; and generate a processed image by combining the multiple two-dimensional images acquired over the specified period using areas corresponding to the changed areas in the two-dimensional images. Effect of the Invention

[0017] According to the present invention, it is possible to provide an image processing system and a control program that generate an image in which the movement of a moving object in a captured image is easily recognized. Also, according to the present invention, it is possible to provide an image processing system and a control program that can accurately recognize a gesture made by a person in a monitored space with his or her hand extended forward. [Brief description of the drawings]

[0018] [Figure 1] FIG. 1 is a block diagram of an image processing system. [Diagram 2] 4 is a flowchart showing the operation of the image processing system. [Diagram 3] FIG. 2 is a diagram for explaining the correspondence between image regions in each processed image. [Figure 4] 1 is an example of a processed image. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0019] Various embodiments of the present invention will be described below with reference to the drawings. However, please note that the technical scope of the present invention is not limited to these embodiments, but extends to the inventions described in the claims and their equivalents. In addition, in each drawing, parts having the same or equivalent functions are given the same reference numerals, and their description may be omitted or simplified.

[0020] (Overview of Image Processing System 1) 1 is a block diagram of an image processing system 1. The image processing system 1 is used to watch over a person in a monitored space, such as a hospitalized patient or a person receiving care, and detects a gesture such as a hand wave made by the person being watched over as a gesture, and notifies an external device used by the person watching over the gesture. The image processing system 1 includes an imaging device 2, a distance sensor 3, an image processing device 4, and the like.

[0021] The imaging device 2 is an example of a two-dimensional image generating means, and sequentially generates two-dimensional images by capturing images of the monitored space. The two-dimensional image is an image in which a plurality of pixels are arranged in two dimensions, with gradation values ​​being information on the shading in the monitored space (such as brightness values ​​or color values). The imaging device 2 includes a light emitter, a two-dimensional detector, an imaging optical system, an A / D converter, and the like. The light emitter irradiates the monitored space with near-infrared light having a wavelength of, for example, about 890 nm. The two-dimensional detector includes a photoelectric converter sensitive to near-infrared light, such as a CCD (Charge-Coupled Device) element or a C-MOS (Complementary MOS). The imaging optical system forms an image of the monitored location on the two-dimensional detector. The A / D converter amplifies the electrical signal output from the two-dimensional detector and performs analog / digital (A / D) conversion.

[0022] The imaging device 2 captures images of the monitored space while irradiating the light emitter with near-infrared light at regular time intervals (for example, 1 / 30 seconds), generates a near-infrared light image as a two-dimensional image in which each pixel has a luminance value representing the intensity of the near-infrared light as a gradation value, and outputs the image to the image processing device 4. Since humans cannot directly see near-infrared light, the imaging device 2 does not affect the vision of people in the monitored space. Therefore, when monitoring, for example, a hospitalized patient or a person receiving care, the image processing system 1 can monitor the patient or person receiving care without disturbing the patient's sleep.

[0023] The two-dimensional detector may have a photoelectric converter sensitive to visible light, and generate a two-dimensional visible light image in which each pixel has a luminance value, RGB value, or CMY value of visible light as a gradation value. In this case, the light emitter may be omitted.

[0024] The distance sensor 3 is an example of a distance image generating means, and sequentially generates distance images. The distance image is an image in which a plurality of pixels, whose gradation values ​​are information about the distance from a reference position in the monitored space to a corresponding position of an object, are arranged two-dimensionally. The reference position is the arrangement position of the distance sensor 3. The distance sensor 3 irradiates near-infrared rays toward the imaging range of the imaging device 2 at a timing shifted from the timing at which the light emitter of the imaging device 2 irradiates near-infrared rays every time the imaging device 2 performs imaging. The distance sensor 3 sequentially irradiates each position in the monitored space corresponding to each pixel in the two-dimensional image with an exploration signal. For example, the distance sensor 3 divides the imaging range of the imaging device 2 in the horizontal and vertical directions at equal intervals by the number of pixels in the horizontal and vertical directions of the two-dimensional image, and sets the position in each divided area as the position corresponding to each pixel in the two-dimensional image. The distance sensor 3 receives a reflected signal arriving along the scanning direction in which the exploration signal is irradiated, and generates a received light signal having a value according to the intensity of the reflected signal.

[0025] The distance sensor 3 measures the distance from the distance sensor 3 to the object that reflected the reflected signal for each scanning direction based on the phase information of the exploration signal, the angle information indicating the direction in which the exploration signal is currently being irradiated, and the received light signal, and generates distance measurement data indicating the relationship between the scanning direction and the distance. For example, the distance sensor 3 obtains a difference between the phase of the reflected signal obtained from the received light signal and the phase of the exploration signal according to the time of flight method, and measures the distance based on the difference. The distance sensor 3 generates a distance image in which a value corresponding to the distance corresponding to each scanning direction indicated in the distance measurement data is set as the gradation value of the pixel corresponding to each scanning direction, and outputs the image to the image processing device 4. For example, the distance sensor 3 divides a predetermined distance range (for example, 0.5 m to 7 m) into 256 stages at equal intervals and assigns each value from 0 to 255. The distance sensor 3 sets the value assigned to the section to which the distance corresponding to each scanning direction indicated in the distance measurement data belongs as the gradation value of the pixel corresponding to each scanning direction. Each gradation value is set so that the shorter the distance to the corresponding object, the smaller the gradation value, and the longer the distance to the corresponding object, the larger the gradation value.

[0026] In addition, the distance sensor 3 may measure distance according to other known methods, such as a TOF / LiDAR method that irradiates near-infrared light, millimeter waves, laser, etc. and measures the time it takes for the light to reflect off an object and return, or a method that performs triangulation using a stereo camera, etc.

[0027] In this way, the distance sensor 3 sequentially generates distance images corresponding to the sequentially generated two-dimensional images. That is, the imaging device 2 sequentially generates two-dimensional images corresponding to the sequentially generated distance images.

[0028] The imaging device 2 and the distance sensor 3 may be disposed apart from each other to capture and measure. In this case, the processing unit 12 corrects the two-dimensional image or the distance image so that pixels corresponding to the same position in the monitored space are positioned at the same position in the two-dimensional image and the distance image. The image processing device 4 stores in advance in the storage unit 9 a table indicating the relationship between each pixel in the two-dimensional image and the distance image, and the processing unit 12 corrects the image by referring to the table stored in the storage unit 9.

[0029] Furthermore, some or all of the imaging device 2 and the distance sensor 3 may be used in common. For example, the imaging device 2 and the distance sensor 3 may generate a two-dimensional image and a distance image using a common light emitter and / or light receiver.

[0030] The image processing device 4 is a general computer such as a desktop computer, a workstation, a notebook computer, etc. The image processing device 4 has an interface unit 5, an input unit 6, a display unit 7, a communication unit 8, a storage unit 9, a processing unit 12, and a data bus B.

[0031] The interface unit 5 has an interface circuit for performing data communication with the imaging device 2 and the distance sensor 3, and is electrically connected to the imaging device 2 and the distance sensor 3 to transmit and receive various control signals or image signals. Note that the image processing device 4 may have the imaging device 2 and the distance sensor 3.

[0032] The input unit 6 has an input device (such as a keyboard or a mouse) and an interface circuit that acquires signals from the input device, and accepts input operations from an operator who operates the image processing device 4.

[0033] The display unit 7 has a display such as a liquid crystal display or an organic EL (Electro-Luminescence) display, and an interface circuit that outputs image data to the display, and displays various types of information on the display.

[0034] The communication unit 8 is an example of an output means, and has a communication interface circuit conforming to, for example, TCP / IP, and is connected to a communication network such as the Internet. The communication unit 8 outputs data received from the communication network to the processing unit 12, and transmits data input from the processing unit 12 to the communication network.

[0035] The storage unit 9 has a semiconductor memory such as a ROM or a RAM, a magnetic disk or an optical disk drive such as a CD-ROM or a DVD-ROM, and a recording medium thereof. The storage unit 9 also stores a computer program and various data for controlling the image processing device 4, and inputs and outputs this information between the storage unit 9 and the processing unit 12. The computer program may be installed into the storage unit 9 from a computer-readable portable recording medium such as a CD-ROM or a DVD-ROM using a known setup program or the like. The storage unit 9 also stores a model 10 and a background image 11 as data.

[0036] Model 10 is a judgment model that is pre-trained to output an evaluation value indicating the likelihood that an input image contains a gesture to be detected. The evaluation value is determined so that the higher the likelihood that the image contains a gesture to be detected, the higher the evaluation value.

[0037] The background image 11 is a two-dimensional image generated by capturing an image of an unmanned monitored space. The background image 11 may be updated periodically or whenever it is determined that no person is present in the monitored space.

[0038] Processing unit 12 has a processor such as a CPU or MPU, memories such as a ROM or RAM, and peripheral circuits thereof, and executes various signal processing of image processing device 4. Note that a DSP, an LSI, an ASIC, an FPGA, or the like may be used as processing unit 12. Processing unit 12 has distance image acquisition means 13, two-dimensional image acquisition means 14, person area detection means 15, changed area detection means 16, processed image generation means 17, detection means 18, output control means 19, learning means 20, and the like.

[0039] (Gesture detection operation of image processing system 1) 2 is a flowchart showing an operation sequence of the image processing system 1. This operation sequence is executed mainly by the processing unit 12 in cooperation with each element of the image processing device 4, based on a control program stored in the storage unit 9. This operation sequence is executed at each time interval when a distance image and a two-dimensional image are generated.

[0040] First, the distance image acquisition means 13 acquires the latest distance image generated by the distance sensor 3 (step S1). The distance image acquisition means 13 sequentially acquires distance images whose gradation values ​​represent information relating to the distance from a reference position to an object in the monitored space. The distance image acquisition means 13 stores the acquired distance images in the memory unit 9 in association with the time of acquisition.

[0041] Next, the two-dimensional image acquisition means 14 acquires the latest two-dimensional image generated by the imaging device 2 (step S2). The two-dimensional image acquisition means 14 sequentially acquires two-dimensional images, whose gradation values ​​are information about the shading in the monitored space, corresponding to the sequentially acquired distance images. The two-dimensional image acquisition means 14 stores the acquired two-dimensional images in the memory unit 9 in association with the time of acquisition. In this way, the distance image acquisition means 13 sequentially acquires the distance images sequentially generated by the distance sensor 3, and the two-dimensional image acquisition means 14 sequentially acquires the two-dimensional images sequentially generated by the imaging device 2 corresponding to the distance images sequentially generated by the distance sensor 3.

[0042] Next, the person area detection means 15 detects a person area including a person within the two-dimensional image (step S3).

[0043] The person area detection means 15 calculates the absolute value of the difference between the gradation value of each pixel in the two-dimensional image and the gradation value of each corresponding pixel in the background image 11 stored in the storage unit 9, and extracts the area of ​​pixels where the absolute value of the calculated difference is equal to or greater than a predetermined threshold. The person area detection means 15 groups areas of the same object within the extracted areas by labeling, and detects them as candidate person areas. That is, the person area detection means 15 groups adjacent (8-connected) pixels within the areas extracted from a single two-dimensional image, combines groups that are close to each other (located within a predetermined range) based on their size or positional relationship, and extracts the combined area as a candidate person area.

[0044] The person area detection means 15 may detect a candidate person area using an inter-frame difference. In this case, the person area detection means 15 calculates the absolute value of the difference between the luminance value of each pixel in the latest 2D image and the luminance value of the corresponding pixel in the immediately preceding 2D image, and detects as a candidate person area a group of pixel areas in which the absolute value of the calculated difference is equal to or greater than a predetermined threshold.

[0045] Next, the person area detection means 15 judges whether or not the object shown in the person candidate area is likely to be a person based on the feature quantities such as the size and aspect ratio of the person candidate area. The person area detection means 15 judges whether or not the object shown in the person candidate area is likely to be a person based on whether or not the size of the person candidate area is within a predetermined range corresponding to the size of a person and the aspect ratio of the person candidate area is within a predetermined range corresponding to the aspect ratio of a person. The size of each person candidate area is converted to an actual size using the position in the two-dimensional image and the installation information of the imaging device 2 stored in the storage unit 9. If the person candidate area is likely to be a person, the person area detection means 15 detects the person candidate area as a person area.

[0046] The person area detection means 15 may detect a person area in a distance image in the same manner as when detecting a person area in a two-dimensional image. The person area detection means 15 may detect a person area included in an image according to a judgment model. In this case, the image processing device 4 stores in the storage unit 9 a judgment model trained using a plurality of learning images including people, for example, by a known machine learning technique such as deep learning. The judgment model is trained in advance so that the position of the person area included in the learning image is output when the learning image is input. As the machine learning technique, for example, a multi-layered neural network composed of an input layer, a plurality of intermediate layers, and an output layer is used. The learning image is input to the input layer. Each node in the intermediate layer extracts a feature vector from the image output from each node in the input layer, and outputs the sum of values ​​obtained by multiplying each extracted feature vector by a weight. The output layer outputs the sum of values ​​obtained by multiplying each feature vector output from each node in the intermediate layer by a weight. The judgment model learns so that the difference between the output value from the output layer and the position of the person area included in the learning image becomes small while adjusting each weight. The human region detection means 15 inputs a two-dimensional image or a distance image to a determination model, and detects a human region in the two-dimensional image or the distance image from an output value output from the determination model.

[0047] Next, the changed area detection means 16 detects changed areas where the gradation value has changed in a predetermined number of distance images generated during a predetermined period (step S4). The predetermined number is 2 or more, for example 10.

[0048] The changed area detection means 16 reads out a predetermined number of distance images from the distance images stored in the storage unit 9. The changed area detection means 16 detects a changed area in an area of ​​each read distance image that corresponds to a human area detected by the human area detection means 15. The changed area detection means 16 may detect a changed area in the entire area of ​​each read distance image. The changed area detection means 16 extracts pairs of continuously generated distance images from the read distance images, and extracts candidate areas for changed areas for each extracted pair using the inter-frame difference. The changed area detection means 16 calculates the absolute value of the difference between the gradation value of each pixel in one distance image and the gradation value of the corresponding pixel in the other distance image, and extracts as a difference area a pixel area where the absolute value of the calculated difference is equal to or greater than a predetermined threshold. The changed area detection means 16 groups mutually adjacent (8-connected) pixels in the extracted difference areas by labeling, combines groups that are close to each other (located within a predetermined range) based on their size or positional relationship, and extracts the combined area as a candidate area. The changed area detection means 16 generates a judgment image in which areas in any pair of distance images for which corresponding areas are extracted as candidate areas are designated as changed areas, and areas in any pair for which corresponding areas are not extracted as candidate areas are designated as non-changed areas.

[0049] The changed region detection means 16 may detect candidate regions in a plurality of distance images whose gradation values ​​are smaller than the gradation values ​​of the corresponding regions in the immediately preceding distance image as changed regions. In this case, the changed region detection means 16 extracts, as differential regions, only pixels in each pair of distance images whose gradation values ​​in the newer distance image are smaller than the gradation values ​​of the pixels in the older distance image. This allows the changed region detection means 16 to detect only regions corresponding to moving objects that are present on the distance sensor 3 side of stationary objects as changed regions.

[0050] Alternatively, the changed region detection means 16 may detect a changed region using background difference. In this case, the image processing device 4 stores in advance in the storage unit 9 a background distance image generated by measuring the distance in an unmanned monitored space. The changed region detection means 16 calculates the absolute value of the difference between the gradation value of each pixel in the distance image and the gradation value of each corresponding pixel in the background distance image stored in the storage unit 9, and extracts a pixel region in which the absolute value of the calculated difference is equal to or greater than a predetermined threshold value as a difference region. The changed region detection means 16 groups adjacent (8-connected) pixels in the extracted difference region by labeling, combines groups that are close to each other (located within a predetermined range) based on size or positional relationship, and extracts them as candidate regions. The changed region detection means 16 generates a determination image in which a region in which a corresponding region is extracted as a candidate region in any of the distance images is determined as a changed region, and a region in which a corresponding region is not extracted as a candidate region in any of the distance images is determined as a non-changed region.

[0051] In this case, changed region detection means 16 may detect candidate regions in each distance image whose gradation values ​​are smaller than the gradation values ​​of corresponding regions in the background distance image as changed regions. In this case, changed region detection means 16 extracts, as differential regions, only pixels in each distance image whose gradation values ​​are smaller than the gradation values ​​of pixels in the background distance image. This allows changed region detection means 16 to detect only regions corresponding to moving objects that are present on the distance sensor 3 side of stationary objects as changed regions.

[0052] Furthermore, changed area detection means 16 may exclude from changed areas areas in which the difference between the gradation value of that area and the gradation value of the surrounding area of ​​the corresponding area in the background distance image is less than a predetermined threshold. In this case, changed area detection means 16 calculates the difference between the statistical value of the gradation value of each pixel in the extracted candidate area and the statistical value of the gradation value of each pixel in the surrounding area of ​​the area corresponding to that candidate area in the background distance image. The statistical value is the average value, median value, minimum value, maximum value, etc. The surrounding area is an area within a range of a predetermined number of pixels (for example, 10 pixels). If the calculated difference is less than a predetermined threshold, changed area detection means 16 excludes that candidate area from changed areas.

[0053] Furthermore, when the changed area detection means 16 detects a candidate area whose gradation value is smaller than that of the corresponding area in the immediately preceding distance image in the inter-frame difference, it determines whether or not there is a candidate area around the candidate area whose gradation value is larger than that of the corresponding area in the immediately preceding distance image. The changed area detection means 16 calculates the difference between the statistical value of the gradation value of each pixel in the candidate area whose gradation value is larger than that of the corresponding area in the immediately preceding distance image, and the statistical value of the gradation value of each pixel in the area corresponding to the candidate area in the background distance image. If the calculated difference is less than a predetermined threshold and the difference in size (area) between the two candidate areas is less than a predetermined size, the changed area detection means 16 excludes the candidate area from the changed area. In this way, the changed area detection means 16 can exclude areas corresponding to background objects blown by the wind from the changed area.

[0054] The changed area detection means 16 may detect only an area whose gradation value is equal to or less than a threshold value as a changed area. The changed area detection means 16 may also detect only an area corresponding to an object located in front of the background and the person as a changed area. In this case, the changed area detection means 16 extracts only pixels in the distance image having a gradation value smaller than the gradation value of the corresponding pixel in the background distance image as a difference area. Furthermore, the changed area detection means 16 extracts only pixels in the distance image having a gradation value smaller than the average gradation value of each pixel in the distance image corresponding to the person area detected by the person area detection means 15 a predetermined time ago (for example, the distance image immediately before the predetermined number of distance images most recently read out by the changed area detection means 16) as a difference area. In this way, the changed area detection means 16 can exclude areas corresponding to the background where there is movement (for example, plants swaying in the wind, etc.) from the changed area. As a result, the image processing system 1 can detect the gesture of the person with higher accuracy. The average gradation value of each pixel in the distance image corresponding to a person region may be the average gradation value of the upper body (upper half) or head region of the person region, rather than the average gradation value of the entire person region.

[0055] Fig. 3(A) is a diagram for explaining the correspondence between distance images and determination images, which shows distance images D1-D3 generated at times T1, T2, and T3, respectively, and a determination image L3 generated from the distance images D1-D3.

[0056] In the example shown in FIG. 3(A), distance images D1 to D3 are distance images generated by measuring a monitoring area in which an object K is moving. In distance images D1, D2, and D3, the area corresponding to object K changes to area G1, area G2, and area G3. When an area having a smaller gradation value than the corresponding area in the immediately preceding distance image is detected as a changed area by frame difference, area G2 in distance image D2 is extracted as a candidate area in the pair of distance images D1 and D2. Also, area G3 in distance image D3 is extracted as a candidate area in the pair of distance images D2 and D3. As a result, in determination image L3, a union area C1 of the areas corresponding to areas G2 and G3 is detected as a changed area, and the other area N1 is detected as a non-changed area.

[0057] When a changed region is detected by background subtraction, regions G1, G2, and G3 corresponding to object K are extracted as candidate regions from distance images D1, D2, and D3, respectively. As a result, in determination image L3, a union region C2 of the regions corresponding to G1, G2, and G3 is detected as a changed region, and the other region N2 is detected as a non-changed region.

[0058] Next, the processed image generating means 17 generates a processed image based on the multiple two-dimensional images generated corresponding to the multiple distance images (step S5). The processed image generating means 17 generates a processed image by combining multiple two-dimensional images using areas corresponding to changed areas in the two-dimensional image corresponding to the distance image in which the changed area was detected by the changed area detection means 16. The processed image generating means 17 particularly combines areas corresponding to changed areas that have become closer in distance (smaller gradation values) to generate a processed image. The processed image generating means 17 combines the multiple two-dimensional images using the gradation values ​​of the areas corresponding to changed areas in the two-dimensional image corresponding to the distance image in which the changed area was detected as the gradation values ​​of the corresponding areas in the processed image.

[0059] For example, the processed image generating means 17 divides the generated processed image into an area corresponding to a changed area and an area corresponding to a non-changed area, and further divides the area corresponding to the changed area into areas corresponding to each candidate area extracted from each distance image. The processed image generating means 17 includes areas that are overlapping and extracted as candidate areas in a plurality of distance images in an area corresponding to the candidate area extracted in the latest distance image. The processed image generating means 17 sets the gradation value of an area corresponding to each candidate area in the processed image to the gradation value of an area corresponding to the candidate area in a two-dimensional image generated corresponding to the distance image from which the candidate area was extracted. On the other hand, the processed image generating means 17 sets the gradation value of an area corresponding to a non-changed area in the processed image to the gradation value of an area corresponding to the non-changed area in one two-dimensional image (e.g., the latest two-dimensional image) among the multiple two-dimensional images generated corresponding to the multiple distance images. The area corresponding to the non-changed area does not have to be one two-dimensional image. For example, the gradation value of the non-changed area may be set from the gradation values ​​of multiple two-dimensional images.

[0060] That is, the processed image generating means 17 generates a processed image by modifying a region corresponding to the changed region of one of the multiple 2D images generated corresponding to the multiple distance images based on the region corresponding to the changed region of the multiple 2D images. In particular, the processed image generating means 17 modifies the region corresponding to the changed region of one of the multiple 2D images by combining the gradation values ​​of pixels in the region corresponding to the changed region of the multiple 2D images.

[0061] Furthermore, the processed image generation means 17 may set the gradation value of each pixel in an area corresponding to a changed area in the processed image to a statistical value (average value, median, minimum value or maximum value, etc.) of the gradation values ​​of each corresponding pixel in multiple two-dimensional images generated corresponding to multiple distance images.

[0062] As described above, the changed area detection means 16 detects a changed area in an area corresponding to a person area detected by the person area detection means 15. That is, the processed image generation means 17 generates a processed image so that only an area corresponding to the detected person area is changed based on an area corresponding to a changed area of ​​the plurality of two-dimensional images. The processed image generation means 17 sets the gradation value of a pixel in a predetermined two-dimensional image (for example, the latest two-dimensional image) as the gradation value of each pixel in an area not corresponding to the detected person area. In this way, the processed image generation means 17 can reduce the processing load of generating a processed image, and generate a processed image by combining a plurality of images limited to an area corresponding to a person.

[0063] Fig. 3(B) is a diagram for explaining the correspondence between the two-dimensional images and the processed images. Fig. 3(B) shows two-dimensional images E1 to E3 generated at times T1, T2, and T3, respectively, and a processed image F3 generated from the two-dimensional images E1 to E3.

[0064] In the example shown in FIG. 3B, two-dimensional images E1-E3 are two-dimensional images generated corresponding to distance images D1-D3 shown in FIG. 3A, respectively. When changed region C1 is detected by frame difference, the gradation value of the region corresponding to candidate region G2 in the processed image F3 corresponding to changed region C1 is set to the gradation value of region H2 in the two-dimensional image E2 corresponding to candidate region G2. In addition, the gradation value of the region corresponding to candidate region G3 in the processed image F3 corresponding to changed region C1 is set to the gradation value of region H3 in the two-dimensional image E3 corresponding to candidate region G3. Then, the gradation value of each pixel in the region corresponding to non-changed region N1 in the processed image F3 is set to the gradation value of the corresponding pixel in the latest two-dimensional image E3.

[0065] Furthermore, when changed region C2 is detected by background subtraction, the gradation values ​​of the regions corresponding to candidate regions G1, G2, G3 in processed image F3 are set to the gradation values ​​of the regions H1, H2, H3 corresponding to candidate regions G1, G2, G3 in two-dimensional images E1, E2, E3, respectively.Then, the gradation values ​​of each pixel in the region corresponding to non-changed region N2 in processed image F3 are set to the gradation values ​​of the corresponding pixels in the latest two-dimensional image E3.

[0066] Fig. 4 is an example of a processed image. This processed image is generated using a two-dimensional image (near-infrared light image) of a person moving his / her right hand in a monitored space. As shown in Fig. 4, the processed image has the right hand moved at a position closer to the distance sensor 3 than the background and the person superimposed thereon.

[0067] Next, the detection means 18 obtains an evaluation value for the processed image generated by the processed image generation means 17 (step S6).

[0068] For example, the detection means 18 obtains an evaluation value for the processed image using the model 10 stored in the storage unit 9. The model 10 is generated by the learning means 20. The learning means 20 learns the relationship between a plurality of learning processed images, an evaluation value indicating the likelihood that each learning processed image contains a gesture to be detected, and the position of an area containing the gesture to be detected, using a known machine learning technique such as deep learning. The gesture to be detected is, for example, a waving motion. The detection means 18 detects a gesture motion made in front of the human body (an area in which the gradation value of the distance image is smaller than the gradation value of the human body) among gesture motions made using a part of the human body such as a human hand. The gesture to be detected may be a periodic motion such as a beckoning motion. The gesture to be detected may be a plurality of motions, and may be, for example, both a waving motion and a beckoning motion. Each learning processing image is an image generated in the same manner as the processing image from images including gestures of various sizes by objects in various states (standing up, sitting, lying down, etc.) or images including no gestures. The learning means 20 stores the learned relationship as a model 10 in the storage unit 9.

[0069] A learning processing image is input to the input layer. Each node of the intermediate layer extracts a feature vector from an image output from each node of the input layer, and outputs the sum of values ​​obtained by multiplying each extracted feature vector by a weight. The output layer outputs the sum of values ​​obtained by multiplying each feature vector output from each node of the intermediate layer by a weight. The learning means 20 adjusts each weight while learning so that the difference between the output value from the output layer, the correct answer value, and the position of the area including the gesture to be detected becomes small. For example, the correct answer value is set to 1 when the learning processing image includes the gesture to be detected, and is set to 0 when the gesture to be detected is not included. Note that the model 10 may be trained by other machine learning techniques such as DPM (Deformable Part Model), R-CNN (Regions with Convolutional Neural Networks), and YOLO. The model 10 may also be generated by an external computer other than the image processing device 4 and transmitted to the image processing device 4. In that case, the learning means 20 may be omitted.

[0070] The detection means 18 inputs the processed image to the model 10 stored in the storage unit 9, and obtains the output value output from the model 10 as an evaluation value for the processed image and the position of the area where the gesture is detected.

[0071] The detection means 18 may cut out a region in the processed image where there is movement, and input the cut-out image to the model 10 to calculate the evaluation value. For a stationary object, the distance from the distance sensor 3 does not change, so there is a possibility that the distance image in which the pixel with the minimum gradation value is extracted by the change area detection means 16 for each part of the object may vary. On the other hand, for a moving object, there is a high possibility that the pixel with the minimum gradation value is extracted from one distance image collectively for the entire region of the object. Therefore, the detection means 18 specifies the pixel extracted by the change area detection means 16 in step S4 from each distance image for each of the multiple distance images generated during a predetermined period. The detection means 18 detects, as a region in the processed image, a region of pixels that are adjacent to each other, connected, and have a predetermined size or more among the pixels specified in each distance image. This allows the detection means 18 to detect gestures only in the region where there is movement, and to detect gestures more accurately.

[0072] The detection means 18 may also calculate the evaluation value using a pattern matching technique. In this case, the image processing device 4 stores in advance in the storage unit 9 a plurality of image patterns in which the gesture to be detected is captured in the sample processed image. The detection means 18 cuts out an area of ​​a predetermined size in the processed image generated in step S5 while shifting its position, and obtains the degree of similarity between the image pattern stored in the storage unit 9 and the area, as an evaluation value. The degree of similarity is, for example, a normalized cross-correlation value.

[0073] Next, the detection means 18 detects the gesture of the person to be detected based on the acquired evaluation value (step S7). If the evaluation value is equal to or greater than a predetermined threshold, the detection means 18 determines that the processed image includes the gesture of the person to be detected, and if the evaluation value is less than the threshold, the detection means 18 determines that the processed image does not include the gesture of the person to be detected. In this manner, the detection means 18 detects the gesture of the person in the monitored space based on the processed image. In particular, the detection means 18 inputs the processed image to the model 10 that has been trained to output information regarding the gesture of the person included in the processed image for learning when the processed image for learning is input, and detects the gesture of the person in the monitored space based on the information output from the model 10.

[0074] Next, the detection means 18 judges whether or not the gesture to be detected is detected (step S8). If the gesture to be detected is not detected, the detection means 18 does not execute any particular process and ends the series of steps.

[0075] On the other hand, when the detection means 18 detects the gesture of the detection target, the detection means 18 judges whether or not a person exists in the vicinity of the area where the gesture is detected (step S9). The detection means 18 calculates the distance between the position of the area where the gesture is detected acquired in step S6 and the area in the processed image corresponding to the person area detected in step S3. When the calculated distance is less than a predetermined distance threshold, the detection means 18 judges that a person exists in the vicinity of the area where the gesture is detected, and judges that the detected gesture is a gesture performed by a person. On the other hand, when the calculated distance is equal to or greater than the distance threshold, the detection means 18 judges that a person does not exist in the vicinity of the area where the gesture is detected, and judges that the detected gesture is not a gesture performed by a person, and ends the series of steps. This makes it possible for the detection means 18 to prevent the movement of an object other than a person in the monitored space from being mistakenly detected as the gesture of the detection target.

[0076] If it is determined that a person is present in the vicinity of the area where the gesture is detected, the output control means 19 outputs information about the detected gesture via the communication unit 8 to notify an external device (step S10), and ends the series of steps. The information about the gesture includes the fact that a gesture of the detection target by a person has been detected, the type of gesture, the time when the gesture was detected, the duration of the gesture, the area where the gesture was detected, etc. The output control means 19 may display the information about the detected gesture on the display unit 7 or output it from a sound output device (not shown).

[0077] The process of step S3 may be omitted. In this case, the changed area detection means 16 executes the process of step S4 for all pixels in the distance image and the two-dimensional image.

[0078] Also, the process of step S9 may be omitted. In this case, the model 10 may be pre-trained to output an evaluation value indicating the likelihood that each learning processing image contains a gesture to be detected by a person, and the detection means 18 may detect a gesture made by a person using the determination model 10.

[0079] (Effects of image processing system 1) As described above, the image processing system 1 detects the gesture to be detected using a processed image generated based on the area in the two-dimensional image corresponding to the change area detected from a plurality of distance images generated during a predetermined period. As a result, the image processing system 1 can accurately detect a gesture accompanied by movement by focusing on the area where the movement occurs. In addition, by focusing on the area where the distance becomes closer on the distance image and synthesizing the two-dimensional image, the gesture accompanied by movement can be accurately detected. Therefore, the image processing system 1 can accurately detect the gesture of a person in the monitored space. In particular, when the person to be monitored is asked to put his / her hand out in front of his / her body and wave his / her hand as a means of nurse call, the image processing system 1 can accurately detect the movement and notify the person to be monitored. [Explanation of symbols]

[0080] 1 image processing system, 2 imaging device, 3 distance sensor, 8 communication unit, 10 model, 15 person area detection means, 16 change area detection means, 17 processed image generation means, 18 detection means

Claims

1. a distance image acquisition means for sequentially acquiring distance images in which information regarding a distance from a reference position to an object in a monitored space is used as a gradation value; a two-dimensional image acquisition means for sequentially acquiring two-dimensional images, the two-dimensional images having gradation values ​​representing information on shading within the monitored space, corresponding to the sequentially acquired distance images; a change area detection means for detecting a change area from a plurality of distance images acquired by the distance image acquisition means during a predetermined period of time; a processed image generating means for generating a processed image by combining a plurality of two-dimensional images acquired during the predetermined period using an area corresponding to the changed area in the two-dimensional image, the processed image generating means synthesizes the plurality of two-dimensional images using a gradation value of a region in a two-dimensional image corresponding to the distance image in which the changed region is detected as a gradation value of the corresponding region in the processed image; 1. An image processing system comprising:

2. a distance image acquisition means for sequentially acquiring distance images in which information regarding a distance from a reference position to an object in a monitored space is used as a gradation value; a two-dimensional image acquisition means for sequentially acquiring two-dimensional images, the two-dimensional images having gradation values ​​representing information on shading within the monitored space, corresponding to the sequentially acquired distance images; a change area detection means for detecting a change area from a plurality of distance images acquired by the distance image acquisition means during a predetermined period of time; a processed image generating means for generating a processed image by combining a plurality of two-dimensional images acquired during the predetermined period using an area corresponding to the changed area in the two-dimensional image, the changed region detection means detects, as the changed region, a region in the plurality of distance images in which the gradation value is smaller than the gradation value of a corresponding region in a past distance image; 1. An image processing system comprising:

3. 3. The image processing system according to claim 1, wherein the processed image generating means generates the processed image by using an area corresponding to the changed area in a two-dimensional image corresponding to the distance image in which the changed area is detected.

4. The image processing system according to any one of claims 1 to 3, wherein the processed image generating means changes the area corresponding to the changed area of ​​the two-dimensional image by synthesizing the gradation values ​​of pixels within the area corresponding to the changed area of ​​the multiple two-dimensional images.

5. The image processing system according to any one of claims 1 to 4, wherein the changed area detection means detects areas in the plurality of distance images in which the gradation value is smaller than the gradation value of a corresponding area in an immediately preceding distance image as the changed area.

6. 3. The image processing system according to claim 2, wherein the processed image generation means synthesizes the multiple two-dimensional images using a gradation value of an area corresponding to the changed area in a two-dimensional image corresponding to the distance image in which the changed area is detected as the gradation value of the corresponding area in the processed image.

7. 7. The image processing system according to claim 1, further comprising a detection unit that detects, based on the processed image, a predetermined gesture made in front of a person present within the monitored space.

8. The image processing system according to any one of claims 1 to 7, further comprising a detection means for inputting the processed image for learning into a model trained to output information regarding a person's gesture movements contained in the input learning processed image, and detecting a gesture of a person in the monitored space based on information output from the model.

9. a person area detection unit that detects a person area including a person in the distance image or the two-dimensional image, The image processing system according to any one of claims 1 to 8, wherein the processed image generation means generates the processed image so as to change only the area corresponding to the person area based on the area corresponding to the changed area of ​​the two-dimensional image.

10. Sequentially acquiring distance images in which information regarding the distance from a reference position to an object in a monitored space is used as a grayscale value; Sequentially acquiring two-dimensional images in which information regarding shading within the monitored space is used as a gradation value corresponding to the sequentially acquired distance images; Detecting a change area from a plurality of range images acquired during a predetermined period of time; causing a computer to generate a processed image by combining a plurality of two-dimensional images acquired during the predetermined period using an area corresponding to the changed area in the two-dimensional image; In the generation, a gradation value of a region in a two-dimensional image corresponding to the distance image in which the changed region is detected, the region corresponding to the changed region is set as a gradation value of the corresponding region in the processed image, and the plurality of two-dimensional images are synthesized. A control program comprising:

11. Sequentially acquiring distance images in which information regarding the distance from a reference position to an object in a monitored space is used as a grayscale value; Sequentially acquiring two-dimensional images in which information regarding shading within the monitored space is used as a gradation value corresponding to the sequentially acquired distance images; Detecting a change area from a plurality of range images acquired during a predetermined period of time; causing a computer to generate a processed image by combining a plurality of two-dimensional images acquired during the predetermined period using an area corresponding to the changed area in the two-dimensional image; In the detection, a region in the plurality of distance images where the gradation value is smaller than the gradation value of a corresponding region in a past distance image is detected as the changed region. A control program comprising:

Citation Information

Patent Citations

  • Driving device for wire of wire printer, etc.

    JP1982082061A

  • Information input device, information input method, corrected data generating device and solid-state image pickup device

    JP1998177449A

  • Program for printer driver

    JP2008205637A

  • Information processor, information processing method and program

    JP2015219868A

  • Obstacle detection system for heavy equipment

    JP2019049918A