Image analysis device, image analysis method and image analysis program
11170486 ยท 2021-11-09
Assignee
Inventors
Cpc classification
H04N23/64
ELECTRICITY
International classification
Abstract
The present invention provides an image analysis device which is capable of automatically responding to various environmental variations caused by a camera installation condition or an environmental factor without consuming unnecessary calculation resources. The image analysis device is provided with: a plurality of process execution units which are capable of executing different processes on an input image; an analysis unit which analyzes, on the basis of the image, an image variation caused by external environment; and a process selection unit which selects, on the basis of the analyzed variation, at least one from among the plurality of process execution units.
Claims
1. An image analysis device comprising: a plurality of process executors configured to be capable of executing different processes on an image inputted from a data acquiring device; an analyzer configured to analyze, on the basis of the image, a variation of the image caused by an external environment; an analyzing executor configured to execute analyzing processing for extracting information from object data of the image; and a process selector configured to select, on the basis of the analyzed variation, at least one process executor from the plurality of process executors, wherein the external environment is an installation position of the data acquiring device and surrounding weather of the data acquiring device, wherein the plurality of process executors comprise a plurality of first sorters which have sorting algorithms different from each other and each of which sorts out good quality data from an analyzed result of the analyzing executor, wherein the analyzer comprises an environment analyzer configured to extract environment information from the object data of the image, and a characteristic storage configured to memorize sorting characteristics of the plurality of first sorters, wherein the process selector comprises a sorting selector configured to select, as a selected sorter, one of the plurality of first sorters to be used, wherein the sorting selector is configured to detect a variation of an environmental condition based on the environment information and to select, on the basis of the sorting characteristics stored in the characteristic storage, the selected sorter which is optimum for the environmental condition.
2. The image analysis device as claimed in claim 1, wherein the sorting selector is configured to calculate, after selecting the optimal selected sorter based on the environment information, a preliminary operation period of the selected sorter that is required for switching of the first sorters, and is configured to switch the first sorters after performing a preliminary operation during the preliminary operation period.
3. The image analysis device as claimed in claim 1, wherein the sorting selector selects a plurality of second sorters from the plurality of first sorters on the basis of the environment information, wherein the image analysis device further comprises a result integrator configured to integrate results of the plurality of second sorters.
4. The image analysis device as claimed in claim 1, wherein the environment analyzer is configured to extract, as the environment information, blurring and brightness in the image.
5. An intelligent camera incorporating: an acquirer configured to acquire an image; and a picture processor configured to operate as the image analysis device claimed in claim 1.
6. A face authentication device comprising: a database configured to register reference features indicative of features of faces of persons to be authenticated; a face detector configured to detect a face from the image using the image analysis device claimed in claim 1; a feature extractor configured to extract a feature of the detected face; and a collator configured to collate the extracted feature with the reference features to carry out face authentication.
7. An image analysis method comprising: analyzing by an analyzer, on the basis of an image inputted from a data acquiring device, a variation caused by an external environment; executing, by an analyzing executor, analyzing processing for extracting information from object data of the image; and selecting by a process selector, on the basis of the analyzed variation, at least one process executor from a plurality of process executors which are capable of executing different processes on the image, wherein the external environment is an installation position of the data acquiring device and surrounding weather of the data acquiring device, wherein the plurality of process executors comprise a plurality of first sorters which have sorting algorithms different from each other and each of which sorts out good quality data from an analyzed result of the analyzing executor, wherein the analyzer comprises an environment analyzer configured to extract environment information from the object data of the image, and a characteristic storage configured to memorize sorting characteristics of the plurality of first sorters, wherein the process selector comprises a sorting selector configured to select, as a selected sorter, one of the plurality of first sorters to be used, wherein the sorting selector is configured to detect a variation of an environmental condition based on the environment information and to select, on the basis of the sorting characteristics stored in the characteristic storage, the selected sorter which is optimum for the environmental condition.
8. A non-transitory computer readable recording medium for storing an image analysis program for causing a computer to execute: a process for analyzing by an analyzer, on the basis of an image inputted from a data acquiring device, a variation caused by an external environment; a process for executing, by an analyzing executor, analyzing processing for extracting information for object data of the image, and a process for selecting by a process selector, on the basis of the analyzed variation, at least one process executor from a plurality of process executors which are capable of executing different processes on the image, wherein the external environment is an installation position of the data acquiring device and surrounding weather of the data acquiring device, wherein the plurality of process executors comprise a plurality of first sorters which have sorting algorithms different from each other and each of which sorts out good quality data from an analyzed result of the analyzing executor, wherein the analyzer comprises an environment analyzer configured to extract environment information from the object data of the image, and a characteristic storage configured to memorize sorting characteristics of the plurality of first sorters, wherein the process selector comprises a sorting selector configured to select, as a selected sorter, one of the plurality of first sorters to be used, wherein the sorting selector is configured to detect a variation of an environmental condition based on the environment information and to select, on the basis of the sorting characteristics stored in the characteristic storage, the selected sorter which is optimum for the environmental condition.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
DESCRIPTION OF EMBODIMENTS
(16) Now, description will be made in detail about example embodiments of this invention with reference to the drawings.
(17)
(18) The image analysis device 100 illustrated in the figure includes first through N-th process execution units 110-1, 110-2, . . . , and 101-N, where N represents an integer which is not less than two, an analysis unit 120, and a process selection unit 130.
(19) Each of the first through the N-th process execution units 110-1 to 110-N is capable of executing a different process on an input image. The analysis unit 120 analyzes, on the basis of the image, a variation (including degradation) in the image caused by an external environment. The process selection unit 130 selects, on the basis of the analyzed variation, at least one from among the first through the N-th process execution units 110-1 to 110-N and makes the selected process execution unit execute a process on the image.
(20) As described above, in the example embodiment, all of the first through the N-th process execution units 110-1 to 110-N do not execute the process on the image but a process execution unit to be used is selected before the execution. With this structure, consumption of unnecessary calculation resources is suppressed.
(21) Now, referring to
(22) First, the analysis unit 120 analyzes, on the basis of an input image, a variation (including degradation) in the image caused by an external environment (Step S101).
(23) Next, the process selection unit 130 selects, on the basis of the analyzed variation, at least one from among the first through the N-th process execution units 110-1 to 110-N(Step S102).
(24) The respective units (components) of the image analysis device 100 may be implemented by the use of a combination of hardware and software.
(25)
(26) The image analysis device 200 illustrated in the figure includes an A/D converter 210, a CPU (central processing unit) 220, a work memory 230, and a program memory 240.
(27) The A/D converter 210 converts an analog image signal imaged by a camera into a digital image signal. The CPU 220 serves as a control unit configured to control an operation of the image analysis device 200. The work memory 230 is, for example, constituted by an RAM (random access memory) and temporarily stores the digital image signal and processed results by the CPU 220. The program memory 240 is, for example, constituted by an ROM (read only memory) or the RAM and stores an image analysis program.
(28) The CPU 220 executes, on the basis of the image analysis program stored in the program memory 240, predetermined processing to thereby implement the respective units (components) as various kinds of means. Furthermore, the image analysis program may be recorded in a recording medium to be distributed. The image analysis program recorded in the recording medium is read into a memory via a wire, wirelessly, or via the recording medium itself to operate the control unit and so on. Examples of the recording medium include an optical disc, a magnetic disk, a semiconductor memory device, and a hard disk.
(29) When the above-mentioned example embodiment is described in another expression, the example embodiment can be implemented by causing a computer, which is to be operated as the image analysis device 200, to operate as the first through the N-th process execution units 110-1 to 110-N, the analysis unit 120, and the process selection unit 130 based on the image analysis program stored in the program memory 240.
(30) In the manner as described above, according to the example embodiment of the present invention, it is possible to automatically deal with a wide variety of environmental variations without consuming unnecessary calculation resources.
Example 1
(31) [Description of Configuration]
(32) New, referring to the drawings, a first example of this invention will be described.
(33)
(34) Referring to
(35) Roughly explaining, each of the above-mentioned means operates as follows.
(36) The data input unit 310 acquires process target data from a data acquiring device, for example, a camera. The analyzing unit 320 receives the data acquired by the data input unit 310 and carries out analyzing processing such as detection of an object in a picture, detection of an abnormal sound in a voice, and so on. When data for additional analysis is specified from the sorting selection unit 350, the analyzing unit 320 carries out the additional analysis to be added to a result.
(37) The sorting switching unit 330 switches delivery of data so as to deliver the result of the analyzing unit 320 to a sorting unit 370 specified by the sorting selection unit 350.
(38) The environment analysis unit 340 receives the data acquired by the data input unit 310 and analyzes environment information such as brightness and blurring in the image. It is noted here that an analysis of the environment information need not be carried out for all of input data and may be carried out at any desired execution frequency in accordance with contents of the environment analysis, for example, by periodic sampling. The sorting selection unit 350 selects an optimal sorting unit 370 in accordance with the environment information analyzed by the environment analysis unit 340, and sorting characteristic information and an environment information-sorting function correspondence rule which are stored in the characteristic storage unit 360. When any additional analysis is required in the selected sorting, the sorting selection unit 350 requests the analyzing unit 320 to carry out the additional analysis.
(39) Accordingly, the plurality of sorting units 370 serve as the process execution units 110-1 to 110-N in
(40)
(41) As shown in
(42) As shown in
(43) Each of the sorting units 370-1, 370-2, . . . decides, on the basis of the analyzed result produced by the analysis unit 120, the analyzing unit 320, and the meta data thereof, whether the analyzed result is produced or discarded. The data output unit 380 outputs the received sorted data to an external system.
(44) [Description of Operation]
(45) Next referring to
(46) First of all, the data input unit 310 acquires object data from the camera or the like (Step S201 in
(47) Subsequently, the analyzing unit 320 analyzes the object data to obtain analyzed result data (Step S202 in
(48) At the same time, the environment analysis unit 340 analyzes the object data to obtain the environment information (Step S203 in
(49) The sorting switching unit 330 delivers the analyzed result data produced by the analyzing unit 320 to the sorting unit 370 decided by the sorting selection unit 350 (Step S205 in
(50) Although the step S202 and the steps S203 and S204 operate in parallel in the above-mentioned operation example, those steps may operate in series.
(51) [Description of Operation Example]
(52) Next, an example of the sorting selection processing by the sorting selection unit 350 will be described. It is assumed here that face authentication from a surveillance image is carried out and that a system includes detection of a face from the image, extraction of features from the face, and DB (database) collation is used. Furthermore, it is assumed that the detection of the face is achieved by using the first example.
(53)
(54) The storage unit 440 includes a database 442 for registering reference features each of which indicates a feature of a face in a person to be authenticated.
(55) The face detection unit 422 detects the face from the image taken by the camera. The image analysis device 300 illustrated in
(56) In the manner as described above, the image analysis device 300 according to the first example assumes the detection of the face by the face detection unit 422. In the face detection unit 422, for the surveillance image acquired by the data input unit 310, the analyzing unit 320 carries out detection processing of the face. Herein, it is assumed that the plurality of sorting units 370 include first through third sorting units 370-1, 370-2, and 370-3. The first sorting unit 370-1 uses a simple selection filter. The second sorting unit 370-2 uses a single output filter relating to brightness. The third sorting unit 370-3 uses a plural output filter relating to blurring.
(57) The simple selection filter is a simple selection filter configured to output the face having high quality which is not less than a predetermined threshold value. The single output filter is a single output filter configured to select only one face having the highest quality value among the faces of the same person detected during a past given time interval. The plural output filter is a plural output filter configured to select a plurality of faces each having a high quality value among the faces of the same person detected during the past given time interval.
(58) Referring to
(59) First, the data input unit 310 divides the image acquired from the camera into frame pictures which are sent to the analyzing unit 320 and the environment analyzing analysis unit 340. The analyzing unit 320 carries out the face detection on the received pictures to produce a plurality of detected faces as the analyzed result data together with quality scores for the respective faces.
(60) On the other hand, the environment analysis unit 340 analyzes the frame pictures produced by the data input unit 310 to produce the environment information. For example, the environment analysis unit 340 analyzes information of a blurring amount of the image and brightness bias, as shown in
(61)
(62) The blurring amount may be estimated, for example, by Fourier transforming the input picture and deciding the blurring if a ratio of low frequency components is greater. Such a method of estimating the blurring amount is reported by the Non-Patent Literature 1 mentioned above. On the other hand, the brightness bias may be estimated, for example, by calculating a brightness histogram in the picture and detecting the brightness bias in a case where there are a greater amount of low-brightness pixels or a greater amount of high-brightness pixels.
(63) Next, the sorting selection unit 350 selects the optimal sorting unit 370 on the basis of the environment information analyzed by the environment analysis unit 340, and the sorting characteristic information (
(64) For instance, in the example of the environment information illustrated in
(65) When the blurring amount is as large as 0.9 at a time instant 14, the sorting selection unit 350 selects the third sorting unit 370-3 using the plural output filter because a rule for the plural output filter (blurring) is satisfied in the environment information-sorting function correspondence rule in
(66) [Description of Effect]
(67) Next, an effect of the first example embodiment will be described.
(68) According to the first example, the sorting selection unit 350 selects the optimal sorting unit 370 on the basis of the environment information analyzed by the environment analysis unit 340. Therefore, it is possible to provide the analyzed result data required to maintain the accuracy in recall and so on even in a case where various environmental variations such as influences of an installation position and sunshine, strong wind, rainfall, and so on exist as in the street surveillance.
(69) Respective parts (respective components) of the image analysis device 300 may be implemented by using a combination of hardware and software, as shown in
(70) Explaining the above-mentioned first example in another expression, the first example can be implemented by making a computer to be operated as the image analysis device 300 act as the data input unit 310, the analyzing unit 320, the sorting switching unit 330, the environment analysis unit 340, the sorting selection unit 350, the characteristic storage unit 360, the plurality of sorting units 370, and the data output unit 380 according to the image analysis program stored in the program memory 240.
Example 2
(71) [Description of Configuration]
(72) New, referring to the accompanying drawings, a second example of this invention will be described in detail.
(73)
(74) Referring to
(75) [Description of Operation]
(76) Roughly explaining, those means operate as follows, respectively.
(77) The sorting selection unit 350 selects a plurality of sorting units 370 in accordance with the environment information analyzed by the environment analysis unit 340, sorting characteristic information and the environment information-sorting function correspondence rule which are stored in the characteristic storage unit 360.
(78) The result integration unit 390 integrates, in accordance with results selected by the plurality of sorting units 370 and weighting specified by the sorting selection unit 350, analyzed result data to be finally produced and sends integrated analyzed result data to the data output unit 380.
(79) Next referring to flow charts in
(80) First, the sorting selection unit 350 selects one or more sorting units 370 in accordance with the environment information produced by the environment analysis unit 340, and the sorting characteristic information and the environment information-sorting function correspondence rule which are stored in the characteristic storage unit 360 (Step S204A in
(81)
(82) Next, when only one sorting unit 370 is selected (No in Step S301), the single sorting unit sorts the analyzed result data in the manner similar to the above-mentioned first example (Steps S301, S305, and S306 in
(83) On the other hand, when a plurality of sorting units 370 are selected (Yes in Step S301), the sorting switching unit 330 delivers the analyzed result data to the plurality of sorting units 370 (Step S302 in
(84) [Description of Operation Example]
(85) Next, an example of integration processing for plural sorting processing by the result integration unit 390 will be described. Herein, with reference to
(86) First, the sorting selection unit 350 selects the sorting kinds units on the basis of the environment information analyzed by the environment analysis unit 340 and the environment information-sorting function correspondence rule stored in the characteristic storage unit 360.
(87) The blurring amount is as large as 0.9 at a time instant 14 in
(88) Based on the transition time interval of the sorting characteristic information in
(89) The result integration unit 390 produces, in accordance with the instruction of the sorting selection unit 350, only the result of the first sorting unit 370-1 using the simple selection filter among outputs of the two sorting units 370.
(90) At a time instant 16 in
(91) [Description of Effect]
(92) Next, an effect of the second example embodiment will be described.
(93) According to the second example, the sorting selection unit 350 selects one or more sorting units 370 and the result integration unit 390 integrates the results of the plurality of sorting units 370. Therefore, it is possible to achieve higher accuracy by the sorting algorithm requiring a long initialization time interval and integration of a plurality of kinds of sorting.
(94) Respective parts (respective components) of the image analysis device 300A may be implemented by using a combination of hardware and software, as shown in
(95) Explaining the above-mentioned second example in another expression, the second example can be implemented by making a computer to be operated as the image analysis device 300A act as the data input unit 310, the analyzing unit 320, the sorting switching unit 330, the environment analysis unit 340, the sorting selection unit 350, the characteristic storage unit 360, the plurality of sorting units 370, the data output unit 380, and the result integration unit 390 according to the image analysis program stored in the program memory 240.
Example 3
(96) Now, a third example of this invention will be described. The third example is an example in which the above-mentioned image analysis devices 100, 300, and 300A are applied to an intelligent camera 500.
(97)
(98) This invention is not limited to the configurations of the above-mentioned example embodiments (the examples), and this invention involves any changes in a range not departing from the gist of this invention.
(99) While this invention has been described with reference to the example embodiments and examples thereof, this invention is not limited to the foregoing example embodiments and examples. The configurations and the details of this invention may be modified within the scope of this invention in various manners which could be understood by those of ordinary skill.
INDUSTRIAL APPLICABILITY
(100) This invention is applicable to uses such as an analysis system for analyzing the image or the picture data with high accuracy or a program for achieving the analysis system by a computer. In addition, this invention is also applicable to an analysis device in a surveillance system such as street surveillance in the streets or a program for achieving the analysis device by a computer.
REFERENCE SIGNS LIST
(101) 100 image analysis device 110-1, 110-2, 110-N process execution unit 120 analysis unit 130 process selection unit 200 image analysis device 210 A/D converter 220 CPU 230 work memory 240 program memory 300, 300A image analysis device 310 data input unit 320 analyzing unit 330 sorting switching unit 340 environment analysis unit 350 sorting selection unit 360 characteristic storage unit 370-1, 370-2 sorting unit 380 data output unit 390 result integration unit 400 face authentication device 420 processing unit 422 face detection unit 424 feature extraction unit 426 collation unit 440 storage unit 442 database 500 intelligent camera 510 acquiring unit 520 picture processing unit