WO2020080141A1 - センサ装置、信号処理方法 - Google Patents

センサ装置、信号処理方法 Download PDF

Info

Publication number
WO2020080141A1
WO2020080141A1 PCT/JP2019/039285 JP2019039285W WO2020080141A1 WO 2020080141 A1 WO2020080141 A1 WO 2020080141A1 JP 2019039285 W JP2019039285 W JP 2019039285W WO 2020080141 A1 WO2020080141 A1 WO 2020080141A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
unit
detection
class
frame rate
Prior art date
Application number
PCT/JP2019/039285
Other languages
English (en)
French (fr)
Inventor
高塚 進
鉄川 弘樹
Original Assignee
ソニー株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2019111093A external-priority patent/JP6705534B2/ja
Application filed by ソニー株式会社 filed Critical ソニー株式会社
Priority to EP19873997.1A priority Critical patent/EP3869783A4/en
Priority to KR1020217010461A priority patent/KR20210075990A/ko
Priority to US17/272,810 priority patent/US11470268B2/en
Priority to CN201980062222.7A priority patent/CN112823506B/zh
Publication of WO2020080141A1 publication Critical patent/WO2020080141A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/50Control of the SSIS exposure
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/40Extracting pixel data from image sensors by controlling scanning circuits, e.g. by modifying the number of pixels sampled or to be sampled
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/764Arrangements for image or video recognition or understanding using pattern recognition or machine learning using classification, e.g. of video objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/82Arrangements for image or video recognition or understanding using pattern recognition or machine learning using neural networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/103Static body considered as a whole, e.g. static pedestrian or occupant recognition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/65Control of camera operation in relation to power supply
    • H04N23/651Control of camera operation in relation to power supply for reducing power consumption by affecting camera operations, e.g. sleep mode, hibernation mode or power off of selective parts of the camera
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/40Extracting pixel data from image sensors by controlling scanning circuits, e.g. by modifying the number of pixels sampled or to be sampled
    • H04N25/44Extracting pixel data from image sensors by controlling scanning circuits, e.g. by modifying the number of pixels sampled or to be sampled by partially reading an SSIS array
    • H04N25/443Extracting pixel data from image sensors by controlling scanning circuits, e.g. by modifying the number of pixels sampled or to be sampled by partially reading an SSIS array by reading pixels from selected 2D regions of the array, e.g. for windowing or digital zooming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/70SSIS architectures; Circuits associated therewith
    • H04N25/701Line sensors
    • H04N25/7013Line sensors using abutted sensors forming a long line
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/70SSIS architectures; Circuits associated therewith
    • H04N25/71Charge-coupled device [CCD] sensors; Charge-transfer registers specially adapted for CCD sensors
    • H04N25/745Circuitry for generating timing or clock signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • H04N7/0127Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level by changing the field or frame frequency of the incoming video signal, e.g. frame rate converter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V2201/00Indexing scheme relating to image or video recognition or understanding
    • G06V2201/07Target detection

