Identification method, image display method, identification system, image display system, and program

By capturing and analyzing distance and brightness images separately, the method improves the reliability of object identification by validating the accuracy of identification results using distance image statistics, addressing the issue of overlapping objects in existing techniques.

JP7571461B2Active Publication Date: 2024-10-23SEIKO EPSON CORP
View PDF 8 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing identification techniques, such as those described in Patent Document 1, can produce erroneous results when parts of the object to be identified are overlapped with other objects, leading to inaccurate object type recognition.

Method used

The method involves capturing a first image with a distance camera representing pixel values as distances from a subject position and a second image with an RGB camera representing pixel values as brightness, calculating an index value for reliability based on the distance image to validate the identification results from the brightness image.

Benefits of technology

This approach enhances the reliability of object identification by validating the accuracy of the identification results using distance image statistics, reducing errors caused by overlapping objects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007571461000003
    Figure 0007571461000003
  • Figure 0007571461000004
    Figure 0007571461000004
  • Figure 0007571461000005
    Figure 0007571461000005
Patent Text Reader

Abstract

To provide an identification method for preventing an erroneous identification result from being obtained when an entire identification target is not shown in a captured image.SOLUTION: An identification device 30A includes a first acquisition unit 321, a second acquisition unit 322, an identification unit 323A, and a calculation unit 324A. The first acquisition unit 321 acquires a first image in which a pixel value of each pixel represents a distance from a first position of a subject including an identification target. The second acquisition unit 322 acquires a second image that is captured from a second position different from the first position in which a pixel value of each pixel represents at least brightness of reflected light from the subject. The identification unit 323A identifies a type of the identification target based on the second image. The calculation unit 324A calculates an index value indicating reliability of an identification result based on the second image, on the basis of the first image.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to an identification method, an image display method, an identification system, an image display system, and a program. [Background technology]

[0002] An example of an identification technology for identifying the type of object captured in an image captured by a camera is the technology disclosed in Patent Document 1. In the technology disclosed in Patent Document 1, the type of object captured in the captured image is identified by template matching between the object captured in the captured image and a template image of the object stored in a database. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2010-191745 A Summary of the Invention [Problem to be solved by the invention]

[0004] The technique disclosed in Patent Document 1 may produce erroneous identification results if a part of an object to be identified is overlapped with another object in the image. [Means for solving the problem]

[0005] In order to solve the above problems, the identification method disclosed herein acquires a first image in which a pixel value of each pixel represents a distance from a first position of a subject including an object to be identified, acquires a second image captured from the first position or a second position different from the first position, in which the pixel value of each pixel represents at least the luminance of reflected light from the subject, and identifies the type of the object to be identified based on the second image, while calculating an index value indicating the reliability of the identification result based on the second image, based on the first image.

[0006] In addition, in order to solve the above-mentioned problems, the image display method of the present disclosure acquires a first image in which a pixel value of each pixel represents a distance from a first position of a subject including an object to be identified, acquires a second image captured from the first position or a second position different from the first position, in which a pixel value of each pixel represents at least a brightness of reflected light from the subject, identifies the type of the object to be identified based on the second image, while calculating, based on the first image, an index value indicating a reliability of an identification result of the type of the object to be identified based on the second image, and displays a third image corresponding to the identification result of the type of the object to be identified by superimposing it on the object to be identified.

[0007] In order to solve the above problem, the identification system of the present disclosure includes a first image capturing device that is installed at a first position and captures a first image in which a pixel value of each pixel represents a distance from the first position of a subject including an identification target, a second image capturing device that is installed at the first position or a second position different from the first position and captures a second image in which a pixel value of each pixel represents at least a luminance of reflected light from the subject, and a processing device, and the processing device captures the first image. Device The method includes acquiring the first image from the imaging device, acquiring the second image from the second imaging device, and identifying the type of the object to be identified based on the second image, while calculating an index value indicating a reliability of the identification result of the type of the object to be identified based on the second image, based on the first image.

[0008] In addition, in order to solve the above problem, the image display system of the present disclosure includes a first imaging device that is installed at a first position and captures a first image, in which a pixel value of each pixel represents a distance from the first position of a subject including an identification object, a second imaging device that is installed at the first position or a second position different from the first position and captures a second image, in which a pixel value of each pixel represents at least a luminance of reflected light from the subject, a display device, and a processing device, wherein the processing device executes the following operations: acquiring the first image from the first imaging device, acquiring the second image from the second imaging device, identifying the type of the identification object based on the second image, while calculating, based on the first image, an index value indicating a reliability of an identification result of the type of the identification object based on the second image, and displaying, on the display device, a third image corresponding to the identification result of the type of the identification object so as to be superimposed on the identification object.

[0009] In addition, in order to solve the above-mentioned problems, the program disclosed herein causes a computer to acquire a first image in which a pixel value of each pixel represents a distance from a first position of a subject including an object to be identified; acquire a second image captured from the first position or a second position different from the first position, in which a pixel value of each pixel represents at least a luminance of reflected light from the subject; and identify the type of the object to be identified based on the second image, while calculating an index value indicating a reliability of an identification result of the type of the object to be identified based on the second image, based on the first image.

[0010] In addition, in order to solve the above-mentioned problems, the program disclosed herein causes a computer to execute the following operations: acquire a first image in which a pixel value of each pixel represents a distance from a first position of a subject including an object to be identified; acquire a second image captured from the first position or a second position different from the first position, in which a pixel value of each pixel represents at least a luminance of reflected light from the subject; identify the type of the object to be identified based on the second image, while calculating, based on the first image, an index value indicating a reliability of an identification result of the type of the object to be identified based on the second image; and display a third image corresponding to the identification result of the type of the object to be identified, superimposed on the object to be identified. [Brief description of the drawings]

[0011] [Figure 1] 1 is a block diagram showing an example of the configuration of a recognition system 1A including a recognition device 30A that executes a recognition method according to a first embodiment of the present disclosure. [Diagram 2] FIG. 2 is a diagram showing an example of a subject in the present embodiment. [Diagram 3] FIG. 4 is a diagram illustrating an example of a distance image. [Figure 4] FIG. 13 is a diagram illustrating an example of a luminance image. [Diagram 5] FIG. 13 is a diagram showing an example of a classification result based on a luminance image. [Figure 6] 11A and 11B are diagrams illustrating an example of statistics calculated based on a distance image. [Figure 7] FIG. 13 is a diagram showing an example of a classification result by a classification device 30A. [Figure 8] 3 is a flowchart showing the flow of an identification method according to the present embodiment. [Figure 9] FIG. 11 is a block diagram showing an example of the configuration of a recognition system 1B including a recognition device 30B that executes a recognition method according to a second embodiment of the present disclosure. [Figure 10] FIG. 13 is a diagram showing an example of a classification result based on a luminance image. [Figure 11] 11A and 11B are diagrams illustrating an example of statistics calculated based on a distance image. [Figure 12]3 is a flowchart showing the flow of an identification method according to the present embodiment. [Figure 13] FIG. 11 is a block diagram showing an example configuration of an image display system 2 including a display control device 40 that executes an image display method according to a third embodiment of the present disclosure. [Figure 14] FIG. 2 is a diagram showing an example of a subject in the present embodiment. [Figure 15] 1 is a diagram showing an example of a square to which a shogi piece, which is an object to be identified in this embodiment, can move. FIG. [Figure 16] 3 is a flowchart showing the flow of an identification method according to the present embodiment. [Figure 17] FIG. 4 is a diagram for explaining the operation of the present embodiment. [Figure 18] FIG. 13 is a diagram showing the effect of the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. Various technically preferable limitations are attached to the embodiments described below. However, the embodiments of the present disclosure are not limited to the forms described below.