Definitions

  • the present technology relates to a sensor device and a signal processing method, and particularly to a technical field of a sensor device having a function of processing a detection signal obtained by an array sensor.
  • Patent Document 1 discloses a technique of changing the operating frequency according to the movement of the monitoring area.
  • the photographed image information is sent to an external processor that performs object detection, and the processor performs calculation processing for all object detection.
  • This process depends on the processing capacity on the side of the general-purpose processor, and an efficient processing method of operating at a preset frame rate (operating frequency) limited to the target class has not been taken. As a result, there is a problem that the processing is delayed because the load on the external processor side becomes high.
  • Patent Document 1 there is a method of increasing the frame rate when there is a moving object in the shooting target, but the operation cannot be controlled by designating the class. Therefore, the present disclosure proposes changing the frame rate according to the object detection result.
  • a sensor device includes an array sensor in which a plurality of detection elements are arranged in a one-dimensional or two-dimensional manner, a signal processing unit that acquires a detection signal from the array sensor and performs signal processing, and detection by the array sensor. An object is detected from the signal, and an arithmetic unit for variably instructing the frame rate of the detection signal from the array sensor based on the detection of the object.
  • the frame rate of the detection signal obtained by the array sensor is changed according to the object detection result.
  • the object detected from the detection signal refers to an object that is an object detection target, and any object may be the detection target object here.
  • any object may be the detection target object here.
  • the detection element of the array sensor a visible light or invisible light imaging element, a sound wave detection element that detects a sound wave, a tactile sensor element that detects tactile information, or the like is assumed.
  • a frame is a frame of an image when the array sensor is an image sensor array. The same applies to the case of the sound wave detecting element and the tactile sensor element, and is a data unit read out in one reading period from a plurality of detecting elements of the array sensor regardless of the type of the array sensor.
  • the frame rate is the density of such frames within a unit time.
  • the sensor device may include an output unit that outputs a detection signal processed by the signal processing unit to an external device.
  • the detection signal processed by the signal processing unit is transmitted and output to an external device.
  • the external device may be, for example, an external processor that detects an object or a processor in a cloud.
  • the calculation unit stores at least the set value for the frame rate of the first mode and the set value for the frame rate of the second mode, and It is conceivable to perform control according to the set value of either the first mode or the second mode according to the result.
  • the value of the reading interval of the array sensor or the like is stored as a set value in order to instruct the frame rate.
  • one or both of the set value for the frame rate of the first mode and the set value for the frame rate of the second mode are rewritable by an external device. It is possible that For example, the set value can be changed according to the use of the external processor, the processing capacity, the use of the application, and the like.
  • the arithmetic unit varies the frame rate by instructing the reading interval of the detection signals of the array sensor. If the array sensor is, for example, an image pickup device, the image reading interval is variably controlled.
  • the calculation unit may instruct the signal processing unit to change the frame rate and change the frame rate. That is, the frame rate is switched by the frame rate conversion in the signal processing process.
  • the arithmetic unit performs class identification for an object detected from the detection signal obtained from the array sensor, and determines whether the identified class is a target class. It is conceivable to make a judgment and give a variable instruction of the frame rate according to the judgment result.
  • a class is a category of objects recognized using image recognition.
  • the objects to be detected are classified into classes such as “person”, “automobile”, “airplane”, “ship”, “truck”, “bird”, “cat”, “dog”, “deer”, “frog”, “horse”.
  • a target class is a class that is designated for recognition purposes.
  • the detection signal processed by the signal processing unit in response to the request of the external device, the detection signal processed by the signal processing unit, the information of the identified class, the number of detected objects, the information of the presence or absence of the target class It is conceivable to provide an output unit that outputs any or all of the above. That is, the output unit sets the information to be output according to the request of the external device.
  • the detection element of the array sensor may be an image pickup element. That is, the detection signal from the array sensor is an image signal obtained by imaging (photoelectric conversion).
  • the threshold of the frame rate is set according to the class identified for the object detected from the detection signal obtained from the array sensor, and the frame set based on the threshold is set. It is conceivable to provide a threshold value setting unit for performing the processing using the rate. For example, a frame rate suitable for object detection and capable of reducing the data amount can be set according to the class. Further, in the above-described sensor device according to the present technology, it is possible that the threshold setting unit sets the threshold as a frame rate that can maintain object tracking from an image. For example, a frame rate that can reduce the amount of data as much as possible is set in a state where object tracking is possible.
  • the arithmetic unit performs control according to a frame rate setting value of either the first mode or the second mode according to the result of object detection, and the first mode
  • the frame rate set value set by the threshold value setting unit is used as one of the frame rate set values in the second mode.
  • the first mode is a predetermined frame rate
  • the second mode is a frame rate set based on a threshold value.
  • a signal processing method is a signal in a sensor device including an array sensor in which a plurality of detection elements are arranged in a one-dimensional or two-dimensional manner, and a signal processing unit that acquires a detection signal from the array sensor and performs signal processing.
  • object detection is performed from the detection signal from the array sensor, and a frame rate of the detection signal from the array sensor is variably instructed based on the detection of the object. This allows the frame rate to be changed according to the situation.
  • the threshold value of the frame rate is set according to the class identified for the object detected from the detection signal obtained from the array sensor, and is set based on the threshold value. The processing using the specified frame rate is performed. As a result, the frame rate can be lowered so that the predetermined condition necessary for object detection can be maintained.
  • a sensor device 1 as an image sensor having an image sensor array and outputting an image signal as a detection signal will be exemplified.
  • the sensor device 1 of the embodiment is a device that has an object detection function by image analysis and can be called an intelligent array sensor.
  • FIG. 1 shows a processor 11 and an external sensor 12 as external devices that perform data communication with the sensor device 1.
  • the processor 11 is assumed to be any processor that is communicatively connected to the sensor device 1.
  • the sensor device 1 has, as hardware, an image sensor device, a storage area such as a DRAM (Dynamic Random Access Memory), and a component as an AI (artificial intelligence) functional processor. Then, these three have a three-layer laminated structure, one layer has a so-called flat configuration, or two layers (for example, a DRAM and an AI functional processor are in the same layer) laminated structure, and so on. To be done.
  • a DRAM Dynamic Random Access Memory
  • AI artificial intelligence
  • the sensor device 1 includes an array sensor 2, an ADC (Analog to Digital Converter) / pixel selector 3, a buffer 4, a logic unit 5, a memory 6, an interface unit 7, and an arithmetic unit 8.
  • the ADC / pixel selector 3, the buffer 4, and the logic unit 5 are examples of the signal processing unit 30 that processes the detection signal obtained by the array sensor 2 for output to the outside.
  • the array sensor 2 has a detection element as an image sensor of visible light or invisible light, and is configured by arranging a plurality of image sensors in one dimension or two dimensions. For example, a large number of image pickup devices are arranged two-dimensionally in the row direction and the column direction, and a two-dimensional image signal is output by photoelectric conversion in each image pickup device. In the following description, the array sensor 2 outputs a two-dimensional image signal as an image sensor.
  • a sensor array module in which sound wave detecting elements are arranged or tactile information is used as the array sensor 2 in the sensor device 1 a sensor array module in which sound wave detecting elements are arranged or tactile information is used. It may be configured as a sensor array module in which detection elements are arranged.
  • the ADC / pixel selector 3 converts the electric signal photoelectrically converted by the array sensor 2 into digital data, and outputs an image signal as digital data. Further, by having a pixel selection function for the pixels (imaging elements) of the array sensor 2, it is possible to read out the photoelectric conversion signals of only the pixels selected in the array sensor 2 and output them as digital data. In other words, the ADC / pixel selector 3 normally outputs the photoelectric conversion signal into digital data for all the effective pixels forming one frame image, but outputs the photoelectric conversion signal into digital data only for the selected pixel. You can also do it.
  • the image signal of each frame is read by the ADC / pixel selector 3, and the image signal of each frame is temporarily stored in the buffer 4, read at appropriate timing, and provided to the processing of the logic unit 5.
  • the logic unit 5 performs various necessary signal processing (image processing) on each input frame image signal. For example, it is assumed that the logic unit 5 performs image quality adjustment by processing such as color correction, gamma correction, color gradation processing, gain processing, contour enhancement processing, contrast adjustment processing, sharpness adjustment processing, and gray level adjustment processing. It is also assumed that the logic unit 5 performs data compression processing, resolution conversion, frame rate conversion, aspect ratio conversion, sampling rate change, and other data size changing processing. For each process performed by these logic units 5, parameters used for each process are set. For example, there are setting values such as color and brightness correction coefficients, gain values, compression ratios, frame rates, resolutions, regions to be processed, and sampling rates. The logic unit 5 performs necessary processing using the parameters set for each processing. In the present embodiment, the calculation unit 8 may set these parameters as described later.
  • the image signal processed by the logic unit 5 is stored in the memory 6.
  • the image signal stored in the memory 6 is transmitted and output by the interface unit 7 to the processor 11 or the like at a necessary timing.
  • the memory 6 may be DRAM, SRAM (Static Random Access Memory), MRAM (Magnetoresistive Random Access Memory), or the like.
  • the MRAM is a memory that stores data by magnetism, and it is known to use a TMR element (tunneling magnetoresistive) instead of a magnetic core.
  • the TMR element has an extremely thin insulating layer of several atoms sandwiched by a magnetic material, and its electric resistance changes depending on the direction of magnetization of the magnetic material layer.
  • the magnetization direction of the TMR element does not change even when the power is turned off, and the TMR element becomes a non-volatile memory. Since the write current needs to be increased as the size of the memory cell becomes smaller, a spin injection magnetization reversal method (STT: spin torque) is used in order to miniaturize the memory cell without writing a magnetic field and writing electrons with uniform spins. STT-MRAM using transfer) is known.
  • STT-MRAM using transfer is known.
  • a specific example of the memory 6 may be a storage element other than these.
  • the processor 11 outside the sensor device 1 performs image analysis and image recognition processing on the image signal transmitted from the sensor device 1 to execute necessary object detection and the like.
  • the processor 11 can also refer to the detection information of the external sensor 12.
  • the processor 11 may be connected to the sensor device 1 in a wired or wireless manner. It is considered that the processor 11 is provided in the same housing as the sensor device 1. For example, it is assumed that the image sensor is equipped with the sensor device 1 or a processor in a terminal device. Alternatively, the processor 11 may be provided in a device separate from the sensor device 1.
  • the processor 11 may be, for example, a processor in a cloud computing system, and may perform network communication with the sensor device 1 or a device incorporating the sensor device 1.
  • the arithmetic unit 8 is configured as, for example, one AI processor. As illustrated in the figure, the calculation function that can be executed includes a key frame selection unit 81, an object region recognition unit 82, a class identification unit 83, and a parameter selection unit 84. Note that these arithmetic functions may be composed of a plurality of processors.
  • the key frame selection unit 81 performs a process of selecting a key frame among frames of an image signal as a moving image according to a predetermined algorithm or instruction. Further, the key frame selection unit 81 may perform a process of switching the mode related to the frame rate (idle mode and normal mode in the fifth embodiment).
  • the object area recognizing unit 82 detects an area of an object which is a candidate for detection in a frame of an image signal which is photoelectrically converted by the array sensor 2 and is read by the ADC / pixel selector 3, and an image of an object to be detected ( The recognition processing of the area (bounding box) surrounding the object in the frame is performed.
  • the object detected from the image signal means an object that can be a detection target for the purpose of recognition from the image.
  • the processing capacity, the application type, etc., what kind of object is to be detected differs, but all objects are to be detected here. there is a possibility.
  • the object region recognition unit 82 determines an ROI (Region of Interest) that is region information indicating a region (region of interest) to be processed based on the bounding box. There is also a case where the calculation process and the control for the ADC / pixel selector 3 based on the ROI are performed.
  • ROI Region of Interest
  • the class identification unit 83 classifies the object detected by the object area recognition unit 82.
  • a class is a category of objects recognized using image recognition. For example, the objects to be detected are classified into classes such as “person”, “automobile”, “airplane”, “ship”, “truck”, “bird”, “cat”, “dog”, “deer”, “frog”, “horse”.
  • the parameter selection unit 84 stores the parameters for signal processing corresponding to each class, and identifies the class of the detection object identified by the class identification unit 83, the bounding box, and the like. Use to select the corresponding parameter or parameters. Then, the one or more parameters are set in the logic unit 5.
  • the parameter selection unit 84 stores the template of the advanced ROI (AROI) calculated in advance for each class based on the class for calculating the ROI based on the bounding box, as in the third embodiment. In some cases, the template may be selected.
  • the parameter selection unit 84 stores the set values of the idling mode and the normal mode in the fifth embodiment, selects them based on the object detection, and also performs the process of controlling the signal processing unit 30. is there.
  • These functions by the calculation unit 8 are processes that are not normally performed in the array sensor, and in the present embodiment, object detection, class recognition, and control based on these are executed in the array sensor. As a result, the image signal supplied to the processor 11 is made appropriate for the purpose of detection, and the amount of data is reduced without degrading the detection performance.
  • the interface unit 7 In addition to outputting the image signal to the processor 11, the interface unit 7 outputs the information of the object detected by the calculation unit 8, the information of the class, the number of detected objects, the information of the selected parameter, and the like, for example, as metadata together with the image signal. It can be output or can be output independently of the image signal. It is also possible to output only class information, for example. Further, for example, the processor 11 side may instruct the interface unit 7 to provide necessary information, and the interface unit 7 may output the corresponding information.
  • Classification Image Adaptation> A classification image adaptation process will be described as a process of the first embodiment that can be executed by the sensor device 1 having the configuration of FIG.
  • the accuracy of image recognition varies depending on the image quality adjustment. For example, in image recognition by deep learning, the accuracy is improved by adjusting the image quality.
  • the image quality desirable for image recognition that is, the image quality with which the accuracy of object detection is high, is not necessarily the image quality that a person feels beautiful.
  • FIG. 2A shows an example of an image that a person perceives as being of high quality
  • FIG. 2B is an image in which the image is perceived by a person to be slightly deteriorated due to a reduction in the number of gradations, for example. There is.
  • object detection when the image of FIG.
  • FIG. 2A is analyzed by a neural network, a flower is erroneously determined to be a fish, while a flower is correctly regarded as a flower for the image of FIG. 2B. Making a decision.
  • a flower is erroneously determined to be a fish, while a flower is correctly regarded as a flower for the image of FIG. 2B.
  • Making a decision As can be seen from this example, in order to improve the accuracy of image recognition, it is desirable to perform image quality adjustment different from the image quality adjustment based on human aesthetics.
  • the image quality suitable for such object detection does not depend on the image quality adjusted by a uniform parameter, but also on the object to be detected.
  • a desirable image quality adjustment state differs between when detecting a person and when detecting an automobile. That is, the desired parameter values for image quality adjustment differ depending on the detection target.
  • the classified image adaptation processing appropriate parameters (image quality adjustment values) are stored for each class of target objects. Then, for the image captured by the array sensor 2, object detection and class identification of the detected object are performed, parameters are selected and set in the logic unit 5 according to the identified class, and the logic unit 5 for the image , So that processing is performed according to the parameters.
  • FIG. 3 is a part of the configuration of FIG. 1 extracted for the purpose of explaining the outline.
  • the image pickup optical system 40 collects the subject light on the array sensor 2 to pick up an image.
  • the obtained image signal G is processed by the logic unit 5, but is also supplied to the calculation unit 8.
  • the object area recognition section 82 detects a candidate object and recognizes the object area.
  • the object area recognition unit 82 also calculates a bounding box for a required object area.
  • the class identification unit 83 classifies the detected object. When a plurality of objects or a plurality of types of objects are detected, class identification is performed for each and they are classified into each class. For example, in the case of the figure, class identification and classification are performed such that one object in the class “car”, five objects in the class “person”, and one object in the class “traffic signal”.
  • the information of this class and the information of the bounding box are provided to the parameter selection unit 84, and the parameter selection unit 84 uses one of the parameter sets PR1, PR2, ... Select a set.
  • the parameter set PR4 is selected.
  • the parameter set is, for example, a set of a plurality of parameter values used in the processing of the logic unit 5, such as a gain setting value, a color correction coefficient, a gradation number, a compression rate, and a frame rate.
  • the selected parameter set PR4 is set in the logic unit 5.
  • the logic unit 5 performs various kinds of signal processing on the image signal G using each parameter shown in the parameter set PR4.
  • the array sensor outputs all or any of data of output data (image signal, class, number of objects, presence / absence of target class, etc.) according to a request of the processor 11.
  • the processor 11 can also send various instructions to the sensor device 1.
  • the calculation unit 8 has a class identification function based on object detection (object category classification function), and the parameters of the logic unit 5 are adaptively set according to the output of the class identification unit.
  • Classification image quality adaptation (parameter selection according to the target genre from object detection) is performed.
  • appropriate parameters for each class are generated in advance by deep learning and stored in advance.
  • a parameter set of the class “person” is generated, as shown in FIG. 4A, deep learning is performed using a large number of human images as learning data SD, and the image recognition rate is highest from the viewpoint of human recognition.
  • a parameter set PR1 is generated.
  • parameter sets PR2, PR3, ... With the highest image recognition rate are generated using deep learning.
  • the parameter sets PR1, PR2, PR3, ... are stored so that the parameter selecting unit 84 can select them.
  • FIG. 5 shows a process executed by the sensor device 1 (mainly the arithmetic operation unit 8) after the output of the image signal of one frame unit from the array sensor 2 is started in step S100.
  • the processing of the calculation section 8 is processing executed by the respective functions of the key frame selection section 81, the object area recognition section 82, the class identification section 83, and the parameter selection section 84 shown in FIG. Note that this also applies to FIGS. 9, 14, 16, and 18 described later.
  • step S101 the calculation unit 8 (key frame selection unit 81) performs a process of selecting a key frame at a timing according to the key frame selection algorithm.
  • the sensor device 1 recognizes the class of the object to be imaged by selecting a key frame from the image signal in frame units which is the pixel array output signal of the array sensor 2 and performing image recognition.
  • the selection of the key frame is performed by the key frame selection algorithm, whereby the still image (one frame) is selected.
  • a keyframe selection algorithm there is a method of selecting one frame at every designated time interval. For example, one frame is set as a key frame at intervals of 30 seconds. Of course, 30 seconds is an example.
  • a key frame as a timing according to an instruction from the outside of the sensor device 1 (processor 11 or the like). For example, it is assumed that the device in which the sensor device 1 is mounted is in accordance with an instruction from the device side. For example, in the case where the sensor device 1 is mounted on an automobile, the sensor device 1 is stopped in a parking lot, but a key frame is selected at a timing when the vehicle starts traveling. Also, the method of selecting the key frame may be changed depending on the situation. For example, when the sensor device 1 is mounted on an automobile, the interval between key frames is changed when the vehicle is stopped, during normal traveling, or during high-speed traveling.
  • the calculation unit 8 detects the position of the object candidate in the key frame in step S102. That is, the calculation unit 8 searches for a candidate of an object to be detected in the image of the key frame, and obtains the position of one or a plurality of candidates (position coordinates in the image). For example, assume that the input image in FIG. 6A is a key frame. The calculation unit 8 detects a part that seems to be an object to be detected in this image. For example, the regions shown in FIGS. 6B and 6C are considered to be objects to be detected. This is a candidate for the object.
  • step S103 of FIG. 5 the calculation unit 8 (class identification unit 83) classifies detected objects into classes. That is, each object candidate is classified and classified.
  • a class is a category of objects recognized using image recognition. For example, as shown in FIGS. 6D and 6E, class identification such as “person” and “flower” is performed.
  • the calculation unit 8 confirms whether or not the target class exists in the class obtained as the class identification result.
  • the target class is a class specially set by the processor 11 among the classes. For example, when the target class is set to "person", the sensor device 1 enters the designated process when recognizing a person. It is desirable to be able to specify multiple target classes.
  • step S103 when “person” and “flower” are set as the target classes, and “person” or “flower” exists in the class identified in step S103, the calculation unit 8 proceeds from step S104 to step S105. Proceed with processing. On the other hand, if the target class does not exist, the calculation unit 8 returns to step S101 and selects the next key frame.
  • the calculation unit 8 calculates accurate position coordinates (bounding box) surrounding the object area classified into the class.
  • the bounding box 20 is shown in FIGS. 6F and 6G.
  • the bounding box 20 is defined by a minimum coordinate value Xmin and a maximum coordinate value Xmax as an area range on the X axis, and a minimum coordinate value Ymin and a maximum coordinate value Ymax as an area range on the Y axis.
  • the calculation unit 8 selects a parameter set based on the class and number of objects and the area of the bounding box 20. For example, when there is one target class, the parameter set corresponding to that class is selected. When there are multiple types of target class objects on the screen, the following examples are possible. For example, it is conceivable to select a parameter set corresponding to the class having the largest number of objects in each class. Alternatively, when there are multiple types of target class objects on the screen, it is conceivable to select the parameter set corresponding to the class of the object having the largest bounding box 20 area.
  • the screen when there are a plurality of types of target class objects on the screen, it is conceivable to select a parameter set corresponding to the class having the largest total area of the bounding box 20 for each class.
  • the highest priority class is determined from the total number (or maximum value) of the number of objects in each class and the bounding box 20 area, and the corresponding class is handled. It is conceivable to select the parameter set to be used.
  • there are various other parameter set selection methods but in any case, if the parameter set according to the dominant object in the screen or the class of the object to be detected with priority is selected. Good.
  • step S107 the calculation unit 8 (parameter selection unit 84) performs a process of setting the selected parameter set in the logic unit 5.
  • the logic unit 5 thereafter performs various image processes on the image signals of each frame that are sequentially input, using the set parameter set.
  • the processed image signal, the set parameter, the information of the identified class, and the like are temporarily stored in the DRAM 6.
  • step S108 the sensor device 1 outputs image information (still image, moving image), class identification information (class, number of objects, presence / absence of target class, etc.), used parameter set, and other information in response to a request from the processor 11. All or at least one will be output. That is, any of the information temporarily stored in the DRAM 6 is read and transmitted by the interface unit 7 in response to a request from the processor 11.
  • the process of step S108 may be performed by the control of the arithmetic unit 8 or may be performed by accessing the DRAM 6 by the processor 11 via the interface unit 7. When the arithmetic unit 8 does not control the interface unit 7, the processing of the arithmetic unit 8 returns to step S101 after step S107.
  • the processor 11 is supplied with the image signal having the parameter set according to the existence of the target class as the object included in the image.
  • the image signal becomes an image signal subjected to image processing suitable for detecting the target class object. If the information on the detected class (target class) and the number of objects is also provided to the processor 11, it becomes useful information for the object detection processing by the processor 11.
  • the processor 11 can perform highly accurate object detection. It should be noted that it is also possible to use the class setting within the sensor device 1 simply and to recognize it more finely outside. For example, the face recognition and the license plate recognition may be executed by the processor 11 without being executed by the sensor device 1. Further, in the processing example of FIG. 5, a portion that seems to be an object is detected in step S102 (FIGS.
  • step S103 class identification is performed in step S103 (FIGS. 6D and 6E), and then the bounding box 20 is set in step S105. (FIGS. 6F and 6G), but the procedure is not limited to this.
  • the procedure may be such that the bounding box 20 is set when an object-like portion is detected at the stage of step S102, then the class is identified at step S103, and if the target class exists, the process proceeds from step S104 to step S106.
  • Second Embodiment Area Clipping> Area clipping will be described as a process of the second embodiment that can be executed by the sensor device 1 having the configuration of FIG.
  • the image signal detected by the array sensor 2 it is usually considered that the information of all the pixels of each frame is transmitted to the processor 11 to execute the image recognition.
  • the amount of transferred information remarkably increases as the resolution of the captured image by the array sensor 2 increases, and the transfer time increases. Will also be required.
  • an increase in communication volume greatly affects communication cost and time.
  • the load of the storage amount in the processor 11 and the cloud increases, the analysis processing load and the processing time increase, and the object detection performance decreases.
  • the image signal is acquired or transferred at the pixel level of the area of the object after the next frame, and other areas are acquired.
  • FIG. 7A shows an image of a certain frame F1.
  • ROI Region of Interest
  • the image is an image including only the information of the ROI 21 as shown in FIG. 7B. Then, based on the image signal including such partial pixel information, the analysis in the calculation unit 8 is performed or the image is analyzed by being transferred to the processor 11.
  • a certain frame F1 as a ratio of one in N frames is an image including information of all effective pixels.
  • the calculation unit 8 scans the entire screen to detect the presence or absence and the position of the object.
  • the ROI 21 is set.
  • the image signal in which the AD conversion is performed only on the pixels of the ROI 21 that is the target area as illustrated in FIG. 8B is acquired.
  • each square separated by a grid represents a pixel. In this way, for example, every N frames, one frame is subjected to full-screen scanning to detect the target object, and in the subsequent frames F2, F3, F4 ... I do.
  • the amount of analysis data and the amount of communication data are reduced without lowering the accuracy of detecting the object that is the target of the application, the power consumption of the sensor device 1 is reduced, and the sensor device 1 is mounted.
  • the image analysis related to the object detection of the entire system is accelerated.
  • FIG. 9 shows a processing example of the calculation unit 8 of the sensor device 1 as the area clipping analysis. A description will be given with reference to FIG. 10 sequentially.
  • the calculation unit 8 determines in step S201 whether or not the object detection key frame recording timing has come.
  • the object detection key frame recording timing means a timing at which information is acquired in all effective pixel areas of the array sensor 2 for object detection.
  • the object detection key frame recording timing may be determined by a command from the outside of the sensor device 1 such as the processor 11, for example. For example, it is assumed that the object detection key frame recording timing is determined at intervals of 60 seconds in response to an instruction of 60 seconds.
  • the calculation unit 8 proceeds to step S202 and acquires the image data AD-converted in all the effective pixel areas of the array sensor 2.
  • the ADC / pixel selector 3 is caused to output the image signal of one frame from the array sensor 2 for the entire effective pixel area.
  • step S203 the calculation unit 8 (object region recognition unit 82) detects a position that is a candidate for an object in the acquired image.
  • the frame F1 is used as an object detection key frame, for example, the object candidate area 23 is detected in the image of the frame F1.
  • the area including the images of "people" and “trees" is the candidate area 23.
  • step S204 in FIG. 9 the calculation unit 8 (class identification unit 83) classifies the objects detected as candidates. For example, as shown in FIG. 10B, class identification such as “person” or “tree” is performed for the object in the candidate area 23.
  • step S205 of FIG. 9 the calculation unit 8 confirms whether or not the target class exists in the class obtained as the class identification result. For example, when “person” is the target class, the target class exists as the identified class as shown in FIG. 10B. In such a case, the calculation unit 8 advances the process from step S205 to S206 in FIG. On the other hand, if the target class does not exist, the calculation unit 8 returns to step S201 and waits for the next object detection key frame recording timing.
  • step S206 of FIG. 9 the calculation unit 8 (object region recognition unit 82) calculates the bounding box 20 of accurate position coordinates surrounding the area of the object classified into the target class.
  • FIG. 10C shows an example of the bounding box 20 for the image of the person who is the target class. That is, the bounding box 20 is calculated as a more accurate area of the object corresponding to the target class.
  • the calculation unit 8 calculates the ROI based on the bounding box 20.
  • the ROI 21 and the bounding box 20 are shown in FIG. 10D.
  • the ROI 21 is calculated by enlarging (ax ⁇ by) the vertical and horizontal sizes (x ⁇ y) of the bounding box 20.
  • the enlargement scales a and b can be set vertically and horizontally, and the enlargement ratio may be fixed, but it is also conceivable that the enlargement ratio is specified from outside the sensor device 1 (for example, the processor 11 or the like).
  • the calculation unit 8 transmits the ROI calculated in this way to the ADC / pixel selector 3.
  • the ADC / pixel selector 3 AD-converts only the corresponding pixel in the ROI 21 of the array sensor 2 and outputs it.
  • the calculation unit 8 acquires the image data of the next frame including the information of only the pixels in the ROI 21 in step S208 of FIG. Then, the processes of steps S203 and S204 are performed on the acquired frame.
  • FIG. 10E schematically shows that only the pixels within the ROI 21 are AD-converted among all the effective pixels (the squares delimited by the grids in each drawing indicate the pixels).
  • the calculation unit 8 detects the position of the object candidate and classifies the image of the frame F2 in steps S203 and S204 of FIG. 9.
  • the bounding box 20 is newly calculated and the new ROI 21 is calculated based on the bounding box 20.
  • the newly obtained ROI is shown as “ROI21 (NEW)”.
  • the ROI 21 is generated by expanding the bounding box 20 in order to correspond to the movement of the object that is the subject (or the change in the subject direction of the imaging device). For example, the position of the person in frame F2 of FIG. 10E is changing to the right of the position of the person in frame F1 of FIG. 10A. However, since the ROI 21 is set wider, the possibility of acquiring the image of the target person in the frame F2 is increased even if only the pixels in the ROI 21 are acquired. As described above, the ROI 21 expands the bounding box 20 so that the target object can be detected even in the next frame.
  • the expansion scales a and b are It is also possible to set it according to the frame rate. For example, when the frame rate is low, the frame interval time becomes long and the amount of movement of an object such as a person becomes large. Therefore, it is conceivable to make the ROI 21 wider than when the frame rate is high.
  • recalculating the ROI 21 for each frame is also to cope with the movement of the object that is the subject (or the change in the subject direction of the imaging device). Due to the movement of the person, the person is detected at the rightward position in the ROI 21 from the image in FIG. 10F. Therefore, the bounding box 20 surrounding the area of the person is newly calculated and the ROI 21 is obtained, so that the ROI is updated so as to follow the movement of the person like ROI 21 (NEW).
  • the calculation unit 8 notifies the ADC / pixel selector 3 of the new ROI 21 (NEW) in step S207. As a result, in the next frame, only the pixels in the new ROI 21 (NEW) are AD-converted (see FIG. 10G). Similarly, the calculation unit 8 acquires an image signal of only the information of the pixel in the ROI 21 (NEW) in step S208, and performs the processing in step S203 and subsequent steps.
  • step S205 Such processing is repeated until it is determined in step S205 that the target class does not exist. Therefore, for example, by updating the position of the ROI 21 according to the person as the subject, even if the position of the person is moving as in the frame Fn in FIG. It is possible to acquire the image signal of the frame Fn including the information of the human region based on the ROI 21 calculated in (). If the detected person is framed out and cannot be detected, the target class cannot be acquired. Therefore, the calculation unit 8 returns from step S205 to step S201 and waits for the next object detection key frame recording timing.
  • the image signal of the key frame at the object detection key frame recording timing includes the data of all effective pixels, but in the subsequent frame, only the pixels necessary for object detection are described.
  • the image signal can have an extremely reduced amount of data, and is an image suitable for detection of a target object. Further, it is possible to reduce power consumption by reducing the number of read pixels in the array sensor 2.
  • the ROI 21 is set for each object of one target class, and the area of the ROI 21 corresponding to each object is the read target from the array sensor 2, which is detected by the object detection key frame. It is limited to the object that was created. For example, even if a new object (for example, a person) appears as a subject at the timing of the frames F2 and F3, the image of the person may not be acquired. This is not a problem if it is used for purposes such as tracking and analyzing an object found in an object detection key frame with a certain time interval, but it is applied to, for example, a monitoring system that monitors all people who appear as subjects.
  • step S205 an object that appears in a frame other than the object detection key frame also needs to be detected. Therefore, for example, even if the detection of the object of the target class is continued (that is, even if the determination of “YES” is continued in step S205), the process always returns to step S202 at a predetermined time interval, and the image of all effective pixels is displayed. It is conceivable to acquire a signal. It is also preferable that the processor 11 or the like can specify the time interval for acquiring the image signals of all effective pixels.
  • the peripheral portion of the image may be always set as an AD conversion target area separately from the ROI 21, and when an object is newly framed in, the object is detected and the ROI 21 can be set for the object. Conceivable.
  • the ROI 21 is described as an example in which the bounding box 20 is enlarged to form a rectangular area, but the ROI 21 is not limited to the rectangular area.
  • semantic segmentation or object area detection at the pixel level, may be used to calculate the ROI 21 from the area of the object of that target class.
  • FIG. 11 shows a ROI 21 based on semantic segmentation.
  • the non-rectangular ROI 21 is set by expanding the pixel area as an object (for example, a person).
  • a rectangular ROI 21 may not be included in part or may be too large, such as a track with a protrusion or a person riding a bicycle. If the non-rectangular ROI 21 is generated according to the object position at the pixel level, it is possible to increase the possibility that the ROI 21 can achieve both reduction of the data amount and acquisition of necessary information.
  • the AROI is an ROI set using a template set according to the class.
  • the power consumed by photoelectric conversion is the largest. Therefore, in order to reduce power consumption, it is desirable to reduce the number of pixels that undergo photoelectric conversion as much as possible.
  • the image signal obtained by the array sensor 2 is for image analysis and is not viewed by a person, it is not necessary for the person to see and recognize it or to obtain a clean image. In other words, it is important that the image be an object that can be accurately detected. For example, in the above-described second embodiment, class identification is performed on the detected object, but if class identification is performed in this way, the minimum area for recognition corresponding to the class is set as the ROI. It would be good to do so. Therefore, the AROI 22 as shown in FIGS. 12 and 13 is set.
  • FIG. 12 shows the AROI 22 generated using the template corresponding to the class “person” for the image area of the person.
  • the grid in the figure is a pixel (pixel), and the dark pixel is a pixel designated by the AROI.
  • the template corresponding to the class “person” has a high density of required pixels for the face portion and a low density of required pixels for the body portion so that the entire body can be covered.
  • FIG. 13 shows an AROI 22 generated by using a template corresponding to the class “car”. In this example, it is adapted to the rear image of the automobile, and for example, the portion where the license plate is located has a high density of required pixels, and other than that, the required pixels are arranged at a low density to cover the whole.
  • the "person” class is also subdivided, and the template is subdivided into “sideways person”, “frontward person”, “sitting person”, etc., or “side image” for the “automobile” class. It is also possible to subdivide the template into "front image”, “rear image”, and the like.
  • the template is selected according to the class, and the template is scaled according to the area size in the actual frame to generate the AROI22.
  • steps S201 to S206 are the same processes as in FIG.
  • the calculation unit 8 calculates the bounding box 20 in step S206. Then, in step S210, the calculation unit 8 (parameter selection unit 84) selects a template for AROI that is calculated and stored in advance based on the class. For example, if “person” is the target class and there is a person in the image, the template for “person” is selected.
  • step S211 the calculation unit 8 (object region recognition unit 82) calculates the AROI 22 based on the bounding box 20. For example, an AROI 22 is obtained by adjusting the size of the template according to the size of the bounding box 20. Then, the calculation unit 8 (object region recognition unit 82) transmits the AROI 22 (AROI pattern and region) to the ADC / pixel selector 3.
  • the ADC / pixel selector 3 AD-converts only the corresponding pixel in the AROI 22 of the array sensor 2 and outputs it.
  • the calculation unit 8 acquires the image data of the next frame including the information of only the pixels in the AROI 22 in step S212. Then, the processes of steps S203 and S204 are performed on the acquired frame. The subsequent process flow is the same as that described with reference to FIG.
  • the AROI 22 By generating the AROI 22 using the template set according to the class in this way, it is possible to obtain information that enables accurate object detection according to the class even if the number of pixels to be photoelectrically converted is significantly reduced. it can. Note that it is necessary to ensure that the object detection keyframe recording timing mentioned in the second embodiment occurs at a certain time interval, or to keep the peripheral portion of the image as an AD conversion target area. It can also be applied to the third embodiment. Further, by performing the area clipping using the AROI 22 of the third embodiment described above and the classified image adaptation processing of the first embodiment in combination, the effect of reducing the amount of data and improving the detection accuracy is further improved. You can get it effectively.
  • the intelligent compression is to specify an object to be detected and apply compression to the object at a low compression rate, and to compress other objects at a high compression rate.
  • FIG. FIG. 15A shows a state in which the ROI 21 is generated corresponding to the region of each automobile when the class of the automobile, which is the target class, is detected from the image of one frame.
  • FIG. 15B shows an image signal obtained by compressing the ROI 21 area at a low compression rate and the other areas at a high compression rate.
  • FIG. 16 shows an example of processing for performing intelligent compression. Note that steps S201 to S206 are the same processes as in FIG. However, since the circumstances are slightly different from the case of the area clipping described above, these processes will also be referred to.
  • the calculation unit 8 determines in step S201 whether or not the object detection key frame recording timing has come. When the object detection key frame recording timing comes, the calculation unit 8 proceeds to step S202 and acquires the image data AD-converted in all the effective pixel areas of the array sensor 2. However, in the case of intelligent compression, the ADC / pixel selector 3 reads (AD conversion) the signals of all pixels from the array sensor 2 every frame.
  • the calculation unit 8 (object region recognition unit 82) detects a position that is a candidate for an object in the image acquired in step S201. Then, in step S204, the calculation unit 8 (class identification unit 83) performs class classification of the objects detected as candidates. In step S205, the calculation unit 8 confirms whether or not the target class exists in the class obtained as the class identification result.
  • the calculation unit 8 calculates the bounding box 20 in step S206 when an object of the target class exists in the image signals of all effective pixels obtained at the object detection keyframe recording timing.
  • step S220 the calculation unit 8 (object region recognition unit 82) calculates the ROI 21 based on the bounding box 20. Also in this case, for example, the bounding box 20 may be enlarged to set the ROI 21. The calculation unit 8 (object region recognition unit 82) transmits the ROI 21 calculated in this way to the logic unit 5.
  • step S221 the logic unit 5 has a low compression rate for the pixel area corresponding to the ROI 21 and a high compression rate for the other pixel areas with respect to the image signal read from the array sensor 2. Perform compression processing.
  • the compressed image signal is then written in the DRAM 6 and transferred to the processor 11 by the interface unit 7.
  • the necessary area designated by the ROI 21 has a low compression rate, and sufficient information exists, which enables accurate object detection.
  • step S203 As the process of the calculation unit 8, after step S220, the process returns to step S203, the position of the object candidate for the next frame is detected, and the class of the detected object is identified in step S204.
  • reading from the array sensor 2 is performed for all effective pixels in each frame. Therefore, even when the process returns to step S203 after steps S220 and S211, the calculation unit 8 performs the steps.
  • S203 it is possible to scan the range of all effective pixels to detect object candidates. By scanning the range of all effective pixels and detecting object candidates, it is possible to always cope with the appearance of a new target class object during the key frame recording timing. However, in this case, if the calculation unit 8 detects the object candidates only in the area within the ROI 21, the processing load on the calculation unit 8 can be reduced.
  • the computing unit 8 updates the ROI 21 in steps S206 and S220 in response to the presence of the target class being confirmed. Therefore, the area compressed at a low compression rate in the logic unit 5 is also updated according to the position of the object in each frame.
  • step S205 If it is determined in step S205 that the target class does not exist, the processing of the calculation unit 8 returns to step S202 and waits for the object detection keyframe recording timing.
  • intelligent compression processing is performed in which a portion required for analysis, that is, the ROI 21 in which the object of the target class exists is compressed at a low compression rate, and the compression processing is performed at a high compression rate other than that. Will be seen.
  • the object detection key frame recording timing mentioned in the second embodiment is always generated at a certain time interval and the ROI based on the semantic segmentation is generated in the fourth embodiment. Applicable.
  • the intelligent compression processing of the fourth embodiment described above and the classified image adaptation processing of the first embodiment in combination the effect of reducing the data amount and improving the detection accuracy is made more effective. Obtainable.
  • Active sampling will be described as a process of the fifth embodiment that can be executed by the sensor device 1 having the configuration of FIG. 1. Active sampling refers to the process of dynamically changing the frame rate depending on the presence or absence of an object. It can be said that this is compression of the amount of data in the time axis direction depending on the presence or absence of an object. Further, it is possible to reduce the power consumption of the sensor device 1.
  • FIG. 17A shows a state in which no person is included in the captured image.
  • the frame rate is set to a low rate, for example, 1 fps.
  • FIG. 17B shows a state in which a person is detected in the captured image. In such a case, the frame rate is changed to a high rate, for example, 100 fps.
  • the frame rate is lowered when it is not particularly necessary (when a person is not detected), and when it is necessary (when a person is detected). ) Increases the frame rate to make the amount of information dense.
  • FIG. 18 shows an example of active sampling processing.
  • the calculation unit 8 (keyframe selection unit 81) sets the ADC / pixel selector 3 to capture a moving image in accordance with, for example, the setting of the idling mode stored in the calculation unit 8 in advance.
  • the setting of the idling mode and the setting of the normal mode are stored in the parameter selection unit 84 in the calculation unit 8.
  • the active sampling is provided with an idling mode and a normal mode.
  • the idling mode is a mode before it is determined that an object of the target class is in the image pickup screen. In this idling mode, a moving image is captured at a frame rate slower than in the normal mode. It is considered that the idling mode is started by a command from the outside of the sensor device 1. Further, the idling mode may be made to respond to an instruction of the idling mode data acquisition timing interval from the outside of the sensor device 1. For example, when there is an instruction for 60 seconds, the object detection key frame recording timing is set at intervals of 60 seconds.
  • the normal mode is a normal moving image capturing mode. For example, it responds to a command for the data acquisition timing interval for normal mode from the outside of the sensor device 1. Normally, a moving image is shot at a frame rate faster than that in the idling mode. For example, when an instruction of 0.01 sec is given, the mode is set to take an image at an interval of 0.01 sec (100 fps).
  • the moving image capturing is performed at, for example, 1 sec intervals.
  • the setting of the idling mode and the setting of the normal mode are not necessarily stored in the calculation unit 8, but may be stored in an external memory of the calculation unit 8.
  • the frame rates in idling mode and normal mode are examples. Further, it is desirable that the set values of the idling mode and the normal mode can be rewritten by an external device such as the processor 11.
  • step S302 the calculation unit 8 (object region recognition unit 82) detects a position that is a candidate for an object in the acquired image.
  • step S303 the calculation unit 8 (class identification unit 83) classifies the objects detected as candidates.
  • step S304 the calculation unit 8 confirms whether or not the target class exists in the class obtained as the class identification result. If the target class does not exist, the arithmetic unit 8 performs the processes of steps S301, S302, and S303. That is, the image of the next frame in the idling mode is acquired, and similarly, the position as a candidate of the object is detected and the class is identified. In this case, assuming that the image is captured at 1 fps, for example, these processes are performed on the image after 1 second.
  • the calculation unit 8 advances the process from step S304 to S305.
  • the calculation unit 8 (key frame selection unit 81) sets the moving image capturing to the ADC / pixel selector 3 according to the stored normal mode setting, and instructs the ADC / pixel selector 3 to capture the normal mode. Therefore, if the normal mode is set to 100 fsp, moving image capturing is performed at intervals of 0.01 sec, for example.
  • the arithmetic unit 8 performs the processes of steps S302 and S303 in the state where the mode is switched to the normal mode.
  • the normal mode is continued, while if the target class does not exist, the process returns to step S301 and the idling mode is switched to.
  • the processing as active sampling is performed as described above. This reduces the frame rate and compresses the amount of data, especially during the period when the target class does not exist, thereby reducing power consumption.
  • the arithmetic unit 8 is configured to instruct the ADC / pixel selector 3 to change the frame rate and change the frame rate, the arithmetic unit 8 may instruct the logic unit 5 to convert the frame rate. For example, reading from the array sensor 2 is always performed at 100 fps, and in the idling mode, the logic unit 5 is instructed to perform frame thinning. This makes it possible to reduce the amount of data regarding the transmission to the processor 11.
  • a parameter used in the image processing in the logic unit 5 is assumed, and the parameter of the image processing used in the logic unit 5 is set so as to satisfy a threshold value set in the sensor device 1 ( Be adjusted and changed). Further, as parameters, parameters used for image reading processing such as signal reading by the ADC / pixel selector 3 and exposure operation by the array sensor 2 are also assumed. The control parameters of the image pickup processing operation of the ADC / pixel selector 3 and the array sensor 2 are set (adjusted / changed) so as to satisfy the threshold value set in the sensor device 1, for example.
  • the parameter used in the logic unit 5 is selected according to the class identification, but it is assumed that the selected parameter is set (adjusted / changed) based on the threshold value. You can also Alternatively, it is conceivable that the parameter is not limited to the parameter selected based on the class identification, and that the parameter used in the logic unit 5, the ADC / pixel selector 3 or the array sensor 2 is set based on the threshold value. To be
  • parameters relating to the imaging processing are exemplified as follows. -Image aspect ratio-Resolution-Number of color gradations (number of colors or bits) ⁇ Contrast adjustment value ⁇ Sharpness adjustment value ⁇ Gray level adjustment value ⁇ Gamma correction value ⁇ Sampling rate conversion ratio
  • the parameters of the aspect ratio and resolution of the image are also reflected in the ROI 21.
  • the number of color gradations, contrast adjustment value, sharpness adjustment value, gray level adjustment value, gamma correction value, and resolution are parameters relating to image quality.
  • the sampling rate conversion ratio is a parameter of time resolution.
  • the sampling rate and the resolution for example, the resolution set when the ADC / pixel selector 3 is read
  • Shutter speed of array sensor 2 exposure time
  • the setting according to the threshold value of such a parameter is, for example, when the processor 11 performs object detection based on learning using a deep neural network (DNN: Deep Neural Network), a practical accuracy for the output of the object detection.
  • DNN Deep Neural Network
  • a practical accuracy for the output of the object detection In order to reduce the amount of data, speed up processing, and reduce power consumption while ensuring the above. That is, parameters such as the resolution and the number of colors are changed to reduce the amount of image pickup data, but the accuracy of object detection can be maintained at a necessary level also by this.
  • the confidence rate is the ratio of certainty that an object can be correctly identified and detected.
  • the confidence rate is changed by changing parameters relating to image pickup or image quality such as resolution, number of colors, and temporal resolution of image data to be analyzed. That is, the accuracy of image analysis and object detection changes.
  • the confidence rate for object detection has never been higher, but in reality, the highest rate is not always required.
  • the degree of accuracy is not required.
  • the confidence rate CR required as the accuracy of object detection varies depending on various factors such as the purpose of detection, target, type of device / application program, time, and area. Furthermore, the confidence rate varies depending on the analysis ability of the processor 11 and the degree of learning, and also varies depending on the detection target and class. From these facts, it is possible to output an image signal that meets requirements for object detection and the like by determining a threshold value based on an appropriate required confidence rate and changing the parameter accordingly.
  • parameters that are equal to or higher than the threshold 0.80 as the confidence rate CR are calculated, and the parameters used in the logic unit 5 and the like are set.
  • the "threshold” may be considered as a required value as a confidence rate, but in the sense of a threshold calculated for parameter adjustment, a parameter for obtaining a required confidence rate as a "threshold”. It can also be thought of as the value of.
  • the processing of “setting a threshold value of a parameter and performing processing using the parameter set based on the threshold value” is a processing method such as the following [1] and [2]. Is assumed. [1] Calculating a threshold value of an index value such as a confidence rate suitable for a usage mode or a usage environment, and setting a parameter to be actually used as a parameter value that gives an index value exceeding the threshold value of the index value.
  • the threshold value of the parameter is set from the viewpoint of the index value of object detection.
  • a threshold value of a parameter for obtaining a required value as an index value such as a confidence rate is calculated, and a parameter actually used is set based on the threshold value. That is, the threshold value of the parameter is set in terms of the value of the parameter itself.
  • a threshold is set as in the above [1] or [2] based on the confidence rate, and the parameters actually used are parameters adapted so that the image data amount is as small as possible.
  • a parameter is calculated in real time (for example, periodically during imaging), and the parameter is dynamically changed. For example, by calculating an appropriate threshold value or a parameter corresponding to it by DNN processing according to the application of the sensor device 1, the target class or the imaging environment, and changing the parameter, speedup and power consumption reduction adapted to the application or the like, Perform high precision.
  • the parameter adjustment is performed by setting a threshold value based on the confidence rate of object detection, and calculating a parameter set value that is as close to the threshold value as possible and does not fall below the threshold value. I shall.
  • FIG. 20A shows an image classified as a “human face” as a class
  • FIG. 20B shows an image classified as a “road sign (sign)” as a class.
  • the image on the right side is not appropriate, and the parameter of the central image is appropriate as the parameter setting.
  • any image is appropriate.
  • the parameter of the image on the right is suitable for the parameter setting.
  • the detection accuracy and the required accuracy for the image signal quality differ depending on the object class as described above, it is appropriate to set threshold values and change parameters according to the class.
  • FIG. 21 shows a configuration example of the sensor device 1.
  • the same components as those in FIG. 1 are designated by the same reference numerals to avoid redundant description.
  • the configuration of FIG. 21 is different from that of FIG. 1 in that a threshold setting unit 85 is provided as an arithmetic function in the arithmetic unit 8 configured as, for example, an AI processor.
  • the threshold setting unit 85 has a function as a DNN engine, and regards all or some of the parameters used for the image processing of the logic unit 5 or the imaging processing (processing of the array sensor 2 and ADC / pixel selector 3) related to imaging by the array sensor 2. , And sets the threshold value of the parameter.
  • the threshold value setting unit 85 causes all or part of the logic unit 5, the array sensor 2, and the ADC / pixel selector 3 to perform processing using the parameter changed based on the threshold value.
  • the threshold setting unit 85 changes, for example, a parameter used for image processing in the logic unit 5 based on the threshold, and sets the changed parameter in the logic unit 5.
  • the threshold value setting unit 85 changes the parameters used for the imaging operation such as the exposure operation in the array sensor 2, the reading process of the ADC / pixel selector 3, and the AD conversion process based on the threshold value, and the changed parameter is used. Are set in the array sensor 2 and the ADC / pixel selector 3.
  • FIG. 22 shows a processing example of the calculation unit 8 of such a sensor device 1.
  • FIG. 22 shows an example in which the processing of the threshold setting unit 85 described above is added to the classification image adaptation processing of FIG.
  • the same processes as those in FIG. 5 are designated by the same step numbers and the description thereof will be omitted. 22, it is assumed that steps S150 and S151 as processing by the threshold value setting unit 85 are added to the processing of FIG.
  • step S150 the calculation unit 8 determines whether or not it is the threshold value calculation timing. If the threshold value calculation timing, the process proceeds to step S151. If not, the process proceeds to step S101.
  • the threshold calculation timing is, for example, the following timing. a. Every predetermined time interval: For example, every one hour interval from the start of imaging b. Every predetermined set time: For example, every 0:00 am time c. Every time a predetermined target class appears: For example, every time the target class appears 1000 times d. Every predetermined target class imaging time: For example, every 5 hours when the target class is imaged e. Timing according to an instruction from the outside: an instruction from a device / device side in which the sensor device 1 is mounted, such as the processor 11
  • the calculation unit 8 calculates the threshold value according to the threshold value calculation policy in step S151. That is, the threshold value is determined and the parameter corresponding to the threshold value is set.
  • This threshold calculation policy (threshold) is divided into several policies depending on the type and way of capturing parameters of the imaging process or image processing to be noted when calculating the threshold, and it differs depending on the application. An example is given below.
  • the inflection point of the downward curve of the confidence rate If the resolution is decreased, the data size will decrease and the calculation cost will also decrease, but in general, the confidence rate will decrease.
  • the horizontal axis represents the resolution and the vertical axis represents the confidence rate.
  • the decrease in the confidence rate greatly decreases when the resolution becomes lower than a certain resolution (inflection point). Therefore, for example, the inflection point of the curve of the relationship between the confidence rate and the resolution is obtained while changing the resolution.
  • the inflection point or the vicinity of the inflection point is considered as a threshold value and parameters are set so as to reduce the resolution.
  • the classification rate for object detection does not necessarily mean that the confidence rate is higher when the number of colors is larger, but there is an optimum number of colors that maximizes the confidence rate depending on the target class.
  • the horizontal axis shows the number of color gradations, and the vertical axis shows the confidence rate.
  • the maximum value (the peak of the curve of the relationship between the confidence rate and the number of color gradations) is considered as a threshold value, or a predetermined range close to the maximum value (a value obtained by decreasing the confidence rate of a predetermined percentage) is considered as a threshold value. Then, the parameter of the number of color gradations is set according to the threshold value.
  • the parameter setting that enables N-hour imaging is obtained, and the parameter is set so that the confidence rate becomes the highest (or a predetermined value or more). For example, it is conceivable that the threshold value such as the confidence rate is lowered according to the remaining battery amount and the parameter setting is performed according to the confidence rate so that the imaging time can be obtained as long as possible.
  • Object tracking using time resolution capable of maintaining object tracking is to recognize a specific detected object (object) in a frame traveling direction by tracking recognition in a frame of continuous image signals.
  • the time resolution of the image signal is lowered, the calculation cost for object tracking becomes high.
  • the parameter that can maintain the object tracking is used as a threshold value, and the time resolution and other parameters are determined in order to reduce the calculation cost of the object tracking.
  • FIG. 24 shows an example of the threshold value calculation processing of the calculation unit 8.
  • the processing of the calculation unit 8 in FIG. 24 is processing executed by the functions of the object area recognition unit 82, the class identification unit 83, and the threshold value setting unit 85 shown in FIG.
  • the arithmetic unit 8 acquires an image signal in 1-frame units from the array sensor 2 in step S160.
  • step S161 the calculation unit 8 (object region recognition unit 82) detects a position that is a candidate for an object in the acquired frame. That is, the calculation unit 8 searches for a candidate of an object to be detected in the frame image, and obtains the position of one or a plurality of candidates (positional coordinates within the image).
  • step S162 the calculation unit 8 (class identification unit 83) classifies detected objects into classes. That is, each object candidate is classified and classified.
  • step S163 the calculation unit 8 confirms whether or not the target class exists in the class obtained as the class identification result.
  • the target class is, for example, a class set by the processor 11 as described above. That is, a class that is the target of object detection by the processor 11 is assumed.
  • the calculation unit 8 returns to step S160 and acquires the image data of the next frame. If the target class exists, the calculation unit 8 advances the process from steps S163 to S164.
  • the calculation unit 8 calculates accurate position coordinates (bounding box 20) surrounding the object area classified into the class.
  • the bounding box 20 is as described with reference to FIGS. 6F and 6G.
  • step S165 the calculation unit 8 (threshold value setting unit 85) changes the parameters used in the image capturing process or the image process for the target class surrounded by the bounding box 20 according to the preset threshold calculation policy while changing the threshold and the parameter. To calculate.
  • step S166 the calculation unit 8 (threshold value setting unit 85) records the information of the threshold value, the parameter, the target class, and the threshold value calculation policy calculated in step S165 in association with each other. For example, it is recorded in a recording area inside the arithmetic unit 8, is recorded in a predetermined area of the memory 6, or is transferred to the processor 11 and recorded. As a result, thresholds and parameters according to the target class are set.
  • step S151 of FIG. 22 the threshold and parameters are set as described above, for example. Therefore, the parameter set for a certain target class is changed every time the threshold value calculation timing is reached. For example, if the person is the target class, all or some of the parameters of the parameter set corresponding to the person are changed according to the threshold value.
  • steps S101 to S107 in FIG. 22 are the same as those in FIG. 5, in this case, the parameter set is selected according to the target class. Then, in step S107, the parameter set is set in the logic unit 5.
  • the parameter set set in the logic unit 5 is a parameter set adapted to the target class, but is a parameter set changed based on the threshold value calculated in the process of step S151.
  • the arithmetic unit 8 (threshold value setting unit 85) performs necessary processing, for example, transfer of a parameter to the logic unit 5 or a change instruction so that the parameter used in the logic unit 5 is changed in this way.
  • the parameters relating to the image processing and the imaging processing are set to values that reduce the image data amount as much as possible based on the threshold value. Therefore, the image signal output from the interface unit 7 can have an image quality or the like that can maintain the accuracy of object detection required by the processor 11, and can have a small amount of data.
  • processing example of FIG. 22 described above adds the concept of parameter change based on the threshold setting to the classification image adaptation processing of FIG. 5, but may not necessarily be combined with the classification image adaptation processing.
  • a processing example of only steps S150, S151, S107, and S108 processing example in which steps S101 to S107 are omitted in FIG. 22 is also conceivable.
  • the parameters used in the image processing in the logic unit 5 or the parameters used in the imaging processing used in the array sensor 2 or the ADC / pixel selector 3 are set based on the threshold value calculation in step S151. Then, at the time of step S107, the parameter set according to the threshold value is set in the logic unit 5, the array sensor 2, and the ADC / pixel selector 3. That is, the calculation unit 8 (threshold value setting unit 85) transfers the parameter set according to the threshold value to a part or all of the logic unit 5, the array sensor 2, and the ADC / pixel selector 3, or issues a change instruction. To do.
  • the parameters set by default in the logic unit 5, the array sensor 2, the ADC / pixel selector 3, for example, are sequentially changed based on the threshold value calculation without depending on the idea of using the parameter set according to the class. Processing that will be performed will be realized.
  • FIG. 25 is a configuration example in which the arithmetic unit 8 is provided separately from the sensor device 1 as the terminal device 100.
  • the calculation unit 8 is provided in the terminal device 100 as a chip separate from the sensor device 1, and can communicate with the sensor device 1 via the interface unit 7.
  • the calculation unit 8 includes a threshold value setting unit 85 that serves as a DNN engine for setting a threshold value.
  • the arithmetic unit 8 in FIG. 25 can also perform the same processing as in the case of FIG.
  • the calculation unit 8 may be separate from the sensor device 1.
  • the configuration example of FIG. 26 is an example in which the threshold value calculation unit 85 serving as a DNN engine for setting the threshold value is formed by a processor or the like independent of the sensor device 1 and the calculation unit 8.
  • the terminal device 100 has a configuration including the sensor device 1 (including the calculation unit 8), the processor 11, the external sensor 12, and the threshold value setting unit 85.
  • the threshold value setting unit 85 can communicate with the sensor device 1 via the interface unit 7, and can perform the same processing as that in FIG. 22 in cooperation with the calculation unit 8.
  • the sensor device 1 and the calculation unit 8 may be configured separately as shown in FIG. 26, and the threshold value setting unit 85 may be configured by a separate processor.
  • the key frame selection unit 81, the object area recognition unit 82, the class identification unit 83, the parameter selection unit 84, and the like are also arranged outside the sensor device 1 or outside the calculation unit 8 similarly to the threshold setting unit 85. It is also conceivable that the configuration is changed. This point can also be applied as a modification of the configuration of FIG.
  • Seventh Embodiment Active Area Clipping>
  • the ROI of the above-described second embodiment is used to realize more efficient processing.
  • the processing of the following seventh embodiment can be applied to any of the configurations shown in FIGS. 1, 21, 25, and 26.
  • the ROI 21 is set for the detection target object as illustrated in FIG. 7 and FIG. 8 and only the pixels within the area designated as the ROI 21 are read from the array sensor 2 Said. It should be noted that the area defined as the ROI 21 may be concentrated on a specific area in the image.
  • FIG. 27A exemplifies an image of a surveillance camera in a building, for example. It is assumed that the ROI 21 is set with a person as a detection target.
  • the figure shows the position in the image of the bounding box 20 that is the source of the ROI 21 set within the past predetermined period.
  • the set position of the bounding box 20 (and the ROI 21) is an area near the floor in the image within the past predetermined period. In other words, since no person appears in the area near the ceiling in the image, it can be said that the person detection process does not have to be performed for the image area near the ceiling.
  • the area where the “person” to be detected appears that is, the area where the bounding box 20 is set in the past predetermined period is set as the active area RA
  • the “person” to be detected is An area that does not appear, that is, an area where the bounding box 20 has not been set in the past predetermined period is set as an inactive area DA.
  • FIG. 28A shows an example of an image of a surveillance camera that monitors a vehicle as a detection target on a highway, for example, and shows the position of the bounding box 20 set in the past predetermined period. In this case as well, the vehicle appears near the road surface, so that the active area RA and the inactive area DA can be set as shown in FIG. 27B.
  • the active area RA is set as in the examples of FIGS. 27B and 28B described above, and the object detection is performed from the detection signal of the active area RA in the imaging pixel by the array sensor 2. Then, the ROI 21 generated based on the detection of the object is instructed to the signal processing unit 30 as an area related to acquisition of the detection signal or signal processing of the detection signal, as in the second embodiment.
  • the object detection key frame is a frame in which information is acquired in all effective pixel areas of the array sensor 2 for object detection in the processing of the second embodiment. In the key frame, acquiring information only in the pixel area of the active area RA is the processing of the seventh embodiment.
  • FIG. 29 shows a processing example of the calculation unit 8. The same steps as those in FIG. 9 are designated by the same step numbers.
  • step S250 the operation unit 8 determines whether or not it is the calculation timing of the active area for the key frame. If the calculation timing is reached, the process proceeds to step S161. If it is not the threshold value calculation timing, the process proceeds to step S201.
  • the calculation timing of the active area RA for the key frame may be as follows. a. Every predetermined time interval: For example, every one hour from the start of imaging b. Every predetermined set time: For example, every 0:00 am time c. Every time a predetermined target class appears: For example, every time the target class appears 1000 times d. Every predetermined target class shooting time: every time the target class is imaged for 5 hours e. Timing according to an instruction from the outside: an instruction from a device / device side in which the sensor device 1 is mounted, such as the processor 11
  • step S161 the calculation unit 8 calculates the active area RA for the key frame.
  • step S271 the calculation unit 8 (object region recognition unit 82) determines that the bounding box 20 of the target class has appeared within the past predetermined period on the array sensor 2. Calculate the pixels in the appearance area of. In this case, all the pixels in each of the appearing bounding boxes 20 become the pixels of the appearance area, but a range is set so as to envelop all the appearing bounding boxes 20, and all the pixels in the range are set. It should be a pixel in the appearance area. Further, a range in which all the appearing bounding boxes 20 are envelope-enclosed may be expanded in the circumferential direction, and all pixels in the range may be used as pixels in the appearing area. The pixel range including all the appearance areas of the bounding box 20 calculated in this way becomes the active area RA.
  • step S272 the calculation unit 8 (object region recognition unit 82) records the calculated pixel area together with the class name as the active area RA for the key frame. For example, it is recorded in a recording area inside the arithmetic unit 8, is recorded in a predetermined area of the memory 6, or is transferred to the processor 11 and recorded. Thereby, the active area RA according to the target class is set.
  • the calculation unit 8 determines whether or not the object detection key frame recording timing has come in step S201.
  • the object detection keyframe recording timing is the timing at which information is acquired from the array sensor 2 for object detection.
  • the object detection key frame recording timing may be determined by a command from the outside of the sensor device 1 such as the processor 11, for example. For example, it is assumed that the object detection key frame recording timing is determined at intervals of 60 seconds in response to an instruction of 60 seconds.
  • the calculation unit 8 proceeds to step S252, and acquires the AD-converted image data of the pixels of the active area RA of the array sensor 2.
  • the ADC / pixel selector 3 is made to output the image signal of one frame from the array sensor 2 for the active area RA.
  • step S203 the calculation unit 8 (object region recognition unit 82) detects a position that is a candidate for an object in the acquired image.
  • the steps S203 to S208 are the same as those in FIG.
  • the object detection in step S203 can be performed only in the active area RA instead of in the entire effective pixel area of one frame.
  • the active area RA is an area where the target class object may be detected.
  • the area other than the active area RA is an area in which object detection of the target class is almost impossible. Therefore, by reducing the number of read pixels of the object detection key frame and reducing the detection range, it is possible to realize processing efficiency and power consumption reduction.
  • the active area RA is set based on the history of the bounding box 20, but the active area RA may be set based on the history of the ROI 21. In that case, it is possible to include a history of pixel positions of the ROI (ROI 21 (NEW) described in FIG. 10) that moves for each frame.
  • the threshold value of the sixth embodiment is determined based on the correct rate of object detection calculated by DNN, and the parameter is set.
  • the distribution of the resolution of the attention area in the AROI 22 is determined according to the threshold value set using the confidence rate.
  • An example is schematically shown in FIG. Consider the case where people are the target class and the case where faces are the target class.
  • the second resolution is selected as a parameter adapted so that the image data amount is as small as possible, and image processing is performed on pixels in the template.
  • the threshold thP for human detection is 0.80
  • the second resolution is selected as a parameter adapted so that the image data amount is as small as possible, and image processing is performed on pixels in the template.
  • the second resolution is suitable for both cases, but in some cases, the threshold thF is set to 0.94 for the face detection and the first resolution is set to 0.60 for the person detection. It is also conceivable that the third resolution will be set.
  • a threshold value is set for each target class, and parameters such as image processing and readout processing for pixels in the AROI 22 are set.
  • FIG. 32 shows a processing example of the calculation unit 8. Steps S250 and S251 of FIG. 32 are the same as steps S250 and S251 of FIG. 29, and the calculation unit 8 calculates the active area RA (processing of FIG. 30) at the detection timing of the active area RA of the key frame.
  • Steps S260 and S261 are the same as steps S150 and S151 of FIG. That is, in step S260, the calculation unit 8 (threshold value setting unit 85) determines whether or not it is the threshold value calculation timing, and if it is the threshold value calculation timing, the threshold value calculation (the process of FIG. 24) is performed in step S261.
  • the calculation unit 8 determines whether or not it is the threshold value calculation timing, and if it is the threshold value calculation timing, the threshold value calculation (the process of FIG. 24) is performed in step S261.
  • the calculation unit 8 (object region recognition unit 82) performs steps S160 to S164 as described above. Then, in step S165, the calculation unit 8 (threshold value setting unit 85) changes the resolution of the target class surrounded by the bounding box 20 and sets a threshold value based on the confidence rate from the data of the pixel area corresponding to the AROI pattern as the template. Is calculated and the parameter is set based on the threshold.
  • the parameters are set according to the threshold value for the AROI pattern as the template according to the class. For example, the resolution for the area on the AROI pattern is set.
  • step S166 information about the threshold, the target class, the AROI pattern, the necessary parameters, and the threshold calculation policy is recorded in association with each other. For example, it is recorded in a recording area inside the arithmetic unit 8, is recorded in a predetermined area of the memory 6, or is transferred to the processor 11 and recorded.
  • step S201 of FIG. 32 the calculation unit 8 determines whether or not the object detection key frame recording timing has come, and when the object detection key frame recording timing has come, the calculation unit 8 proceeds to step S252 and activates the array sensor 2.
  • the image data AD-converted for the pixels in the area RA is acquired.
  • the ADC / pixel selector 3 is made to output the image signal of one frame from the array sensor 2 for the active area RA.
  • step S203 the calculation unit 8 (object region recognition unit 82) detects a position that is a candidate for an object in the acquired image.
  • the steps S203 to S206 are the same as those in FIG.
  • the calculation unit 8 (parameter selection unit 84) selects the AROI pattern calculated and recorded based on the threshold value in step S262.
  • the calculation unit 8 (object region recognition unit 82) calculates the actual AROI 22 based on the bounding box 20. That is, the actual pixel area corresponding to the selected AROI pattern is obtained. For example, an AROI 22 is obtained by adjusting the size of the template according to the size of the bounding box 20. Then, the calculation unit 8 (object region recognition unit 82) transmits the AROI 22 (AROI pattern and region) to the ADC / pixel selector 3.
  • the ADC / pixel selector 3 AD-converts only the corresponding pixel in the AROI 22 of the array sensor 2 and outputs it.
  • the calculation unit 8 acquires the image data of the next frame including the information of only the pixels in the AROI 22 in step S212. Then, the processes of steps S203 and S204 are performed on the acquired frame.
  • Ninth Embodiment Active Sampling by Threshold Setting>
  • the active sampling method described in the fifth embodiment is added with a method of determining the time resolution based on the accuracy rate of object detection in which DNN is calculated. That is, the processing for dynamically changing the frame rate is performed based on the average movement amount of the target class per unit time.
  • the processing of the ninth embodiment can be carried out in any of the configurations shown in FIGS. 21, 25, and 26.
  • the normal mode and the idling mode are prepared, and the idling mode is set to a low frame rate during the period when the presence of the target class is not detected in the captured image.
  • the normal mode is set and the frame rate is increased to make the amount of information dense.
  • the ninth embodiment sets the frame rate in the normal mode according to the target class.
  • FIG. 32A is an example of an image when the sensor device 1 is used in a surveillance camera that captures an image of a highway.
  • the target class is a car, and the bounding box 20 is shown.
  • the dashed arrow indicates the moving direction of a vehicle.
  • FIG. 32B shows the movement amount of the vehicle being imaged as a change in the position (pixel position) on the image of the bounding box 20 in successive frames. Considering such a movement amount in many cars, it is assumed that the average movement amount is 1152 pixels / sec. In this case, it is assumed that the sampling rate capable of maintaining object tracking (tracking of an object on successive frame images) is 46 fps.
  • FIG. 33A is an example of an image when the sensor device 1 is used in a surveillance camera in a building.
  • the bounding box 20 is shown with the target class as a person.
  • the dashed arrow indicates the moving direction of a person.
  • FIG. 32B shows the amount of movement of the person being imaged as a change in the position (pixel position) of the bounding box 20 on the image in successive frames. Considering such a movement amount in a large number of people, it is assumed that the average movement amount is 192 pixels / sec. In this case, it is assumed that the frame rate capable of maintaining the object tracking is 5 fps.
  • the frame rate at which object tracking can be maintained is different when the target class is a car and when the target class is a person. Then, if the frame rate at which the object tracking can be maintained is obtained by the DNN according to the target class and the threshold value (the allowable lower limit of the frame rate) is obtained, the object detection is performed while tracking the object while keeping the data amount as small as possible. The accuracy of can be maintained.
  • the frame rate is determined by setting the read timing of the array sensor 2 and the sampling rate of the ADC / pixel selector 3.
  • FIG. 35 shows a processing example of the calculation unit 8.
  • Steps S350 and S351 are the same as steps S150 and S151 of FIG. That is, in step S350, the calculation unit 8 (threshold value setting unit 85) determines whether it is the threshold value calculation timing, and if it is the threshold value calculation timing, the threshold value calculation (the process of FIG. 24) is performed in step S351.
  • the calculation unit 8 (object region recognition unit 82) performs steps S160 to S164 similarly to the above. Then, in step S165, the calculation unit 8 (threshold value setting unit 85) calculates a threshold value (frame rate serving as a threshold value) with which object tracking can be maintained while changing the frame rate for the target class surrounded by the bounding box 20. After that, in step S166, the calculation unit 8 (threshold value setting unit 85) records the threshold value calculated in step S165, the target class, and the threshold value calculation policy information used for the threshold value calculation in association with each other.
  • a threshold value frame rate serving as a threshold value
  • a parameter based on a threshold value according to the target class that is, a value of a frame rate that is as low as possible at a frame rate that can maintain object tracking is set.
  • Steps S301 to S106 in FIG. 35 are the same as those in FIG.
  • the calculation unit 8 keyframe selection unit 81 sets the ADC / pixel selector 3 to capture a moving image in accordance with, for example, the setting of the idling mode stored in the calculation unit 8 in advance. Therefore, if the setting of the idling mode is 1 fsp, moving image capturing is performed at intervals of 1 sec, for example.
  • step S302 the calculation unit 8 (object region recognition unit 82) detects a position that is a candidate for an object in the acquired image.
  • step S303 the calculation unit 8 (class identification unit 83) classifies the objects detected as candidates.
  • step S304 the calculation unit 8 confirms whether or not the target class exists in the class obtained as the class identification result. If the target class does not exist, the calculation unit 8 repeats the processing of steps S301, S302, and S303 via steps S350 and S351. During this period, the process of step S351 is performed at the threshold value calculation timing.
  • step S304 When it is determined in step S304 that the target class exists, the calculation unit 8 advances the process from step S304 to S352.
  • the calculation unit 8 (key frame selection unit 81) sets the parameters stored in the process of step S351 as the normal mode setting, sets the ADC / pixel selector 3 for the moving image capturing, and instructs the ADC / pixel selector 3 to capture the normal mode.
  • the frame rate setting in the normal mode is 5 fsp.
  • the arithmetic unit 8 performs the processes of steps S302 and S303 in the state where the mode is switched to the normal mode.
  • the normal mode is continued, while if the target class is not present, the process returns to step S301 via steps S350 and S351 to switch to the idling mode. Become.
  • the processing as active sampling is performed as described above. This reduces the frame rate and compresses the amount of data, especially during the period when the target class does not exist, thereby reducing power consumption. Even in the normal mode, since the processing is performed at the frame rate adapted according to the target class, the frame rate is considerably low (such as 5 fps described above) depending on the class. Therefore, data amount compression and power consumption reduction are performed even in the normal mode.
  • the arithmetic unit 8 may instruct the logic unit 5 to convert the frame rate. For example, although reading from the array sensor 2 is always performed at 100 fps, the logic unit 5 is instructed to perform frame thinning according to the parameters set in the idling mode and the normal mode. This makes it possible to reduce the amount of data regarding the transmission to the processor 11.
  • the technology according to the present disclosure can be applied to various products.
  • the technology according to the present disclosure is realized as a device mounted on any type of moving body such as an automobile, an electric vehicle, a hybrid electric vehicle, a motorcycle, a bicycle, a personal mobility, an airplane, a drone, a ship, and a robot. May be.
  • FIG. 36 is a block diagram showing a schematic configuration example of a vehicle control system which is an example of a mobile body control system to which the technology according to the present disclosure can be applied.
  • the vehicle control system 12000 includes a plurality of electronic control units connected via a communication network 12001.
  • the vehicle control system 12000 includes a drive system control unit 12010, a body system control unit 12020, a vehicle exterior information detection unit 12030, a vehicle interior information detection unit 12040, and an integrated control unit 12050.
  • a microcomputer 12051, a voice image output unit 12052, and an in-vehicle network I / F (Interface) 12053 are shown as a functional configuration of the integrated control unit 12050.
  • the drive system control unit 12010 controls the operation of devices related to the drive system of the vehicle according to various programs.
  • the drive system control unit 12010 includes a drive force generation device for generating a drive force of a vehicle such as an internal combustion engine or a drive motor, a drive force transmission mechanism for transmitting the drive force to wheels, and a steering angle of the vehicle. It functions as a steering mechanism for adjusting and a control device such as a braking device for generating a braking force of the vehicle.
  • the body system control unit 12020 controls the operation of various devices mounted on the vehicle body according to various programs.
  • the body system control unit 12020 functions as a keyless entry system, a smart key system, a power window device, or a control device for various lamps such as a head lamp, a back lamp, a brake lamp, a winker, or a fog lamp.
  • the body system control unit 12020 may receive radio waves or signals of various switches transmitted from a portable device that substitutes for a key.
  • the body system control unit 12020 receives inputs of these radio waves or signals and controls the vehicle door lock device, power window device, lamp, and the like.
  • the vehicle exterior information detection unit 12030 detects information outside the vehicle equipped with the vehicle control system 12000.
  • the imaging unit 12031 is connected to the vehicle exterior information detection unit 12030.
  • the vehicle exterior information detection unit 12030 causes the image capturing unit 12031 to capture an image of the vehicle exterior and receives the captured image.
  • the vehicle exterior information detection unit 12030 may perform object detection processing or distance detection processing such as people, vehicles, obstacles, signs, or characters on the road surface based on the received image.
  • the image pickup unit 12031 is an optical sensor that receives light and outputs an electric signal according to the amount of received light.
  • the imaging unit 12031 can output the electric signal as an image or can output as the distance measurement information.
  • the light received by the imaging unit 12031 may be visible light or invisible light such as infrared light.
  • the in-vehicle information detection unit 12040 detects in-vehicle information.
  • a driver state detection unit 12041 that detects the state of the driver is connected.
  • the driver state detection unit 12041 includes, for example, a camera that images the driver, and the in-vehicle information detection unit 12040 determines the degree of fatigue or concentration of the driver based on the detection information input from the driver state detection unit 12041. It may be calculated or it may be determined whether or not the driver is asleep.
  • the microcomputer 12051 calculates a control target value of the driving force generation device, the steering mechanism, or the braking device based on the information inside or outside the vehicle acquired by the outside information detection unit 12030 or the inside information detection unit 12040, and the drive system control unit.
  • a control command can be output to 12010.
  • the microcomputer 12051 realizes functions of ADAS (Advanced Driver Assistance System) including avoidance or impact mitigation of vehicle collision, follow-up traveling based on inter-vehicle distance, vehicle speed maintenance traveling, vehicle collision warning, vehicle lane departure warning, and the like. It is possible to perform cooperative control for the purpose.
  • ADAS Advanced Driver Assistance System
  • the microcomputer 12051 controls the driving force generation device, the steering mechanism, the braking device, or the like based on the information around the vehicle acquired by the vehicle exterior information detection unit 12030 or the vehicle interior information detection unit 12040, so that the driver's It is possible to perform cooperative control for the purpose of autonomous driving, which autonomously travels without depending on the operation.
  • the microcomputer 12051 can output a control command to the body system control unit 12030 based on the information on the outside of the vehicle acquired by the outside information detection unit 12030.
  • the microcomputer 12051 controls the headlamps according to the position of the preceding vehicle or the oncoming vehicle detected by the vehicle exterior information detection unit 12030, and performs cooperative control for the purpose of antiglare such as switching the high beam to the low beam. It can be carried out.
  • the voice image output unit 12052 transmits an output signal of at least one of a voice and an image to an output device capable of visually or audibly notifying information to a passenger or outside the vehicle.
  • an audio speaker 12061, a display unit 12062, and an instrument panel 12063 are illustrated as output devices.
  • the display unit 12062 may include at least one of an onboard display and a head-up display, for example.
  • FIG. 37 is a diagram showing an example of the installation position of the imaging unit 12031.
  • the image pickup unit 12031 includes image pickup units 12101, 12102, 12103, 12104, and 12105.
  • the image capturing units 12101, 12102, 12103, 12104, and 12105 are provided at positions such as the front nose of the vehicle 12100, the side mirrors, the rear bumper, the back door, and the upper part of the windshield inside the vehicle.
  • the image capturing unit 12101 provided on the front nose and the image capturing unit 12105 provided on the upper part of the windshield in the vehicle interior mainly acquire an image in front of the vehicle 12100.
  • the imaging units 12102 and 12103 included in the side mirrors mainly acquire images of the side of the vehicle 12100.
  • the image capturing unit 12104 provided in the rear bumper or the back door mainly acquires an image of the rear of the vehicle 12100.
  • the imaging unit 12105 provided on the upper part of the windshield in the vehicle interior is mainly used for detecting a preceding vehicle, a pedestrian, an obstacle, a traffic signal, a traffic sign, a lane, or the like.
  • FIG. 37 shows an example of the shooting range of the imaging units 12101 to 12104.
  • the imaging range 12111 indicates the imaging range of the imaging unit 12101 provided on the front nose
  • the imaging ranges 12112 and 12113 indicate the imaging ranges of the imaging units 12102 and 12103 provided on the side mirrors
  • the imaging range 12114 indicates The imaging range of the imaging part 12104 provided in a rear bumper or a back door is shown. For example, by overlaying the image data captured by the image capturing units 12101 to 12104, a bird's-eye view image of the vehicle 12100 viewed from above can be obtained.
  • At least one of the imaging units 12101 to 12104 may have a function of acquiring distance information.
  • at least one of the image capturing units 12101 to 12104 may be a stereo camera including a plurality of image capturing elements, or may be an image capturing element having pixels for phase difference detection.
  • the microcomputer 12051 based on the distance information obtained from the imaging units 12101 to 12104, the distance to each three-dimensional object within the imaging range 12111 to 12114 and the temporal change of this distance (relative speed with respect to the vehicle 12100).
  • the three-dimensional object that is the closest three-dimensional object on the traveling path of the vehicle 12100 and travels in the substantially same direction as the vehicle 12100 at a predetermined speed can be extracted as a preceding vehicle. it can.
  • the microcomputer 12051 can set an inter-vehicle distance to be secured in advance before the preceding vehicle, and can perform automatic braking control (including follow-up stop control), automatic acceleration control (including follow-up start control), and the like. In this way, it is possible to perform cooperative control for the purpose of autonomous driving or the like that autonomously travels without depending on the operation of the driver.
  • the microcomputer 12051 uses the distance information obtained from the imaging units 12101 to 12104 to convert three-dimensional object data regarding a three-dimensional object to other three-dimensional objects such as two-wheeled vehicles, ordinary vehicles, large vehicles, pedestrians, and utility poles. It can be classified and extracted and used for automatic avoidance of obstacles. For example, the microcomputer 12051 distinguishes obstacles around the vehicle 12100 into obstacles visible to the driver of the vehicle 12100 and obstacles difficult to see. Then, the microcomputer 12051 determines the collision risk indicating the risk of collision with each obstacle, and when the collision risk is equal to or more than the set value and there is a possibility of collision, the microcomputer 12051 outputs the audio through the audio speaker 12061 and the display unit 12062. A driver can be assisted for collision avoidance by outputting an alarm to the driver or by performing forced deceleration or avoidance steering through the drive system control unit 12010.
  • At least one of the imaging units 12101 to 12104 may be an infrared camera that detects infrared rays.
  • the microcomputer 12051 can recognize a pedestrian by determining whether or not a pedestrian is present in the images captured by the imaging units 12101 to 12104. To recognize such a pedestrian, for example, a procedure of extracting a feature point in an image captured by the image capturing units 12101 to 12104 as an infrared camera and a pattern matching process on a series of feature points indicating the contour of an object are performed to determine whether the pedestrian is a pedestrian.
  • the audio image output unit 12052 causes the recognized pedestrian to have a rectangular contour line for emphasis.
  • the display unit 12062 is controlled so as to superimpose and display. Further, the audio image output unit 12052 may control the display unit 12062 to display an icon indicating a pedestrian or the like at a desired position.
  • the example of the vehicle control system to which the technology according to the present disclosure can be applied has been described above.
  • the technology according to the present disclosure can be applied to, for example, the imaging unit 12031 among the configurations described above.
  • the sensor device 1 of the present disclosure is applied as an image sensor mounted on the imaging unit 12031, and a part or all of divided image adaptation, area clipping, intelligent compression, and active sampling can be executed.
  • image processing adapted to the detection of information outside the vehicle and to reduce the processing load by appropriately reducing the amount of information that does not reduce the detection accuracy.
  • the sensor device 1 includes an array sensor 2 in which a plurality of visible light or invisible light imaging elements are arranged in a one-dimensional or two-dimensional manner, and A logic unit 5 (image processing unit) that performs image processing using an instructed parameter on an image signal obtained by imaging, and a calculation unit 8 are provided.
  • the computing unit 8 classifies an object detected from an image signal obtained by imaging with the array sensor 2, selects a parameter used for image processing based on the identified class, and the logic unit 5 uses the selected parameter. Set the processing settings for.
  • the image signal obtained by the array sensor 2 is subjected to image processing by the logic unit 5, and the parameter of the image processing is set based on the class identification of the detected object in the image signal.
  • the desired image quality differs depending on the class of the object to be recognized.
  • an image that has been subjected to image processing by normal parameter setting that provides high image quality for visual recognition is not necessarily an image quality suitable for object detection.
  • desirable image processing parameters differ depending on the class of the object to be recognized. Therefore, the parameter set is held in advance for each class, and the parameter set to be used is selected according to the class identification of the detected object in the captured image.
  • image processing suitable for detecting a target object is performed.
  • the accuracy of object detection can be improved.
  • the image quality adjustment desirable for object detection is different from the image quality adjustment for making a person feel beautiful, and thus, for example, a blurring filter for giving priority to beauty is not used.
  • the parameters set often bring about a low processing load.
  • the amount of data is often reduced depending on the parameters according to the class (for example, parameters related to gradation change and compression), and in that case, the processing is delayed due to a heavy load on the processor 11 side, The increase in power consumption of the entire system is also avoided.
  • the sensor device 1 of each embodiment includes an interface unit 7 (output unit) that outputs an image signal image-processed by the logic unit 5 (image processing unit) to an external device.
  • the sensor device 1 performs image processing according to the class of the object by the internal logic unit 5 and transmits and outputs the image processing to the processor 11 (step S108 in FIG. 5), which causes the processor 11 to detect the object.
  • the parameter set selected based on the class recognition is not always the parameter set for obtaining the highest image quality for human visual recognition. In some cases, the amount of image data to be processed may be reduced.
  • the image quality is not necessarily the highest as seen by a person, but the image quality is suitable for the object to be recognized by the processor, and the data amount of the image signal to be transmitted may be reduced in some cases.
  • the communication cost can be reduced without lowering the accuracy of object detection. Transfer delays when computing in the cloud are also improved.
  • the interface unit 7 (output unit) of the embodiment also transmits information regarding the class identification of the image signal to be output (step S108 in FIG. 5).
  • the output destination processor 11 the cloud AI processor, or the like, the object can be detected after recognizing the class, and the object can be detected with higher accuracy.
  • the arithmetic unit 8 is detected by the object area recognition processing for detecting an object area that is a candidate for the object to be detected and the object area recognition processing within one frame of the image signal. It is described that the class identification processing for performing the class identification of the object in the object area and the parameter selection processing for performing the parameter selection based on the identification result of the class identification processing and the process setting of the logic unit 5 are performed (FIG. 1). , See FIG. 5). That is, the calculation unit 8 includes an object region recognition unit 82 that performs an object region recognition process, a class identification unit 83 that performs a class identification process, and a parameter selection unit 84 that performs a parameter selection process, whereby an object candidate from one frame of an image signal is obtained. Detection, class identification, and parameter selection based on class identification can be realized.
  • the arithmetic unit 8 is detected by the object area recognition processing for detecting an object area that is a candidate for the object to be detected and the object area recognition processing within one frame of the image signal.
  • Class identification processing for classifying an object in the object area, processing for determining whether or not a target class exists among the classes identified by the class identification processing, and if the target class exists, the target class Parameter selection processing for selecting parameters based on the class recognition result of the class and setting the processing of the logic unit 5 is performed (see FIGS. 1, 5, and 22).
  • the parameter selection based on the class of the target object of image recognition can be efficiently executed. In other words, because the parameter selection is not performed based on the detection of an object that is not the target, unnecessary parameter selection is not performed, processing is streamlined, and improper parameter setting is not performed.
  • the image recognition accuracy of the object can be improved.
  • the parameter selection processing is performed based on the selected one target class. This is performed (see step S106 in FIGS. 5 and 22).
  • step S106 in FIGS. 5 and 22.
  • the bounding box 20 surrounding the object is calculated, and a plurality of target classes is calculated.
  • a plurality of target classes is calculated.
  • an example in which one target class is selected using the area of the bounding box 20 has been given.
  • the area of each object is defined by the bounding box 20, and the dominant area of the object of each target class within one frame can be obtained to determine the priority target class. . This makes it possible to select appropriate parameters.
  • the arithmetic unit 8 has described an example in which a parameter set including a plurality of parameters set for each class is selected based on the identified class. That is, a parameter set in which various processing parameters of the logic unit are set is stored, and this parameter set is selected and set in the logic unit (see step S107 in FIGS. 4 and 5 and FIG. 22). As a result, a plurality of parameters suitable for the target class (target class) can be set as the parameters corresponding to various image processes of the logic unit 5.
  • the parameter set is a set of a plurality of parameters obtained by deep learning using the images of the objects corresponding to each class.
  • the parameters for image processing which are considered to have a high image recognition rate for human recognition, are obtained, and the set of parameters is set as a parameter set corresponding to the class “person”. (See FIG. 4).
  • This makes it possible to prepare a parameter set suitable for each class, and by selecting it, it becomes possible to select a parameter suitable for the target image recognition.
  • the calculation unit 8 performs class identification on a frame that is a key frame in the image signal obtained by the image pickup by the array sensor 2 and identifies the identified class.
  • the example of selecting the parameter used for the image processing based on the above is described (see steps S101 and S102 in FIGS. 5 and 22). By targeting key frames instead of all frames, the processing load on the calculation unit 8 does not become excessive. Also, by selecting a key frame based on an appropriate selection algorithm, it is possible to maintain a state in which appropriate parameter selection is performed.
  • the example in which the key frame is a frame for each predetermined time interval has been described.
  • parameter selection is performed periodically. For example, by setting one frame every 30 seconds as a key frame, the processing of the calculation unit 8 does not become excessive, and proper parameter setting can be maintained.
  • the interval between the key frames is set according to various circumstances such as an object to be image-recognized, a usage environment of the sensor device 1, a purpose of use, and a type of a device in which the sensor device 1 is mounted.
  • An example is also given in which the key frame is a frame of timing based on a command from an external device.
  • a key frame is set by an instruction from the processor 11 or the like which is an image output destination. This makes it possible to perform key frame selection and parameter selection according to the purpose of recognition processing of the device to which the image signal and information related to class identification are output.
  • a key frame is set according to the type of device equipped with the sensor device 1, the purpose, and the like. In this case, assuming an in-vehicle device, for example, it is possible to set key frames at close intervals at the timing when the automobile starts running.
  • the logic unit 5 of each embodiment performs color correction, gamma correction, color gradation processing, gain processing, edge enhancement processing, data compression processing, frame rate conversion, resolution conversion, aspect ratio conversion, as image processing for an image signal. Contrast adjustment processing, sharpness adjustment processing, gray level adjustment processing, sampling rate change processing, etc. are performed. Image quality adjustment and data amount conversion are performed by these, but by setting parameters for these processes, image quality adjustment and data size adjustment (resolution, frame rate, etc.) suitable for the class of the object to be recognized are executed. To be done. As a result, the image and data size are suitable for target class object detection, and unnecessary image quality improvement and data volume increase can be suppressed, which reduces communication cost, improves processing speed, and improves object detection accuracy. And so on.
  • the interface unit 7 (output unit) of each embodiment responds to the request of the external device by the image signal processed by the logic unit 5, the information of the identified class, the number of detected objects, and the target class. It has been stated that any or all of the presence / absence information is output. This is an operation common to the first to fifth embodiments. That is, the interface unit 7 responds to a request from the processor 11, the cloud processor, or the like, the image signal processed by the logic unit 5, the information of the class identified by the arithmetic unit 8, the number of objects, the information of the presence or absence of the target class. Among them, the information required by the processor 11 is output. As a result, unnecessary transfer of information can be avoided, the amount of communication can be reduced, and the power consumption can be reduced.
  • the image signal is targeted, but it is also assumed that the array sensor 2 is a sound wave detection element array or a tactile sensor element array. In that case, the interface unit 7 outputs these detection signals (detection signals after processing by the logic unit 5) in response to a request from an external device.
  • the sensor device 1 includes an array sensor 2 in which a plurality of detection elements are arranged in a one-dimensional or two-dimensional manner, and an array sensor.
  • 2 includes a signal processing unit 30 that obtains a detection signal from the array sensor 2 and performs signal processing.
  • the arithmetic unit 8 detects an object from the detection signal from the array sensor 2 and generates region information (ROI 21 or ROI 21 based on the detection of the object).
  • the AROI 22) is instructed to the signal processing unit 30 as area information regarding acquisition of a detection signal from the array sensor 2 or signal processing of the detection signal.
  • the detection signal obtained by the array sensor 2 is subjected to signal processing by the signal processing unit 30 and output from the interface unit 7, but area information relating to acquisition of the detection signal from the array sensor 2 in the signal processing unit 30 or signal processing.
  • area information relating to acquisition of the detection signal from the array sensor 2 in the signal processing unit 30 or signal processing. are set based on object detection.
  • the calculation unit 8 generates the ROI 21 and the AROI 22 based on the object detection, and the processing of the signal processing unit 30, that is, the detection signal from the array sensor 2 by the ADC / pixel selector 3 and the compression processing in the logic unit 5 are performed by the ROI 21.
  • AROI22 are used. This makes it possible to reduce the amount of data to be processed, improve the processing speed, and obtain an image signal that does not reduce the detection accuracy. Not only the image signal but also the detection signal obtained from the array sensor as a sound wave detection signal, a tactile detection signal, etc. is subjected to object detection, and the area information generated based on the detection of the object is sent to the signal processing unit. On the other hand, it is also possible to instruct the area information regarding the acquisition of the detection signal from the array sensor or the signal processing of the detection signal. As a result, even when the sound wave sensor array or the contact sensor array is used, it is possible to reduce the amount of data to be processed, improve the processing speed, and obtain a detection signal that does not reduce the detection accuracy.
  • the interface unit 7 outputs the detection signal signal-processed by the signal processing unit 30 to an external device.
  • An image signal obtained by AD-converting only some of the pixels using the ROI 21 or the AROI 22 or an image signal having a compression rate changed for each region using the ROI 21 is output to the processor 11 or the like, so that the amount of data to be transmitted is significantly reduced. It As a result, it is possible to reduce the communication cost and the transmission time. Moreover, since the information necessary for object detection is included, the accuracy of object detection in the processor 11 or the like does not decrease. Further, since the data amount is reduced, the processing load on the processor 11 is also reduced. In addition, it is possible to prevent the processing from being delayed due to a heavy load on the processor 11 side and the power consumption of the entire system to be increased.
  • the signal processing unit 30 includes an ADC / pixel selector 3 (acquisition unit) that selectively acquires a detection signal for the detection elements of the array sensor 2. Then, in the second, third, seventh, and eighth embodiments, the ADC / pixel selector 3 detects the detection element selected based on the ROI 21 and the AROI 22 from the calculation unit 8 as one frame of the detection signal. The signal is to be acquired (see FIGS. 9, 14, 29, and 32). The ADC / pixel selector 3 AD-converts and obtains the photoelectric conversion signal only in the range designated by the ROI 21 and the AROI 22 from the next frame in which the object is detected, so that the data amount of one frame can be greatly reduced. Then, the ROI 21 and the AROI 22 are set based on the object detection, so that the pixel information necessary for the object detection can be appropriately obtained.
  • acquisition unit that selectively acquires a detection signal for the detection elements of the array sensor 2.
  • the ADC / pixel selector 3 detects the detection element selected based on
  • the operation unit 8 operates the array in a state where the ADC / pixel selector 3 (acquisition unit) does not select the detection element based on the region information (ROI21, AROI22). Object detection is performed on the detection signal acquired from the sensor 2, and the ROI 21 and AROI 22 generated based on the detection of the object are detected by the ADC / pixel selector 3 in the subsequent frame from the array sensor 2 to the signal processing unit 30.
  • An example of instructing as area information used for signal acquisition has been described (see FIGS. 9, 14, 29 and 32).
  • the ROI 21 and the AROI 22 based on the detected object are generated and provided to the ADC / pixel selector 3, so that the information of only the pixels necessary for the object detection can be acquired from the next frame. Therefore, it becomes possible to acquire appropriate detection information (necessary pixel information) while reducing the amount of data.
  • the operation unit 8 uses the detection signal acquired from the array sensor 2 in the state where the ADC / pixel selector 3 selects the detection element by the ROI 21 or the AROI 22.
  • Area detection is performed for the object, area information is regenerated based on the object detection, and the area used for the signal processing unit 30 to acquire the detection signal of the subsequent frame from the array sensor 2 by the ADC / pixel selector 3.
  • the instruction is given as information (see FIG. 9, FIG. 14, FIG. 29, step S203 of FIG. 32, and FIG. 10).
  • the ROI 21 and the AROI 22 can be corrected according to the change in the position of the object.
  • the area acquired by the ADC / pixel selector 3 is changed by following the movement of the object (for example, a person) in the image. That is, even if the position of the target object in the image changes for each frame, the pixel can be selected and read at a position that follows the change for each frame. Therefore, the state of performing appropriate detection information (pixel information) while reducing the data amount can be continued even if the frame progresses.
  • the operation unit 8 uses the detection signal acquired from the array sensor 2 in the state where the ADC / pixel selector 3 selects the detection element by the ROI 21 or the AROI 22.
  • the detection signal is acquired from the array sensor 2 in the subsequent frame in a state where the ADC / pixel selector 3 does not select the detection element by the ROI 21 or the AROI 22.
  • the instruction is as follows (see steps S205, S201, and S202 in FIGS. 9, 14, 29, and 32).
  • the calculation unit 8 returns the acquisition of the detection signal by the acquisition unit to the normal state when the target object is not detected in the frame in which only the information of some of the detection elements is acquired from the array sensor 2. As a result, it is possible to return to the state in which the object detection is performed from the image signal including all the effective pixels of one frame, and to perform the target object detection in the entire captured image again. That is, the entire image can be monitored.
  • the calculation unit 8 finds the bounding box 20 surrounding the area of the object detected from the detection signal from the array sensor 2, and uses the bounding box 20 as the bounding box 20.
  • An example of generating the ROI 21 and the AROI 22 as the area information based on the above has been described (see FIGS. 9, 14, 16, 29, and 32).
  • the ROI 21 and the AROI 22 corresponding to the position of the target object in the image can be generated.
  • the read pixel in the next frame can be appropriately selected.
  • the calculation unit 8 enlarges the bounding box 20 to generate the ROI 21 (see FIGS. 9, 16, 29, and 32).
  • the bounding box 20 surrounds the area of the object in the current frame, but the position of the object may change in the subsequent frames. Therefore, the bounding box 20 is enlarged to generate the ROI 21.
  • the calculation unit 8 determines the area of the detected object for each detection element and generates the area information has been described (see FIG. 11). That is, the ROI 21 is generated based on the semantic segmentation. As a result, the non-rectangular ROI 21 is also generated. Depending on the object, the information may be lost when clipping with a rectangle. For example, if a truck or the like having a projection or a person riding a bicycle has a rectangular shape, a protruding portion may occur, and covering the portion may unnecessarily increase the ROI 21 and reduce the data reduction effect. Therefore, the necessary area can be selected at the pixel level. This allows necessary information to be acquired with a minimum amount of data.
  • the ROI 21 based on such semantic segmentation is also useful when setting a region having a low compression rate in the fourth embodiment.
  • the calculation unit 8 targets the frame (key frame) at the object detection key frame recording timing in the detection signal obtained from the array sensor 2.
  • the object detection the area information is generated based on the object detection (see step S201 in FIGS. 9, 14, 16, 29, and 32).
  • the key frame is a frame at every predetermined time interval or a frame at a timing based on a command from an external device. For example, if a key frame is set according to the type of device equipped with the sensor device 1, the purpose, etc., the object detection is performed for all the pixels of the frame at the timing required by the device or application, In subsequent frames, the amount of data can be reduced.
  • the operation unit 8 performs class identification on the object detected from the detection signal obtained from the array sensor 2, and the identified class is .
  • the target class is determined, and the region information (ROI21 or AROI22) is generated corresponding to the object of the target class (steps S204 and S205 in FIGS. 9, 14, 16, 29, and 32). reference).
  • the operation unit 8 performs class identification on the object detected from the detection signal obtained from the array sensor 2, and the area information (AROI22) corresponding to the object is identified.
  • the example of generating using the template corresponding to the class has been described (see S210 and S211 in FIG. 14 and S262 and S211 in FIG. 32).
  • the template corresponding to the class it is possible to generate the AROI 22 adapted to the important region that differs for each class.
  • the array sensor 2 is based on an image sensor, the power consumption in photoelectric conversion is the largest. In this case, it is desired to reduce the number of pixels that undergo photoelectric conversion as much as possible.
  • the template By narrowing down the pixels to be photoelectrically converted according to the template, it is possible to effectively reduce the amount of data without affecting the detection accuracy.
  • the image is not an image that a person sees, but an image that allows the processor 11 to recognize an object more accurately than an image that a person feels beautiful.
  • An image in which a pixel is designated for photoelectric conversion and digital data conversion using a template is suitable for effective object detection with a small amount of data.
  • the template is assumed to indicate the detection signal acquisition region for each class.
  • the template indicates a detection element for which detection information should be acquired among the detection elements of the array sensor according to each class such as “person” and “automobile” (see FIGS. 12 and 13).
  • the logic unit 5 compresses the detection signal from the array sensor 2, and the logic unit 5 calculates each region based on the region information from the calculation unit 8.
  • An example of performing compression processing with different compression rates has been described above (see FIG. 16).
  • the signal processing unit 30 (logic unit 5) can perform data compression that does not reduce important information by making the compression ratio different between the important region and the less important region in the frame.
  • the logic unit 5 performs compression processing at a low compression rate in the area specified by the area information, and performs compression processing at a high compression rate in other areas (see FIG. 16).
  • the signal processing unit 30 (logic unit 5) performs compression processing at a low compression rate in the area designated by the ROI 21 from the next frame in which the object is detected, and reduces the amount of data in other areas at a high compression rate. . Since the ROI 21 is generated according to the object detection, the area indicated by the ROI 21 is also an area important for the object detection in the processor 11, and the area is set to a low compression rate so that information is not reduced. This does not reduce the detection accuracy. On the other hand, the area other than the area indicated by the ROI 21 is an area that does not significantly affect the object detection, and thus the data is efficiently compressed by compressing at a high compression rate.
  • the sensor device 1 obtains a detection signal by the array sensor 2 in which a plurality of detection elements are arranged in a one-dimensional or two-dimensional manner, and the signal processing is performed.
  • a signal processing unit 30 that performs the above-described processing, and an operation unit 8 that performs object detection from the detection signal from the array sensor 2 and variably instructs the frame rate of the detection signal from the array sensor 2 based on the detection of the object.
  • an image signal with a high frame rate is not always required. For example, when detecting a person, the frame rate may be low in a frame in which the person is not photographed.
  • the frame rate is high during the period in which a person appears, the amount of information becomes abundant, and it is possible to increase the amount of information that can be detected by detecting an object (person) and accompanying it.
  • the amount of data can be adaptively increased when needed, and the amount of data can be reduced when unnecessary, and the amount of processed data and transferred data can be reduced without lowering the object detection performance. Can be reduced.
  • the image signal but also the detection signal obtained from the array sensor as a sound wave detection signal, a tactile detection signal, etc. is subjected to object detection, and the frame rate of the detection signal from the array sensor is determined based on the detection of the object.
  • Variable instructions can also be given. As a result, even when a sound wave sensor array or a contact sensor array is used, it is possible to adaptively increase the amount of data when necessary and reduce the amount of data when unnecessary, and to reduce the amount of processed data or transferred data without deteriorating the object detection performance. The effect of being able to reduce is obtained.
  • a frame is a frame of an image when the array sensor is an image sensor array, but it has the same meaning when it is a sound wave detection element or a tactile sensor element, regardless of the type of array sensor. It is a data unit read in one read period from the element.
  • the frame rate is the density of such frames within a unit time.
  • the interface unit 7 that outputs the detection signal processed by the signal processing unit 30 to the external device changes the frame rate based on the result of object detection. Output signal to the processor 11 or the like. Therefore, the amount of data to be transmitted is significantly reduced. As a result, it is possible to reduce the communication cost and the transmission time. Moreover, since the information necessary for the target object detection is included, the accuracy of the object detection in the processor 11 or the like does not decrease. Further, since the data amount is reduced, the processing load on the processor 11 is also reduced. In addition, it is possible to prevent the processing from being delayed due to a heavy load on the processor 11 side and the power consumption of the entire system to be increased.
  • the calculation unit 8 sets at least the set value for the frame rate of the first mode (idling mode) and the set value for the frame rate of the second mode (normal mode). It is stored and the control is performed according to the set value of either the first mode or the second mode according to the result of the object detection (see FIGS. 18 and 35).
  • control as active sampling can be realized by a simple process of selecting a set value depending on the result of object detection, that is, the presence or absence of an object of the target class.
  • One or both of the set value for the frame rate of the first mode and the set value for the frame rate of the second mode in the fifth and ninth embodiments may be rewritable from an external device.
  • the set value is made variable according to the use of the external processor, the processing capacity, the use of the application, and the like. If the set value can be rewritten by the processor 11 or the like, the frame rate can be set according to the purpose of the processor 11 and its application.
  • the arithmetic unit 8 changes the frame rate by instructing the reading interval of the detection signals of the array sensor 2 (see FIGS. 18 and 35).
  • the calculation unit 8 key frame selection unit 81 instructs the array sensor 2 and the ADC / pixel selector 3 to switch between the idling mode and the normal mode, and changes the read interval of the image signal by the array sensor 2 and the ADC / pixel selector 3. By doing so, the frame rate is switched.
  • the idling mode in which the frame rate is lowered, the interval between photoelectric conversion and reading itself from the array sensor 2 is widened. Since the array sensor 2 consumes a large amount of power due to photoelectric conversion, widening the read interval in the array sensor 2 has a great effect of reducing power consumption.
  • the calculation unit 8 may instruct the signal processing unit 30 (logic unit 5) to change the frame rate and change the frame rate. That is, the frame rate is switched by the frame rate conversion in the signal processing process.
  • the logic unit 5 can also perform frame rate conversion. For example, the frame rate can be reduced by performing frame thinning processing. In this case, since the array sensor 2 is always reading at a high frame rate, the power consumption reduction effect in the array sensor 2 does not occur, but the data amount transferred to the processor 11 can also be reduced in this case.
  • the calculation unit 8 performs class identification on an object detected from the detection signal obtained from the array sensor 2 and determines whether the identified class is a target class.
  • An example of making a determination and giving a variable instruction of the frame rate according to the determination result has been described (see S304, S305, S301 in FIG. 18, S304, S352, S301 in FIG. 35).
  • the presence of the target class is determined, and the normal mode is set to increase the frame rate due to the presence of the object of the target class. If the target class object is not detected, the frame rate is set to a low value as the idling mode.
  • the frame rate is set to a low value as the idling mode.
  • the detection element of the array sensor 2 is the image pickup element. That is, the detection signal from the array sensor 2 is an image signal obtained by imaging (photoelectric conversion). Therefore, in the object detection using the captured image, it is possible to reduce the appropriate amount of data that can maintain the object detection accuracy, reduce the processing load associated therewith, and reduce the transfer cost.
  • the sensor device 1 has an integrated sensing module configuration having an AI chip or a DRAM chip as the arithmetic unit 8.
  • an AI chip or a DRAM chip as the arithmetic unit 8 is provided outside the array sensor 2, and the external arithmetic unit controls the reading and the signal processing described in each embodiment.
  • An example is also possible.
  • An example in which the array sensor 2 and the AI chip as the arithmetic unit 8 are integrated and an external DRAM chip is used is also conceivable.
  • parameter thresholds are set for all or some of the parameters used in the image processing of the logic unit 5 (image processing unit) or the imaging processing related to imaging by the array sensor 2, and the parameters are set based on the thresholds.
  • a threshold value setting unit 85 is provided so that the process using the parameter is performed.
  • the calculation unit 8 classifies an object detected from an image signal obtained by imaging with the array sensor 2 and classifies the object into the identified class.
  • An example is shown in which a parameter set used for image processing is selected based on this, the process setting of the logic unit 5 is performed with the selected parameter, and the selected parameter is set (adjusted) according to the threshold value. Therefore, some or all of the parameters in the parameter set that are adapted for each class are adjusted and set according to the threshold value, and while being adapted to the class, it is necessary and sufficient while maintaining detection accuracy such as object detection.
  • the amount of data can be varied. Since the parameter set adapted to the class is further adjusted, the data amount can be further reduced, the power consumption can be reduced, and the processing speed can be increased.
  • the present invention is not limited to the example shown in FIG. 22, and all or some of the parameters set regardless of the class may be changed based on the threshold value. Also in this case, it is possible to reduce the data amount of the image signal, reduce the power consumption, and speed up the process while maintaining the performance and accuracy required for object detection and the like.
  • the threshold setting unit 85 sets the threshold according to the class of the object detected from the image signal.
  • an appropriate threshold value is set according to the class such as “person”, “vehicle”, “sign”.
  • the relationship between the resolution required for an image and the detection accuracy for object detection differs depending on the class. Therefore, by setting a threshold value according to the class so that the resolution of the image signal output from the logic unit 5 is changed, it is possible to output with the minimum necessary resolution according to the class. . That is, parameters such as resolution are optimized according to the class, and data reduction, low power consumption, high speed processing, etc. can be realized while maintaining object detection accuracy and the like at required levels.
  • the threshold setting unit 85 sets the threshold based on the learning process for the image signal.
  • the threshold value is obtained by performing learning processing as local learning on the sensor device 1 side.
  • a desired value is determined as the threshold value and the parameter corresponding thereto.
  • the parameter setting is adaptively performed according to the imaging environment, the captured image content, the detection target, and the like.
  • parameter setting adapted to the class further realizes optimization of the resolution of the output image signal and the like.
  • the threshold value setting unit 85 sets the threshold value so that a predetermined rate can be obtained as the confidence rate (the rate of certainty of object detection).
  • the confidence rate required as the accuracy of object detection from an image varies depending on the purpose, target, device / application program, time, region, etc. of the detection. For example, if the authenticity is 80%, the threshold value may be set so that the authenticity of 80% or more may be obtained, and the parameters may be set accordingly. Further, if the certainty of 95% or more is required, the threshold may be increased and the parameters may be set. Therefore, by setting the threshold value (and by extension, setting the parameter) based on the confidence rate required for object detection, the desired image signal quality and Accordingly, it is possible to realize data reduction, low power consumption, high speed processing, and the like.
  • the threshold setting unit 85 of the sixth embodiment is provided in the device having the same housing as the logic unit 5 (see FIGS. 21, 25 and 26).
  • the threshold value setting unit 85 is provided in the unit as the sensor device 1 or in the terminal device 100 including the sensor device 1. Then, the threshold value setting unit 85 performs local learning and sets a threshold value and parameters according to the threshold value. This means that the threshold value is set by learning the state suitable for the device as the sensor device 1 or the terminal device 100. As a result, it becomes possible to set an appropriate threshold value that realizes the output required for the sensor device 1 and the terminal device 100.
  • the calculation unit 8 makes an array based on the information about the past area information (the detection area bounding box 20 of the object that is the source of the area information and the ROI 21 or AROI 22 that is the area information itself).
  • An active area RA for the detection signal acquired from the sensor 2 is set (S251 in FIGS. 29 and 32). Then, the object detection is performed from the detection signal of the active area RA, and the ROI 21 and the AROI 22 generated based on the detection of the object are provided to the signal processing unit 30 by the area information regarding the acquisition of the detection signal from the array sensor 2 or the signal processing of the detection signal.
  • This significantly reduces the processing load of object detection for setting ROI 21 and AROI 22. Specifically, the processing of step S203 is reduced. Therefore, it is possible to obtain the effects of reducing the processing load, increasing the speed, and reducing the power consumption.
  • the calculation unit 8 sets the active area RA such that the detection area of object detection based on the past ROI 21 or AROI 22, that is, the bounding box 20 is included.
  • the bounding box 20 is not set at all.
  • Such an area can be an inactive area DA in which the target object is not detected, and conversely can be an active area RA, that is, an area in which object detection may be performed.
  • the active area RA can be easily and appropriately set based on the past bounding boxes 20.
  • the operation unit 8 performs object detection on the detection signal acquired from the array sensor 2 in the state where the ADC / pixel selector 3 selects the detection element by the ROI 21 or AROI 22. If the target object is not detected, in the subsequent frame, the ADC / pixel selector 3 is instructed to acquire the detection signal of the active area from the array sensor (FIG. 29, S205 in FIG. 32, See S201 and S252). That is, the calculation unit 8 returns the acquisition of the detection signal by the acquisition unit to the normal state when the target object is not detected in the frame in which only the information of some of the detection elements is acquired from the array sensor 2. As a result, it is possible to return to the state in which the object detection is performed from the image signal of the active area of one frame, and to perform the target object detection in the necessary range in the image captured again. In effect, the entire image can be monitored.
  • the calculation unit 8 generates the area information based on the object detection from the detection signal of the active area RA for the key frame among the detection signals obtained from the array sensor 2.
  • An example has been described (see S201 and S252 in FIGS. 29 and 32).
  • the processing load on the calculation unit 8 does not become excessive.
  • the key frame is a frame at every predetermined time interval or a frame at a timing based on an instruction from the outside such as the processor 11.
  • the calculation unit 8 classifies an object detected from the detection signal obtained from the array sensor 2 and assigns area information (AROI22) corresponding to the object to the identified class. Generate using a template that In this case, the AROI 22 in which parameters such as resolution are calculated and recorded based on the threshold value is used (see S262 and S211 in FIG. 32). By setting (changing) the parameters of the acquisition area indicated by the AROI 22 by using the threshold value, for example, regarding the image signal, as the minimum necessary quality for processing such as object detection, etc. (for example, the minimum necessary resolution) Can be output. Further, an image in which pixels to be subjected to photoelectric conversion and digital data are designated using a template becomes suitable for effective object detection with a small amount of data.
  • the template indicates the acquisition area of the detection signal for each class such as “person” and “automobile”, so that it is possible to intensively acquire the information of the necessary part for each class. Become.
  • a frame rate threshold value is set according to a class identified for an object detected from a detection signal obtained from the array sensor 2, and processing using the frame rate set based on the threshold value is performed.
  • a threshold value setting unit 85 is provided so as to perform (see FIG. 35). By setting (changing) the frame rate using the threshold value, the frame rate suitable for the class to be detected can be applied. Specifically, by reducing the frame rate, it is possible to reduce the data amount of the image signal, reduce the power consumption, and speed up the processing while not lowering the performance of detecting the object of the detection target class.
  • the threshold setting unit 85 sets a threshold as a frame rate that can maintain object tracking from an image. As a result, it is possible to reduce data according to class, reduce power consumption, and speed up processing while maintaining the accuracy of object detection performed while performing object tracking from an image.
  • the calculation unit 8 uses the frame rate set by the threshold setting unit 85 as the frame rate of the second mode (normal mode) in which the frame rate is high. As a result, when the frame rate becomes high, a relatively low frame rate is used according to the class.
  • the first, second, third, fourth, fifth, sixth, seventh, eighth and ninth embodiments can be appropriately combined with each other. It is possible to increase the effect of each embodiment by combining them. That is, while maintaining the accuracy of processing such as object detection from an image, the effect of reducing the data amount of the image signal, reducing power consumption, speeding up processing, and the like can be further enhanced.
  • An array sensor in which a plurality of detection elements are arranged in one dimension or two dimensions, A signal processing unit that acquires a detection signal by the array sensor and performs signal processing, A sensor device, comprising: an arithmetic unit that detects an object from a detection signal from the array sensor and variably instructs a frame rate of the detection signal from the array sensor based on the detection of the object.
  • a sensor device comprising: an arithmetic unit that detects an object from a detection signal from the array sensor and variably instructs a frame rate of the detection signal from the array sensor based on the detection of the object.
  • the sensor device according to (1) further including an output unit that outputs the detection signal processed by the signal processing unit to an external device.
  • the calculation unit stores at least a set value for the frame rate of the first mode and a set value for the frame rate of the second mode,
  • the sensor device according to (1) or (2) above which controls according to a setting value of either the first mode or the second mode according to a result of object detection.
  • One or both of the set value for the frame rate in the first mode and the set value for the frame rate in the second mode are rewritable from an external device.
  • the arithmetic unit is Class identification is performed on an object detected from a detection signal obtained from the array sensor, it is determined whether the identified class is a target class, and a frame rate variable instruction is performed according to the determination result.
  • An output unit that outputs any or all of the detection signal processed by the signal processing unit, the information of the identified class, the number of detected objects, and the information of the presence or absence of the target class according to the request of the external device The sensor device according to (7) above, which is provided.
  • the sensor device according to any one of (1) to (8) above, wherein the detection element of the array sensor is an image sensor.
  • the threshold of the frame rate is set according to the class identified for the object detected from the detection signal obtained from the array sensor, and the processing using the frame rate set based on the threshold is performed. Equipped with a threshold setting unit The sensor device according to any one of (1) to (9) above.
  • (11) The sensor device according to (10), wherein the threshold setting unit sets the threshold as a frame rate at which object tracking from an image can be maintained.
  • the calculation unit performs control according to a frame rate setting value of either the first mode or the second mode according to the result of object detection, and also sets the frame rate of one of the first mode and the second mode.
  • the sensor device according to (10) or (11) above, wherein the set value of the frame rate set by the threshold setting unit is used as the value.
  • (13) As a signal processing method in a sensor device having a plurality of detection elements, an array sensor arranged in a one-dimensional or two-dimensional array, and a signal processing unit that acquires a detection signal from the array sensor and performs signal processing, A signal processing method in which an object is detected from a detection signal from the array sensor, and a frame rate of the detection signal from the array sensor is variably instructed based on the detection of the object.
  • the threshold of the frame rate is set according to the class identified for the object detected from the detection signal obtained from the array sensor, and the processing using the frame rate set based on the threshold is performed.
  • the signal processing method according to (13) above.
  • 1 sensor device 1 sensor device, 2 array sensor, 3 ADC / pixel selector, 4 buffer, 5 logic part, 6 memory, 7 interface part, 8 arithmetic part, 11 processor, 12 external sensor, 20 bounding box, 21 ROI, 22 advanced ROI ( AROI), 23 candidate areas, 30 signal processing section, 81 key frame selection section, 82 object area recognition section, 83 class identification section, 84 parameter selection section, 85 threshold setting section, 100 terminal device

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

センサ装置は、検出素子が複数、1次元または2次元に配列されたアレイセンサと、アレイセンサによる検出信号を取得し信号処理を行う信号処理部と、演算部を有するものとする。演算部はアレイセンサによる検出信号から物体検出を行い、物体の検出に基づいてアレイセンサからの検出信号のフレームレートを可変指示するようにする。

Description

センサ装置、信号処理方法
 本技術はセンサ装置及び信号処理方法に関し、特にアレイセンサで得た検出信号に対して処理を行う機能を備えたセンサ装置についての技術分野に関する。
 例えば撮像素子を配列したアレイセンサを使った物体検出として、アレイセンサで画像撮像を行い、撮像された画像信号をアレイセンサの外部のプロセッサへ送り、該プロセッサ側で物体検出の計算処理を行うことが知られている。
 下記特許文献1には監視エリアの動きに応じて動作周波数を変更する技術が開示されている。
特開2007-318262号公報
 イメージセンサを使った物体検出では、撮影される対象のクラス(カテゴリーやジャンル)に係らず、撮影した画像情報を、物体検出を行う外部のプロセッサへ送り、プロセッサ側で全ての物体検出の計算処理を行っていた。このプロセスは、汎用プロセッサ側での処理能力に頼るところがあり、予め設定した対象となるクラス限定したフレームレート(動作周波数)で稼働する効率的な処理方法が取られていなかった。その結果、外部プロセッサ側の計算が高負荷になる為に処理が遅延する問題があった。
 特許文献1に示されるように、撮影対象に動体があったときにフレームレートを上げる方法があったが、クラスを指定して動作を制御することはできなかった。
 そこで本開示では物体検出結果に応じて、フレームレートを変更することを提案する。
 本技術に係るセンサ装置は、検出素子が複数、1次元または2次元に配列されたアレイセンサと、前記アレイセンサによる検出信号を取得し、信号処理を行う信号処理部と、前記アレイセンサによる検出信号から物体検出を行い、物体の検出に基づいて前記アレイセンサからの検出信号のフレームレートを可変指示する演算部とを備える。
 即ちアレイセンサによって得られる検出信号のフレームレートを、物体検出結果に応じて可変する。
 なお検出信号から検出される物体とは、物体検出対象となる物体のことをいい、あらゆる物体が、ここでいう検出対象の物体とされる可能性がある。例えば人、動物、移動体(自動車、自転車、航空機等)、自然物(野菜、植物等)、工業製品/部品、建造物、施設、山、海、川、星、太陽、雲など、あらゆる物体を対象とすることができる。
 またアレイセンサの検出素子は、可視光または非可視光の撮像素子、音波を検出する音波検出素子、または触覚情報を検出する触覚センサ素子などが想定される。
 フレームとは、アレイセンサが撮像素子アレイの場合は、画像のフレームとなる。音波検出素子や触覚センサ素子の場合も同じ意味であり、アレイセンサの種別にかかわらず、アレイセンサの複数の検出素子からの1回の読み出し期間に読み出されるデータ単位である。フレームレートはこのようなフレームの単位時間内の密度となる。
 上記した本技術に係るセンサ装置においては、前記信号処理部で信号処理された検出信号を外部装置に出力する出力部を備えることが考えられる。
 即ち信号処理部で処理された検出信号を外部装置に送信出力する。外部装置とは、例えば物体検出を行う外部プロセッサやクラウドにおけるプロセッサ等が想定される。
 上記した本技術に係るセンサ装置においては、前記演算部は、少なくとも第1モードのフレームレートのための設定値と、第2モードのフレームレートのための設定値を記憶しており、物体検出の結果に応じて前記第1モードと前記第2モードのいずれかの設定値による制御を行うことが考えられる。
 例えばフレームレートを指示するためアレイセンサの読み出し間隔の値などを設定値として記憶しておく。
 上記した本技術に係るセンサ装置においては、前記第1モードのフレームレートのための設定値と前記第2モードのフレームレートのための設定値の一方又は両方は、外部装置から書換可能とされていることが考えられる。
 例えば外部プロセッサの用途、処理能力、アプリケーションの用途などに応じて設定値が可変される。
 上記した本技術に係るセンサ装置においては、前記演算部は、前記アレイセンサの検出信号の読み出し間隔を指示することでフレームレートを可変させることが考えられる。
 アレイセンサが例えば画像撮像素子によるものであれば、画像読み出しの間隔を可変制御する。
 上記した本技術に係るセンサ装置においては、前記演算部は、前記信号処理部にフレームレート変更を指示してフレームレートを可変させることが考えられる。
 即ち信号処理過程でのフレームレート変換によりフレームレートの切替を実行させる。
 上記した本技術に係るセンサ装置においては、前記演算部は、前記アレイセンサから得られた検出信号から検出される物体についてクラス識別を行い、識別されたクラスが、ターゲットクラスであるか否かを判定し、判定結果に応じてフレームレートの可変指示を行うことが考えられる。
 クラスとは、画像認識を用いて認識された物体のカテゴリーである。例えば「人」「自動車」「飛行機」「船」「トラック」「鳥」「猫」「犬」「鹿」「蛙」「馬」などのように検出すべき物体をクラス分けするものである。
 ターゲットクラスとは、クラスの中で認識の目的として指定されるクラスのことである。
 上記した本技術に係るセンサ装置においては、外部機器の要求に応じて、前記信号処理部で処理された検出信号、識別されたクラスの情報、検出された物体の数、ターゲットクラスの有無の情報のいずれか又は全てを出力する出力部を備えることが考えられる。
 即ち出力部は外部機器の要求に応じて出力する情報を設定する。
 また、上記した本技術に係るセンサ装置においては、前記アレイセンサの検出素子は撮像素子であることが考えられる。
 即ちアレイセンサによる検出信号は撮像(光電変換)による画像信号とする。
 上記した本技術に係るセンサ装置においては、前記アレイセンサから得られた検出信号から検出される物体について識別されるクラスに応じて前記フレームレートの閾値を設定し、前記閾値に基づいて設定したフレームレートを用いた処理が行われるようにする閾値設定部を備えることが考えられる。
 例えばクラスに応じて、物体検出に適切でかつデータ量を少なくできるフレームレートが設定できるようにする。
 また上記した本技術に係るセンサ装置においては、前記閾値設定部は、画像からのオブジェクトトラッキングが維持できるフレームレートとして前記閾値を設定することが考えられる。
 例えばオブジェクトトラッキングを可能な状態として、なるべくデータ量を少なくできるフレームレートを設定する。
 また上記した本技術に係るセンサ装置においては、前記演算部は、物体検出の結果に応じて第1モードと第2モードのいずれかのフレームレートの設定値による制御を行うとともに、前記第1モードと前記第2モードの一方のフレームレートの設定値として、前記閾値設定部が設定したフレームレートの設定値が用いられるようにすることが考えられる。
 例えば第1モードを所定のフレームレート、第2モードを閾値に基づいて設定したフレームレートなどとする。
 本技術の信号処理方法は、検出素子が複数、1次元または2次元に配列されたアレイセンサと、前記アレイセンサによる検出信号を取得し、信号処理を行う信号処理部とを有するセンサ装置における信号処理方法として、前記アレイセンサによる検出信号から物体検出を行い、物体の検出に基づいて前記アレイセンサからの検出信号のフレームレートを可変指示する。
 これによりフレームレートを状況に応じて変化できるようにする。
 また上記した本技術に係る信号処理方法においては、前記アレイセンサから得られた検出信号から検出される物体について識別されるクラスに応じて前記フレームレートの閾値を設定し、前記閾値に基づいて設定したフレームレートを用いた処理が行われるようにする。
 これにより、物体検出に必要な所定の条件を維持できるようにフレームレートを下げることができるようにする。