[0013] 1. First embodiment Fig. 1 is a block diagram showing a configuration example of a recognition system 1A including a recognition device 30A that executes a recognition method according to a first embodiment of the present disclosure. As shown in Fig. 1, the recognition system 1A includes a first imaging device 10 and a second imaging device 20 in addition to the recognition device 30A. As shown in Fig. 1, the first imaging device 10 and the second imaging device 20 are connected to the recognition device 30A.

[0014] Although details will be described later, the identification device 30A identifies the type of the object to be identified based on a captured image of a subject in which the object to be identified is placed on a background object. Hereinafter, the background object will be referred to as a background object. Also, the object to be identified will be referred to as an identification target. A subject in which an identification target is placed on a background object is an example of a subject including an identification target in the present disclosure. FIG. 2 is a diagram showing an example of a subject in this embodiment. In the subject in this embodiment, identification targets A1, A2, and C1 are placed on a background object B1. The background object B1 is a desk. The identification target A1 and the identification target A2 are apples. The identification target C1 is a cylindrical vase.

[0015] The first imaging device 10 is a distance camera such as a ToF camera, a structured light camera, or a stereo camera. A distance camera is a camera that captures a distance image. A distance image is an image in which the pixel value of each pixel represents the distance from the subject to the installation position of the distance camera. The first imaging device 10 outputs image data representing the captured distance image to the identification device 30A every time it captures an image of the subject. Hereinafter, the image data representing the distance image will be referred to as distance image data.

[0016] The first imaging device 10 is fixed at a position diagonally above the subject shown in FIG. 2, and captures an image of the area surrounded by a dashed line in FIG. 2 for each frame period of a predetermined length of time. FIG. 3 is a diagram showing an example of a distance image obtained by capturing an image of the subject shown in FIG. 2 using the first imaging device 10. As shown in FIG. 3, the distance image in this embodiment is a grayscale image. In the distance image of this embodiment, if the distance from the subject to the first pixel is longer than the distance from the subject to the second pixel, the pixel value of the first pixel will be smaller than the pixel value of the second pixel. In other words, the first pixel will be darker than the second pixel. The installation position of the first imaging device 10 is an example of the first position in the present disclosure. The subject shown in FIG. 2 is captured by the first imaging device 10. Obtained by The range image is an example of a first image in this disclosure.

[0017] The second imaging device 20 is an RGB camera. The pixel value of each pixel in the image captured by the second imaging device 20 represents the luminance of reflected light from the subject. Hereinafter, an image in which the pixel value of each pixel represents the luminance of reflected light from the subject is referred to as a luminance image. The second imaging device 20 in this embodiment is an RGB camera, but may be a gray camera or an infrared camera. The second imaging device 20 is fixed to a position near the first imaging device 10. The installation position of the second imaging device 20 is an example of a second position different from the first position in this disclosure. The luminance image captured by the second imaging device 20 is an example of a second image in this disclosure.

[0018] The second imaging device 20, like the first imaging device 10, captures an image of the range surrounded by a dashed line in FIG. 2 from diagonally above the subject shown in FIG. 2 for each frame period. In this embodiment, the imaging timing by the second imaging device 20 and the imaging timing by the first imaging device 10 are the same. The second imaging device 20 outputs image data representing a luminance image captured each time the subject is captured to the identification device 30A. Hereinafter, the image data representing the luminance image will be referred to as luminance image data. FIG. 4 is a diagram showing an example of a luminance image obtained by capturing an image of the subject shown in FIG. 2 by the second imaging device 20. In FIG. 4, the differences between the background object B1 and the objects to be identified A1, A2, and C1 are shown by the presence or absence of hatching and the hatching pattern. In this embodiment, the zoom in the second imaging device 20 and the zoom in the first imaging device 10 are set to the same value. Therefore, the distance image captured by the first imaging device 10 and the luminance image captured by the second imaging device 20 are images captured in the same imaging range from approximately the same position with approximately the same zoom.

[0019] The classification device 30A classifies the types of classification objects A1, A2, and C1 based on the luminance image data output from the second imaging device 20. The classification device 30A also calculates an index value indicating the reliability of the classification result based on the luminance image data based on the distance image data output from the first imaging device 10. Based on this index value, the classification device 30A determines whether the classification result based on the luminance image data is valid or invalid. The following description will focus on the classification device 30A, which prominently exhibits the features of this embodiment.

[0020] The identification device 30A is, for example, a personal computer. As shown in FIG. 1, the identification device 30A includes a communication device 300, a storage device 310, and a processing device 320. The first imaging device 10 and the second imaging device 20 are connected to the communication device 300. The communication device 300 is a communication interface that performs data communication with an external device. The communication device 300 includes, for example, an interface circuit that processes signals to be transmitted and received. Specific examples of the communication device 300 include a wireless communication module or a wired communication module. When the communication device 300 is a wired communication module, the first imaging device 10 and the second imaging device 20 are connected to the communication device 300 via a communication line. The connection between the first imaging device 10 and the second imaging device 20 and the identification device 30A may be a direct connection without going through a relay device such as a wireless access point device or a router, or may be an indirect connection via a relay device. When the communication device 300 is a wireless communication module, a specific example of a direct connection is an ad-hoc connection, and a specific example of an indirect connection is an access point connection via a wireless access point device. When the communication device 300 is a wired communication module, a specific example of a direct connection is a peer-to-peer connection, and a specific example of an indirect connection is a connection via a wired router or a wired hub. The communication device 300 receives distance image data output from the first imaging device 10. The communication device 300 also receives luminance image data output from the second imaging device 20.

[0021] The storage device 310 is a recording medium readable by the processing device 320. The storage device 310 includes, for example, a nonvolatile memory and a volatile memory. The nonvolatile memory is, for example, a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), or an Electrically Erasable Programmable Read Only Memory (EEPROM). The volatile memory is, for example, a Random Access Memory (RAM).

[0022] The non-volatile memory of the storage device 310 stores a program 311A ​​executed by the processing device 320 and an identification module 312. The volatile memory of the storage device 310 is used by the processing device 320 as a work area when executing the program 311A. The program 311A ​​may also be referred to as an "application program," "application software," or an "app." The program 311A ​​is obtained, for example, from a server (not shown) via the communication device 300, and then stored in the storage device 310. The program 311A ​​may be stored in advance in the storage device 310.

[0023] The identification module 312 is a convolutional neural network generated by machine learning such as deep learning using learning data in which a luminance image of an object is associated with a label indicating the type of the object. The identification module 312 has been trained on apples, vases, and desks. The identification module 312 outputs a label indicating the type of object shown in the input luminance image. The identification module 312 is an example of a classifier in the present disclosure.

[0024] The processing device 320 includes a processor such as a CPU (Central Processing Unit), that is, a computer. The processing device 320 may be configured with a single computer or multiple computers. When an operation to instruct the start of execution of the program 311A ​​is performed on an input device (not shown), the processing device 320 reads the program 311A ​​from a non-volatile memory to a volatile memory and starts execution of the program 311A. The processing device 320 operating according to the program 311A ​​functions as the first acquisition unit 321, the second acquisition unit 322, the identification unit 323A, the calculation unit 324A, and the determination unit 325A shown in FIG. 1 are software modules realized by operating the processing device 320 according to the program 311A.

[0025] The first acquisition unit 321 acquires the distance image data received by the communication device 300. The second acquisition unit 322 acquires the luminance image data received by the communication device 300.

[0026] The identification unit 323A uses the luminance image represented by the luminance image data acquired by the second acquisition unit 322 and the identification module 312 to identify the type of object captured in the luminance image. The identification unit 323A may perform rectangular conversion on the luminance image data acquired by the second acquisition unit 322 so that the luminance image represented by the luminance image data becomes a rectangle of a predetermined size. The identification unit 323A divides the luminance image represented by the luminance image data into a total of N×M sub-luminance images of N rows and M columns using a grid as shown in FIG. 5. In the example shown in FIG. 5, N=6. N may be an integer equal to or greater than 2. In the example shown in FIG. 5, M=10. M may be an integer equal to or greater than 2. Any one of the N×M sub-luminance images is an example of a third sub-image in the present disclosure, and a sub-luminance image different from the one sub-luminance image is an example of a fourth sub-image in the present disclosure.

[0027] In the following, the N rows of the sub-luminance image are numbered from top to bottom as the 1st row, the 2nd row, ... the Nth row. The M columns of the sub-luminance image are similarly numbered from left to right as the 1st column, the 2nd column, ... the Mth column. Therefore, of the 6 × 10 pixels shown in Fig. 5, the sub-luminance image in the upper left corner is the sub-luminance image in the 1st row and the 1st column, and the sub-luminance image in the lower right corner is the sub-luminance image in the 6th row and the 10th column.

[0028] The classification unit 323A inputs image data representing each of the N×M sub-luminance images as a classification target image to the classification module 312. The classification unit 323A acquires a label indicating the type of an object appearing in the classification target image from the classification module 312, thereby classifying the type of the object. In FIG. 5, the label acquired from the classification module 312 for each of the N×M sub-luminance images is indicated by a single alphabetical character. In FIG. 5, A is a label indicating an apple, B is a label indicating a background object, and C is a label indicating a vase. In FIG. 5, D is a label indicating an object that is neither an apple, a background object, nor a vase. The reason why the label D is output for the sub-luminance image in the 5th row and 8th column is that although a part of the classification target object A2 appears in the sub-luminance image, the classification target object C1 and the background object B1 also appear, and classification using the classification module 312 has failed.

[0029] The calculation unit 324A calculates an index value indicating the reliability of the classification result by the classification unit 323A based on the distance image represented by the distance image data acquired by the first acquisition unit 321. More specifically, the calculation unit 324A divides the distance image represented by the distance image data into N×M sub-distance images using a grid. As described above, the distance image captured by the first imaging device 10 and the luminance image captured by the second imaging device are images captured in the same imaging range from approximately the same position with the same zoom, so that each of the N×M sub-distance images corresponds one-to-one to each of the N×M sub-luminance images. For example, the sub-distance image in the first row and the first column and the sub-luminance image in the first row and the first column are images captured in approximately the same imaging range. In order to more accurately correspond the sub-luminance images to the sub-distance images, the discrimination unit 323A may perform a rectangular transformation on the luminance image so that the contour of the luminance image becomes a rectangle of a predetermined size before dividing it into the sub-luminance images, and the calculation unit 324A may perform the rectangular transformation on the distance image before dividing it into the sub-distance images. Any one of the N×M sub-distance images obtained by dividing the distance image is referred to as the first sub-distance image in this disclosure. distance An example of an image, distance The sub-range image, which is different from the image, is referred to as the second sub-range image in this disclosure. distance 1 is an example of an image.

[0030] Next, the calculation unit 324A sets each of the N×M sub distance images as a calculation target image, and calculates an index value based on the statistics of the pixel values ​​of the pixels that make up the calculation target image. In this embodiment, the calculation unit 324A calculates an index value based on the statistics of the pixel values ​​of the pixels that make up the calculation target image using the variance S 2 In the formula (1), L is the total number of pixels that make up the image to be calculated. L is an integer of 2 or more. x i is the pixel value of the i-th pixel among the L pixels that make up the calculation target image. In other words, i is an integer between 1 and L. x ave is the average value of the pixel values ​​of L pixels that make up the image to be calculated.

number

[0031] 6 is a diagram showing an example of a statistic calculated for each of the N×M sub-distance images. In FIG. 6, the variance S 2 The value of is shown in each sub-distance image. Note that in FIG. 6, the drawing of the gradation representing the distance is omitted. The variance S 2 Value of is significantly large because these sub-range images contain multiple objects and the distances within the sub-range images vary greatly.

[0032] The calculation unit 324A calculates an index value that is smaller as the statistic is larger. In this embodiment, the calculation unit 324A calculates the inverse of the statistic as the index value, but the index value may be a value obtained by subtracting the statistic from a predetermined value. The reason why this index value indicates the reliability of the classification result by the classification unit 323A is as follows. As described above, a large statistic calculated for a sub-distance image means that the pixel values ​​of each pixel constituting the sub-distance image are highly variable. When the statistic calculated for a sub-distance image is large, it is highly likely that the sub-distance image contains multiple objects, and that the sub-luminance image corresponding to the sub-distance image also contains multiple objects. Even if the classification unit 323A classifies objects on a sub-luminance image containing multiple objects, the classification result is highly likely to be erroneous. Therefore, the index value calculated based on the statistic of pixel values ​​of pixels constituting a sub-distance image indicates the reliability of the classification result by the classification unit 323A on the sub-luminance image corresponding to the sub-distance image.

[0033] The determination unit 325A determines whether or not the classification result by the classification unit 323A is invalid for each sub-luminance image based on the reliability calculated by the calculation unit 324A. More specifically, the determination unit 325A determines whether or not the index value calculated by the calculation unit 324A for the sub-distance image corresponding to the determination target image is less than a threshold value, for each of the N×M sub-luminance images as a determination target image. If the index value calculated by the calculation unit 324A is less than the threshold value, the determination unit 325A invalidates the classification result of the classification unit 323A based on the determination target image. The threshold value is, for example, 0.5, but may be another value. An appropriate value may be set for the threshold value by conducting appropriate experiments. In this embodiment, the variance S calculated for the sub-distance image is 2 Since the inverse of the index value is the variance S 2 For sub-distance images with an index value of 2.0 or more, the index value is less than 0.5, and the classification results based on the sub-brightness images corresponding to those sub-distance images are invalidated. Specifically, the classification results based on the sub-brightness images corresponding to the sub-distance images in the 4th row, 8th column, 4th row, 9th column, 5th row, 8th column, and 5th row, 9th column in Fig. 6 are invalidated. As a result, the classification results shown in Fig. 7 are obtained. Fig. 7 differs from Fig. 5 in that the labels for which the classification results have been invalidated are deleted.

[0034] Moreover, the processing device 320 operating according to the program 311A ​​executes the identification method of the first embodiment of the present disclosure. Fig. 8 is a flowchart showing the flow of this identification method. As shown in Fig. 8, this identification method includes a first acquisition process SA110, a second acquisition process SA120, an identification process SA130, a calculation process SA140, and a determination process SA150.

[0035] In the first acquisition process SA110, the processing device 320 functions as a first acquisition unit 321. In the first acquisition process SA110, the processing device 320 acquires distance image data received by the communication device 300. In a second acquisition process SA120 subsequent to the first acquisition process SA110, the processing device 320 functions as a second acquisition unit 322. In the second acquisition process SA120, the processing device 320 acquires luminance image data received by the communication device 300.

[0036] In the classification process SA130 subsequent to the second acquisition process SA120, the processing device 320 functions as a classification unit 323A. In the classification process SA130, the processing device 320 divides the luminance image represented by the luminance image data acquired by the second acquisition unit 322 into N×M sub-luminance images. Next, the processing device 320 inputs each of the N×M sub-luminance images as a classification target image to the classification module 312, and acquires a label indicating the type of object appearing in the classification target image.