本技術の第1から第5、第7の実施の形態に適用できるセンサ装置のブロック図である。 画像認識精度と画質の関係の説明図である。 第1の実施の形態の分類画像適応化処理の概要の説明図である。 第1の実施の形態の画質パラメータセットの説明図である。 第1の実施の形態の分類画像適応化処理のフローチャートである。 第1の実施の形態の物体検出のプロセスの説明図である。 第2の実施の形態のエリアクリッピングされたフレームの説明図である。 第2の実施の形態のエリアクリッピング解析の概要の説明図である。 第2の実施の形態のエリアクリッピング解析のフローチャートである。 第2の実施の形態のバウンディングボックスからのROI(Region of Interest)の算出の説明図である。 第2の実施の形態のROIの別例の説明図である。 第3の実施の形態のアドバンスドROIの説明図である。 第3の実施の形態のアドバンスドROIの説明図である。 第3の実施の形態のアドバンスドROIを用いたエリアクリッピング解析のフローチャートである。 第4の実施の形態のインテリジェントコンプレッションの説明図である。 第4の実施の形態のインテリジェントコンプレッションのフローチャートである。 第5の実施の形態のアクティブサンプリングの説明図である。 第5の実施の形態のアクティブサンプリングのフローチャートである。 第6の実施の形態の画像適応化処理のための閾値設定の説明図である。 第6の実施の形態のクラスによる閾値設定の説明図である。 第6から第9の実施の形態に適用できるセンサ装置のブロック図である。 第6の実施の形態の閾値に応じたパラメータ設定の処理のフローチャートである。 第6の実施の形態の閾値設定の説明図である。 第6の実施の形態の閾値算出のフローチャートである。 第6から第9の実施の形態に適用できる他の構成例のブロック図である。 第6から第9の実施の形態に適用できるさらに他の構成例のブロック図である。 第7の実施の形態のアクティブエリアクリッピングの説明図である。 第7の実施の形態のアクティブエリアクリッピングの説明図である。 第7の実施の形態のアクティブエリアクリッピングのフローチャートである。 第7の実施の形態のキーフレームアクティブエリア算出のフローチャートである。 第8の実施の形態のアドバンスドROI(Advanced ROI:AROI)の閾値設定の説明図である。 第8の実施の形態のアドバンスドROIを用いたエリアクリッピング解析のフローチャートである。 第9の実施の形態のアクティブサンプリングの説明図である。 第9の実施の形態のアクティブサンプリングの説明図である。 第9の実施の形態のアクティブサンプリングのフローチャートである。 車両制御システムの概略的な構成の一例を示すブロック図である。 車外情報検出部及び撮像部の設置位置の一例を示す説明図である。
 以下、実施の形態を次の順序で説明する。
<1.センサ装置の構成>
<2.第1の実施の形態:分類画像適応化>
<3.第2の実施の形態:エリアクリッピング>
<4.第3の実施の形態:AROIを用いたエリアクリッピング>
<5.第4の実施の形態:インテリジェントコンプレッション>
<6.第5の実施の形態:アクティブサンプリング>
<7.第6の実施の形態:閾値設定による画像適応化>
<8.第7の実施の形態:アクティブエリアクリッピング>
<9.第8の実施の形態:閾値設定とAROIを用いたエリアクリッピング>
<10.第9の実施の形態:閾値設定によるアクティブサンプリング>
<11.移動体への応用例>
<12.まとめ及び変形例>

 なお以下の説明する実施の形態としては、撮像素子アレイを有し、検出信号として画像信号を出力するイメージセンサとしてのセンサ装置1を例に挙げる。特に実施の形態のセンサ装置1は画像解析による物体検出機能を備えるものとし、インテリジェントアレイセンサと呼ぶことのできる装置である。
<1.センサ装置の構成>
 センサ装置1の構成例を図1に示す。なお図1にはセンサ装置1とデータ通信を行う外部装置としてプロセッサ11、外部センサ12も示している。プロセッサ11はセンサ装置1と通信接続されるあらゆるプロセッサが想定される。
 センサ装置1は、ハードウェアとしては、イメージセンサデバイス、DRAM(Dynamic Random Access Memory)等の記憶領域、AI(artificial intelligence)機能プロセッサとしての構成部位を有している。そしてこれら3つが3レイヤー積層構造とされたり、1レイヤーでいわゆる平置き構成とされたり、或いは2レイヤー(例えばDRAMとAI機能プロセッサが同一レイヤー)積層構造とされたりするなどとして一体型のデバイスとされる。
 図1のようにセンサ装置1は、アレイセンサ2、ADC(Analog to Digital Converter)/ピクセルセレクタ3、バッファ4、ロジック部5、メモリ6、インターフェース部7、演算部8を有する。
 ADC/ピクセルセレクタ3、バッファ4、ロジック部5は、アレイセンサ2で得られる検出信号を外部への出力のために信号処理する信号処理部30の例となる。
 アレイセンサ2は、検出素子が可視光または非可視光の撮像素子とされ、複数の撮像素子が1次元または2次元に配列されて構成されている。例えば行方向及び列方向の2次元に多数の撮像素子が配列され、各撮像素子における光電変換により二次元画像信号を出力する構成とされる。
 なお以下の説明ではアレイセンサ2は、イメージセンサとして二次元の画像信号を出力するものとするが、センサ装置1内のアレイセンサ2としては、音波検出素子を配列したセンサアレイモジュールや、触覚情報検出素子を配列したセンサアレイモジュールなどとして構成されることもある。
 ADC/ピクセルセレクタ3は、アレイセンサ2によって光電変換された電気信号をデジタルデータ化し、デジタルデータとしての画像信号を出力する。
 またアレイセンサ2の画素(撮像素子)に対するピクセル選択の機能を持つことで、アレイセンサ2において選択した画素のみについて、光電変換信号を読み出しでデジタルデータ化して出力することもできる。
 つまりADC/ピクセルセレクタ3は、通常は1フレームの画像を構成する有効な画素の全てについて光電変換信号のデジタルデータ化出力を行うが、選択した画素のみについての光電変換信号のデジタルデータ化出力を行うこともできる。
 ADC/ピクセルセレクタ3によって、フレーム単位で画像信号が読み出されるが、この各フレームの画像信号はバッファ4に一時記憶され、適切なタイミングで読み出されてロジック部5の処理に供される。
 ロジック部5では、入力される各フレーム画像信号に対して各種必要な信号処理(画像処理)を行う。
 例えばロジック部5では、色補正、ガンマ補正、色階調処理、ゲイン処理、輪郭強調処理、コントラスト調整処理、シャープネス調整処理、グレーレベル調整処理等の処理により画質調整を行うことが想定される。
 またロジック部5ではデータ圧縮処理、解像度変換、フレームレート変換、縦横比率変換、サンプリングレート変更など、データサイズを変更する処理を行うことも想定される。
 これらロジック部5で行われる各処理については、それぞれの処理に用いるパラメータが設定される。例えば色や輝度の補正係数、ゲイン値、圧縮率、フレームレート、解像度、処理対象の領域、サンプリングレートなどの設定値がある。ロジック部5では、それぞれの処理について設定されたパラメータを用いて必要な処理を行う。本実施の形態では、これらのパラメータを後述するように演算部8が設定する場合がある。
 ロジック部5で処理された画像信号はメモリ6に記憶される。
 メモリ6に記憶された画像信号は、必要なタイミングでインターフェース部7によりプロセッサ11等に送信出力される。
 なお、メモリ6としてはDRAM、SRAM(Static Random Access Memory)、MRAM(Magnetoresistive Random Access Memory :磁気抵抗メモリ)などが想定される。
 なおMRAMは磁気によってデータを記憶するメモリであり、磁気コアの代わりにTMR素子(tunneling magnetoresistive)を使用するものが知られている。TMR素子は数原子分という極めて薄い絶縁物の層を磁性体ではさんだもので、磁性体の層の磁化の方向によって電気抵抗が変化する。TMR素子の磁化の方向は電源が切られても変化せず、不揮発性のメモリとなる。微細化すればするほど書き込み電流を大きくする必要があるため、メモリセルを微細化するためには、磁界を使わず、スピンがそろった電子を流して書き込むスピン注入磁化反転方式(STT:spin torque transfer)を用いたSTT-MRAMが知られている。
 もちろんメモリ6の具体例としては、これら以外の記憶素子でもよい。
 センサ装置1の外部のプロセッサ11では、センサ装置1から送信されてきた画像信号について、画像解析、画像認識処理を行って、必要な物体検出等を実行する。
 プロセッサ11は外部センサ12の検出情報を参照することもできる。
 なお、プロセッサ11は、有線又は無線でセンサ装置1と接続されることが考えられる。
 このプロセッサ11は、センサ装置1と共通の筐体に設けられることが考えられる。例えばセンサ装置1を装備する撮像装置や端末装置内のプロセッサとされることが想定される。
 或いはまた、プロセッサ11は、センサ装置1とは別体の装置に設けられるものでも良い。例えばセンサ装置1を装備する撮像装置や端末装置とケーブルや無線通信等で接続される情報処理装置、端末装置、画像編集装置、モニタ装置、通信装置等に内蔵されるものでもよい。
 さらにプロセッサ11は、例えばクラウドコンピューティングシステムにおけるプロセッサとされ、センサ装置1或いはセンサ装置1を内蔵する機器との間でネットワーク通信が行われるものでもよい。
 演算部8は例えば1つのAIプロセッサとして構成される。そして実行可能な演算機能として図示するようにキーフレーム選択部81、物体領域認識部82、クラス識別部83、パラメータ選択部84を備える。なおこれらの演算機能が複数のプロセッサにより構成されてもよい。
 キーフレーム選択部81は、所定のアルゴリズム又は指示に応じて、動画としての画像信号のフレームの内でキーフレームを選択する処理を行う。
 またキーフレーム選択部81は、フレームレートに関するモード(第5の実施の形態におけるアイドリングモードとノーマルモード)を切り換える処理を行う場合もある。
 物体領域認識部82は、アレイセンサ2で光電変換され、ADC/ピクセルセレクタ3によって読み出される画像信号のフレームに対して、検出の候補となる物体の領域の検出や、検出対象の物体について画像(フレーム)内での当該物体を囲う領域(バウンディングボックス)の認識処理を行う。
 画像信号から検出される物体とは、画像からの認識を目的として検出対象となりうる物体のことをいう。センサ装置1やプロセッサ11の検出の目的、処理能力、アプリケーション種別などに応じて、どのような物体が検出対象とされるかは異なるが、あらゆる物体が、ここでいう検出対象の物体とされる可能性がある。あくまで一部であるが例示すると、動物、移動体(自動車、自転車、航空機等)、自然物(野菜、植物等)、工業製品/部品、建造物、施設、山、海、川、星、太陽、雲など、あらゆる物体が該当する可能性がある。
 また第2の実施の形態で説明するように、物体領域認識部82は、バウンディングボックスに基づいて、処理の対象とすべき領域(関心領域)を示す領域情報であるROI(Region of Interest)を算出する処理や、ROIに基づくADC/ピクセルセレクタ3に対する制御等を行う場合もある。
 クラス識別部83は、物体領域認識部82は検出した物体についてクラス分類を行う。
 クラスとは、画像認識を用いて認識された物体のカテゴリーである。例えば「人」「自動車」「飛行機」「船」「トラック」「鳥」「猫」「犬」「鹿」「蛙」「馬」などのように検出すべき物体をクラス分けするものである。
 パラメータ選択部84は、第1の実施の形態で説明するように、各クラスに応じた信号処理用のパラメータを記憶しており、クラス識別部83が識別した検出物体のクラスやバウンディングボックス等を用いて、対応する1又は複数のパラメータを選択する。そしてその1又は複数のパラメータをロジック部5に設定する。
 またパラメータ選択部84は、第3の実施の形態のように、バウンディングボックスを元にROIを算出するクラスをベースに予めクラス別に算出されたアドバンスドROI(Advanced ROI:AROI)のテンプレートを記憶しており、そのテンプレートを選択する処理を行う場合もある。
 またパラメータ選択部84には、第5の実施の形態におけるアイドリングモードとノーマルモードの設定値を記憶し、これを物体検出に基づいて選択して、信号処理部30を制御する処理を行う場合もある。
 演算部8によるこれらの機能は、通常アレイセンサ内では行わなかった処理であり、本実施の形態では、物体検出やクラス認識、及びこれらに基づく制御をアレイセンサ内で実行する。これにより、プロセッサ11へ供給する画像信号を、検出目的に沿った適切なものとしたり、検出性能の低下を招かないデータ量削減を実現する。
 なおインターフェース部7は、プロセッサ11へ画像信号を出力する他、演算部8で検出された物体の情報、クラスの情報、検出物体数、選択したパラメータの情報などを、例えばメタデータとして画像信号とともに出力したり、或いは画像信号とは独立して出力することができる。また例えばクラスの情報のみを出力するなどといったことも可能である。
 また例えばプロセッサ11側が、インターフェース部7に対して必要な情報を指示し、インターフェース部7がそれに応じた情報を出力することも考えられる。