[0037] In calculation process SA140 subsequent to classification process SA130, processing device 320 functions as calculation section 324A. In calculation process SA140, processing device 320 divides a distance image represented by the distance image data acquired by first acquisition section 321 into N×M sub distance images. Next, processing device 320 sets each of the N×M sub distance images as a calculation target image, and calculates an index value according to the statistics of pixel values ​​in the calculation target image.

[0038] In a determination process SA150 subsequent to the calculation process SA140, the processing device 320 functions as a determination unit 325A. In the determination process SA150, the processing device 320 determines whether or not the index value calculated in the calculation process SA140 for the sub-distance image corresponding to the determination target image is less than a threshold value, with each of the N×M sub-luminance images being a determination target image. If the index value calculated in the calculation process SA140 is less than the threshold value, the processing device 320 invalidates the classification result of the classification unit 323A based on the determination target image.

[0039] According to this embodiment, the reliability of the identification result of the object to be identified based on the luminance image can be grasped from a distance image separate from the luminance image. In addition, in this embodiment, if an index value indicating the reliability of the identification result based on the luminance image is less than a threshold value, the identification result is invalidated. In this embodiment, the validity of the identification result based on the luminance image is determined using an index value corresponding to the statistics of the pixel values ​​in the distance image, so that identification errors caused by the presence of multiple objects can be invalidated.

[0040] 2. Second embodiment FIG. 9 is a block diagram showing a configuration example of an identification system 1B according to a second embodiment of the present disclosure. In FIG. 9, the same components as those in FIG. 1 are denoted by the same reference numerals. As is clear from comparing FIG. 9 with FIG. 1, the identification system 1B differs from the identification system 1A in that the identification system 1B has an identification device 30B instead of the identification device 30A. The identification device 30B is a personal computer, like the identification device 30A. As is clear from comparing FIG. 9 with FIG. 1, the hardware configuration of the identification device 30B is the same as the hardware configuration of the identification device 30A. The identification device 30B differs from the identification device 30A in that a program 311B is stored in the storage device 310 instead of the program 311A.

[0041] The processing device 320 of the recognition device 30B executes the program 311B to function as a first acquisition unit 321, a second acquisition unit 322, a recognition unit 323B, a calculation unit 324B, and a determination unit 325B shown in Fig. 9. The first acquisition unit 321, the second acquisition unit 322, the recognition unit 323B, the calculation unit 324B, and the determination unit 325B are software modules realized by operating the processing device 320 in accordance with the program 311B. The following mainly describes the recognition unit 323B, the calculation unit 324B, and the determination unit 325B, which are differences from the first embodiment.

[0042] The identification unit 323B, like the identification unit 323A, identifies the type of object appearing in the luminance image using the luminance image represented by the luminance image data acquired by the second acquisition unit 322 and the identification module 312. Note that the identification unit 323B may also perform rectangular conversion on the luminance image represented by the luminance image data before identifying the type of object. The identification unit 323B inputs the luminance image data acquired by the second acquisition unit 322 to the identification module 312, and acquires a label indicating the type of the object to be identified appearing in the luminance image and data indicating the attention area. The attention area means a Region Of Interest, and refers to the area occupied by the object to be identified in the luminance image. The attention area is an example of the first area in the present disclosure. FIG. 10 is a diagram showing an example of an identification result and a result of identifying the attention area when the luminance image data representing the luminance image shown in FIG. 4 is input to the identification module 312. As shown in FIG. 10, in this embodiment, an attention area R1 is identified for the object to be identified A1, and A is acquired as a label. For the identification target A2, a region of interest R2 is specified and a label D is acquired. For the identification target C1, a region of interest R3 is specified and a label C is acquired.

[0043] The calculation unit 324B sets an area of ​​the distance image corresponding to the area of ​​interest identified by the classification unit 323B as a calculation target image, and calculates an index value indicating the reliability of the classification result by the classification unit 323B based on the statistics of pixel values ​​in the calculation target image. The area of ​​the distance image corresponding to the area of ​​interest is an example of a second area in this disclosure. The index value in this embodiment is also the reciprocal of the above statistics, as in the first embodiment. In this embodiment, the variance S 2 As in the first embodiment, in this embodiment, a larger index value indicates a higher reliability of the classification result by classification unit 323B. Note that calculation unit 324B may also calculate the index value after performing rectangular conversion on the distance image represented by the distance image data.

[0044] 11 is a diagram showing the calculation results of statistics for each of the attention regions R1, R2, and R3 based on the luminance image shown in FIG. 3. As shown in FIG. 11, for the attention region R1, the variance S 2 1.5, and for the region of interest R2, the variance S 2 6.0, but for the region of interest R3, the variance S 2 The variance S calculated for the region of interest R2 is 1.0. 2 is significantly large because attention region R2 includes images of multiple objects. As described above, calculation unit 324B calculates the inverse of the statistics of pixel values ​​in the calculation target image as an index value, and therefore calculates an index value of 0.67 for attention region R1, an index value of 0.16 for attention region R2, and an index value of 1.0 for attention region R3.

[0045] The determination unit 325B determines whether or not the classification result by the classification unit 323B is invalid for each attention region based on the reliability calculated by the calculation unit 324B. More specifically, the determination unit 325B determines whether or not the index value calculated by the calculation unit 324B is less than a threshold for each attention region. Then, the determination unit 325B invalidates the classification result of the classification unit 323B for an attention region for which the index value calculated by the calculation unit 324B is less than the threshold. In this embodiment, the threshold value is 0.5, similarly to the first embodiment. Therefore, in this embodiment, the classification result is invalidated only for attention region R2 among attention regions R1, R2, and R3.

[0046] Further, the processing device 320 of the identification device 30B executes the identification method of the second embodiment of the present disclosure according to the program 311B. Fig. 12 is a flowchart showing the flow of this identification method. As shown in Fig. 12, this identification method includes a first acquisition process SA110, a second acquisition process SA120, an identification process SB130, a calculation process SB140, and a determination process SB150. Below, the identification process SB130, the calculation process SB140, and the determination process SB150, which are differences from the identification method in the first embodiment, will be mainly described.

[0047] In the classification process SB130, the processing device 320 of the classification device 30B functions as a classification unit 323B. In the classification process SB130, the processing device 320 of the classification device 30B inputs the luminance image data acquired by the second acquisition unit 322 to the classification module 312, and acquires a label indicating the type of the classification target object appearing in the luminance image and data indicating the attention area.

[0048] In calculation processing SB140 subsequent to classification processing SB130, processing device 320 of classification device 30B functions as calculation unit 324B. In calculation processing SB140, processing device 320 of classification device 30B sets an area of ​​the distance image corresponding to the area of ​​interest identified in classification processing SB130 as a calculation target image, and calculates an index value indicating the reliability of the classification result in classification processing SB130 based on statistics of pixel values ​​in the calculation target image.

[0049] In a determination process SB150 subsequent to the calculation process SB140, the processing device 320 of the classification device 30B functions as a determination unit 325B. In the determination process SB150, the processing device 320 of the classification device 30B determines whether or not the index value calculated in the calculation process SB140 is less than a threshold value for each region of interest, and invalidates the classification result for the region of interest whose index value is less than the threshold value.

[0050] According to this embodiment, the reliability of the identification result of the object to be identified based on the luminance image can be understood from a distance image separate from the luminance image. In this embodiment, the validity of the identification result based on the luminance image is determined using an index value corresponding to the statistics of the pixel values ​​in the distance image, so that identification errors caused by the presence of multiple objects can be invalidated. Furthermore, according to this embodiment, the index value is calculated only for the region of interest, so the processing load required for calculating the index value can be reduced compared to the first embodiment.

[0051] 3. Third embodiment Fig. 13 is a block diagram showing a configuration example of an image display system 2 including a display control device 40 that executes an image display method according to a third embodiment of the present disclosure. As shown in Fig. 13, the image display system 2 includes a first imaging device 10, a second imaging device 20, and a display device 50 in addition to the display control device 40. As shown in Fig. 13, the first imaging device 10, the second imaging device 20, and the display device 50 are connected to the display control device 40. Below, a description will be given of the display device 50 and the display control device 40, which are differences from the first embodiment.

[0052] The display device 50 displays an image under the control of the display control device 40. The display device 50 in this embodiment is a projector.

[0053] The display control device 40 is a personal computer, similar to the identification device 30A or the identification device 30B. The display control device 40 identifies the type of object on which the image is to be projected by the display device 50, based on the luminance image captured by the second imaging device 20. The display control device 40 then controls the display device 50 to project an image according to the identification result based on the luminance image. That is, in this embodiment, the object on which the image is to be projected from the display device 50 is the identification target. FIG. 14 is a diagram showing an object in this embodiment. As shown in FIG. 14, the object in this embodiment is a shogi board on which each shogi piece is arranged. In this embodiment, the nine types of shogi pieces are the identification target, and the shogi board is the background object. In FIG. 14, the name of each piece is abbreviated to one character. For example, "Fu" in FIG. 14 means "Pawn" among the shogi pieces, and "Kyoku" means "Kyoku" among the shogi pieces. In this embodiment, the identification module 312 has already learned about the shogi board and the nine types of shogi pieces.

[0054] The display control device 40 detects the user's touch on any of the pieces on the subject based on the distance image captured by the first imaging device 10, and identifies the type of the touched piece. Then, the display control device 40 controls the display device 50 to display an image showing the squares to which the piece touched by the user can move, superimposed on the subject. Note that the distance image captured by the first imaging device 10 is also used to determine the validity of the identification result of the type of object based on the luminance image, as in the first and second embodiments.

[0055] As is clear from a comparison between Fig. 13 and Fig. 1, the hardware configuration of the display control device 40 is the same as that of the identification device 30A. That is, the display control device 40 includes a communication device 300, a storage device 310, and a processing device 320. The first imaging device 10, the second imaging device 20, and the display device 50 are connected to the communication device 300. The communication device 300 receives distance image data output from the first imaging device 10. The communication device 300 also receives luminance image data output from the second imaging device 20. The communication device 300 also outputs image data representing an image to be projected onto the identification target to the display device 50.

[0056] The storage device 310 of the display control device 40 stores a program 311C, an identification module 312, and a table 313. Below, the table 313 and the program 311C, which are differences from the first embodiment, will be described.

[0057] Table 313 stores data indicating the squares to which a shogi piece can move for each type of shogi piece. For example, for a "pawn," data indicating one square forward as shown in Fig. 15 is stored in table 313, and for a "silver piece," data indicating one square each diagonally forward to the right, forward, forward to the left, diagonally backward to the right, and diagonally backward to the left. In Fig. 15, the squares to which a "pawn" and a "silver piece" can move are indicated by hatching.

[0058] The processing device 320 of the display control device 40 operates according to the program 311C to function as a first acquisition unit 321, a second acquisition unit 322, an identification unit 323A, a calculation unit 324C, a determination unit 325A, a detection unit 326, and a display control unit 327. In other words, the first acquisition unit 321, the second acquisition unit 322, the identification unit 323A, the calculation unit 324C, the determination unit 325A, the detection unit 326, and the display control unit 327 are software modules realized by operating the processing device 320 according to the program 311C. The following mainly describes the calculation unit 324C, the detection unit 326, and the display control unit 327, which are differences from the first embodiment.

[0059] The detection unit 326 detects the touch of the user's fingertip on the subject based on the distance image data acquired by the first acquisition unit 321. More specifically, the detection unit 326 calculates a difference ΔD between a reference distance stored in advance and a distance represented by a current pixel value for each pixel constituting a distance image represented by the distance image data. The reference distance is a distance represented by a pixel value in a distance image obtained by capturing an image of the subject alone. When there is a pixel for which the difference ΔD is larger and smaller than a predetermined threshold, the detection unit 326 determines that the user has touched the subject, and detects the position of the pixel as the touch position. In this embodiment, the threshold is 1 cm.

[0060] The calculation unit 324C calculates an index value indicating the reliability of the classification result by the classification unit 323A based on the distance image represented by the distance image data acquired by the first acquisition unit 321, similar to the calculation unit 324A in the first embodiment. More specifically, the calculation unit 324C divides the distance image represented by the distance image data into 9×9 sub-distance images in accordance with the squares of the shogi board, which is the background object. In this embodiment, N=9 and M=9, and the 9×9 sub-distance images correspond one-to-one to the 9×9 squares of the shogi board. The calculation unit 324C calculates an index value C shown in the following formula (2) for each of the 9×9 sub-distance images. In formula (2), Gt is the total number of pixels constituting the calculation target image, and Ge is the number of pixels constituting the calculation target image whose pixel value variation from the reference image exceeds a predetermined threshold value. That is, the calculation unit 324C and the calculation unit 324A differ only in the calculation formula for the index value.

number

[0061] When the determination unit 325A determines that the classification result for the sub-luminance image corresponding to the touch position detected by the detection unit 326 is valid, the display control unit 327 refers to the table 313 to identify a square to which the piece corresponding to the touch position can be moved. Then, the display control unit 327 provides image data indicating the identified square to the display device 50, and causes the image indicated by the image data to be displayed superimposed on the subject.

[0062] Further, the processing device 320 of the display control device 40 executes the image display method of the third embodiment of the present disclosure according to the program 311C. Fig. 16 is a flowchart showing the flow of this image display method. As shown in Fig. 16, this image display method includes a first acquisition process SA110, a second acquisition process SA120, a detection process SC125, an identification process SA130, a calculation process SC140, a determination process SA150, and a display control process SC160.

[0063] In the first acquisition process SA110, the processing device 320 of the display control device 40 functions as a first acquisition unit 321. In the first acquisition process SA110, the processing device 320 acquires distance image data received by the communication device 300. In a second acquisition process SA120 subsequent to the first acquisition process SA110, the processing device 320 of the display control device 40 functions as a second acquisition unit 322. In the second acquisition process SA120, the processing device 320 acquires luminance image data received by the communication device 300.

[0064] In the detection process SC125, the processing device 320 of the display control device 40 functions as a detection unit 326. In the detection process SC125, the processing device 320 of the display control device 40 detects the touch position of the user on the identification object based on the distance image indicated by the distance image data acquired by the first acquisition unit 321. In the following, an example will be described in which the "King" located in the 1st row and 5th column in Fig. 14, i.e., the user using the "King", touches the "Pawn" in the 3rd row and 7th column in order to move that "Pawn".

[0065] In the classification process SA130, the processing device 320 of the display control device 40 functions as a classification unit 323A. In the classification process SA130, the processing device 320 of the display control device 40 classifies the type of the classification object based on each of the 9×9 sub-luminance images. FIG. 17 shows classification results based on each of the nine sub-luminance images corresponding to the first row of the shogi board. In the example shown in FIG. 17, the classification result for the first row, sixth column is "Ka", that is, "Kasha", but the piece actually placed is "Kin", that is, "Kinsho", as shown in FIG. 14. In the example shown in FIG. 17, the classification result for the first row, seventh column is "Kaku", that is, "Kaku row", but the piece actually placed is "Gin", that is, "Kakuma", as shown in FIG. 14. In the example shown in FIG. 17, the classification result for the first row, eighth column is "Hi", that is, "Hisha", but the piece actually placed is "Katsu", that is, "Katsuma", as shown in FIG. 14. 17, the classification results based on the sub-luminance images of row 1, column 6, row 1, column 7, and row 1, column 8 are incorrect. This is because the user's arm crosses over row 1, column 6, row 1, column 7, and row 1, column 8 of the shogi board when touching the "pawn" in row 3, column 7, and the object to be classified is classified based on the luminance images captured with the user's arms overlapping.