<2.第1の実施の形態:分類画像適応化>
 図1の構成のセンサ装置1により実行できる第1の実施の形態の処理として分類画像適応化の処理を説明する。
 画像認識の精度は画質調整により異なるものとなる。例えばディープラーニングによる画像認識は画質を調整することにより、精度が向上する。
 そして画像認識にとって望ましい画質、つまり物体検出の精度が高くなる画質は、必ずしも人が見て綺麗と感じる画質ではないということがある。
 例えば図2Aは人がみて高品質と感じる画像の例を示し、一方図2Bは例えば階調数が少なくされるなどにより、人が見た感覚では、多少画質が劣化していると感じる画像であるとしている。
 ところが図2Aの画像をニューラルネットワークにより解析した場合の物体検出結果としては、花を魚(fish)と誤判定しており、一方、図2Bの画像に対しては花を正しく花(flower)と判定している。
 この例からわかるように画像認識の精度を高めるには、人の美観を基準とした画質調整とは異なる画質調整が行われることが望ましい。
 また、そのような物体検出に適した画質というのは、一律なパラメータによって調整される画質ではなく、検出対象となる物体によっても異なる。例えば人を検出する場合と自動車を検出する場合とでは、望ましい画質調整状態が異なる。つまり、検出対象によって画質調整のための望ましいパラメータの値は異なる。
 そこで分類画像適応化処理としては、対象となりうる物体のクラス毎に、適切なパラメータ(画質調整値)を記憶しておく。そしてアレイセンサ2により撮像された画像について、物体検出及び検出した物体のクラス識別を行い、その識別したクラスに応じてパラメータを選択してロジック部5に設定し、当該画像についてのロジック部5で、そのパラメータによる処理が行われるようにする。
 このような分類画像適応化処理の概要を図3に示す。なお図3は概要説明のために図1の構成の一部を抽出したものである。
 センサ装置1では撮像光学系40により被写体光がアレイセンサ2に集光され、画像撮像が行われる。得られた画像信号Gはロジック部5で処理されるが、演算部8にも供給される。
 演算部8では物体領域認識部82で候補となる物体の検出及びその物体領域の認識処理が行われる。この物体領域認識部82では、必要な物体領域についてバウンディングボックスの計算も行われる。
 また演算部8では、検出された物体についてクラス識別部83でクラス識別が行われる。複数の物体や複数種類の物体が検出された場合、それぞれについてクラス識別が行われ、各クラスに分類される。例えば図の場合、「車」というクラスの物体が1つ、「人」というクラスの物体が5つ、「交通信号機」というクラスの物体が1つというようにクラス識別及び分類が行われる。
 このクラスの情報やバウンディングボックスの情報がパラメータ選択部84に提供され、パラメータ選択部84は、記憶しているパラメータセットPR1、PR2・・・のうちで、クラスの情報等を用いて1つのパラメータセットを選択する。図では例えばパラメータセットPR4が選択された状態を示している。
 なおパラメータセットとは、例えばゲイン設定値、色補正係数、階調数、圧縮率、フレームレートなど、ロジック部5の処理で用いる複数のパラメータの値を1つのセットとして記憶したものである。
 選択されたパラメータセットPR4は、ロジック部5において設定される。ロジック部5は、画像信号Gに対して、そのパラメータセットPR4で示される各パラメータを用いて各種の信号処理を行う。
 アレイセンサはプロセッサ11の要求に応じて出力データ(画像信号、クラス、物体数、ターゲットクラスの有無等)のデータの全て、またはどれかを出力する。 
 またプロセッサ11は、センサ装置1に対して各種の指示を送信できる。
 このようにセンサ装置1では、演算部8が物体検出に基づくクラス識別の機能(物体のカテゴリー分け機能)を持ち、クラス識別部の出力に応じて、ロジック部5のパラメータが適応的に設定されるという分類画質適応化(物体検出から対象ジャンルに合ったパラメータ選択)が行われる。
 パラメータセットについては、ディープラーニングによりクラス毎に適切なパラメータ(画質設定値)を事前学習により予め生成して記憶しておく。
 例えば「人」というクラスのパラメータセットを生成する場合、図4Aに示すように、人間の画像を多数、学習データSDとして用いてディープラーニングを行い、人の認識という観点で最も画像認識率が高いパラメータセットPR1を生成する。
 他の各クラスについても、同様にディープラーニングを用いて最も画像認識率が高いパラメータセットPR2,PR3・・・を生成する。
 そして図4Bのように、生成した各クラスに対応するパラメータセットPR1,PR2,PR3・・・を、パラメータ選択部84が選択できるように記憶しておく。
 センサ装置1における分類画像適応化処理の具体例を図5に示す。逐次図6を参照しながら説明する。
 図5はステップS100としてアレイセンサ2から1フレーム単位の画像信号の出力が開始された後において、センサ装置1(主に演算部8)で実行される処理を示している。
 この図5において演算部8の処理は図1に示したキーフレーム選択部81、物体領域認識部82、クラス識別部83、パラメータ選択部84としての各機能により実行される処理である。なおこのことは、後述する図9、図14、図16、図18でも同様である。
 ステップS101で演算部8(キーフレーム選択部81)は、キーフレーム選択アルゴリズムに応じたタイミングでキーフレームを選択する処理を行う。
 センサ装置1はアレイセンサ2のピクセルアレイ出力信号であるフレーム単位の画像信号から、キーフレームを選択し、画像認識を行うことで、撮影対象のクラスを認識することになる。キーフレームの選択はキーフレーム選択アルゴリズムにより行われ、これにより静止画像(ある1フレーム)が選択される。
 キーフレーム選択アルゴリズムの例を挙げる。
 まず、指定した時間の間隔ごとに1フレーム選択するという手法がある。例えば30秒間隔で1フレームをキーフレームとするなどである。もちろん30秒というのは一例である。
 またセンサ装置1の外部(プロセッサ11等)からの命令によるタイミングとしてキーフレームを選択することも考えられる。例えばセンサ装置1が搭載されているデバイス、機器側からの指示に応じたものとする。例えばセンサ装置1が自動車に搭載されているケースで、駐車場に停止していたが、走行を開始したタイミングなどでキーフレームを選択するなどである。
 またキーフレームの選択手法を状況に応じて変化させてもよい。例えばセンサ装置1が自動車に搭載される場合に、停車時、通常走行時、高速走行時でキーフレームの間隔を変更するなどである。
 キーフレームが選択されたら、ステップS102で演算部8(物体領域認識部82)は、キーフレーム内の物体の候補となる位置の検出を行う。
 即ち演算部8はキーフレームの画像において検出すべき物体の候補を探索し、1又は複数の候補の位置(画像内の位置座標)を求める。
 例えば図6Aの入力画像がキーフレームとされたとする。演算部8はこの画像の中で検出すべき物体らしい箇所を検出する。例えば図6B、図6Cの領域が検出すべき物体らしい箇所とされる。これが物体の候補となる。
 図5のステップS103で演算部8(クラス識別部83)は、検出物体のクラス分類を行う。即ち物体の候補のそれぞれについてクラス識別を行い、分類する。
 上述のようにクラスとは画像認識を使って認識された物体のカテゴリーである。
 例えば図6D、図6Eのように、「人」「花」といったクラス識別が行われる。
 図5のステップS104で演算部8はクラス識別結果として得られたクラス内に ターゲットクラスが存在したか否かを確認する。
 ターゲットクラスは、クラスの中でプロセッサ11から特別に設定されたクラスである。例えばターゲットクラスが「人」と設定されていた場合は、センサ装置1は人を認識したときに指定されたプロセスに入るものとする。
 なおターゲットクラスは、複数指定可能とすることが望ましい。
 例えば「人」と「花」がターゲットクラスとされた場合であって、ステップS103で識別されたクラスのうちに「人」或いは「花」が存在した場合、演算部8はステップS104からS105に処理を進める。
 一方、ターゲットクラスが存在しなければ、演算部8はステップS101に戻って、次のキーフレームの選択を行うことになる。
 ターゲットクラスの存在によりステップS105に進んだ場合、演算部8(物体領域認識部82)はクラスに分類された物体エリアを囲う正確な位置座標(バウンディングボックス)の算出を行う。
 図6F、図6Gにバウンディングボックス20を示している。バウンディングボックス20は、X軸上の領域範囲としての最小座標値Xmin、最大座標値Xmax、及びY軸上の領域範囲としての最小座標値Ymin、最大座標値Ymaxにより規定される。
 図5のステップS106で演算部8(パラメータ選択部84)は、物体のクラス、数、バウンディングボックス20の面積を元に パラメータセットを選択する。
 例えば1つのターゲットクラスが存在する場合は、そのクラスに対応するパラメータセットを選択する。
 画面内に複数種類のターゲットクラスの物体が存在する場合は、以下の例が考えられる。
 例えば、各クラスのうち最も物体の数の多いクラスに対応するパラメータセットを選択することが考えられる。
 又は、画面内に複数種類のターゲットクラスの物体が存在する場合は、最もバウンディングボックス20の面積が大きい物体のクラスに対応するパラメータセットを選択することが考えられる。
 又は、画面内に複数種類のターゲットクラスの物体が存在する場合は、クラス毎にバウンディングボックス20の面積の総計が最も大きくなるクラスに対応するパラメータセットを選択することが考えられる。
 又は、画面内に複数種類のターゲットクラスの物体が存在する場合は、クラス毎の物体の数とバウンディングボックス20の面積の総計(又は最大値)から、最優先のクラスを求め、そのクラスに対応するパラメータセットを選択することが考えられる。
 もちろん他にもパラメータセットの選択手法は各種存在するが、いずれにしても画面内で支配的な物体、もしくは優先して検出すべき物体のクラスに応じたパラメータセットが選択されるようにすればよい。
 ステップS107で演算部8(パラメータ選択部84)は、選択したパラメータセットをロジック部5に設定する処理を行う。
 これによりロジック部5では以降、順次入力される各フレームの画像信号について、設定されたパラメータセットを用いて各種の画像処理を行う。
 処理された画像信号や設定されたパラメータ、或いは識別されたクラスの情報などはDRAM6に一時的に記憶される。
 ステップS108では、センサ装置1は、プロセッサ11の要求に応じて画像信号(静止画、動画)、クラス識別情報(クラス、オブジェクト数、 ターゲットクラスの有無等)、使用されたパラメータセット等の情報の全て、または少なくともいずれかを出力することになる。
 つまりDRAM6に一時記憶された情報のいずれかが、プロセッサ11の要求に応じてインターフェース部7により読み出されて送信される。
 なお、このステップS108の処理は、演算部8の制御によるものとしてもよいが、インターフェース部7を介したプロセッサ11によるDRAM6に対するアクセスにより実行されるものでもよい。演算部8がインターフェース部7の制御を行わない場合、演算部8の処理としては、ステップS107の後、ステップS101に戻ることになる。
 以上の処理により、プロセッサ11には、画像に含まれる物体としてのターゲットクラスの存在に応じてパラメータ設定がなされた画像信号が供給される。その画像信号は、当該ターゲットクラスの物体の検出に適した画像処理が行われた画像信号となる。
 また検出されたクラス(ターゲットクラス)や物体数の情報もプロセッサ11に提供されれば、プロセッサ11での物体検出処理に有用な情報となる。
 これらにより、プロセッサ11で精度の高い物体検出を行うことができる。
 なお、センサ装置1内では簡易的にクラス設定を行い、外部でより細かく認識するという使い方もできる。例えば顔認識やナンバープレート認識まではセンサ装置1で実行せずに、プロセッサ11に実行させるような処理も可能である。
 また図5の処理例では、ステップS102で物体らしい箇所を検出し(図6B、図6C)、ステップS103でクラス識別し(図6D、図6E)、その後ステップS105でバウンディングボックス20の設定を行う(図6F、図6G)ものとしているが、この手順に限られない。例えばステップS102の段階で、物体らしい箇所を検出したらバウンディングボックス20の設定をしてしまい、その後、ステップS103でクラス識別を行い、ターゲットクラスが存在したらステップS104からS106に進むような手順でもよい。
<3.第2の実施の形態:エリアクリッピング>
 図1の構成のセンサ装置1により実行できる第2の実施の形態の処理としてエリアクリッピングを説明する。
 アレイセンサ2によって検出される画像信号については、通常は、各フレームの全画素の情報をプロセッサ11に送信して画像認識を実行させることが考えられる。
 しかし全フレームの全画素の情報をプロセッサ11に転送し、プロセッサ11で物体検出していくと、特にアレイセンサ2による撮像画像の高精細化が進むにつれ、転送情報量が著しく増大し、転送時間も要するようになる。またクラウド送信する場合には通信量の増大は通信コスト、時間に大きく影響する。さらにプロセッサ11やクラウドにおけるストレージ量の負担も増え、かつ解析処理負担、処理時間も増え、物体検出パフォーマンスが低下する懸念がある。
 そこで第2の実施の形態では、あるフレームの画像において必要な物体を認識したら、次のフレーム以降は、おおよそ当該物体の領域の画素レベルで画像信号の取得や転送を行うようにし、他の領域の画素は情報として存在しないようにすることで、処理の効率化を図るようにする。
 図7に概要を示す。
 図7Aに或るフレームF1の画像を示している。検出すべき物体として「人」を設定した場合、フレームF1の画像内で人の領域を検出する。そして人が検出された領域を関心領域であるROI(Region of Interest)21とする。
 以降のフレームF2、F3・・・Fnでは、アレイセンサ2から、ROI21とされた領域内の画素のみを読み出すようにする。その画像は図7BのようにROI21の部分の情報のみを含む画像となる。
 そしてこのような部分的な画素情報を含む画像信号に基づいて演算部8における解析が行われたり、プロセッサ11へ転送されて画像解析が行われるようにする。
 具体的には図8Aに模式的に示すように、アレイセンサ2により得られる画像信号のうち、Nフレームに1枚の割合としての或るフレームF1については全有効画素の情報を含む画像とする。そして演算部8で全画面をスキャンして対象物の有無と位置の検出を行う。そしてROI21を設定する。
 後続のフレームF2を取得する際には、図8Bのように対象エリアとされたROI21の画素のみAD変換が行われた画像信号が取得されるようにする。なお図において格子で区切られた各方形は画素を示す。
 このように例えばNフレームごと1フレームだけ全画面スキャンして対象物の検出を行い、図8Cのように以降のフレームF2,F3,F4・・・では前フレームの対象物の検出エリアのみ画像解析を行う。 
 このプロセスを行うことで、アプリケーションの対象となる物体検出の精度を落とすことなく、解析データ量の削減、通信データ量の低減が行われ、センサ装置1の低消費電力化とセンサ装置1を搭載したシステム全体の物体検出に関わる画像解析の高速化が行われる。
 エリアクリッピング解析としてのセンサ装置1の演算部8の処理例を図9に示す。逐次図10を参照しながら説明する。
 演算部8(キーフレーム選択部81)はステップS201で物体検出キーフレーム記録タイミングとなったか否かを判定する。
 物体検出キーフレーム記録タイミングとは、物体検出の為にアレイセンサ2の全有効画素領域で情報取得を行うタイミングを意味する。
 物体検出キーフレーム記録タイミングとしては、例えばプロセッサ11等のセンサ装置1の外部からの命令で判定するようにしてもよい。例えば60secの指示に応じて、60secの間隔で物体検出キーフレーム記録タイミングと判定することが想定される。
 物体検出キーフレーム記録タイミングとなったら、演算部8はステップS202に進み、アレイセンサ2の全有効画素領域でAD変換された画像データを取得する。例えばADC/ピクセルセレクタ3に、全有効画素領域を対象としてアレイセンサ2からの1フレームの画像信号を出力させる。
 ステップS203で演算部8(物体領域認識部82)は、取得した画像について物体の候補となる位置の検出を行う。
 図10Aに示すように、例えばフレームF1を物体検出キーフレームとしたときに、このフレームF1の画像内で、物体の候補領域23を検出する。この場合、「人」や「木」の画像を含む領域が候補領域23とされている。
 図9のステップS204で演算部8(クラス識別部83)は、候補として検出された物体のクラス分類を行う。
 例えば図10Bのように、候補領域23の物体について「人」「木」などのクラス識別を行う。
 図9のステップS205で演算部8はクラス識別結果として得られたクラス内に ターゲットクラスが存在したか否かを確認する。
 例えば「人」がターゲットクラスとされていた場合、図10Bのように識別されたクラスとしてターゲットクラスが存在していることになる。そのような場合、演算部8は図9のステップS205からS206に処理を進める。
 一方、ターゲットクラスが存在しなければ、演算部8はステップS201に戻って、次の物体検出キーフレーム記録タイミングを待機する。
 図9のステップS206で演算部8(物体領域認識部82)は、ターゲットクラスとされたクラスに分類された物体のエリアを囲う正確な位置座標のバウンディングボックス20の算出を行う。
 例えば図10Cにターゲットクラスである人の画像についてのバウンディングボックス20の例を示している。即ちバウンディングボックス20はターゲットクラスに該当する物体のより正確な領域として計算される。
 図9のステップS207で演算部8(物体領域認識部82)は、バウンディングボックス20を元にROIを算出する。
 図10DにROI21とバウンディングボックス20を示している。ROI21はバウンディングボックス20の縦横サイズ(x×y)を拡大(ax×by)して計算される。拡大の縮尺a,bは縦横別に設定でき、拡大率は固定でもよいが、センサ装置1の外部(例えばプロセッサ11など)より指定されるようにすることも考えられる。
 演算部8(物体領域認識部82)は、このように計算したROIをADC/ピクセルセレクタ3に伝える。
 これに応じてADC/ピクセルセレクタ3では、アレイセンサ2におけるROI21内に該当する画素のみAD変換して出力することになる。
 演算部8は図9のステップS208で、ROI21内の画素のみの情報を含む次のフレームの画像データを取得する。そして、取得したフレームについてステップS203、S204の処理を行う。
 図10Eには、全有効画素のうちROI21内の画素のみAD変換を行うことを模式的に示している(各図において格子で区切られた方形は画素を示す)。
 このようなAD変換により、図10FのようにROI21の部分のみの情報を有するフレームF2の画像が演算部8に取得される。
 そして演算部8は、図9のステップS203、S204で、このフレームF2の画像に対して物体候補の位置の検出とクラス分類を行うが、例えばこの図10Fの場合、人が検出されるため、ステップS206、S207に進み、新たにバウンディングボックス20の算出や、バウンディングボックス20に基づく新たなROI21の算出が行われることになる。図10Fでは新たに求められたROIを「ROI21(NEW)」として示している。
 なお、ROI21を、バウンディングボックス20を広げることで生成するのは、被写体である物体の動き(又は撮像装置の被写体方向の変化)に対応するためである。
 例えば図10EのフレームF2の人の位置は、図10AのフレームF1の人の位置より右方向に変化している。しかしROI21が広めに設定されていることで、ROI21内の画素のみであっても、フレームF2において、対象の人の画像を取得でき可能性を高めている。
 なお、このようにROI21は次のフレームでも対象の物体を検出できるようにバウンディングボックス20を広げるが、縦横サイズ(x×y)を拡大(ax×by)するときの拡大の縮尺a,bは、フレームレートに応じたものとすることも考えられる。
 例えばフレームレートが低いと、フレーム間隔の時間が長くなり人などの物体の移動量も大きくなるため、フレームレートが高い場合よりもROI21を広くすることが考えられる。
 またフレーム毎にROI21を計算しなおすこと(新たなROI21(NEW)を生成すること)も、被写体である物体の動き(又は撮像装置の被写体方向の変化)に対応するためである。
 人の移動により、図10Fの画像からはROI21内の右寄りの位置で人が検出される。そこで新たに人の領域を囲むバウンディングボックス20を計算してROI21を求めることで、ROI21(NEW)のように、人の動きに追従していくようにROIを更新していく。
 演算部8はステップS207では、新たなROI21(NEW)をADC/ピクセルセレクタ3に伝える。これにより、次のフレームは、新たなROI21(NEW)内の画素のみがAD変換されることになる(図10G参照)。
 そして同様に演算部8はステップS208で、ROI21(NEW)内の画素の情報のみの画像信号を取得し、ステップS203以降の処理を行う。
 このような処理はステップS205でターゲットクラスが存在しないと判定されるまで繰り返し行われる。従って、例えばROI21の位置が被写体としての人に合わせて更新されていくことで、例えば図10HのフレームFnのように人の位置が移動していても、図示しない前のフレームF(n-1)で計算されたROI21に基づいて人の領域の情報を含むフレームFnの画像信号を取得することができる。
 もし、検出されていた人がフレームアウトして検出できなくなると、ターゲットクラスが取得できなくなるため、演算部8はステップS205からS201に戻り、次の物体検出キーフレーム記録タイミングを待機する。
 以上のようなエリアクリッピング解析の処理が行われることで、物体検出キーフレーム記録タイミングのキーフレームの画像信号は全有効画素のデータを含むが、後続のフレームでは、物体検出に必要な画素のみという、極めてデータ量が低減された画像信号とすることができるとともに、目的の物体の検出に適した画像となる。さらにアレイセンサ2における読み出しを行う画素数が低減されることによる消費電力削減も実現できる。
 なお図9の処理例の場合、1つのターゲットクラスの物体毎についてROI21が設定され、それぞれの物体に応じたROI21の領域がアレイセンサ2からの読み出し対象となるが、それは物体検出キーフレームで検出された物体に限られる。例えばフレームF2、F3のタイミングで被写体として新たな物体(例えば人)が現れても、その人の画像は取得されない可能性がある。
 これは例えばある程度の時間間隔の物体検出キーフレームで発見された物体を追尾して解析したいような使用目的であれば問題ないが、例えば被写体として出現する全ての人を監視する監視システムなどに適用する場合では、物体検出キーフレーム以外のフレームで出現する物体についても検出対象としたい。
 そこで、例えば、ターゲットクラスの物体の検出が継続されていても(つまりステップS205で「YES」の判定が続く場合であっても)、所定時間間隔で必ずステップS202に戻り、全有効画素の画像信号を取得するようにすることが考えられる。
 全有効画素の画像信号を取得する時間間隔をプロセッサ11等から指定できるようにすることも好適である。
 または画像の周縁部を、ROI21とは別に常にAD変換対象の領域としておき、被写体として新たに物体がフレームインしてきたら、その物体を検出し、その物体についてもROI21を設定できるようにすることも考えられる。
 ROI21は、バウンディングボックス20を拡大することで、矩形の領域とする例を述べたが、ROI21は矩形の領域に限られるものではない。
 例えばセマンティックセグメンテーション、即ち画素レベルでの物体エリア検出を用いて、そのターゲットクラスの物体のエリアからROI21を計算してもよい。
 図11はセマンティックセグメンテーションに基づくROI21を示している。これは物体(例えば人物)としての画素領域を広げて、非矩形のROI21を設定した例である。
 例えば突起物のあるトラック、自転車に乗っている人など、矩形のROI21では一部が含まれなかったり、或いは大きすぎる状態になってしまうことがある。画素レベルの物体位置に応じて非矩形のROI21を生成すれば、データ量削減と必要な情報取得を両立できるROI21となる可能性を高くすることができる。
 なお、以上の第2の実施の形態のエリアクリッピングと、第1の実施の形態の分類画像適応化処理を組み合わせて実行することで、データ量削減と検出精度向上という効果をより有効に得ることができる。
<4.第3の実施の形態:AROIを用いたエリアクリッピング>
 図1の構成のセンサ装置1により実行できる第3の実施の形態の処理としてアドバンスドROI(「AROI」とも表記する)を用いたエリアクリッピングを説明する。
 AROIとは、クラスに応じて設定されたテンプレートを用いて設定されるROIである。
 アレイセンサ2(イメージセンサ)では光電変換で消費される電力が最も大きい。このため消費電力削減には、できるだけ光電変換する画素を少なくしたい。
 またアレイセンサ2により得る画像信号は、画像解析のためであって人が見るわけでないので、人が見て認識できたり、きれいな画像であったりする必要は無い。換言すれば、精度よく物体検出できる画像であることが重要である。
 例えば上記の第2の実施の形態では、検出した物体についてクラス識別を行うが、このようにクラス識別を行うのであれば、クラスに応じた、認識のための最低限のエリアがROIとして設定されるようにすればよいことになる。そこで図12,図13に示すようなAROI22を設定する。
 図12は人の画像領域に対して「人」というクラスに対応するテンプレートを用いて生成したAROI22を示している。図の格子は画素(ピクセル)であり、濃い画素がAROIで指定される画素であるとしている。
 例えば「人」というクラスに対応するテンプレートは、顔の部分を高密度に必要画素とし、身体部分は必要画素を低密度に配置して全体をカバーできるようなものとされる。
 また図13は「自動車」というクラスに対応するテンプレートを用いて生成したAROI22を示している。この例では、自動車の背面画像に適応するもので、例えばナンバープレートが位置する部分を高密度に必要画素とし、それ以外は必要画素を低密度に配置して全体をカバーできるようなものとされる。
 実際には、「人」のクラスも細分化して、「横向きの人」「正面向きの人」「座っている人」などとしてテンプレートを細分化したり、「自動車」のクラスについては「側面画像」「正面画像」「背面画像」などとしてテンプレートを細分化しることも考えられる。
 このようにクラスに応じてテンプレートを選択し、実際のフレーム内の領域サイズにあわせてテンプレートを拡大縮小してAROI22を生成する。
 AROI22を用いる処理例を図14に示す。
 なおステップS201からS206は図9と同様の処理であるため重複説明を避ける。
 演算部8(物体領域認識部82)は、物体検出キーフレーム記録タイミングで得られた全有効画素の画像信号においてターゲットクラスの物体が存在した場合、ステップS206でバウンディングボックス20を算出する。
 そして演算部8(パラメータ選択部84)はステップS210で、クラスを元に予め算出して記憶しているAROI用のテンプレートを選択する。
 例えば「人」がターゲットクラスであり、画像内に人が存在した場合は、「人」用のテンプレートを選択する。
 ステップS211で演算部8(物体領域認識部82)は、バウンディングボックス20に基づいてAROI22を算出する。
 例えばバウンディングボックス20のサイズに応じてテンプレートのサイズを調整したものをAROI22とする。
 そして演算部8(物体領域認識部82)は、そのAROI22(AROIのパターンと領域)をADC/ピクセルセレクタ3に伝える。
 これに応じてADC/ピクセルセレクタ3では、アレイセンサ2におけるAROI22内に該当する画素のみAD変換して出力することになる。
 演算部8はステップS212で、AROI22内の画素のみの情報を含む次のフレームの画像データを取得する。そして、取得したフレームについてステップS203、S204の処理を行う。
 以降の処理の流れは図9で説明したものと同様である。
 このようにクラスに応じて設定されたテンプレートを用いてAROI22を生成することで、光電変換する画素を大幅に少なくしてもクラスに応じて物体検出を的確に行うことのできる情報を得ることができる。
 なお第2の実施の形態で言及した物体検出キーフレーム記録タイミングが或る時間間隔で必ず発生するようにすることや、画像の周縁部を常にAD変換対象の領域としておくようにすることは、この第3の実施の形態でも適用できる。
 また、以上の第3の実施の形態のAROI22を用いたエリアクリッピングと、第1の実施の形態の分類画像適応化処理を組み合わせて実行することで、データ量削減と検出精度向上という効果をより有効に得ることができる。
<5.第4の実施の形態:インテリジェントコンプレッション>
 図1の構成のセンサ装置1により実行できる第4の実施の形態の処理としてインテリジェントコンプレッションの処理を説明する。
 インテリジェントコンプレッションとは、検出の対象物を特定し、対象物を低圧縮率、対象物以外を高圧縮率で圧縮をかけるようにすることである。 
 具体例を図15に示す。
 図15Aは或る1フレームの画像からターゲットクラスである「自動車」のクラスを検出した場合に、各自動車の領域に対応してROI21を生成した状態を示している。
 図15Bは、このROI21の領域を低圧縮率、その他を高圧縮率で圧縮した画像信号である。
 このようにすることで、物体検出のアプリケーションの対象となる物体の検出精度を落とすことなく、解析データ量の削減や通信データ量の低減が行われるようにする。
 またセンサ装置1の低消費電力化とセンサ装置1を搭載したシステム全体の物体検出に関わる画像解析の高速化も図る。
 インテリジェントコンプレッションを行う処理例を図16に示す。
 なおステップS201からS206は図9と同様の処理である。但し先に説明したエリアクリッピングの場合とは若干事情が違う点があるためこれらの処理にも言及する。
 演算部8(キーフレーム選択部81)はステップS201で物体検出キーフレーム記録タイミングとなったか否かを判定する。
 物体検出キーフレーム記録タイミングとなったら、演算部8はステップS202に進み、アレイセンサ2の全有効画素領域でAD変換された画像データを取得する。
 但し、インテリジェントコンプレッションの場合、ADC/ピクセルセレクタ3は、毎フレーム、アレイセンサ2からの全画素の信号の読み出し(AD変換)を行っている。
 演算部8(物体領域認識部82)はステップS201で取得した画像について物体の候補となる位置の検出を行う。そしてステップS204で演算部8(クラス識別部83)は、候補として検出された物体のクラス分類を行う。
 ステップS205で演算部8はクラス識別結果として得られたクラス内に ターゲットクラスが存在したか否かを確認する。
 演算部8(物体領域認識部82)は、物体検出キーフレーム記録タイミングで得られた全有効画素の画像信号においてターゲットクラスの物体が存在した場合、ステップS206でバウンディングボックス20を算出する。
 ステップS220で演算部8(物体領域認識部82)は、バウンディングボックス20を元にROI21を算出する。この場合も、例えばバウンディングボックス20を拡大してROI21を設定することが考えられる。
 演算部8(物体領域認識部82)は、このように計算したROI21をロジック部5に伝える。
 これに応じてロジック部5ではステップS221で、アレイセンサ2から読み出された画像信号に対して、ROI21内に該当する画素領域については低圧縮率で、その他の画素領域は高圧縮率で、圧縮処理を行う。
 圧縮処理された画像信号は、その後DRAM6に書き込まれ、インターフェース部7によりプロセッサ11に転送される。
 プロセッサ11では、ROI21で指定された必要な領域は低圧縮率とされており、情報が十分に存在することで、精度のよい物体検出が可能となる。
 演算部8の処理としては、ステップS220の後、ステップS203に戻り、次のフレームについての物体候補の位置の検出を行い、ステップS204で検出物体のクラス識別を行う。
 この第4の実施の形態では、アレイセンサ2からの読み出しは各フレームにおいて全有効画素とするものであり、従って、ステップS220、S211の後にステップS203に戻った場合にも、演算部8はステップS203で、全有効画素の範囲をスキャンして物体の候補の検出を行うことは可能である。全有効画素の範囲をスキャンして物体の候補の検出を行うことで、キーフレーム記録タイミングの間での新たなターゲットクラスの物体の出現にも常に対応できる。
 しかしこの場合に、演算部8が物体の候補の検出をROI21内の領域のみで行うようにすると、演算部8の処理負担を削減できることになる。
 演算部8は、ターゲットクラスの存在が確認されることに応じて、ステップS206,S220でROI21を更新していく。
 従って、ロジック部5において低圧縮率で圧縮される領域も、各フレームの物体の位置に応じて更新されていくことになる。
 もしステップS205でターゲットクラスの存在がないと判定された場合は、演算部8の処理はステップS202に戻り、物体検出キーフレーム記録タイミングを待機する。
 以上の図16の処理により、解析に必要な箇所、即ちターゲットクラスの物体が存在するROI21内が低圧縮率で圧縮処理され、それ以外は高圧縮率で圧縮処理されるインテリジェントコンプレッションの処理が行われることになる。
 なお第2の実施の形態で言及した物体検出キーフレーム記録タイミングが或る時間間隔で必ず発生するようにすることや、セマンティックセグメンテーションに基づくROIを生成することは、この第4の実施の形態でも適用できる。
 また、以上の第4の実施の形態のインテリジェントコンプレッションの処理と、第1の実施の形態の分類画像適応化処理を組み合わせて実行することで、データ量削減と検出精度向上という効果をより有効に得ることができる。