[0066] In the calculation process SC140 following the identification process SA130, the processing device 320 of the display control device 40 functions as a calculation unit 324C. In the calculation process SC140, the processing device 320 of the display control device 40 calculates an index value based on each of the 9×9 sub-distance images. FIG. 17 shows index values ​​calculated based on each of the nine sub-distance images corresponding to the first row of the shogi board. In the example shown in FIG. 17, the index values ​​in the first row, sixth column, seventh column, and eighth column are 0 because in these sub-distance images, the pixel values ​​of all pixels vary greatly from the reference image due to the effect of the sub-distance images being captured with the user's arms overlapping.

[0067] In the determination process SA150 following the calculation process SA140, the processing device 320 of the display control device 40 functions as a determination section 325A. In the determination process SA150, the processing device 320 of the display control device 40 determines whether or not the index value calculated based on the corresponding sub-distance image for each of the 9×9 sub-luminance images is less than a threshold value, and invalidates the classification result of the classification process SA130 if the index value is less than the threshold value. FIG. 17 shows the determination results for each of the nine sub-luminance images corresponding to the first row of the shogi board. Shown As described above, since the threshold value is 0.5, in the example shown in FIG. 17, the classification results for the first row, first column to the fifth row and the ninth row are determined to be valid, and the classification result for the sixth row to the eighth row are determined to be invalid. In the following, a case will be described in which the classification results for three sub-luminance images from the sixth row to the eighth row of the 9×9 sub-luminance images are determined to be invalid, but the classification results based on each of the other 78 sub-luminance images are determined to be valid. Note that, if the classification result based on the sub-luminance image corresponding to the touch position is invalid, a classification result that was valid in a past frame period may be used.

[0068] In the display control process SC160, the processing device 320 of the display control device 40 functions as a display control unit 327. In the display control process SC160, the processing device 320 displays an image corresponding to the identification result determined to be valid in the determination process SA150 on the display device 50. In this embodiment, the square in the third row and seventh column is detected as the touch position of the user in the detection process SC125. Since the piece placed in this square is a "pawn", the square one square forward, that is, the square in the fourth row and seventh column, is specified as a square to which the piece can move. In this embodiment, since the identification result for the square in the third row and seventh column is determined to be valid, an image in which the square in the fourth row and seventh column is filled with a predetermined color is superimposed on the subject and displayed on the display device 50. As a result, the image shown in FIG. 18 is reflected to the user's eyes. In the example shown in FIG. 18, the color indicating the square to which the piece touched by the user can move is indicated by hatching.

[0069] According to this embodiment, the reliability of the identification result of the object based on the luminance image can be understood from the distance image separate from the luminance image. In this embodiment, the identification result is invalidated when the index value indicating the reliability of the identification result of the object based on the luminance image is less than a threshold value. Therefore, even if the type of the piece corresponding to the touch position is erroneously identified, it is possible to avoid erroneously displaying the movable squares based on the erroneous identification result.

[0070] 4. Variations Each embodiment may be modified as follows. (1) In the first, second and third embodiments, the second acquisition process SA120 is executed following the first acquisition process SA110, but the order of execution of the first acquisition process SA110 and the second acquisition process SA120 may be interchanged. Also, the order of execution of the classification process SA130 and the calculation process SA140 in the first embodiment may be interchanged. The mode of executing the calculation process SA140 prior to the classification process SA130 may be changed so that the classification process SA130 is executed only for sub-luminance images whose index value calculated in the calculation process SA140 is equal to or greater than a predetermined threshold. Similarly, in the image display method of the third embodiment, the calculation process SC140 may be changed so that the classification process SA130 is executed prior to the classification process SA130. When the calculation process SC140 is executed prior to the classification process SA130, the classification process SA130 may be changed so that the classification process SA130 is executed only for sub-luminance images whose index value calculated in the calculation process SC140 is equal to or greater than a predetermined threshold.

[0071] Similarly, the order of execution of the identification process SB130 and the calculation process SB140 in the second embodiment may be interchanged. When the calculation process SB140 is executed prior to the identification process SB130, the attention area may be specified based on the distance image. Specifically, edge detection may be performed on the luminance image, and the detected edge may be set as the contour line of the attention area. An edge refers to a pixel whose pixel value changes suddenly when the pixel value is sampled in the horizontal scanning direction or the vertical scanning direction of the image. In the distance image of the subject, the pixel value of the pixel corresponding to the identification object is usually different from that of the pixel corresponding to the background object. That is, in the distance image of the subject, the contour line of the identification object is usually an edge. Therefore, by detecting an edge from the distance image of the subject, the contour line of the identification object in the distance image can be detected, and the area surrounded by this contour line becomes the attention area. Note that the mode in which the calculation process SB140 is executed prior to the identification process SB130 may be changed so that the identification process SB130 is executed only for the sub-luminance image whose index value calculated in the calculation process SB140 is equal to or greater than a predetermined threshold value.

[0072] (2) The identification device 30A, the identification device 30B, and the display control device 40 are personal computers, but may be smartphones or tablet terminals. The statistics in the first and third embodiments are variances, but may be standard deviations, averages, maximum values, minimum values, medians, most frequent values, or quartile values. The index value may be a calculated value obtained by convolving the pixel values ​​of each pixel constituting the calculation target image using a convolution kernel, instead of the statistics of the pixel values ​​of each pixel constituting the calculation target image. The identification module 312 is not limited to a convolution neural network, and may be a classifier configured by a non-rule-based method that configures identification parameters from a large amount of data, such as machine learning using image features. The display device 50 in the third embodiment is a projector, but may be a liquid crystal display that displays an image corresponding to the type of the object to be identified contained in the subject by superimposing it on the image of the subject. When the display device 50 is a liquid crystal display, it is possible to use it in an AR-like manner, in which content corresponding to the position and type of the object to be identified that appears in the luminance image of the subject is superimposed on the luminance image of the subject.

[0073] (3) In each of the above embodiments, the distance image and the luminance image are captured by separate cameras. However, instead of the first imaging device 10 and the second imaging device 20, a single camera having both the function of capturing a distance image and the function of capturing a luminance image may be used. When a single camera having both the function of capturing a distance image and the function of capturing a luminance image is used, the second position is the same as the first position.

[0074] (4) In the first embodiment, the first acquisition unit 321, the second acquisition unit 322, the identification unit 323A, the calculation unit 324A, and the judgment unit 325A are software modules. However, the first acquisition unit 321, the second acquisition unit 322, the identification unit 323A, the calculation unit 324A, and the judgment unit 325A may be partly or entirely hardware. Examples of the hardware include a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), a PLD (Programmable Logic Device), and an FPGA (Field Programmable Gate Array). Even if the first acquisition unit 321, the second acquisition unit 322, the identification unit 323A, the calculation unit 324A, and the judgment unit 325A are partly or entirely hardware, the same effect as in the first embodiment is achieved. Similarly, the identification unit 323B, the calculation unit 324B, and the judgment unit 325B in the second embodiment may be partly or entirely hardware. Similarly, the calculation unit 324C, the detection unit 326, and the display control unit 327 in the third embodiment may be partially or entirely implemented as hardware.