<6.第5の実施の形態:アクティブサンプリング>
 図1の構成のセンサ装置1により実行できる第5の実施の形態の処理としてアクティブサンプリングを説明する。
 アクティブサンプリングは、対象物の有無でフレームレートをダイナミックに変化させる処理を指している。対象物の有無に応じた時間軸方向のデータ量の圧縮であるといえる。またセンサ装置1の電力消費の削減も図ることができる。
 図17によりアクティブサンプリングの概要を説明する。
 今、ターゲットクラスを「人」として、撮像画像から人の検出を行うとする。例えばビルの中から玄関を通して外を監視カメラで撮像している場合を想定する。
 図17Aは、撮像画像に人が含まれていない状態を示している。このような場合は、フレームレートを低いレート、例えば1fpsとする。
 図17Bは、撮像画像内に人が検出される状態を示している。このような場合は、フレームレートを高いレート、例えば100fpsに変更する。
 即ち、検出対象を限定してフレームレートをダイナミックに変化させることで、特に必要のないとされるとき(人が検出されないとき)はフレームレートを落とし、必要なとき(人が検出されているとき)は、フレームレートを上げて情報量を密とする。
 図18にアクティブサンプリングの処理例を示す。
 ステップS301で演算部8(キーフレーム選択部81)は、例えば予め演算部8内に記憶されているアイドリングモードの設定に従って、ADC/ピクセルセレクタ3へ動画撮像の設定を行う。
 例えば演算部8内でパラメータ選択部84には、アイドリングモードの設定とノーマルモードの設定が記憶されているようにする。
 アクティブサンプリングにはアイドリングモードとノーマルモードが設けられており、アイドリングモードは、ターゲットクラスの物体が撮像画面内に入っていることが確定する前のモードである。
 このアイドリングモードではノーマルモードよりも遅いフレームレートで動画撮像が行われる。
 アイドリングモードはセンサ装置1の外部からの命令で開始することが考えられる。またアイドリングモードは、センサ装置1の外部からアイドリングモード用データ取得タイミング間隔の命令に応じるようにしてもよい。例えば60secの指示があった場合、60secの間隔で物体検出キーフレーム記録タイミングとなる。
 ノーマルモードは、通常の動画撮像モードである。例えばセンサ装置1の外部からのノーマルモード用データ取得タイミング間隔の命令に応じる。
 通常アイドリングモードよりも早いフレームレートで動画撮影が行われるもので、例えば0.01secの指示があった場合、0.01secの間隔(100fps)で撮像を行うモードとなる。
 従ってステップS301で演算部8がADC/ピクセルセレクタ3にアイドリングモードを指示することで、仮にアイドリングモードの設定が1fspであれば、動画撮像は例えば1sec間隔で行われる。
 なおアイドリングモードの設定とノーマルモードの設定は、必ずしも演算部8内に記憶されるのではなく、演算部8の外部メモリに記憶されてもよい。
 もちろんアイドリングモード、ノーマルモードのフレームレートは一例である。
 またアイドリングモード、ノーマルモードの設定値はプロセッサ11等の外部装置から書き換え可能とされていることが望ましい。
 ステップS302で演算部8(物体領域認識部82)は、取得した画像について 物体の候補となる位置の検出を行う。
 ステップS303で演算部8(クラス識別部83)は、候補として検出された物体のクラス分類を行う。
 ステップS304で演算部8はクラス識別結果として得られたクラス内に ターゲットクラスが存在したか否かを確認する。
 ターゲットクラスが存在しなければ、演算部8はステップS301,S302,S303の処理を行う。即ちアイドリングモードとしての次のフレームの画像を取得し、同様に物体の候補となる位置の検出やクラス識別を行う。この場合は例えば1fpsで撮像が行われているとすると、1秒後の画像についてこれらの処理を行うこととなる。
 例えば「人」がターゲットクラスとされていた場合で、識別されたクラスとして「人」が存在していた場合、演算部8はステップS304からS305に処理を進める。
 演算部8(キーフレーム選択部81)は、記憶されているノーマルモードの設定に従って、ADC/ピクセルセレクタ3へ動画撮像の設定を行い、ノーマルモードの撮像を指示する。
 従って仮にノーマルモードの設定が100fspであれば、動画撮像は例えば0.01sec間隔で行われるようになる。
 このようにノーマルモードに切り換えた状態で演算部8はステップS302、S303の処理を行う。
 そして撮像された画像内にターゲットクラスが存在している限り、ノーマルモードが継続され、一方、ターゲットクラスが存在しなくなったらステップS301に戻ってアイドリングモードに切り換えられることになる。
 以上のようにアクティブサンプリングとしての処理が行われる。これにより特にターゲットクラスが存在しない期間は、フレームレートを下げてデータ量圧縮を行い、またそれにより消費電力が削減される。
 なお、演算部8は、ADC/ピクセルセレクタ3にフレームレート変更を指示してフレームレートを可変させるとしたが、ロジック部5にフレームレート変換を指示してもよい。
例えばアレイセンサ2からの読み出しは常に100fpsで行い、アイドリングモードの場合は、ロジック部5にフレーム間引きを指示する。これによりプロセッサ11への伝送に関してのデータ量削減が可能である。
 なお、このようなアクティブサンプリングの処理と、第2,第3,第4の実施の形態を組み合わせることで、検出精度を低下させずに、より有効なデータ量削減効果が得られる。
 また、アクティブサンプリングの処理と第1の実施の形態の分類画像適応化処理を組み合わせることで、有効なデータ量削減に加えて検出精度を向上させることもできる。
<7.第6の実施の形態:閾値設定による画像適応化>
 第6実施の形態の処理として画像適応化の処理を説明する。ここで説明する例は、第1の実施の形態の分類画像適応化の処理に、さらに閾値設定に応じたパラメータ変更という考え方を加える例としている。
 ここでいうパラメータの一例としては、ロジック部5での画像処理で用いるパラメータが想定され、ロジック部5で用いる画像処理のパラメータが、例えばセンサ装置1内で設定された閾値を満たすように設定(調整・変更)される。
 またパラメータとしては、ADC/ピクセルセレクタ3での信号読出やアレイセンサ2での露光動作等の撮像処理に用いるパラメータも想定される。ADC/ピクセルセレクタ3やアレイセンサ2の撮像処理動作の制御パラメータ等が、例えばセンサ装置1内で設定された閾値を満たすように設定(調整・変更)されるようにする。
 上述の第1の実施の形態では、ロジック部5で用いるパラメータはクラス識別に応じて選択されたが、この選択されたパラメータが、閾値に基づいて設定(調整・変更)されるものとすることもできる。
 或いは、必ずしもクラス識別に基づいて選択されたパラメータに限らず、ロジック部5やADC/ピクセルセレクタ3やアレイセンサ2で用いられるパラメータであれば、閾値に基づいて設定されるようにすることが考えられる。
 このように閾値に基づいて自動的に設定される撮像処理に関するパラメータや画像処理に関するパラメータの具体例を示す。
 例えば画像処理に関するパラメータは次のように例示される。
・画像の縦横比率
・解像度
・色階調数(色数、またはビット数)
・コントラスト調整値
・シャープネス調整値
・グレーレベル調整値
・ガンマ補正値
・サンプリングレート変換比
 画像の縦横比率や解像度のパラメータは、ROI21にも反映される。
 色階調数、コントラスト調整値、シャープネス調整値、グレーレベル調整値、ガンマ補正値、解像度は、画質に関するパラメータとなる。
 サンプリングレート変換比は時間解像度のパラメータとなる。
 また撮像処理に関するパラメータとしては
・サンプリングレート
・解像度(例えばADC/ピクセルセレクタ3の読出時点で設定する解像度)
・アレイセンサ2のシャッタスピード(露光時間)
 などがある。
 もちろん閾値に基づいて自動的に設定されるパラメータは上記列挙以外のパラメータもある。
 このようなパラメータの閾値に応じた設定は、例えばプロセッサ11でディープニューラルネットワーク(DNN:Deep Neural Network)を用いた学習に基づいて物体検出を行う場合に、その物体検出の出力について実用可能な精度を担保しながら、データ量削減、処理の高速化、低消費電力化等を図るために行う。
 即ち、解像度や色数などのパラメータを変更して撮像データ量を低減するが、それによっても物体検出の精度が、必要なレベルで維持されるようにする。
 図19で閾値に基づくパラメータ設定の考え方を説明する。
 例えばセンサ装置1で人を撮像した場合に、その出力画像としては、アレイセンサ2の全ての画素(全ての有効画素)の情報を有し、例えばフレームレートとして60fps(frames per second)でフルカラーの画像データを出力したとする。
 そして、そのような画像データについて例えばプロセッサ11で物体検出を行った場合に、コンフィデンスレートCR=0.98として、98%の割合で、正しく人検出ができたとする。コンフィデンスレートとは、正しく物体を判別して検出できる確証性の割合である。
 一方、解像度を若干下げ、色の階調数を若干下げ、フレームレートを30fpsにした画像データを出力した場合、コンフィデンスレートCR=0.92となったとする。
 また、解像度をより下げ、色の階調数もより下げ、フレームレートを15fpsにした画像データを出力した場合、コンフィデンスレートCR=0.81となったとする。
 さらに、解像度を大幅に下げ、色の階調数も大幅に下げ、フレームレートを10fpsにした画像データを出力した場合、コンフィデンスレートCR=0.58となったとする。
 以上はあくまでも説明上の例であるが、このように解析対象の画像データの解像度や色数、時間解像度などの撮像または画質に関わるパラメータの変更を行うことでコンフィデンスレートが変動する。つまり画像解析や物体検出の精度が変わる。
 ところで物体検出のコンフィデンスレートは高いに越したことはないが、実際には常に最高のレートが求められるわけではない。
 例えば図7Aのように公園を俯瞰撮像する画像からおおざっぱに人の数を検出したいといった場合を考えた場合、さほどの正確性は要求されない。例えば数人、10人前後、20人前後、などといった検出結果を求める場合は、コンフィデンスレートCR=0.6程度でも十分かもしれない。
 一方、防犯カメラ等で人の侵入等を厳しく監視したいような場合、コンフィデンスレートCR=0.95程度が求められる場合もある。
 また昼間はコンフィデンスレートCR=0.70でも良いが、夜間はコンフィデンスレートCR=0.90程度にしたいという要望もあり得る。
 つまり、物体検出の精度として要求されるコンフィデンスレートCRは、その検出についての目的、対象、機器/アプリケーションプログラムの種別、時期、地域など、多様な要素によって異なるものとなる。
 さらには、コンフィデンスレートは、プロセッサ11の解析能力、学習程度によっても変動するし、検出対象、クラスによっても変動する。
 これらのことから、例えば求められる適切なコンフィデンスレートを基準に閾値を決め、それに応じてパラメータを変更することで、物体検出等の要求に合致した画像信号の出力を行うことができる。
 今、図19の例において、コンフィデンスレートCR=0.80以上が求められるとする。
 その場合に、コンフィデンスレートCRとしての閾値0.80以上となるようなパラメータを計算し、ロジック部5等で用いられるパラメータを設定する。特には閾値より高いが、比較的データ量が少なくなるようなパラメータを設定する。
 例えば図示するコンフィデンスレートCR=0.81となる解像度、色階調数、フレームレートなどのパラメータが設定されるようにする。
 すると、例えばコンフィデンスレートCR=0.98となるようにパラメータを設定して画像信号を出力する場合に比べて、大幅にデータ量を削減し、しかも必要な物体検出精度を維持できる。
 なお、「閾値」とは、コンフィデンスレートとしての要求される値と考えても良いが、パラメータ調整のために算出する閾値という意味では、要求される「閾値」としてのコンフィデンスレートを得るためのパラメータの値としても考えることもできる。
 つまり技術的な意味では、「パラメータの閾値を設定し、閾値に基づいて設定したパラメータを用いた処理が行われるようにする」という処理は、次の[1][2]のような処理手法が想定される。
[1]使用態様や使用環境に適したコンフィデンスレート等の指標値の閾値を算出し、その指標値の閾値を越える指標値が得られるパラメータ値として実際に使用するパラメータを設定する。つまり物体検出の指標値の観点でパラメータの閾値を設定する。
[2]コンフィデンスレート等の指標値としての要求される値を得るためののパラメータの閾値を算出し、その閾値に基づいて実際に使用するパラメータを設定する。つまりパラメータ自体の値という観点でパラメータの閾値を設定する。
 本実施の形態では、例えばコンフィデンスレートを元に上記の[1]又は[2]のように閾値を設定して、実際に使用するパラメータは、画像データ量がなるべく少なくなるように適応化したパラメータとする。このようなパラメータをリアルタイム(例えば撮像中に定期的になど)に算出して、ダイナミックにパラメータ変更を行うようにするものである。
 例えばセンサ装置1の用途、ターゲットクラスや撮像環境に合わせてDNN処理により適切な閾値やそれに応じたパラメータを算出し、パラメータ変更を行うことで、アプリケーション等に適応した高速化、低消費電力化、高精度化を行う。
 特に、第6の実施の形態のとして説明する例では、パラメータ調整は物体検出のコンフィデンスレートによる閾値を設けて、その閾値になるべく近く、かつ閾値を下回らないようにするパラメータの設定値を算出するものとする。
 また閾値及びそれに応じたパラメータは、クラス毎に行われることが適切である。
 図20Aはクラスとして「人の顔」に分類される画像を示し、図20Bはクラスとして「ロードサイン(標識)」に分類される画像を示している。
 図20Aでは、人の顔の場合、画像信号を8ビットRGBデータの16777216色、データ量1.5MBとした場合にコンフィデンスレートCR=0.99となり、画像信号を8ビットグレイトーンの256色、データ量540KBとした場合にコンフィデンスレートCR=0.75となり、画像信号を白黒2色、データ量180KBとした場合にコンフィデンスレートCR=0.58となることを示している。
 例えばこの場合において、人の顔について閾値をコンフィデンスレートCR=0.74とした場合、右側の画像は適切ではないことになり、パラメータ設定としては中央画像のパラメータが適していることになる。
 図20Bでは、ロードサインの場合、画像信号を8ビットRGBデータの16777216色、データ量1.4MBとした場合にコンフィデンスレートCR=0.99となり、画像信号を8ビットグレイトーンの256色、データ量520KBとした場合にコンフィデンスレートCR=0.95となり、画像信号を白黒2色、データ量110KBとした場合にコンフィデンスレートCR=0.88となることを示している。
 例えばこの場合において、ロードサインについて閾値をコンフィデンスレートCR=0.85とした場合、いずれの画像も適切である。パラメータ設定としては右側の画像のパラメータが適していることになる。
 例えばこのように、物体のクラスによっても、画像信号の品質に対する検出精度や要求される精度は異なるため、クラスに応じた閾値設定やパラメータ変更を行うことが適切となる。
 以下、第6の実施の形態の具体例を説明する。
 まず図21に、センサ装置1の構成例を示す。但し、図1と同じ構成要素については同一符号を付し、重複説明を避ける。
 この図21の構成は、図1と比較して、例えばAIプロセッサとして構成される演算部8内の演算機能として、閾値設定部85が設けられている点が異なる。
 閾値設定部85はDNNエンジンとしての機能を持ち、ロジック部5の画像処理又はアレイセンサ2による撮像に関する撮像処理(アレイセンサ2及びADC/ピクセルセレクタ3の処理)に用いるパラメータの全部又は一部について、パラメータの閾値を設定する処理を行う。
 また閾値設定部85はロジック部5、アレイセンサ2、ADC/ピクセルセレクタ3の全部又は一部において、閾値に基づいて変更されたパラメータを用いた処理が行われるようにする。
 具体的には閾値設定部85は、例えばロジック部5で画像処理に用いるパラメータを、閾値に基づいて変更し、変更したパラメータをロジック部5に設定する。
 また或いは、閾値設定部85は、例えばアレイセンサ2での露光動作やADC/ピクセルセレクタ3の読出処理、AD変換処理などの撮像処理に用いるパラメータを、閾値に基づいて変更して、変更したパラメータをアレイセンサ2やADC/ピクセルセレクタ3に設定する。
 このようなセンサ装置1の演算部8の処理例を図22に示す。図22は図5の分類画像適応化の処理に、上記の閾値設定部85の処理を加えた例としている。図22において図5と同一の処理は同一のステップ番号を付し説明を省略する。
 この図22では、図5の処理に閾値設定部85による処理としてのステップS150,S151が追加されたものとしている。
 ステップS150で演算部8は、閾値算出タイミングであるか否かを判定し、閾値算出タイミングであればステップS151に進み、閾値算出タイミングでなければステップS101に進む。
 閾値算出タイミングは、例えば以下のタイミングとする。
a.所定の時間間隔毎:例えば撮像開始から1時間間隔毎
b.所定の設定時刻毎:例えば時刻0:00am毎
c.所定のターゲットクラスの出現回数毎:例えばターゲットクラスが1000回出現する毎
d.所定のターゲットクラス撮像時間毎:例えばターゲットクラスが撮像されている時間が5時間経過する毎
e.外部からの命令によるタイミング:例えばプロセッサ11など、センサ装置1が搭載されているデバイス/機器側からの指示
 例えばこれらのタイミングなどがステップS150で判定され、閾値算出タイミングとなったら、演算部8はステップS151で閾値算出方針に従い閾値算出を行う。つまり閾値を決めて閾値に応じたパラメータを設定する。
 この閾値算出方針(閾値)は閾値を算出する際に注目する撮像処理または画像処理のパラメータの種類や捉え方でいくつかの方針に分かれていて、アプリケーションにより異なる。以下にその例をあげる。
・コンフィデンスレートの下降カーブの変曲点を用いる
 解像度を落としていくとデータサイズは減り、計算コストも下がるメリットがあるが、一般的に反対にコンフィデンスレートは下降していく。
 図23Aには横軸に解像度、縦軸にコンフィデンスレートを示している。
 図示のようにコンフィデンスレートの下降は、ある解像度(変曲点)以下の低解像度になると大きく下降する。そこで例えば解像度を変更しながらコンフィデンスレートと解像度の関係のカーブの変曲点を求める。その変曲点又は変曲点付近を閾値と考えて解像度を落とすようなパラメータ設定を行う。
・コンフィデンスレートの最大値を用いる
 物体検出のクラス分類はそのクラスによって、必ずしも色数が多いほうがコンフィデンスレートが高いわけではなく、対象となるクラスによって、コンフィデンスレートが最大となる最適な色数がある。
 図23Bには横軸に色階調の数、縦軸にコンフィデンスレートを示している。
 図示のようにコンフィデンスレートのピークが観測される場合、その最大値に基づいて閾値を計算する。例えば最大値(コンフィデンスレートと色階調数の関係のカーブのピーク)を閾値と考えたり、又は最大値に近い所定範囲(所定%のコンフィデンスレートを低下させた値など)を閾値として考える。そして閾値に応じて色階調数のパラメータを設定する。
・バッテリー残量を用いる
 バッテリー残量を元にN時間撮像が可能なパラメータ設定を求め、その中でコンフィデンスレートが最も高くなるように(或いは所定以上となるように)パラメータを設定する。
 例えばなるべく撮像時間が長く得られるように、コンフィデンスレート等の閾値をバッテリー残量に応じて低下させ、そのコンフィデンスレートに応じたパラメータ設定が行われるようにすることが考えられる。
・オブジェクトトラッキングを維持できる時間解像度を用いる
 オブジェクトトラッキングとは、連続する画像信号のフレームにおいて特定の検出物体(オブジェクト)を、フレーム進行方向で追尾認識することである。
 一般的に画像信号の時間解像度を下げるとオブジェクトトラッキングにかかる計算コストが高くなる。
 このオブジェクトトラッキングの維持ができるパラメータということを閾値とし、オブジェクトトラッキングの低計算コスト化優先で時間解像度や他のパラメータを決める。
 例えば以上の例のような方針のいずれかを採用し、所定のアルゴリズムで閾値算出を行う。演算部8の閾値算出処理の例を図24に示す。
 この図24の演算部8の処理は図21に示した物体領域認識部82、クラス識別部83、閾値設定部85としての各機能により実行される処理である。
 演算部8はステップS160として、アレイセンサ2から1フレーム単位の画像信号を取得する。
 ステップS161で演算部8(物体領域認識部82)は、取得したフレーム内の物体の候補となる位置の検出を行う。
 即ち演算部8はフレーム画像において検出すべき物体の候補を探索し、1又は複数の候補の位置(画像内の位置座標)を求める。
 ステップS162で演算部8(クラス識別部83)は、検出物体のクラス分類を行う。即ち物体の候補のそれぞれについてクラス識別を行い、分類する。
 ステップS163で演算部8はクラス識別結果として得られたクラス内に ターゲットクラスが存在したか否かを確認する。
 ターゲットクラスは、上述のように例えばプロセッサ11から設定されたクラスである。即ちプロセッサ11での物体検出の対象とされているクラスが想定される。
 ターゲットクラスが存在しなければ、演算部8はステップS160に戻って、次のフレームの画像データの取得を行うことになる。
 ターゲットクラスが存在した場合、演算部8はステップS163からS164に処理を進める。
 ステップS164に進んだ場合、演算部8(物体領域認識部82)はクラスに分類された物体エリアを囲う正確な位置座標(バウンディングボックス20)の算出を行う。バウンディングボックス20については図6F、図6G等を用いて説明したとおりである。
 ステップS165で演算部8(閾値設定部85)は、バウンディングボックス20で囲まれたターゲットクラスについての、撮像処理又は画像処理で用いるパラメータを、予め設定された閾値算出方針に従って変更しながら閾値及びパラメータを算出する。
 ステップS166で演算部8(閾値設定部85)は、ステップS165で算出した閾値、パラメータ、ターゲットクラス、及び閾値算出方針の情報が対応づけられて記録されるようにする。
 例えば演算部8内部の記録領域に記録させたり、メモリ6の所定領域に記録させたり、或いはプロセッサ11に転送して記録させる。
 これによりターゲットクラスに応じた閾値やパラメータが設定される。
 図22のステップS151で、例えば以上のように閾値及びパラメータが設定される。従って閾値算出タイミングとなる度に、或るターゲットクラスについてのパラメータセットが変更されることになる。
 例えば人がターゲットクラスであったら、人に対応するパラメータセットの全部又は一部のパラメータが閾値に応じて変更される。
 図22のステップS101からS107までは図5と同様であるため、この場合、ターゲットクラスに応じてパラメータセットが選択されることになる。そしてステップS107でパラメータセットがロジック部5に設定される。
 このロジック部5にセットされるパラメータセットは、ターゲットクラスに適応するパラメータセットであるが、上記ステップS151の処理で算出された閾値に基づいて変更されたパラメータセットとなる。
 演算部8(閾値設定部85)は、このようにロジック部5で用いられるパラメータが変更されるように、必要な処理、例えばパラメータのロジック部5への転送或いは変更指示を行うことになる。
 これにより画像処理や撮像処理に関するパラメータが、閾値に基づいてなるべく画像データ量が少なくなる値とされる。
 従ってインターフェース部7から出力される画像信号は、プロセッサ11で必要とされる物体検出の精度が維持できる画質等であって、しかもデータ量の少ないものとすることができる。
 なお、以上の図22の処理例は図5の分類画像適応化の処理に閾値設定に基づくパラメータ変更の考え方を加えたものであるが、必ずしも分類画像適応化の処理と組み合わせなくてもよい。
 例えばステップS150,S151,S107,S108のみの処理例(図22においてステップS101からS107を無くした処理例)も考えられる。
 即ちロジック部5で画像処理に用いるパラメータや、或いはアレイセンサ2やADC/ピクセルセレクタ3で用いられる撮像処理に用いるパラメータが、ステップS151の閾値算出に基づいて設定される。
 そしてステップS107の時点では、閾値に応じて設定されたパラメータがロジック部5やアレイセンサ2やADC/ピクセルセレクタ3に設定されるようにする。
 つまり演算部8(閾値設定部85)は、閾値に応じて設定したパラメータをロジック部5、アレイセンサ2、ADC/ピクセルセレクタ3の一部又は全部への転送し、或いは変更指示を行うようにする。
 この場合、クラスに応じたパラメータセットを用いるという考え方によらずに、例えばロジック部5、アレイセンサ2、ADC/ピクセルセレクタ3において例えばデフォルトで設定されたパラメータを、逐次、閾値算出に基づいて変更していくような処理が実現されることになる。
 閾値設定部85を有する構成は図21に限らず、例えば図25,図26のような構成例も考えられる。
 図25は、端末装置100として、センサ装置1とは別体に演算部8が設けられている構成例である。なお端末装置100としては、情報処理端末、撮像装置端末等、各種が考えられる。
 演算部8は、センサ装置1とは別チップとされて端末装置100内に設けられ、センサ装置1とインターフェース部7を介して通信可能とされる。
 そして演算部8は閾値設定のためのDNNエンジンとなる閾値設定部85を備える。
 これにより、図25の演算部8も上記図22の場合と同様の処理を行うことができる。
 なお、この図25のような構成例は、第1から第5の実施の形態の図1の構成例にも適用できる。演算部8は、センサ装置1と別体であってもよい。
 図26の構成例は、閾値設定のためのDNNエンジンとなる閾値算出部85がセンサ装置1や演算部8とは独立したプロセッサ等により形成される場合の例である。
 例えば端末装置100として、センサ装置1(演算部8を含む)、プロセッサ11、外部センサ12、及び閾値設定部85を有する構成である。
 この場合も閾値設定部85は、センサ装置1とはインターフェース部7を介して通信可能とされ、演算部8と連携して上記図22と同様の処理を行うことができる。
 さらに図示は省略するが、図26のようにセンサ装置1と演算部8が別体の構成において、さらに閾値設定部85が別体のプロセッサなどにより構成されてもよい。
 なお、キーフレーム選択部81、物体領域認識部82、クラス識別部83、パラメータ選択部84などについても、閾値設定部85と同様に、センサ装置1の外、或いは演算部8の外に配置される構成とすることも考えられる。この点は図1の構成の変形例としても適用できる。
<8.第7の実施の形態:アクティブエリアクリッピング>
 第7の実施の形態として、上述の第2の実施の形態のROIを用い、更に効率的な処理を実現する例を説明する。
 なお以下の第7の実施の形態の処理は、図1,図21,図25,図26のいずれの構成であっても適用できる。
 上述の第2の実施の形態では、図7,図8で例示したように検出対象の物体についてROI21を設定し、アレイセンサ2から、ROI21とされた領域内の画素のみを読み出すようにする例を述べた。
 ここでROI21とされる領域が、画像内の特定の領域に集中する場合があることに着目する。
 図27Aは、例えば建物内での監視カメラの画像を例に挙げている。人を検出対象としてROI21を設定しているとする。図では、過去所定期間内に設定されたROI21の元となったバウンディングボックス20の画像内での位置を示している。
 例えばこの場合、過去の所定期間内では、バウンディングボックス20(及びROI21)の設定位置は、画像内で床に近い領域となっている。
 換言すれば、画像内の天井近くの領域には人は現れないことから、天井近辺の画像領域については人の検出処理を行わなくてもよいといえる。
 そこで、例えば図27Bに示すように検出対象の「人」が表れている領域、つまり過去所定期間にバウンディングボックス20が設定された実績がある領域をアクティブエリアRAとし、検出対象の「人」が表れていない領域、つまり過去所定期間にバウンディングボックス20が設定されていない領域を非アクティブエリアDAとする。
 図28Aは、例えば高速道路上で車を検出対象として監視する監視カメラの画像の例を挙げており、過去所定期間に設定されたバウンディングボックス20の位置を示している。
 この場合も、車は路面付近に表れることになるため、図27BのようにアクティブエリアRAと非アクティブエリアDAを設定できることになる。
 以上の図27B、図28Bの例のようにアクティブエリアRAを設定し、アレイセンサ2による撮像画素におけるアクティブエリアRAの検出信号から物体検出を行うようにする。そして物体の検出に基づいて生成したROI21を、第2の実施の形態と同様に、信号処理部30に対し、検出信号の取得又は検出信号の信号処理に関する領域として指示する。
 つまり物体検出キーフレームについて、全画面スキャンではなく物体検出の履歴情報に基づいて部分的に光電変換を行って物体検出を行うようにする。
 なお物体検出キーフレームとは、第2の実施の形態の処理で物体検出の為にアレイセンサ2の全有効画素領域で情報取得を行うとしたフレームである。このキーフレームにおいてアクティブエリアRAの画素領域のみで情報取得を行うことが第7の実施の形態の処理となる。
 図29の演算部8の処理例を示している。なお図9と同一の処理については同一ステップ番号を付している。
 演算部8はステップS250で、キーフレームについてのアクティブエリアの算出タイミングとなったか否かを判定し、算出タイミングであればステップS161に進み、閾値算出タイミングでなければステップS201に進む。
 キーフレームについてアクティブエリアRAの算出タイミングは、例えば次のようにすることが考えられる。
a.所定の時間間隔毎:例えば撮像開始から1時間毎
b.所定の設定時刻毎:例えば時刻0:00am毎
c.所定のターゲットクラスの出現回数毎:例えばターゲットクラスが1000回出現する毎
d.所定のターゲットクラス撮影時間毎:例えばターゲットクラスが撮像されている時間が5時間となる毎
e.外部からの命令によるタイミング:例えばプロセッサ11など、センサ装置1が搭載されているデバイス/機器側からの指示
 算出タイミングであるとしてステップS161に進んだ場合、演算部8はキーフレームについてのアクティブエリアRAの算出を行う。
 キーフレームについてのアクティブエリアRAの算出処理例を図30に示す
 演算部8(物体領域認識部82)はステップS271で、過去の所定期間内にターゲットクラスのバウンディングボックス20が出現したアレイセンサ2上の出現エリアのピクセルを算出する。
 この場合、出現したそれぞれのバウンディングボックス20内の全ピクセルは、出現エリアのピクセルになるが、出現した全てのバウンディングボックス20を包絡的に囲うようにした範囲を設定し、その範囲の全ピクセルを出現エリアのピクセルとするとよい。
 さらに出現した全てのバウンディングボックス20を包絡的に囲うようにした範囲を周囲方向に広げ、その範囲の全ピクセルを出現エリアのピクセルとしてもよい。
 このように算出されたバウンディングボックス20の出現エリアの全てを含むピクセル範囲がアクティブエリアRAとなる。
 ステップS272で演算部8(物体領域認識部82)は、算出したピクセルエリアをクラス名とともに、キーフレームについてのアクティブエリアRAとして記録する。例えば演算部8内部の記録領域に記録させたり、メモリ6の所定領域に記録させたり、或いはプロセッサ11に転送して記録させる。
 これによりターゲットクラスに応じたアクティブエリアRAが設定される。
 図29のステップS201では、演算部8(キーフレーム選択部81)はステップS201で物体検出キーフレーム記録タイミングとなったか否かを判定する。
 第2の実施の形態(図9)と同様、物体検出キーフレーム記録タイミングとは、物体検出の為にアレイセンサ2から情報取得を行うタイミングである。
 物体検出キーフレーム記録タイミングとしては、例えばプロセッサ11等のセンサ装置1の外部からの命令で判定するようにしてもよい。例えば60secの指示に応じて、60secの間隔で物体検出キーフレーム記録タイミングと判定することが想定される。
 物体検出キーフレーム記録タイミングとなったら、演算部8はステップS252に進み、アレイセンサ2のアクティブエリアRAの画素についてAD変換された画像データを取得する。例えばADC/ピクセルセレクタ3に、アクティブエリアRAを対象としてアレイセンサ2からの1フレームの画像信号を出力させる。
 ステップS203で演算部8(物体領域認識部82)は、取得した画像について物体の候補となる位置の検出を行う。このステップS203からS208は図9と同様である。
 以上の図29の処理によれば、ステップS203の物体検出を、1フレームの全有効画素領域ではなく、アクティブエリアRAのみで行うことができる。そしてアクティブエリアRAはターゲットクラスの物体検出が有り得る領域である。換言すればアクティブエリアRA以外は、ターゲットクラスの物体検出がほぼあり得ない領域である。
 従って、物体検出キーフレームの読み出し画素数の削減、検出範囲の縮小により、処理の効率化、消費電力削減等を実現できる。
 なお以上の例では、バウンディングボックス20の履歴に基づいてアクティブエリアRAを設定することとしたが、ROI21の履歴に基づいてアクティブエリアRAを設定してもよい。その場合、フレーム毎に移動するROI(図10で説明したROI21(NEW))の画素位置の履歴を含めることも考えられる。
<9.第8の実施の形態:閾値設定とAROIを用いたエリアクリッピング>
 第8の実施の形態として、第3の実施の形態として示したAROI22を用いたエリアクリッピングを更に効率化する処理例を説明する。なおこの第8の実施の形態の処理は、図21,図25,図26のいずれかの構成において実施できる。
 この第8の実施の形態は、テンプレートを用いたAROI22を用いる場合に、検出する対象の物体(クラス)や部位などについて、設定した閾値に基づいてパラメータを設定するものである。つまり第6の実施の形態の閾値の考え方を取り入れ、DNNの算出する物体検出の正解率を元に閾値を決定し、パラメータを設定する。
 例えばAROI22内の注目領域の解像度の分布をコンフィデンスレートを用いて設定した閾値に応じて決める。
 図31に例を模式的に示している。人をターゲットクラスとした場合と、顔をターゲットクラスとした場合について考える。
 第1解像度>第2解像度>第3解像度であるとする。
 顔検出としてのコンフィデンスレートCRは、第1解像度で0.95、第2解像度で0.86、第3解像度で0.66であったとする。
 人(身体)検出としてのコンフィデンスレートCRは、第1解像度で0.98、第2解像度で0.81、第3解像度で0.65であったとする。
 顔検出としての閾値thFを0.85とした場合、画像データ量がなるべく少なくなるように適応化したパラメータとして第2解像度を選択し、テンプレート内の画素についての画像処理を行う。
 また人検出としての閾値thPを0.80とした場合、画像データ量がなるべく少なくなるように適応化したパラメータとして第2解像度を選択し、テンプレート内の画素についての画像処理を行う。
 この場合はいずれも第2解像度が好適になるが、場合によっては顔検出の場合は閾値thFが0.94として第1解像度が設定されたり、人検出については閾値thPが0.60と設定されて第3解像度が設定されるというようなことも想定される。
 つまりAROI22を用いる場合に、ターゲットクラス毎に閾値を設定して、AROI22内の画素に対する画像処理や読出処理等のパラメータを設定する。
 演算部8の処理例を図32に示す。
 図32のステップS250,S251は図29のステップS250,S251と同様であり、演算部8はキーフレームのアクティブエリアRAの検出タイミングで、アクティブエリアRAの算出(図30の処理)を行う。
 ステップS260、S261は、図22のステップS150,S151と同様である。即ちステップS260で演算部8(閾値設定部85)は、閾値算出タイミングであるか否かを判定し、閾値算出タイミングであればステップS261で閾値算出(図24の処理)を行う。
 この場合の図24の閾値算出処理としては、演算部8(物体領域認識部82)は上述と同様にステップS160からS164を行う。そして演算部8(閾値設定部85)はステップS165で、バウンディングボックス20で囲まれたターゲットクラスについて解像度を変更しながら、テンプレートとしてのAROIパターンに該当する画素領域のデータからのコンフィデンスレートに基づく閾値を算出し、その閾値に基づいてパラメータを設定する。
 この場合、クラスに応じたテンプレートとしてのAROIパターンについて、閾値に応じてパラメータが設定されるようにする。例えばAROIパターン上の領域についての解像度が設定される。
 そしてステップS166で、閾値、ターゲットクラス、AROIパターンと必要なパラメータ、及び閾値算出方針の情報が対応づけられて記録される。例えば演算部8内部の記録領域に記録させたり、メモリ6の所定領域に記録させたり、或いはプロセッサ11に転送して記録させる。
 図32のステップS201では、演算部8は物体検出キーフレーム記録タイミングとなったか否かを判定し、物体検出キーフレーム記録タイミングとなったら、演算部8はステップS252に進み、アレイセンサ2のアクティブエリアRAの画素についてAD変換された画像データを取得する。例えばADC/ピクセルセレクタ3に、アクティブエリアRAを対象としてアレイセンサ2からの1フレームの画像信号を出力させる。
 ステップS203で演算部8(物体領域認識部82)は、取得した画像について物体の候補となる位置の検出を行う。このステップS203からS206は図9と同様である。
 ステップS206でバウンディングボックス20を算出したら、演算部8(パラメータ選択部84)はステップS262で、閾値を元に算出されて記録されているAROIパターンを選択する。
 ステップS211で演算部8(物体領域認識部82)は、バウンディングボックス20に基づいて実際のAROI22を算出する。つまり選択したAROIパターンに対応する実際の画素領域を求める。例えばバウンディングボックス20のサイズに応じてテンプレートのサイズを調整したものをAROI22とする。
 そして演算部8(物体領域認識部82)は、そのAROI22(AROIのパターンと領域)をADC/ピクセルセレクタ3に伝える。
 これに応じてADC/ピクセルセレクタ3では、アレイセンサ2におけるAROI22内に該当する画素のみAD変換して出力することになる。
 演算部8はステップS212で、AROI22内の画素のみの情報を含む次のフレームの画像データを取得する。そして、取得したフレームについてステップS203、S204の処理を行う。
 このようにAROI22についても例えばコンフィデンスレートに応じたパラメータ設定を行い、解像度等のパラメータを設定することで、物体検出精度を維持しながら撮像処理や画像処理を効率化できる。