[0075] (5) The determination unit 325A and the determination process SA150 in the first and third embodiments, and the determination unit 325B and the determination process SB150 in the second embodiment are not essential and can be omitted. This is because the reliability of the classification result can be understood by the user by displaying the index value calculated for each sub-luminance image by the calculation unit 324A or the index value calculated for each attention area by the calculation unit 324B on the display device. Similarly, the detection unit 326 and the detection process SC125 in the third embodiment can also be omitted. This is because the method of instructing the display control device 40 to display a movable square piece is not limited to touching the piece, and may be a mode in which a numerical value indicating the number of rows and the number of columns of the square in which the piece is arranged is input to the input device.

[0076] (6) In the first embodiment described above, the program 311A ​​is already stored in the storage device 310. However, the program 311A ​​may be manufactured or distributed as a standalone program. A specific method of distributing the program 311A ​​may be to write the program 311A ​​to a computer-readable recording medium such as a flash ROM (Read Only Memory) and distribute it, or to distribute it by downloading it via a telecommunications line such as the Internet. The same applies to the program 311B in the second embodiment and the program 311C in the third embodiment.

[0077] 5. Aspects grasped from at least one of each embodiment and each modified example The present disclosure is not limited to the above-mentioned embodiments and modifications, and can be realized in various aspects without departing from the spirit of the present disclosure. For example, the present disclosure can be realized in the following aspects. The technical features in the above-mentioned embodiments corresponding to the technical features in each aspect described below can be appropriately replaced or combined in order to solve some or all of the problems of the present disclosure or to achieve some or all of the effects of the present disclosure. Furthermore, if a technical feature is not described as essential in this specification, it can be appropriately deleted.

[0078] In order to solve the problems described above, one aspect of the identification method of the present disclosure includes a first acquisition process SA110, a second acquisition process SA120, an identification process SA130, and a calculation process SA140. In the first acquisition process SA110, a first image is acquired by capturing an image of a subject in which identification objects A1, A2, and C1, which are identification objects, are arranged on a background object B1 such as a desk, i.e., a subject including identification objects A1, A2, and C1, using a first imaging device 10 installed at a first position. The first imaging device 10 is a distance camera, and the first image is a distance image. The pixel value of each pixel in the first image represents the distance from the first position to the subject. In the second acquisition process SA120, a second image is acquired by capturing an image of the subject using a second imaging device 20 installed at the first position or a second position different from the first position. The second image is a luminance image. The pixel value of each pixel in the second image represents at least the luminance of reflected light from the subject. In the classification process SA130, the type of the classification object is classified based on the second image. In the calculation process SA140, an index value indicating the reliability of the classification result based on the second image is calculated based on the first image. According to this embodiment, the reliability of the classification result of the classification object based on the luminance image can be grasped from a distance image separate from the luminance image. Note that the classification process SB130 may be provided instead of the classification process SA130, and the calculation process SB140 may be provided instead of the calculation process SA140. According to this embodiment, the reliability of the classification result of the classification object based on the luminance image can also be grasped from a distance image separate from the luminance image.

[0079] In a more preferred embodiment of the identification method, a calculation process SA140 may be executed following the identification process SA130. That is, the type of the object to be identified may be identified based on the second image, and then an index value may be calculated based on the first image. A more preferred embodiment of the identification method may include a determination process SA150 for determining whether the calculated index value is less than a threshold value, and invalidating the identification result based on the second image if it is less than the threshold value.

[0080] In a further preferred embodiment of the classification method, an attention area occupied by an image of the classification object in the second image may be classified based on the first image or the second image. In this embodiment, the type of the classification object is classified based on an image of the attention area, and an index value is calculated based on an image of an area in the first image corresponding to the attention area.

[0081] In another preferred embodiment of the identification method, the first image is divided into a first sub-image and a second sub-image. The second image is also divided into a third sub-image corresponding to the first sub-image and a fourth sub-image corresponding to the second sub-image. In this embodiment, identification of the object to be identified is attempted for each of the third sub-image and the fourth sub-image, and an index value is calculated based on each of the first sub-image and the second sub-image. Then, if the index value calculated based on the first sub-image is less than a threshold value, the identification result based on the third sub-image is invalid. Similarly, if the index value calculated based on the second sub-image is less than a threshold value, the identification result based on the fourth sub-image is invalid.

[0082] In a preferred embodiment of the identification method, the first image is divided into a first sub-image and a second sub-image, and the second image is divided into a third sub-image corresponding to the first sub-image and a fourth sub-image corresponding to the second sub-image. In this embodiment, first, an index value is calculated based on each of the first sub-image and the second sub-image. Then, if the index value calculated based on the first sub-image is equal to or greater than a threshold, the type of the identification object is identified based on the third sub-image. If the index value calculated based on the second sub-image is equal to or greater than a threshold, the type of the identification object is identified based on the fourth sub-image.

[0083] In a further preferred embodiment of the classification method, the index value based on the first sub-image is a statistic of pixel values ​​of each pixel constituting the first sub-image, and similarly, the index value based on the second sub-image is a statistic of pixel values ​​of each pixel constituting the second sub-image.

[0084] In the classification process SA130 or the classification process SB130, the type of the object to be classified may be classified using a classifier that has previously learned learning data that associates images of objects with labels indicating the types of objects, and that outputs a label indicating the type of object appearing in an input image.

[0085] In order to solve the problems described above, an embodiment of the image display method of the present disclosure includes the above-mentioned first acquisition process SA110, second acquisition process SA120, classification process SA130, calculation process SC140, determination process SA150, and display control process SC160. In the display control process SC160, a third image according to the classification result of the type of the classification object is displayed superimposed on the subject.

[0086] In order to solve the above-described problems, one embodiment of the identification system of the present disclosure includes a first imaging device 10 installed at a first position, a second imaging device 20 installed at the first position or a second position different from the first position, and a processing device 320. The processing device 320 executes the above-described first acquisition process SA110, second acquisition process SA120, identification process SA130, and calculation process SA140. This embodiment also allows the reliability of the identification result of the identification object based on the luminance image to be grasped from a distance image separate from the luminance image. The same effect can be obtained by replacing the identification process SA130 with the identification process SB130 and replacing the calculation process SA140 with the calculation process SB140.

[0087] In order to solve the above-described problems, one aspect of the image display system of the present disclosure includes a first imaging device 10 installed at a first position, a second imaging device 20 installed at the first position or a second position different from the first position, a display device 50 which is an example of a display device, and a processing device 320. The processing device 320 executes the above-mentioned first acquisition process SA110, second acquisition process SA120, classification process SA130, calculation process SC140, and display control process SC160. According to this aspect, the reliability of the classification result of the classification object based on the luminance image can be grasped from a distance image separate from the luminance image, and a third image according to the classification result of the classification object can be displayed superimposed on the subject.

[0088] In addition, in order to solve the above-described problems, one aspect of the program of the present disclosure causes a processing device 320, which is an example of a computer, to execute the above-described first acquisition process SA110, second acquisition process SA120, classification process SA130, and calculation process SA140. According to this aspect, the reliability of the classification result of the classification object based on the luminance image can be grasped from a distance image separate from the luminance image. The same effect can be obtained by replacing the classification process SA130 with the classification process SB130 and replacing the calculation process SA140 with the calculation process SB140. According to another aspect of the program of the present disclosure, a processing device 320, which is an example of a computer, executes the above-described first acquisition process SA110, second acquisition process SA120, classification process SA130, calculation process SC140, and display control process SC160. According to this aspect, the reliability of the classification result of the classification object based on the luminance image can be grasped from a distance image separate from the luminance image, and a third image according to the classification result of the classification object can be displayed superimposed on the subject. [Explanation of symbols]