<10.第9の実施の形態:閾値設定によるアクティブサンプリング>
第9の実施の形態として、第5の実施の形態で説明したアクティブサンプリングの手法において、時間解像度をDNNの算出する物体検出の正解率を元に決定する手法を加える例を説明する。
 即ちターゲットクラスの単位時間あたりの平均移動量を元にフレームレートをダイナミックに変化させる処理を行うようにする。
 なおこの第9の実施の形態の処理は、図21,図25,図26のいずれかの構成において実施できる。
 上述した第5の実施の形態では、ノーマルモードとアイドリングモードを用意し、撮像画像内にターゲットクラスの存在が検出されない期間はアイドリングモードとして低いフレームレートとする。そしてターゲットクラスの存在が確認されたらノーマルモードとしてフレームレートを上げ、情報量を密にする。
 第9の実施の形態では、この処理に加え、ノーマルモードにおけるフレームレートを、ターゲットクラスに応じて設定するものである。
 図32Aはセンサ装置1が高速道路上を撮像する監視カメラにおいて用いられている場合の画像の例である。ターゲットクラスを車とし、バウンディングボックス20を示している。破線矢印は或る車の移動方向を示している。
 図32Bは、撮像されている車の移動量を、連続するフレームにおけるバウンディングボックス20の画像上での位置(ピクセル位置)の変化として示している。このような移動量を多数の車において考えると、平均的な移動量が仮に1152ピクセル/秒であったとする。
 この場合に、オブジェクトトラッキング(連続するフレーム画像上での対象物の追尾)を維持できるサンプリングレートを算出すると46fpsであったとする。
 次に、図33Aはセンサ装置1が建物内の監視カメラにおいて用いられている場合の画像の例である。ターゲットクラスを人とし、バウンディングボックス20を示している。破線矢印は或る人の移動方向を示している。
 図32Bは、撮像されている人の移動量を、連続するフレームにおけるバウンディングボックス20の画像上での位置(ピクセル位置)の変化として示している。このような移動量を多数の人において考えると、平均的な移動量が仮に192ピクセル/秒であったとする。
 この場合に、オブジェクトトラッキングを維持できるフレームレートを算出すると5fpsであったとする。
 例えば以上のようにターゲットクラスが車の場合と人の場合では、オブジェクトトラッキングが維持できるフレームレートが異なる。
 すると、ターゲットクラスに応じてDNNによりオブジェクトトラッキングが維持できるフレームレートを求め、その閾値(許容されるフレームレート下限)を求めれば、なるべく少ないデータ量としながら、対象物を追尾しつつ検出する物体検出の精度を維持できることになる。
 なおフレームレートは、アレイセンサ2の読出タイミングの設定、やADC/ピクセルセレクタ3のサンプリングレートの設定により決定される。
 図35に演算部8の処理例を示す。
 ステップS350、S351は、図22のステップS150,S151と同様である。即ちステップS350で演算部8(閾値設定部85)は、閾値算出タイミングであるか否かを判定し、閾値算出タイミングであればステップS351で閾値算出(図24の処理)を行う。
 この場合の図24の閾値算出処理としては、演算部8(物体領域認識部82)は上述と同様にステップS160からS164を行う。そして演算部8(閾値設定部85)はステップS165で、バウンディングボックス20で囲まれたターゲットクラスについてフレームレートを変更しながらオブジェクトトラッキングが維持できる閾値(閾値となるフレームレート)を算出する。
 その後、ステップS166で演算部8(閾値設定部85)は、ステップS165で算出した閾値とターゲットクラス、及び閾値算出に使用した閾値算出方針の情報が対応づけられて記録されるようにする。例えば演算部8内部の記録領域に記録させたり、メモリ6の所定領域に記録させたり、或いはプロセッサ11に転送して記録させる。
 これにより例えばターゲットクラスに応じた閾値に基づくパラメータ、即ちオブジェクトトラッキングが維持できるフレームレートでなるべく低いフレームレートの値が設定される。
 図35のステップS301からS106は図18と同様である。
 ステップS301で演算部8(キーフレーム選択部81)は、例えば予め演算部8内に記憶されているアイドリングモードの設定に従って、ADC/ピクセルセレクタ3へ動画撮像の設定を行う。
 従って仮にアイドリングモードの設定が1fspであれば、動画撮像は例えば1sec間隔で行われる。
 ステップS302で演算部8(物体領域認識部82)は、取得した画像について 物体の候補となる位置の検出を行う。
 ステップS303で演算部8(クラス識別部83)は、候補として検出された物体のクラス分類を行う。
 ステップS304で演算部8はクラス識別結果として得られたクラス内に ターゲットクラスが存在したか否かを確認する。
 ターゲットクラスが存在しなければ、演算部8はステップS350,S351を介してステップS301,S302,S303の処理を繰り返す。
 この間、閾値算出タイミングとなればステップS351の処理が行われる。
 ステップS304でターゲットクラスが存在すると判定された場合で、演算部8はステップS304からS352に処理を進める。
 演算部8(キーフレーム選択部81)は、ステップS351の処理で記憶したパラメータをノーマルモードの設定とし、ADC/ピクセルセレクタ3へ動画撮像の設定を行い、ノーマルモードの撮像を指示する。
 例えばターゲットクラスが人であって、図34Cのように5fpsでオブジェクトトラッキングが維持でき、フレームレート=5fpsとされていた場合、ノーマルモードのフレームレート設定が5fspとなる。
 このようにノーマルモードに切り換えた状態で演算部8はステップS302、S303の処理を行う。
 そして撮像された画像内にターゲットクラスが存在している限り、ノーマルモードが継続され、一方、ターゲットクラスが存在しなくなったらステップS350,S351を介してステップS301に戻ってアイドリングモードに切り換えられることになる。
 以上のようにアクティブサンプリングとしての処理が行われる。これにより特にターゲットクラスが存在しない期間は、フレームレートを下げてデータ量圧縮を行い、またそれにより消費電力が削減される。
 またノーマルモードとされても、ターゲットクラスに応じて適応化されたフレームレートで処理が行われるため、クラスによってはかなり低いフレームレート(上記の5fpsなど)とされる。従ってノーマルモードにおいてもデータ量圧縮及び消費電力削減が行われる。
 なお、演算部8は、ADC/ピクセルセレクタ3にフレームレート変更を指示してフレームレートを可変させるとしたが、ロジック部5にフレームレート変換を指示してもよい。
 例えばアレイセンサ2からの読み出しは常に100fpsで行っているが、アイドリングモードやノーマルモードで設定されるパラメータに応じて、ロジック部5にフレーム間引きを指示する。これによりプロセッサ11への伝送に関してのデータ量削減が可能である。
<11.移動体への応用例>
 本開示に係る技術は、様々な製品へ応用することができる。例えば、本開示に係る技術は、自動車、電気自動車、ハイブリッド電気自動車、自動二輪車、自転車、パーソナルモビリティ、飛行機、ドローン、船舶、ロボット等のいずれかの種類の移動体に搭載される装置として実現されてもよい。
 図36は、本開示に係る技術が適用され得る移動体制御システムの一例である車両制御システムの概略的な構成例を示すブロック図である。
 車両制御システム12000は、通信ネットワーク12001を介して接続された複数の電子制御ユニットを備える。図36に示した例では、車両制御システム12000は、駆動系制御ユニット12010、ボディ系制御ユニット12020、車外情報検出ユニット12030、車内情報検出ユニット12040、及び統合制御ユニット12050を備える。また、統合制御ユニット12050の機能構成として、マイクロコンピュータ12051、音声画像出力部12052、及び車載ネットワークI/F(Interface)12053が図示されている。
 駆動系制御ユニット12010は、各種プログラムにしたがって車両の駆動系に関連する装置の動作を制御する。例えば、駆動系制御ユニット12010は、内燃機関又は駆動用モータ等の車両の駆動力を発生させるための駆動力発生装置、駆動力を車輪に伝達するための駆動力伝達機構、車両の舵角を調節するステアリング機構、及び、車両の制動力を発生させる制動装置等の制御装置として機能する。
 ボディ系制御ユニット12020は、各種プログラムにしたがって車体に装備された各種装置の動作を制御する。例えば、ボディ系制御ユニット12020は、キーレスエントリシステム、スマートキーシステム、パワーウィンドウ装置、あるいは、ヘッドランプ、バックランプ、ブレーキランプ、ウィンカー又はフォグランプ等の各種ランプの制御装置として機能する。この場合、ボディ系制御ユニット12020には、鍵を代替する携帯機から発信される電波又は各種スイッチの信号が入力され得る。ボディ系制御ユニット12020は、これらの電波又は信号の入力を受け付け、車両のドアロック装置、パワーウィンドウ装置、ランプ等を制御する。
 車外情報検出ユニット12030は、車両制御システム12000を搭載した車両の外部の情報を検出する。例えば、車外情報検出ユニット12030には、撮像部12031が接続される。車外情報検出ユニット12030は、撮像部12031に車外の画像を撮像させるとともに、撮像された画像を受信する。車外情報検出ユニット12030は、受信した画像に基づいて、人、車、障害物、標識又は路面上の文字等の物体検出処理又は距離検出処理を行ってもよい。
 撮像部12031は、光を受光し、その光の受光量に応じた電気信号を出力する光センサである。撮像部12031は、電気信号を画像として出力することもできるし、測距の情報として出力することもできる。また、撮像部12031が受光する光は、可視光であっても良いし、赤外線等の非可視光であっても良い。
 車内情報検出ユニット12040は、車内の情報を検出する。車内情報検出ユニット12040には、例えば、運転者の状態を検出する運転者状態検出部12041が接続される。運転者状態検出部12041は、例えば運転者を撮像するカメラを含み、車内情報検出ユニット12040は、運転者状態検出部12041から入力される検出情報に基づいて、運転者の疲労度合い又は集中度合いを算出してもよいし、運転者が居眠りをしていないかを判別してもよい。
 マイクロコンピュータ12051は、車外情報検出ユニット12030又は車内情報検出ユニット12040で取得される車内外の情報に基づいて、駆動力発生装置、ステアリング機構又は制動装置の制御目標値を演算し、駆動系制御ユニット12010に対して制御指令を出力することができる。例えば、マイクロコンピュータ12051は、車両の衝突回避あるいは衝撃緩和、車間距離に基づく追従走行、車速維持走行、車両の衝突警告、又は車両のレーン逸脱警告等を含むADAS(Advanced Driver Assistance System)の機能実現を目的とした協調制御を行うことができる。
 また、マイクロコンピュータ12051は、車外情報検出ユニット12030又は車内情報検出ユニット12040で取得される車両の周囲の情報に基づいて駆動力発生装置、ステアリング機構又は制動装置等を制御することにより、運転者の操作に拠らずに自律的に走行する自動運転等を目的とした協調制御を行うことができる。
 また、マイクロコンピュータ12051は、車外情報検出ユニット12030で取得される車外の情報に基づいて、ボディ系制御ユニット12030に対して制御指令を出力することができる。例えば、マイクロコンピュータ12051は、車外情報検出ユニット12030で検知した先行車又は対向車の位置に応じてヘッドランプを制御し、ハイビームをロービームに切り替える等の防眩を図ることを目的とした協調制御を行うことができる。
 音声画像出力部12052は、車両の搭乗者又は車外に対して、視覚的又は聴覚的に情報を通知することが可能な出力装置へ音声及び画像のうちの少なくとも一方の出力信号を送信する。図36の例では、出力装置として、オーディオスピーカ12061、表示部12062及びインストルメントパネル12063が例示されている。表示部12062は、例えば、オンボードディスプレイ及びヘッドアップディスプレイの少なくとも一つを含んでいてもよい。
 図37は、撮像部12031の設置位置の例を示す図である。
 図37では、撮像部12031として、撮像部12101、12102、12103、12104、12105を有する。
 撮像部12101、12102、12103、12104、12105は、例えば、車両12100のフロントノーズ、サイドミラー、リアバンパ、バックドア及び車室内のフロントガラスの上部等の位置に設けられる。フロントノーズに備えられる撮像部12101及び車室内のフロントガラスの上部に備えられる撮像部12105は、主として車両12100の前方の画像を取得する。サイドミラーに備えられる撮像部12102、12103は、主として車両12100の側方の画像を取得する。リアバンパ又はバックドアに備えられる撮像部12104は、主として車両12100の後方の画像を取得する。車室内のフロントガラスの上部に備えられる撮像部12105は、主として先行車両又は、歩行者、障害物、信号機、交通標識又は車線等の検出に用いられる。
 なお、図37には、撮像部12101ないし12104の撮影範囲の一例が示されている。撮像範囲12111は、フロントノーズに設けられた撮像部12101の撮像範囲を示し、撮像範囲12112,12113は、それぞれサイドミラーに設けられた撮像部12102,12103の撮像範囲を示し、撮像範囲12114は、リアバンパ又はバックドアに設けられた撮像部12104の撮像範囲を示す。例えば、撮像部12101ないし12104で撮像された画像データが重ね合わせられることにより、車両12100を上方から見た俯瞰画像が得られる。
 撮像部12101ないし12104の少なくとも1つは、距離情報を取得する機能を有していてもよい。例えば、撮像部12101ないし12104の少なくとも1つは、複数の撮像素子からなるステレオカメラであってもよいし、位相差検出用の画素を有する撮像素子であってもよい。
 例えば、マイクロコンピュータ12051は、撮像部12101ないし12104から得られた距離情報を基に、撮像範囲12111ないし12114内における各立体物までの距離と、この距離の時間的変化(車両12100に対する相対速度)を求めることにより、特に車両12100の進行路上にある最も近い立体物で、車両12100と略同じ方向に所定の速度(例えば、0km/h以上)で走行する立体物を先行車として抽出することができる。さらに、マイクロコンピュータ12051は、先行車の手前に予め確保すべき車間距離を設定し、自動ブレーキ制御(追従停止制御も含む)や自動加速制御(追従発進制御も含む)等を行うことができる。このように運転者の操作に拠らずに自律的に走行する自動運転等を目的とした協調制御を行うことができる。
 例えば、マイクロコンピュータ12051は、撮像部12101ないし12104から得られた距離情報を元に、立体物に関する立体物データを、2輪車、普通車両、大型車両、歩行者、電柱等その他の立体物に分類して抽出し、障害物の自動回避に用いることができる。例えば、マイクロコンピュータ12051は、車両12100の周辺の障害物を、車両12100のドライバが視認可能な障害物と視認困難な障害物とに識別する。そして、マイクロコンピュータ12051は、各障害物との衝突の危険度を示す衝突リスクを判断し、衝突リスクが設定値以上で衝突可能性がある状況であるときには、オーディオスピーカ12061や表示部12062を介してドライバに警報を出力することや、駆動系制御ユニット12010を介して強制減速や回避操舵を行うことで、衝突回避のための運転支援を行うことができる。
 撮像部12101ないし12104の少なくとも1つは、赤外線を検出する赤外線カメラであってもよい。例えば、マイクロコンピュータ12051は、撮像部12101ないし12104の撮像画像中に歩行者が存在するか否かを判定することで歩行者を認識することができる。かかる歩行者の認識は、例えば赤外線カメラとしての撮像部12101ないし12104の撮像画像における特徴点を抽出する手順と、物体の輪郭を示す一連の特徴点にパターンマッチング処理を行って歩行者か否かを判別する手順によって行われる。マイクロコンピュータ12051が、撮像部12101ないし12104の撮像画像中に歩行者が存在すると判定し、歩行者を認識すると、音声画像出力部12052は、当該認識された歩行者に強調のための方形輪郭線を重畳表示するように、表示部12062を制御する。また、音声画像出力部12052は、歩行者を示すアイコン等を所望の位置に表示するように表示部12062を制御してもよい。
 以上、本開示に係る技術が適用され得る車両制御システムの一例について説明した。本開示に係る技術は、以上説明した構成のうち、例えば、撮像部12031に適用され得る。具体的には撮像部12031に搭載されるイメージセンサとして、本開示のセンサ装置1を適用し、分割画像適応化、エリアクリッピング、インテリジェントコンプレッション、アクティブサンプリングの一部又は全部を実行することができる。これにより車外情報検出に適応した画像処理や、検出精度を低下させない情報量の適切な削減による処理負担の低減等が可能となる。
<12.まとめ及び変形例>
 以上の実施の形態では、次のような効果が得られる。
 第1、第6の実施の形態で説明したようにセンサ装置1は、可視光または非可視光の撮像素子が複数、1次元または2次元に配列されたアレイセンサ2と、アレイセンサ2での撮像により得られた画像信号に対し、指示されたパラメータを用いた画像処理を行うロジック部5(画像処理部)と、演算部8とを備える。演算部8はアレイセンサ2での撮像により得られた画像信号から検出される物体についてクラス識別を行い、識別されたクラスに基づいて画像処理に用いるパラメータを選択し、選択したパラメータでロジック部5の処理設定を行う。
 即ちアレイセンサ2によって得られた画像信号についてロジック部5で画像処理を施すが、その画像処理のパラメータが画像信号における検出物体のクラス識別に基づいて設定されるようにしている。
 画像からの物体検出を行う場合、人が見て高品位な画像が、必ずしも認識精度が高くなる画像とはならない。また認識する物体のクラスによって望ましい画質は異なる。つまり、視認上高画質となるようにする通常のパラメータ設定による画像処理を施した画像は、必ずしも物体検出のために適した画質ではない。また認識する物体のクラスに応じて、望ましい画像処理パラメータは異なる。
 そこで、予めクラス毎にパラメータセットを保持しておくようにし、撮像画像において検出物体のクラス識別に応じて、使用するパラメータセットを選択する。これにより、目的とする物体の検出に適した画像処理が行われる。このような画像処理が行われた画像によれば、物体検出の精度の向上を実現できる。
 また、物体検出に望ましい画質調整は、人が美しいと感じるようにする画質調整とは異なるため、例えば美しさを優先する為のぼかしフィルタなどは使用されない。このため設定されるパラメータは処理の低負荷化をもたらすものであることが多い。
 またクラスに応じたパラメータ(例えば階調変更や圧縮に関するパラメータなど)によってはデータ量が低減される場合も多く、その場合、プロセッサ11側の計算が高負荷になる為に処理が遅延したり、システム全体の消費電力が上昇したりするということも回避される。
 各実施の形態のセンサ装置1は、ロジック部5(画像処理部)で画像処理された画像信号を外部装置に出力するインターフェース部7(出力部)を備えている。
 センサ装置1は、内部のロジック部5により、物体のクラスに応じた画像処理を行い、これをプロセッサ11に送信出力することになるが(図5のステップS108)、これによりプロセッサ11において物体検出を向上させるための画質調整を行う必要をなくすものとなる。従ってプロセッサ11での処理負担を軽減しつつ、精度の高い物体検出が可能となる。
 またクラス認識に基づいて選択されたにパラメータセットは、必ずしも人の視認上の最高画質を得るためのパラメータセットではない。場合によっては処理される画像のデータ量が低減されることもある。つまり、必ずしも人が見た場合の最高画質ではなく、プロセッサが認識しようとする物体に適した画質の画像を出力するものとなり、送信する画像信号のデータ量を低減できる場合もある。
 これにより物体検出の精度を落とすことなく、通信コストを削減できる。クラウドで計算処理をする場合の転送の遅延も改善される。
 実施の形態のインターフェース部7(出力部)は、出力する画像信号についてのクラス識別に関する情報の送信も行うと述べた(図5のステップS108)。
 これにより出力先のプロセッサ11やクラウドのAIプロセッサ等において、クラスを認識した上で物体検出を行うことができ、より精度の高い物体検出が可能となる。
 第1、第6の実施の形態では、演算部8は、画像信号の1フレーム内において、検出対象の物体の候補となる物体領域を検出する物体領域認識処理と、物体領域認識処理で検出された物体領域の物体のクラス識別を行うクラス識別処理と、クラス識別処理の識別結果に基づいてパラメータ選択をしてロジック部5の処理設定を行うパラメータ選択処理とを行うことを述べた(図1、図5参照)。
 即ち演算部8は、物体領域認識処理を行う物体領域認識部82、クラス識別処理を行うクラス識別部83、パラメータ選択処理を行うパラメータ選択部84を備え、これにより画像信号の1フレームから物体候補の検出、クラス識別、クラス識別に基づくパラメータ選択を実現できる。
 第1、第6の実施の形態では、演算部8は、画像信号の1フレーム内において、検出対象の物体の候補となる物体領域を検出する物体領域認識処理と、物体領域認識処理で検出された物体領域の物体のクラス識別を行うクラス識別処理と、クラス識別処理で識別されたクラスのうちにターゲットクラスが存在するか否かを判別する処理と、ターゲットクラスが存在した場合に、そのターゲットクラスのクラス認識結果に基づいてパラメータ選択をしてロジック部5の処理設定を行うパラメータ選択処理とを行う(図1、図5、図22参照)。
 ターゲットクラスの存在判定を行うことで、画像認識の目的とする物体のクラスに基づくパラメータ選択が効率良く実行できる。換言すれば、ターゲットとしていない物体の検出に基づいてのパラメータ選択が行われないことで、無用なパラメータ選択が行われず、処理が効率化され、かつ不適切なパラメータ設定が行われないことで目的とする物体の画像認識精度を向上できる。
 第1、第6の実施の形態では、ターゲットクラスは複数設定可能とされ、1フレーム内に複数のターゲットクラスの物体が存在する場合は、選択された一のターゲットクラスに基づいてパラメータ選択処理が行われる(図5と図22のステップS106参照)。
 複数のターゲットクラスを設定可能とすることで、複数のクラスにわたる物体を対象とする画像認識に対応できる。
 また1フレーム内に複数のターゲットクラスの物体が存在する場合は、例えば支配的もしくは優勢なターゲットクラスを選択するなどして、一のターゲットクラスに基づいてパラメータ選択が行われるようにすることで、適切なパラメータセットが可能となる。
 また第1、第6の実施の形態(図5と図22のステップS105,S106)では、ターゲットクラスに該当する物体領域に対しては、物体を囲うバウンディングボックス20を算出し、複数のターゲットクラスが存在する場合は、バウンディングボックス20の面積を用いて一のターゲットクラスを選択する例を挙げた。
 複数のターゲットクラスの物体が存在する場合は、バウンディングボックス20により各物体の領域を規定し、各ターゲットクラスの物体の1フレーム内での支配面積を求めることで、優先すべきターゲットクラスを判定できる。これにより適切なパラメータ選択が可能となる。
 第1、第6の実施の形態では、演算部8は、クラス毎に設定された、複数のパラメータを含むパラメータセットを、識別されたクラスに基づいて選択する例を述べた。即ちロジック部の各種処理のパラメータをセットにしたパラメータセットを記憶しておき、このパラメータセットを選択してロジック部に設定する(図4、図5と図22のステップS107参照)。
 これによりロジック部5の各種画像処理に応じたパラメータとして、対象のクラス(ターゲットクラス)に適した複数のパラメータを設定できることになる。
 第1の実施の形態では、パラメータセットは、各クラスに該当する物体の画像を用いたディープラーニングにより得られた複数のパラメータのセットである例を挙げた。
 例えば人の画像を学習データとして用いたディープラーニングにより、人認識の画像認識率が高いものとされる画像処理用のパラメータを求め、そのパラメータのセットを「人」というクラスに対応するパラメータセットとする(図4参照)。
 これにより、各クラスに適したパラメータセットを用意することができ、その選択により、目的の画像認識に適したパラメータ選択が可能となる。
 第1、第6の実施の形態では、演算部8は、アレイセンサ2での撮像により得られた画像信号のうちでキーフレームとされるフレームを対象として、クラス識別を行い、識別されたクラスに基づいて画像処理に用いるパラメータを選択する例を述べた(図5と図22のステップS101、S102参照)。
 全てのフレームではなくキーフレームを対象とすることで、演算部8の処理負担が過大とならない。また適切な選択アルゴリズムに基づいてキーフレームを選択することで、適切なパラメータ選択が行われる状態を維持できる。
 第1、第6の実施の形態では、キーフレームは、所定の時間間隔毎のフレームとされる例を挙げた。
 これにより定期的にパラメータ選択が行われる。例えば30秒に1フレームをキーフレームとするなどにより、演算部8の処理は過大にならず、かつ適切なパラメータ設定が維持できる。
 なお、キーフレームの間隔は、画像認識の目的とする物体、センサ装置1の使用環境、使用目的、センサ装置1を搭載した機器の種別等、各種の事情に応じて設定されることが望ましい。
 またキーフレームは、外部機器からの命令に基づくタイミングのフレームとされる例も挙げた。
 例えば画像出力先のプロセッサ11等からの指示によりキーフレームが設定されるようにする。これにより画像信号やクラス識別に関する情報の出力先の機器の認識処理の目的等に応じたキーフレーム選択及びパラメータ選択が行われるようにすることができる。例えばセンサ装置1を搭載した機器の種別、目的等に応じてキーフレームが設定される。
 この場合、例えば車載機器を想定すると、自動車が走行を開始したタイミングでキーフレームを密な間隔とするようなことも可能となる。
 各実施の形態のロジック部5は、画像信号に対する画像処理として、色補正、ガンマ補正、色階調処理、ゲイン処理、輪郭強調処理、データ圧縮処理、フレームレート変換、解像度変換、縦横比率変換、コントラスト調整処理、シャープネス調整処理、グレーレベル調整処理、サンプリングレート変更処理等を行うものとした。
 これらにより画質調整やデータ量変換を行うが、これらの処理のためのパラメータ設定が行われることで、認識すべき物体のクラスに適した画質調整やデータサイズ調整(解像度やフレームレート等)が実行される。結果としてターゲットクラスの物体検出に適した画像及びデータサイズとされ、不要な高画質化やデータ量の増大が抑えられることにもなり、通信コストの低下、処理速度の向上、物体検出精度の向上等に寄与する。
 各実施の形態のインターフェース部7(出力部)は、外部機器の要求に応じて、ロジック部5で画像処理された画像信号、識別されたクラスの情報、検出された物体の数、ターゲットクラスの有無の情報のいずれか又は全てを出力することを述べた。これは第1から第5の実施の形態について共通の動作となる。
 即ちインターフェース部7は、プロセッサ11やクラウドのプロセッサ等からの要求に応じて、ロジック部5で処理された画像信号、演算部8で識別されたクラスの情報、オブジェクト数、ターゲットクラスの有無の情報のうちで、プロセッサ11で必要とされる情報を出力する。これにより不要な情報の転送は避けられ、通信量を削減でき、消費電力の低減も実現される。
 またプロセッサ11等における処理に応じた情報提供ができることになる。
 なお各実施の形態では画像信号を対象としたが、アレイセンサ2が音波検出素子アレイや触覚センサ素子アレイとされることも想定される。その場合は、インターフェース部7はそれらの検出信号(ロジック部5の処理後の検出信号)を外部機器の要求に応じて出力することになる。
 第2,第3,第4,第7,第8の実施の形態で説明したように、センサ装置1は、検出素子が複数、1次元または2次元に配列されたアレイセンサ2と、アレイセンサ2による検出信号を取得し、信号処理を行う信号処理部30とを備え、演算部8は、アレイセンサ2による検出信号から物体検出を行い、物体の検出に基づいて生成した領域情報(ROI21やAROI22)を、信号処理部30に対し、アレイセンサ2からの検出信号の取得又は検出信号の信号処理に関する領域情報として指示する。
 即ちアレイセンサ2によって得られた検出信号について、信号処理部30で信号処理を施してインターフェース部7から出力するが、信号処理部30におけるアレイセンサ2からの検出信号の取得又は信号処理に関する領域情報が、物体検出に基づいて設定されるようにする。
 実施の形態のように画像からの物体検出を行う場合に、常に各フレームの全画素の情報が必要となるわけではない。例えば人を検出する場合には、フレーム内で人が写されている領域の検出情報があればよい。そこで演算部8で物体検出に基づいてROI21やAROI22生成し、信号処理部30の処理、即ちADC/ピクセルセレクタ3によるアレイセンサ2からの検出信号の取得や、ロジック部5における圧縮処理が、ROI21やAROI22を用いて行われるようにしている。
 これにより、処理対象のデータ量の削減、処理速度の向上を実現できるとともに、検出精度を低下させないような画像信号を得ることができる。
 なお、画像信号に限らず、音波検出信号、触覚検出信号などとしてアレイセンサから得られる検出信号に対しても、物体検出を行い、物体の検出に基づいて生成した領域情報を、信号処理部に対し、アレイセンサからの検出信号の取得又は検出信号の信号処理に関する領域情報を指示するようにすることもできる。
 これにより、音波センサアレイ、接触センサアレイを用いる場合においても、処理対象のデータ量の削減、処理速度の向上を実現できるとともに、検出精度を低下させないような検出信号を得るという効果が得られる。
 第2,第3,第4,第7,第8の実施の形態の場合、インターフェース部7(出力部)は、信号処理部30で信号処理された検出信号を外部装置に出力する。
 ROI21やAROI22を用いて一部の画素のみをAD変換した画像信号や、ROI21を用いて領域毎に圧縮率を変えた画像信号をプロセッサ11等に出力するため、伝送するデータ量は著しく削減される。これにより通信コストの低下や伝送時間の短縮が実現される。その上で、物体検出に必要な情報は含まれているので、プロセッサ11等における物体検出の精度が低下しない。またデータ量が削減されることでプロセッサ11での処理負担も軽減される。
 またプロセッサ11側の計算が高負荷になる為に処理が遅延したり、システム全体の消費電力が上昇したりするということも回避される。
 各実施の形態では、信号処理部30は、アレイセンサ2の検出素子について選択的に検出信号を取得するADC/ピクセルセレクタ3(取得部)を有している。
 そして第2,第3,第7,第8の実施の形態では、ADC/ピクセルセレクタ3は、検出信号の1フレームとして、演算部8からのROI21やAROI22に基づいて選択される検出素子の検出信号を取得するものとした(図9、図14、図29、図32参照)。
 ADC/ピクセルセレクタ3が、物体検出された次のフレームからは、ROI21やAROI22によって指定される範囲のみ光電変換信号をAD変換して取得することで、1フレームのデータ量を大きく削減できる。その上でROI21やAROI22が物体検出に基づいて設定されることで、物体検出に必要な画素の情報は適切に得られるものとすることができる。
 第2,第3,第7,第8の実施の形態では、演算部8は、ADC/ピクセルセレクタ3(取得部)が領域情報(ROI21、AROI22)による検出素子の選択を行わない状態でアレイセンサ2から取得した検出信号に対して物体検出を行い、物体の検出に基づいて生成したROI21やAROI22を、信号処理部30に対し、ADC/ピクセルセレクタ3によるアレイセンサ2からの後続フレームの検出信号の取得に用いる領域情報として指示する例を述べた(図9、図14、図29、図32参照)。
 1フレームの全有効画素を含む画像信号から物体検出を行うことで、撮像された画像内で検出すべき物体を的確に検出できる。その上で、検出された物体に基づくROI21やAROI22を生成し、ADC/ピクセルセレクタ3に供することで、次のフレームからは、物体検出に必要な画素のみの情報を取得できる。このためデータ量を削減しつつ適切な検出情報(必要な画素の情報)を取得できるようになる。
 第2,第3,第7,第8の実施の形態では、演算部8は、ADC/ピクセルセレクタ3がROI21やAROI22による検出素子の選択を行なった状態でアレイセンサ2から取得した検出信号に対して物体検出を行い、物体の検出に基づいて、領域情報を再生成して、信号処理部30に対し、ADC/ピクセルセレクタ3によるアレイセンサ2からの後続フレームの検出信号の取得に用いる領域情報として指示することを述べた(図9、図14、図29、図32のステップS203、及び図10参照)。
 一部の画素の情報のみとされた画像信号のフレームからも物体検出を行うことで、物体の位置の変化に応じてROI21やAROI22を修正していくことができる。これにより、後続フレームにおいて、画像内での物体(例えば人)の動きに追従して、ADC/ピクセルセレクタ3で取得される領域が変化される。つまり対象の物体がフレーム毎に画像内での位置が変化するものであっても、フレーム毎にその変化に追従した位置で、画素を選択して読み出すことができる。このためデータ量を削減しつつ適切な検出情報(画素情報)を行う状態を、フレームが進行しても継続できる。
 第2,第3,第7,第8の実施の形態では、演算部8は、ADC/ピクセルセレクタ3がROI21やAROI22による検出素子の選択を行なった状態でアレイセンサ2から取得した検出信号に対して物体検出を行い、目的の物体が検出されなかった場合は、後続フレームにおいて、ADC/ピクセルセレクタ3がROI21やAROI22による検出素子の選択を行なわない状態でアレイセンサ2から検出信号を取得するように指示するものとした(図9、図14、図29、図32のステップS205,S201,S202参照)。
 即ち演算部8は、アレイセンサ2から一部の検出素子の情報のみを取得したフレームにおいて目的の物体が検出されなくなったら、取得部での検出信号の取得を通常の状態に戻すようにする。
 これにより、1フレームの全有効画素を含む画像信号から物体検出を行う状態に戻り、再び撮像された画像の全体で目的の物体検出を行うことができる。つまり画像全体を監視できる状態となる。
 第2,第3,第4,第7,第8の実施の形態では、演算部8は、アレイセンサ2による検出信号から検出された物体の領域を囲うバウンディングボックス20を求め、バウンディングボックス20に基づいて領域情報としてのROI21やAROI22を生成する例を述べた(図9、図14、図16、図29、図32参照)。
 物体検出によりバウンディングボックス20を生成し、このバウンディングボックス20からROI21やAROI22を生成することで、画像内での目的の物体の位置に応じたROI21やAROI22を生成できる。これにより次フレームでの読出画素も適切に選択できる。
 第2,第4,第7,第8の実施の形態では、演算部8は、バウンディングボックス20を拡大してROI21を生成する(図9、図16、図29、図32参照)。
 バウンディングボックス20は現フレームでの物体の領域を囲うものであるが、後続のフレームでは物体の位置が変化している可能性がある。そこでバウンディングボックス20を拡大してROI21を生成する。
 これにより、次フレームにおいて取得される情報(AD変換される画素の信号)として、物体が含まれるようにする可能性を高めることができる。つまり必要な情報を含む画素読出をなるべく継続させるようにすることができる。
 第2の実施の形態の説明中において、演算部8は、検出された物体について検出素子単位で領域を判定して領域情報を生成する例を述べた(図11参照)。
 即ち、セマンティックセグメンテーションに基づいてROI21を生成する。これにより非矩形のROI21も生成される。
 物体によっては矩形でクリッピングすると情報が欠ける場合がある。例えば突起物のあるトラック等や、自転車に乗っている人などは、矩形だと、はみ出る部分が生じたり、それをカバーするとROI21が不必要に大きくなり、データ削減効果が低下される。そこで画素レベルで必要な領域が選択できるようにする。これにより必要な情報を、最小限のデータ量で取得することができるようになる。
 このようなセマンティックセグメンテーションに基づくROI21は第4の実施の形態において低圧縮率とする領域を設定する場合にも有用である。
 第2,第3,第4,第7,第8の実施の形態では、演算部8は、アレイセンサ2から得られる検出信号のうちで物体検出キーフレーム記録タイミングのフレーム(キーフレーム)を対象として、物体検出を行い、物体の検出に基づいて領域情報を生成する(図9、図14、図16、図29、図32のステップS201参照)。
 全てのフレームではなくキーフレームを対象とすることで、演算部8の処理負担が過大とならない。また適切な選択アルゴリズムに基づいてキーフレームを選択することで、適切な物体検出が可能な状態を維持できる。
 この場合もキーフレームは、所定の時間間隔毎のフレームとされたり、外部機器からの命令に基づくタイミングのフレームとされる。
 例えばセンサ装置1を搭載した機器の種別、目的等に応じてキーフレームが設定されるようにすれば、機器やアプリケーションが必要とするタイミングで、フレームの画素全体を対象として物体検出を行い、それ以降のフレームではデータ量を削減するといったことが可能となる。
 第2,第3,第4,第7,第8の実施の形態では、演算部8は、アレイセンサ2から得られた検出信号から検出される物体についてクラス識別を行い、識別されたクラスが、ターゲットクラスであるか否かを判定し、ターゲットクラスの物体に対応して領域情報(ROI21やAROI22)を生成する(図9、図14、図16、図29、図32のステップS204,S205参照)。
 ターゲットクラスの存在判定を行い、ターゲットクラスの物体領域に用いてROI21やAROI22を生成することで、検出目的とする物体の情報を取得するための領域情報を的確に生成できる。
 第3,第8の実施の形態では、演算部8はアレイセンサ2から得られた検出信号から検出される物体についてクラス識別を行い、当該物体に対応する領域情報(AROI22)を、識別されたクラスに対応するテンプレートを用いて生成する例を述べた(図14のS210,S211、図32のS262,S211参照)。
 クラスに対応するテンプレートを用いることで、クラス毎に異なる重要な領域に適応するようなAROI22を生成できることになる。
 特にアレイセンサ2が撮像素子によるものである場合、光電変換での消費電力は最も大きい。この場合、できるだけ光電変換する画素を少なくしたいこととなる。テンプレートに従って光電変換する画素を絞ることで、検出精度に影響を与えずに有効なデータ量削減が可能となる。特に画像は、人が見るわけではなく、人がきれいと感じる画像よりもプロセッサ11が的確に物体を認識できる画像であることが重要である。テンプレートを用いて光電変換及びデジタルデータ化する画素を指定した画像は、少ないデータ量で有効な物体検出に適したものとなる。
 またテンプレートは、クラス毎に、検出信号の取得領域を示したものであるとした。
 例えばテンプレートは、「人」「自動車」などの各クラスに応じてアレイセンサの検出素子のうちで、検出情報を取得すべき検出素子を示すものとする(図12,図13参照)。
 クラスに対応して読み出すべき画素を指定するテンプレートを用いることで、クラス毎にアレイセンサ2からの適切な情報の読出が可能となる。特に、図12,図13の例のように一部(顔の部分やナンバープレートの部分)が高密度化されていることで、クラス毎に、特に必要な部分の情報を集中的に取得するようなことも可能となる。
 第4の実施の形態では、信号処理部30では、ロジック部5でアレイセンサ2からの検出信号を圧縮処理するものとし、ロジック部5は、演算部8からの領域情報に基づいて、領域毎に異なる圧縮率による圧縮処理を行う例を述べた(図16参照)。
 これにより信号処理部30(ロジック部5)は、フレーム内で重要な領域と、さほど重要でない領域とで圧縮率を異ならせることで、重要な情報を削減しないようなデータ圧縮が可能となる。
 またロジック部5は、領域情報で指定される領域では、低圧縮率で圧縮処理を行い、他の領域は高圧縮率で圧縮処理を行うとした(図16参照)。
 信号処理部30(ロジック部5)は、物体検出された次のフレームからは、ROI21によって指定される領域では低圧縮率で圧縮処理を行い、他の領域は高圧縮率でデータ量を削減する。ROI21は物体検出に応じて生成されるため、ROI21で示される領域はプロセッサ11での物体検出にも重要な領域であり、この領域は低圧縮率とすることで、情報を削減しない。これにより検出精度を低下させない。一方で、ROI21で示される領域以外は、物体検出にあまり影響のない領域となるため、高圧縮率で圧縮して効率的にデータ量を削減する。
 第5,第9の実施の形態で説明したようにセンサ装置1は、検出素子が複数、1次元または2次元に配列されたアレイセンサ2と、アレイセンサ2による検出信号を取得し、信号処理を行う信号処理部30と、アレイセンサ2による検出信号から物体検出を行い、物体の検出に基づいてアレイセンサ2からの検出信号のフレームレートを可変指示する演算部8を備える。
 実施の形態のように画像からの物体検出を行う場合に、常に高いフレームレートの画像信号が必要となるわけではない。例えば人を検出する場合には、人が写されていないフレームでは、フレームレートは低くても問題ない。逆に人が登場する期間ではフレームレートが高くなることで、情報量が豊富となり、物体(人)検出や、それに付随して認識できる情報も増加させることができる。
 つまり物体の検出に応じてフレームレートを変化させることで、適応的に必要時にデータ量を多くし、不要時にデータ量を削減でき、物体検出性能を低下させずに処理データ量や転送データ量を削減できる。
 なお、画像信号に限らず、音波検出信号、触覚検出信号などとしてアレイセンサから得られる検出信号に対しても、物体検出を行い、物体の検出に基づいてアレイセンサからの検出信号のフレームレートを可変指示することもできる。これにより、音波センサアレイ、接触センサアレイを用いる場合においても、適応的に必要時にデータ量を多くし、不要時にデータ量を削減でき、物体検出性能を低下させずに処理データ量や転送データ量を削減できるという効果が得られる。
 フレームとは、アレイセンサが撮像素子アレイの場合は、画像のフレームとなるが、音波検出素子や触覚センサ素子の場合も同じ意味であり、アレイセンサの種別にかかわらず、アレイセンサの複数の検出素子からの1回の読み出し期間に読み出されるデータ単位である。フレームレートはこのようなフレームの単位時間内の密度となる。
 第5,第9の実施の形態の場合、信号処理部30で信号処理された検出信号を外部装置に出力するインターフェース部7(出力部)は、物体検出の結果に基づいてフレームレートが変化される検出信号をプロセッサ11等に出力することになる。
 このため、伝送するデータ量は著しく削減される。これにより通信コストの低下や伝送時間の短縮が実現される。その上で、目的とする物体検出に必要な情報は含まれているので、プロセッサ11等における物体検出の精度が低下しない。またデータ量が削減されることでプロセッサ11での処理負担も軽減される。
 またプロセッサ11側の計算が高負荷になる為に処理が遅延したり、システム全体の消費電力が上昇したりするということも回避される。
 第5,第9の実施の形態では、演算部8は、少なくとも第1モード(アイドリングモード)のフレームレートのための設定値と、第2モード(ノーマルモード)のフレームレートのための設定値を記憶しており、物体検出の結果に応じて第1モードと第2モードのいずれかの設定値による制御を行うとした(図18、図35参照)。
 これにより物体検出の結果、即ちターゲットクラスの物体の有無により、設定値を選択するという簡易な処理でアクティブサンプリングとしての制御が実現できる。
 第5,第9の実施の形態における第1モードのフレームレートのための設定値と第2モードのフレームレートのための設定値の一方又は両方は、外部装置から書換可能とされていることが望ましい。例えば外部プロセッサの用途、処理能力、アプリケーションの用途などに応じて設定値が可変されるようにする。
 設定値をプロセッサ11等から書き換えることができるようにすれば、プロセッサ11やそのアプリケーションの目的に応じたフレームレート設定も可能となる。
 第5,第9の実施の形態では、演算部8は、アレイセンサ2の検出信号の読み出し間隔を指示することでフレームレートを可変させる例を述べた(図18、図35参照)。
 例えば演算部8(キーフレーム選択部81)がアイドリングモード/ノーマルモードの切替をアレイセンサ2及びADC/ピクセルセレクタ3に指示し、アレイセンサ2及びADC/ピクセルセレクタ3による画像信号の読み出し間隔を変更することでフレームレート切替を行う。
 この場合、フレームレートが低下されるアイドリングモードでは、アレイセンサ2からの光電変換及び読み出し自体の間隔が広げられることになる。アレイセンサ2においては光電変換による消費電力が大きいため、アレイセンサ2においての読み出し間隔を広げることは消費電力の低減効果が大きいものとなる。
 第5,第9の実施の形態の説明中では、演算部8は、信号処理部30(ロジック部5)にフレームレート変更を指示してフレームレートを可変させるようにしてもよい。
 即ち信号処理過程でのフレームレート変換によりフレームレートの切替を実行させる。
 ロジック部5でフレームレート変換を行うこともできる。例えばフレーム間引き処理を行うことでフレームレートを低下させることができる。この場合、アレイセンサ2が常に高いフレームレートで読み出しを行っていることで、アレイセンサ2における消費電力削減効果は生じないが、プロセッサ11へ転送するデータ量の削減効果はこの場合も得られる。
 第5,第9の実施の形態では、演算部8は、アレイセンサ2から得られた検出信号から検出される物体についてクラス識別を行い、識別されたクラスが、ターゲットクラスであるか否かを判定し、判定結果に応じてフレームレートの可変指示を行う例を述べた(図18のS304,S305,S301、図35のS304,S352,S301参照)。
 ターゲットクラスの存在判定を行い、ターゲットクラスの物体の存在によりノーマルモードとしてフレームレートを高くする。ターゲットクラスの物体が検出されない場合はアイドリングモードとしてフレームレートを低くしている。これにより検出目的とする物体の存在に応じて的確に検出することができる。
 例えば人を監視する用途などでは、ターゲットクラスとしての人を検出することでフレームレートを高くすることで、精細な監視が可能となるとともに、それ以外はアイドリングモードとして消費電力の削減やデータ量の削減が可能となる。
 各実施の形態では、アレイセンサ2の検出素子は撮像素子であるとした。即ちアレイセンサ2による検出信号は撮像(光電変換)による画像信号とする。
 従って撮像画像を用いた物体検出において、物体検出精度を維持できる適切なデータ量の削減と、これに付随する処理負担の軽減、転送コストの低下等を実現できる。
 実施の形態ではセンサ装置1は、演算部8としてのAIチップやDRAMチップを有する一体型のセンシングモジュール構成とされることを想定している。
 これに対して、演算部8としてのAIチップやDRAMチップをアレイセンサ2の外部とする構成とし、その外部の演算部によって、各実施の形態で説明した読み出しや信号処理の制御が行われるようにする例も考えられる。
 またアレイセンサ2と演算部8としてのAIチップを一体化し、外部のDRAMチップを用いる例も考えられる。
 第6の実施の形態では、ロジック部5(画像処理部)の画像処理又はアレイセンサ2による撮像に関する撮像処理に用いるパラメータの全部又は一部について、パラメータの閾値を設定し、閾値に基づいて設定したパラメータを用いた処理が行われるようにする閾値設定部85を備える。
 閾値を用いてパラメータを設定(変更)することで、例えば画像信号について、物体検出等の処理のための必要最小限の品質等(例えば必要最小限の解像度など)として出力することができる。従って、出力する画像信号のデータ量を削減しつつ、後段の処理(物体検出等)の処理の性能、精度等を低下させないといったことも可能となる。
 またこれにより低消費電力化、処理の高速化も実現できる。
 なお、第6の実施の形態で説明した図22の処理例は、演算部8はアレイセンサ2での撮像により得られた画像信号から検出される物体についてクラス識別を行い、識別されたクラスに基づいて画像処理に用いるパラメータセットを選択し、選択したパラメータでロジック部5の処理設定を行い、その選択したパラメータを閾値に応じて設定(調整)する例としている。従って、クラス毎に適応するパラメータセットにおける一部又は全部のパラメータが、さらに閾値に応じて調整設定されるものとなり、クラスに適応したうえで、さらに物体検出等の検出精度を維持しつつ必要十分なデータ量とすることができる。クラスに適応するパラメータセットをさらに調整するため、よりデータ量低減を進めることができ、低消費電力化、処理の高速化も進めることができる。
 但し、この図22のような例に限らず、単にクラスによらずに設定されているパラメータの全部又は一部を、閾値に基づいて変更するようにしてもよい。その場合も、物体検出等について要求される性能、精度を維持しながら画像信号のデータ量の削減、低消費電力化、処理の高速化を実現できる。
 第6の実施の形態では、閾値設定部85は、画像信号から検出される物体のクラスに応じた閾値を設定するものとした。例えば「人」「自動車」「標識」等のクラスに応じて適切とされる閾値を設定する。
 物体検出などのために画像に要求される解像度と検出精度の関係は、クラスによって異なる。そこで、クラスに応じて閾値を設定し、ロジック部5から出力される画像信号の解像度等が変更されるようにすることで、クラスに応じて、必要最小限の解像度などによる出力が可能となる。つまりクラスに応じて解像度等のパラメータを最適化し、物体検出精度等を求められるレベルに維持しつつ、データ削減、低消費電力化、処理の高速化等を実現できる。
 第6の実施の形態では、閾値設定部85は、画像信号に対する学習処理に基づいて閾値を設定する。例えばセンサ装置1側でローカルラーニングとしての学習処理を行って閾値を求める。画像信号に対する学習処理を行うことで、閾値及びそれに応じたパラメータとして望ましい値を判定する。これにより撮像環境や撮像画像内容、検出対象物などに応じて適応的にパラメータ設定が行われる。
 またこのようなローカルラーニングをセンサ装置1内、或いはセンサ装置1を含む端末装置100内で行うことで、当該センサ装置1において求められる画像精度等に適した閾値を算出できることにもなる。
 またクラス毎のローカルラーニングにより閾値を設定することで、さらにクラスに適応したパラメータ設定により、出力する画像信号の解像度等の最適化が実現される。
 第6の実施の形態では、閾値設定部85は、コンフィデンスレート(物体検出の確証性の割合)として所定の割合が得られるように閾値を設定するとした。
 画像からの物体検出の精度として求められるコンフィデンスレートは、その検出について目的、対象、機器/アプリケーションプログラムの別、時期、地域などによって異なる。
 例えば確証性が80%で良いのであれば、80%以上の確証性が得られるように閾値が設定され、それに応じたパラメータが設定されれば良い。また、95%以上の確証性が求められるのであれば、閾値を高くしてパラメータを設定すればよい。
 従って閾値の設定(ひいてはパラメータの設定)は、物体検出について求められるコンフィデンスレートに基づいて設定されるようにすることで、その処理の実施に応じた適応化として、望ましい画像信号の品質と、それに応じたデータ削減、低消費電力化、処理の高速化等を実現できる。
 第6の実施の形態の閾値設定部85は、ロジック部5と同一筐体の装置内に設けられる例を挙げた(図21,図25,図26参照)。例えばセンサ装置1としてのユニット内、もしくはセンサ装置1を含む端末装置100内に閾値設定部85が設けられるようにしている。そして閾値設定部85は、ローカルラーニングを行って閾値及びそれに応じたパラメータを設定する。これは、当該センサ装置1や端末装置100としての機器に適応する状態を学習して閾値の設定を行うことを意味する。これによりセンサ装置1や端末装置100として求められる出力を実現する適切な閾値設定が可能になる。
 第7、第8の実施の形態では、演算部8は、過去の領域情報に関する情報(領域情報の元となる物体の検出領域バウンディングボックス20や領域情報そのものであるROI21やAROI22)に基づいてアレイセンサ2から取得する検出信号についてのアクティブエリアRAを設定する(図29,図32のS251)。
 そしてアクティブエリアRAの検出信号から物体検出を行い、物体の検出に基づいて生成したROI21やAROI22を信号処理部30に対し、アレイセンサ2からの検出信号の取得又は検出信号の信号処理に関する領域情報として指示する。
 これによりROI21やAROI22を設定するための物体検出の処理負担が著しく低減される。具体的にはステップS203の処理が軽減される。従って処理負担削減、高速化、消費電力の削減という効果を得ることができる。
 第7、第8の実施の形態では、演算部8は、過去のROI21やAROI22が基づく物体検出の検出領域、即ちバウンディングボックス20が含まれるようにアクティブエリアRAを設定するものとした。
 処理を継続することでバウンディングボックス20が全く設定されない領域が画像上に存在する場合がある。そのような領域は、目的の物体は検出されない非アクティブエリアDAとすることができ、逆にそれ以外をアクティブエリアRA、つまり物体検出がなされる可能性のある領域とすることができる。
 過去の複数のバウンディングボックス20に基づくことでアクティブエリアRAを容易かつ適切に設定できる。また撮像環境、撮像方向などにも適したアクティブエリアRAの設定ができることにもなる。
 第7、第8の実施の形態では、演算部8は、ADC/ピクセルセレクタ3がROI21やAROI22による検出素子の選択を行なった状態でアレイセンサ2から取得した検出信号に対して物体検出を行い、目的の物体が検出されなかった場合は、後続フレームにおいて、ADC/ピクセルセレクタ3がアクティブエリアの検出信号を前記アレイセンサから取得するように指示するものとした(図29、図32のS205,S201,S252参照)。
 即ち演算部8は、アレイセンサ2から一部の検出素子の情報のみを取得したフレームにおいて目的の物体が検出されなくなったら、取得部での検出信号の取得を通常の状態に戻すようにする。
 これにより、1フレームのアクティブエリアの画像信号から物体検出を行う状態に戻り、再び撮像された画像のうちで、必要な範囲で目的の物体検出を行うことができる。事実上、画像全体を監視できる状態となる。
 第7,第8の実施の形態では、演算部8は、アレイセンサ2から得られる検出信号のうちでキーフレームを対象として、アクティブエリアRAの検出信号からの物体検出に基づいて領域情報を生成する例を述べた(図29,図32のS201、S252参照)。
 全てのフレームではなくキーフレームを対象とすることで、演算部8の処理負担が過大とならない。また適切な選択アルゴリズムに基づいてキーフレームを選択することで、適切な物体検出が可能な状態を維持できる。
 この場合もキーフレームは、所定の時間間隔毎のフレームとされたり、プロセッサ11等の外部からの命令に基づくタイミングのフレームとされることが考えられる。
 第8の実施の形態では、演算部8はアレイセンサ2から得られた検出信号から検出される物体についてクラス識別を行い、当該物体に対応する領域情報(AROI22)を、識別されたクラスに対応するテンプレートを用いて生成する。この場合に、閾値を元に解像度等のパラメータが算出されて記録されているAROI22が用いられる(図32のS262,S211参照)。
 閾値を用いてAROI22で示される取得領域のパラメータを設定(変更)することで、例えば画像信号について、物体検出等の処理のための必要最小限の品質等(例えば必要最小限の解像度など)として出力することができる。
 またテンプレートを用いて光電変換及びデジタルデータ化する画素を指定した画像は、少ないデータ量で有効な物体検出に適したものとなる。
 従って、テンプレートを用いること、及び閾値により例えば解像度等のパラメータを設定することで、出力する画像信号のデータ量を削減しつつ、後段の処理(物体検出等)の処理の性能、精度等を低下させないといったことも可能となる。またこれにより低消費電力化、処理の高速化も実現できる。
 またテンプレートは、「人」「自動車」などのクラス毎に、検出信号の取得領域を示したものであることで、クラス毎に、特に必要な部分の情報を集中的に取得することも可能となる。
 第9の実施の形態では、アレイセンサ2から得られた検出信号から検出される物体について識別されるクラスに応じてフレームレートの閾値を設定し、閾値に基づいて設定したフレームレートを用いた処理が行われるようにする閾値設定部85を備える(図35参照)。
 閾値を用いてフレームレートを設定(変更)することで、検出対象のクラスに適したフレームレートを適用できる。具体的には検出対象のクラスの物体検出の性能を低下させないようにしつつ、フレームレートを落とすことで画像信号のデータ量の削減、低消費電力化、処理の高速化を実現できる。
 第9の実施の形態では、閾値設定部85は、画像からのオブジェクトトラッキングが維持できるフレームレートとして閾値を設定する。
 これにより画像からのオブジェクトトラッキングを行いながら行う物体検出精度を維持しつつ、クラスに応じたデータ削減、低消費電力化、処理の高速化等を実現できる。
 第9の実施の形態では、演算部8は、フレームレートが高くなる第2モード(ノーマルモード)のフレームレートとして、閾値設定部85が設定したフレームレートを用いる。これによりフレームレートが高くなる場合において、クラスに応じて比較的低くしたフレームレートが用いられるようになる。
 第1,第2,第3,第4,第5,第6,第7,第8,第9の各実施の形態は、それぞれ適宜組み合わせることができる。
 組み合わせにより、各実施の形態の効果を増大させることが可能である。即ち画像からの物体検出等の処理の精度を維持しつつ、画像信号のデータ量の削減、低消費電力化、処理の高速化等の効果をより大きくすることができる。
 なお、本明細書に記載された効果はあくまでも例示であって限定されるものではなく、また他の効果があってもよい。
 なお本技術は以下のような構成も採ることができる。
 (1)
 検出素子が複数、1次元または2次元に配列されたアレイセンサと、
 前記アレイセンサによる検出信号を取得し、信号処理を行う信号処理部と、
 前記アレイセンサによる検出信号から物体検出を行い、物体の検出に基づいて前記アレイセンサからの検出信号のフレームレートを可変指示する演算部と、を備えた
 センサ装置。
 (2)
 前記信号処理部で信号処理された検出信号を外部装置に出力する出力部を備えた
 上記(1)に記載のセンサ装置。
 (3)
 前記演算部は、少なくとも第1モードのフレームレートのための設定値と、第2モードのフレームレートのための設定値を記憶しており、
 物体検出の結果に応じて前記第1モードと前記第2モードのいずれかの設定値による制御を行う
 上記(1)又は(2)に記載のセンサ装置。
 (4)
 前記第1モードのフレームレートのための設定値と前記第2モードのフレームレートのための設定値の一方又は両方は、外部装置から書換可能とされている
 上記(3)に記載のセンサ装置。
 (5)
 前記演算部は、前記アレイセンサの検出信号の読み出し間隔を指示することでフレームレートを可変させる
 上記(1)から(4)のいずれかに記載のセンサ装置。
 (6)
 前記演算部は、前記信号処理部にフレームレート変更を指示してフレームレートを可変させる
 上記(1)から(4)のいずれかに記載のセンサ装置。
 (7)
 前記演算部は、
 前記アレイセンサから得られた検出信号から検出される物体についてクラス識別を行い、識別されたクラスが、ターゲットクラスであるか否かを判定し、判定結果に応じてフレームレートの可変指示を行う
 上記(1)から(6)のいずれかに記載のセンサ装置。
 (8)
 外部機器の要求に応じて、前記信号処理部で処理された検出信号、識別されたクラスの情報、検出された物体の数、ターゲットクラスの有無の情報のいずれか又は全てを出力する出力部を備えた
 上記(7)に記載のセンサ装置。
 (9)
 前記アレイセンサの検出素子は撮像素子である
 上記(1)から(8)のいずれかに記載のセンサ装置。
 (10)
 前記アレイセンサから得られた検出信号から検出される物体について識別されるクラスに応じて前記フレームレートの閾値を設定し、前記閾値に基づいて設定したフレームレートを用いた処理が行われるようにする閾値設定部を備えた 
 上記(1)から(9)のいずれかに記載のセンサ装置。
 (11)
 前記閾値設定部は、画像からのオブジェクトトラッキングが維持できるフレームレートとして前記閾値を設定する
 上記(10)に記載のセンサ装置。
 (12)
 前記演算部は、物体検出の結果に応じて第1モードと第2モードのいずれかのフレームレートの設定値による制御を行うとともに、前記第1モードと前記第2モードの一方のフレームレートの設定値として、前記閾値設定部が設定したフレームレートの設定値が用いられるようにする
 上記(10)又は(11)に記載のセンサ装置。
 (13)
 検出素子が複数、1次元または2次元に配列されたアレイセンサと、前記アレイセンサによる検出信号を取得し、信号処理を行う信号処理部とを有するセンサ装置における信号処理方法として、
 前記アレイセンサによる検出信号から物体検出を行い、物体の検出に基づいて前記アレイセンサからの検出信号のフレームレートを可変指示する
 信号処理方法。
 (14)
 前記アレイセンサから得られた検出信号から検出される物体について識別されるクラスに応じて前記フレームレートの閾値を設定し、前記閾値に基づいて設定したフレームレートを用いた処理が行われるようにする
 上記(13)に記載の信号処理方法。
 1 センサ装置、2 アレイセンサ、3 ADC/ピクセルセレクタ、4 バッファ、5 ロジック部、6 メモリ、7 インターフェース部、8 演算部、11 プロセッサ、12 外部センサ、20 バウンディングボックス、21 ROI、22 アドバンスドROI(AROI)、23 候補領域、30 信号処理部、81 キーフレーム選択部、82 物体領域認識部、83 クラス識別部、84 パラメータ選択部、85 閾値設定部、100 端末装置

Claims (14)

  1.  検出素子が複数、1次元または2次元に配列されたアレイセンサと、
     前記アレイセンサによる検出信号を取得し、信号処理を行う信号処理部と、
     前記アレイセンサによる検出信号から物体検出を行い、物体の検出に基づいて前記アレイセンサからの検出信号のフレームレートを可変指示する演算部と、を備えた
     センサ装置。
  2.  前記信号処理部で信号処理された検出信号を外部装置に出力する出力部を備えた
     請求項1に記載のセンサ装置。
  3.  前記演算部は、少なくとも第1モードのフレームレートのための設定値と、第2モードのフレームレートのための設定値を記憶しており、
     物体検出の結果に応じて前記第1モードと前記第2モードのいずれかの設定値による制御を行う
     請求項1に記載のセンサ装置。
  4.  前記第1モードのフレームレートのための設定値と前記第2モードのフレームレートのための設定値の一方又は両方は、外部装置から書換可能とされている
     請求項3に記載のセンサ装置。
  5.  前記演算部は、前記アレイセンサの検出信号の読み出し間隔を指示することでフレームレートを可変させる
     請求項1に記載のセンサ装置。
  6.  前記演算部は、前記信号処理部にフレームレート変更を指示してフレームレートを可変させる
     請求項1に記載のセンサ装置。
  7.  前記演算部は、
     前記アレイセンサから得られた検出信号から検出される物体についてクラス識別を行い、識別されたクラスが、ターゲットクラスであるか否かを判定し、判定結果に応じてフレームレートの可変指示を行う
     請求項1に記載のセンサ装置。
  8.  外部機器の要求に応じて、前記信号処理部で処理された検出信号、識別されたクラスの情報、検出された物体の数、ターゲットクラスの有無の情報のいずれか又は全てを出力する出力部を備えた
     請求項7に記載のセンサ装置。
  9.  前記アレイセンサの検出素子は撮像素子である
     請求項1に記載のセンサ装置。
  10.  前記アレイセンサから得られた検出信号から検出される物体について識別されるクラスに応じて前記フレームレートの閾値を設定し、前記閾値に基づいて設定したフレームレートを用いた処理が行われるようにする閾値設定部を備えた 
     請求項1に記載のセンサ装置。
  11.  前記閾値設定部は、画像からのオブジェクトトラッキングが維持できるフレームレートとして前記閾値を設定する
     請求項10に記載のセンサ装置。
  12.  前記演算部は、物体検出の結果に応じて第1モードと第2モードのいずれかのフレームレートの設定値による制御を行うとともに、前記第1モードと前記第2モードの一方のフレームレートの設定値として、前記閾値設定部が設定したフレームレートの設定値が用いられるようにする
     請求項10に記載のセンサ装置。
  13.  検出素子が複数、1次元または2次元に配列されたアレイセンサと、前記アレイセンサによる検出信号を取得し、信号処理を行う信号処理部とを有するセンサ装置における信号処理方法として、
     前記アレイセンサによる検出信号から物体検出を行い、物体の検出に基づいて前記アレイセンサからの検出信号のフレームレートを可変指示する
     信号処理方法。
  14.  前記アレイセンサから得られた検出信号から検出される物体について識別されるクラスに応じて前記フレームレートの閾値を設定し、前記閾値に基づいて設定したフレームレートを用いた処理が行われるようにする
     請求項13に記載の信号処理方法。
PCT/JP2019/039285 2018-10-19 2019-10-04 センサ装置、信号処理方法 WO2020080141A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP19873997.1A EP3869783A4 (en) 2018-10-19 2019-10-04 SENSOR DEVICE AND SIGNAL PROCESSING METHOD
KR1020217010461A KR20210075990A (ko) 2018-10-19 2019-10-04 센서 장치 및 신호 처리 방법
US17/272,810 US11470268B2 (en) 2018-10-19 2019-10-04 Sensor device and signal processing method
CN201980062222.7A CN112823506B (zh) 2018-10-19 2019-10-04 传感器装置和信号处理方法

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2018-197497 2018-10-19
JP2018197497 2018-10-19
JP2019-111093 2019-06-14
JP2019111093A JP6705534B2 (ja) 2018-10-19 2019-06-14 センサ装置、信号処理方法

Publications (1)

Publication Number Publication Date
WO2020080141A1 true WO2020080141A1 (ja) 2020-04-23

Family

ID=70283193

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2019/039285 WO2020080141A1 (ja) 2018-10-19 2019-10-04 センサ装置、信号処理方法

Country Status (2)

Country Link
EP (1) EP3869783A4 (ja)
WO (1) WO2020080141A1 (ja)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021240647A1 (ja) * 2020-05-26 2021-12-02 富士通株式会社 画像処理システム、画像処理装置及び画像処理プログラム
WO2022079791A1 (ja) * 2020-10-13 2022-04-21 富士通株式会社 画像処理装置、画像処理方法及び画像処理プログラム
WO2022130497A1 (ja) * 2020-12-15 2022-06-23 富士通株式会社 解析装置、解析方法及び解析プログラム

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005077432A (ja) * 2003-08-29 2005-03-24 Canon Inc 画像表示装置及びそれを有する撮像装置
JP2007318262A (ja) 2006-05-23 2007-12-06 Sanyo Electric Co Ltd 撮像装置
JP2010050877A (ja) * 2008-08-25 2010-03-04 Nikon Corp 撮像装置、画像再生装置、画像変換装置、画像再生プログラム
WO2019065919A1 (ja) * 2017-09-29 2019-04-04 株式会社ニコン 撮像装置、画像処理装置、動画圧縮装置、設定プログラム、画像処理プログラム、および動画圧縮プログラム

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1126410A1 (en) * 2000-02-14 2001-08-22 Koninklijke Philips Electronics N.V. Picture signal enhancement
CA2563478A1 (en) * 2004-04-16 2005-10-27 James A. Aman Automatic event videoing, tracking and content generation system
EP2070774B1 (en) * 2007-12-14 2012-11-07 SMR Patents S.à.r.l. Security system and a method to derive a security signal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005077432A (ja) * 2003-08-29 2005-03-24 Canon Inc 画像表示装置及びそれを有する撮像装置
JP2007318262A (ja) 2006-05-23 2007-12-06 Sanyo Electric Co Ltd 撮像装置
JP2010050877A (ja) * 2008-08-25 2010-03-04 Nikon Corp 撮像装置、画像再生装置、画像変換装置、画像再生プログラム
WO2019065919A1 (ja) * 2017-09-29 2019-04-04 株式会社ニコン 撮像装置、画像処理装置、動画圧縮装置、設定プログラム、画像処理プログラム、および動画圧縮プログラム

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3869783A4

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021240647A1 (ja) * 2020-05-26 2021-12-02 富士通株式会社 画像処理システム、画像処理装置及び画像処理プログラム
WO2022079791A1 (ja) * 2020-10-13 2022-04-21 富士通株式会社 画像処理装置、画像処理方法及び画像処理プログラム
JP7491388B2 (ja) 2020-10-13 2024-05-28 富士通株式会社 画像処理装置、画像処理方法及び画像処理プログラム
WO2022130497A1 (ja) * 2020-12-15 2022-06-23 富士通株式会社 解析装置、解析方法及び解析プログラム

Also Published As

Publication number Publication date
EP3869783A4 (en) 2022-03-09
EP3869783A1 (en) 2021-08-25

Similar Documents

Publication Publication Date Title
JP6683280B1 (ja) センサ装置、信号処理方法
JP6705533B2 (ja) センサ装置、パラメータ設定方法
JP6705534B2 (ja) センサ装置、信号処理方法
KR102556560B1 (ko) 화상 처리 장치, 화상 처리 방법, 및 화상 처리 시스템
WO2020080139A1 (ja) センサ装置、パラメータ設定方法
JP7279533B2 (ja) センサ装置、信号処理方法
WO2020080141A1 (ja) センサ装置、信号処理方法
WO2022004412A1 (ja) 情報処理装置、情報処理方法、並びにプログラム
US12003845B2 (en) Sensor apparatus having array sensor for sensor-equipped device, sensor equipped device provided with sensor apparatus having array sensor, and contol method for sensor apparatus having array sensor for sensor-equipped device
WO2022004413A1 (ja) 情報処理装置、情報処理方法、並びにプログラム
US20230111580A1 (en) Sensor apparatus, sensor-equipped device, and processing method of sensor apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19873997

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2019873997

Country of ref document: EP

Effective date: 20210519