[0089] 1A, 1B...recognition system, 2...image display system, 10...first imaging device, 20...second imaging device, 30A, 30B...recognition device, 40...display control device, 50...display device, 300...communication device, 310...storage device, 320...processing device, 321...first acquisition unit, 322...second acquisition unit, 323A, 323B...recognition unit, 324A, 324B, 324C...calculation unit, 325A, 325B...determination unit, 326...detection unit, 327...display control unit, 311A, 311B, 311C...program, 312...recognition module, 313...table, A1, A2, C1...recognition target object, B1...background object.

Claims

1. By computer, A first image is obtained in which the pixel value of each pixel represents the distance from a first position of a subject including an object to be identified. death, An image captured from the first position or a second position different from the first position, obtaining a second image in which raw pixel values ​​represent at least the luminance of reflected light from the subject; Dividing the first image into a first sub-image and a second sub-image; The second image is divided into a third sub-image corresponding to the first sub-image and a second sub-image corresponding to the second sub-image. and a fourth sub-image, Identifying the type of the object to be identified based on the third sub-image and the fourth sub-image. On the other hand, an index indicating the reliability of the classification result based on the third sub-image and the fourth sub-image is calculating a reference value based on the first sub-image and the second sub-image; At least one of the first sub-image and the second sub-image includes the object to be identified and an object The image is taken with the body and the How to identify:

2. The computer The type of the object to be identified is identified based on the third sub-image and the fourth sub-image. Then, the index value is calculated based on the first sub-image and the second sub-image. If the index value is less than a threshold, the third sub-image and the fourth sub-image are The method of claim 1 , further comprising invalidating the identification result based on .

3. The computer When the index value calculated based on the first sub-image is equal to or greater than a threshold value, the third sub-image is The type of the object to be identified is identified based on the sub-image, and a calculated When the index value is equal to or greater than a threshold value, the fourth sub-image is used to determine the object to be identified. The method of claim 1 , further comprising identifying a type.

4. The computer The index value based on the first sub-image is a pixel value of each pixel constituting the first sub-image. The index value based on the second sub-image is a statistic, and the index value based on the second sub-image is a statistic for each pixel constituting the second sub-image. The method of claim 1 , wherein the statistics are of raw pixel values.

5. The computer The learning data that associates the image of the object with a label that indicates the type of the object is pre-trained. and a classifier that outputs a label indicating the type of object in the input image. The identification method according to claim 1 , further comprising: identifying a type of the object to be identified by using a Another way.

6. By computer, A first image is obtained in which the pixel value of each pixel represents the distance from a first position of a subject including an object to be identified. death, An image captured from the first position or a second position different from the first position, obtaining a second image in which raw pixel values ​​represent at least the luminance of reflected light from the subject; Dividing the first image into a first sub-image and a second sub-image; The second image is divided into a third sub-image corresponding to the first sub-image and a second sub-image corresponding to the second sub-image. and a fourth sub-image, Identifying the type of the object to be identified based on the third sub-image and the fourth sub-image. On the other hand, the type of the object to be identified is identified based on the third sub-image and the fourth sub-image. An index value indicating the reliability of the different result is calculated based on the first sub-image and the second sub-image. broth, At least one of the first sub-image and the second sub-image includes the object to be identified and an object The image is taken with the body and and displaying a third image corresponding to the classification result of the type of the object to be classified on the subject. Image display method.

7. A camera is installed at a first position, and a distance from the first position to a subject including an object to be identified is calculated based on the image of each pixel. a first imaging device that captures a first image represented by the raw value; The pixel values ​​of the pixels are set at the first position or at a second position different from the first position. a second imaging device that captures a second image that represents at least the luminance of reflected light from a subject; A processing device, The processing device includes: acquiring the first image from the first imaging device; acquiring the second image from the second imaging device; splitting the first image into a first sub-image and a second sub-image; The second image is divided into a third sub-image corresponding to the first sub-image and a second sub-image corresponding to the second sub-image. a fourth sub-image, Identifying the type of the object to be identified based on the third sub-image and the fourth sub-image. On the other hand, the type of the object to be identified is identified based on the third sub-image and the fourth sub-image. An index value indicating the reliability of the different result is calculated based on the first sub-image and the second sub-image. To put out, to carry out, At least one of the first sub-image and the second sub-image includes the object to be identified and an object The image is taken with the body and the Identification system.

8. A camera is installed at a first position, and a distance from the first position to a subject including an object to be identified is calculated based on the image of each pixel. a first imaging device that captures a first image represented by the raw value; The pixel values ​​of the pixels are set at the first position or at a second position different from the first position. a second imaging device that captures a second image that represents at least the luminance of reflected light from a subject; A display device; A processing device, The processing device includes: acquiring the first image from the first imaging device; acquiring the second image from the second imaging device; splitting the first image into a first sub-image and a second sub-image; The second image is divided into a third sub-image corresponding to the first sub-image and a second sub-image corresponding to the second sub-image. a fourth sub-image; Identifying the type of the object to be identified based on the third sub-image and the fourth sub-image. On the other hand, the type of the object to be identified is identified based on the third sub-image and the fourth sub-image. An index value indicating the reliability of the different result is calculated based on the first sub-image and the second sub-image. and A third image according to the classification result of the type of the object to be identified is displayed superimposed on the object to be identified. and causing the device to display the At least one of the first sub-image and the second sub-image includes the object to be identified and an object The image is taken with the body and the Image display system.

9. On the computer, A first image is obtained in which the pixel value of each pixel represents the distance from a first position of a subject including an object to be identified. To do, An image captured from the first position or a second position different from the first position, acquiring a second image whose raw pixel values ​​represent at least a luminance of reflected light from the subject; splitting the first image into a first sub-image and a second sub-image; The second image is divided into a third sub-image corresponding to the first sub-image and a second sub-image corresponding to the second sub-image. a fourth sub-image, Identifying the type of the object to be identified based on the third sub-image and the fourth sub-image. On the other hand, the type of the object to be identified is identified based on the third sub-image and the fourth sub-image. An index value indicating the reliability of the different result is calculated based on the first sub-image and the second sub-image. To put out, A program that executes At least one of the first sub-image and the second sub-image includes the object to be identified and an object The image is taken with the body and the program.

10. On the computer, A first image is obtained in which the pixel value of each pixel represents the distance from a first position of a subject including an object to be identified. To do, An image captured from the first position or a second position different from the first position, acquiring a second image whose raw pixel values ​​represent at least a luminance of reflected light from the subject; splitting the first image into a first sub-image and a second sub-image; The second image is divided into a third sub-image corresponding to the first sub-image and a second sub-image corresponding to the second sub-image. a fourth sub-image; Identifying the type of the object to be identified based on the third sub-image and the fourth sub-image. On the other hand, the type of the object to be identified is identified based on the third sub-image and the fourth sub-image. An index value indicating the reliability of the different result is calculated based on the first sub-image and the second sub-image. and A third image corresponding to the classification result of the object to be identified is displayed on the object to be identified by superimposing the third image on the object to be identified. thing, A program that executes At least one of the first sub-image and the second sub-image includes the object to be identified and an object The image is taken with the body and the program.

Citation Information

Patent Citations

  • Vehicle door unlocking method, device and system, vehicle, electronic equipment and storage medium

    CN110930547A

  • Method for generating intermediate image of plural images, parallax estimate method and device

    JP1997027969A

  • Device and method for supporting cooking

    JP2010191745A

  • Vehicle control apparatus

    JP2011063131A

  • Image processor, solid object detection method, solid object detection program, and moving object control system

    JP2015143966A