Camera device, camera device working method, storage medium and camera system
By adopting independent frame rate output and thinning out technology in the camera device, position information is used for image recognition processing, which solves the problem of high processing load on the imaging element and achieves efficient and high-precision image recognition.
Patent Information
- Application Number
- CN202080086746.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-12-19
- Filing Date
- 2020-12-01
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-12-01
AI Technical Summary
When the existing camera device performs image recognition processing, the processing load of the imaging element is relatively large, resulting in low efficiency.
A camera device with built-in memory and processor outputs image data at an independent frame rate, and uses position information for image recognition processing to reduce unnecessary data output and processing volume, and uses thinning technology and image cut-out processing to reduce processing load .
It effectively reduces the processing load of the imaging element, improves the efficiency and accuracy of image recognition, and at the same time achieves miniaturization of the camera device and high-precision image recognition.
Smart Images

Figure CN114830626B_ABST
Abstract
Description
Technical Field
[0001] The technology of the present invention relates to a camera device, a working method of the camera device, a storage medium and a camera system. Background Art
[0002] Japanese Patent Publication No. 2017-055231 discloses an image processing device including a main subject determination unit and a learning unit. The main subject determination unit takes images continuously output from a camera unit that captures dynamic images as processing objects, and determines a main subject area in which a subject that is a focus object, i.e., a main subject, is captured in the image. The learning unit learns to recognize a specific area in which the motion of other subjects other than the main subject captured in the image is less than a predetermined size, based on the difference between the image of the processing object and a specific image that was the processing object before the image, i.e., a previous frame image.
[0003] Japanese Patent Publication No. 2017-060155 discloses an imaging element including a pixel unit, a readout unit, and an output unit. The pixel unit is provided with a plurality of pixels for performing photoelectric conversion on light from a subject. The readout unit reads out a signal from the pixel unit. The output unit outputs the signals of the pixels in the entire area of the pixel unit as signals for generating an image among the signals read out by the readout unit to the outside of the imaging element, and outputs the signals of the pixels in a partial area of the pixel unit as signals for calculating an evaluation value for driving control of a device having the imaging element to the outside of the imaging element.
[0004] Japanese Patent Publication No. 2018-078609 discloses an imaging element, which includes a plurality of unit pixels, a calculation processing unit, and a signal output unit. The plurality of unit pixels are arranged in a matrix, and each has a first photoelectric conversion unit and a second photoelectric conversion unit that convert incident light into electric charge. The calculation processing unit performs a predetermined calculation processing on an A signal based on the electric charge converted by the first photoelectric conversion unit and a B signal based on the electric charge converted by the second photoelectric conversion unit. The signal output unit outputs the signal that is subjected to the predetermined calculation processing by the calculation processing unit to the outside.
[0005] Japanese Patent Publication No. 2014-178603 discloses an imaging device, which includes an imaging component, an area of interest determination component, a control component, and a focus detection component. The imaging component has a plurality of imaging areas, and generates an image signal corresponding to a light image incident on the imaging area. The area of interest determination component determines the area of interest of the image represented by the image signal based on the image signal output from the imaging component. The control component includes: a first control unit that controls so that an imaging area in which a light image corresponding to the area of interest is incident among a plurality of imaging areas under a first imaging condition is photographed; and a second control unit that controls so that an imaging area other than an imaging area in which a light image corresponding to the area of interest is incident among a plurality of imaging areas under a second imaging condition different from the first imaging condition is photographed. The focus detection component detects a focus adjustment state of the area of interest. In the imaging device, it is characterized in that the first control unit controls so that the imaging is performed at a higher frame rate than that of the second control unit. Summary of the invention
[0006] One embodiment of the technology involved in the present invention provides an imaging device, an operating method of the imaging device, a program, and an imaging system that reduce the processing load of an imaging element compared to the case where image recognition processing is performed on an image recognition area within the imaging element.
[0007] Means for solving technical problems
[0008] A first aspect of the technology of the present invention is an imaging device comprising: an imaging element having a memory and a first processor built therein, the memory storing image data obtained by shooting at a first frame rate, the first processor outputting the image data at a second frame rate independent of the first frame rate; and a second processor inputting the image data output from the first processor. The first processor acquires position information indicating the position of an image recognition area to be processed by image recognition processing in the image data. The second processor performs image recognition processing on the image recognition area based on the position information.
[0009] A second aspect according to the technology of the present invention is the imaging device according to the first aspect, wherein the position information is coordinates indicating a position of the image recognition area in the image data.
[0010] The third method involved in the technology of the present invention is a camera device according to the first method or the second method, wherein the first processor detects an image recognition area from the image data based on the difference between frames of the image data and obtains position information based on the detection result.
[0011] The fourth mode involved in the technology of the present invention is a camera device according to any one of the first to third modes, wherein the first processor outputs partial image data and position information as a part of the image data at a second frame rate, and the partial image data includes an image recognition area.
[0012] A fifth aspect according to the technology of the present invention is the imaging device according to the fourth aspect, wherein the partial image data includes only the image recognition area.
[0013] The sixth mode involved in the technology of the present invention is a camera device according to the fourth mode or the fifth mode, wherein the first processor outputs thinned-out image data, partial image data, and position information obtained by thinning out image data at a second frame rate.
[0014] The seventh method involved in the technology of the present invention is a camera device according to any one of the first to sixth methods, wherein the position information is information obtained based on the detection result of the image recognition area performed by the first processor on the first interval-removed image data in which the image data is interval-removed at a first interval-removal rate.
[0015] An eighth aspect according to the technology of the present invention is the imaging device according to the seventh aspect, wherein the second processor displays the image represented by the first thinned image data on the display as a display moving image.
[0016] The 9th method involved in the technology of the present invention is a camera device according to any one of the 4th to 6th methods, wherein the second processor performs image recognition processing on the second thinning-out image data in which the image data or part of the image data is thinned out at a second thinning-out rate.
[0017] A tenth aspect according to the technology of the present invention is the imaging device according to the ninth aspect, wherein a first thinning-out rate and a second thinning-out rate for thinning out the image data are different.
[0018] An eleventh aspect according to the technology of the present invention is the imaging device according to the tenth aspect, wherein the second thinning-out rate is lower than the first thinning-out rate.
[0019] The 12th method involved in the technology of the present invention is a camera device according to the 1st method or the 2nd method, wherein the 1st processor outputs partial image data and position information as a part of the image data at a third frame rate different from the second frame rate, the image represented by the partial image data includes an image recognition area, and the third frame rate is determined according to the processing speed of the second processor.
[0020] The 13th method involved in the technology of the present invention is a camera device according to the 1st method or the 2nd method, wherein the first processor produces one frame of synthetic image data by synthesizing multiple frames of image data obtained at a first frame rate, and the position information is information obtained based on the detection result of the image recognition area performed by the first processor on the image represented by the synthetic image data.
[0021] A fourteenth aspect according to the technology of the present invention is the imaging device according to any one of the first to thirteenth aspects, wherein the imaging element is an imaging element in which at least a photoelectric conversion element and a memory are integrated into a single chip.
[0022] A fifteenth aspect according to the technology of the present invention is the imaging device according to the fourteenth aspect, wherein the imaging element is a stacked-type imaging element in which a photoelectric conversion element and a memory are stacked.
[0023] The 16th method involved in the technology of the present invention is a working method of a camera device, wherein the camera device comprises: an imaging element, a built-in memory and a first processor, the memory storing image data obtained by shooting at a first frame rate, the first processor outputting the image data at a second frame rate independent of the first frame rate; and a second processor inputting the image data output from the first processor, the working method of the camera device comprising the following steps: the first processor obtains position information representing the position of an image recognition area in the image data that is a processing object of image recognition processing, and the second processor performs image recognition processing on the image recognition area based on the position information.
[0024] The 17th method involved in the technology of the present invention is a program for causing a computer suitable for a camera device to execute processing, wherein the camera device comprises: an imaging element, a built-in memory and a first processor, the memory storing image data obtained by shooting at a first frame rate, the first processor outputting the image data at a second frame rate independent of the first frame rate; and a second processor inputting the image data output from the first processor, the processing comprising the following steps: the first processor obtains position information representing the position of an image recognition area in the image data that is a processing object of image recognition processing, and the second processor performs image recognition processing on the image recognition area based on the position information.
[0025] The 18th method involved in the technology of the present invention is a camera system, which includes: a plurality of camera devices, each having a photoelectric conversion element for photographing a camera area, a memory for storing image data obtained by photographing by the photoelectric conversion element, and a processor for outputting the image data; and a main computer, which is arranged at the subsequent stage of each of the plurality of camera devices, inputs image data from the processor, the processor obtains position information representing the position of an image recognition area in an image represented by the image data, which is a processing object of image recognition processing, and the main computer performs image recognition processing on the image recognition area based on the position information. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a perspective view showing an example of the appearance of the imaging device according to the first to fourth embodiments.
[0027] Figure 2 Yes means Figure 1 The figure is a rear view showing an example of the appearance of the rear side of the imaging device shown.
[0028] Figure 3 This is a block diagram showing an example of the configuration of an imaging device according to the first to fourth embodiments.
[0029] Figure 4 This is a block diagram showing an example of a hardware configuration of an electrical system of an imaging device main body included in the imaging devices according to the first to fourth embodiments.
[0030] Figure 5 This is a conceptual diagram showing an example of a stacked structure of an imaging element included in the imaging device according to the first to fourth embodiments.
[0031] Figure 6 This is a block diagram showing an example of a hardware configuration of an electrical system of an imaging element included in the imaging device according to the first embodiment.
[0032] Figure 7 This is a conceptual diagram showing an example of pixel arrangement of photoelectric conversion elements and processing of digital image data in the imaging device according to the first to fourth embodiments.
[0033] Figure 8 This is a conceptual diagram showing an example of the content of the first thinning process performed by the first thinning circuit included in the imaging element according to the first to fourth embodiments.
[0034] Fig. 9 This is a conceptual diagram for explaining a frame difference method as an example of a method for acquiring position information of a subject.
[0035] Fig.10This is a conceptual diagram showing an example of the content of the image cutting process performed by the image cutting circuit included in the imaging element according to the first embodiment.
[0036] Fig.11 It is a block diagram showing an example of the configuration of a subsequent stage circuit according to the first to fourth embodiments.
[0037] Fig.12 This is a conceptual diagram showing an example of a live preview image displayed on a display in the first to fourth embodiments.
[0038] Fig.13 This is a conceptual diagram showing an example of a superimposed image displayed on a display in the first to fourth embodiments.
[0039] Fig.14 This is a flowchart showing an example of a first image processing flow according to the first embodiment.
[0040] Fig.15 This is a flowchart showing an example of the second image processing flow according to the first embodiment.
[0041] Fig.16 This is a block diagram showing an example of a hardware configuration of an electrical system of an imaging element included in the imaging device according to the second embodiment.
[0042] Fig.17 This is a conceptual diagram showing an example of partial image data according to the second embodiment.
[0043] Fig.18 This is a block diagram showing an example of a hardware configuration of an electrical system of an imaging element included in an imaging device according to a third embodiment.
[0044] Fig.19 This is a conceptual diagram for explaining the image synthesis processing of the imaging element involved in the third embodiment.
[0045] Fig. 20 This is a block diagram showing an example of a hardware configuration of an electrical system of an imaging element included in an imaging device according to a fourth embodiment.
[0046] Fig.21 This is a conceptual diagram showing an example of a method of installing a program from a storage medium storing the program into a computer in a subsequent circuit.
[0047] Fig. 22 It is a perspective view showing an example of the appearance of a surveillance camera according to the fifth embodiment. DETAILED DESCRIPTION
[0048] Hereinafter, an example of an embodiment of an imaging device according to the technology of the present invention will be described with reference to the drawings.
[0049] First, the terms used in the following description are explained.
[0050] CPU is short for "Central Processing Unit". GPU is short for "Graphics Processing Unit". RAM is short for "Random Access Memory". ROM is short for "Read Only Memory". DRAM is short for "Dynamic Random Access Memory". SRAM is short for "Static Random Access Memory". LSI is short for "Large-Scale Integration". ASIC is short for "Application Specific Integrated Circuit". PLD is short for "Programmable Logic Device". FPGA is short for "Field-Programmable Gate Array". SoC is short for "System-on-a-chip". SSD is short for "Solid State Drive". USB is short for "Universal Serial Bus". HDD is the abbreviation of “Hard Disk Drive”. EEPROM is the abbreviation of “Electrically Erasable and Programmable Read Only Memory”. CCD is the abbreviation of “Charge Coupled Device”. CMOS is the abbreviation of “Complementary Metal Oxide Semiconductor”. EL is the abbreviation of “Electro-Luminescence”. A / D is the abbreviation of “Analog / Digital”. I / F is the abbreviation of “Interface”. UI is the abbreviation of “User Interface”. LVDS is the abbreviation of “Low Voltage Differential Signaling”.PCI e (registered trademark) is the abbreviation of "Peripheral Component Interconnect Express". SATA is the abbreviation of "Serial Advanced Technology Attachment". SLVS-EC is the abbreviation of "Scalable Low Voltage Signa ling with Embedded Clock". MIPI (registered trademark) is the abbreviation of "Mobile Industry Processor Interface". HDMI (registered trademark) is the abbreviation of "High-Definition Multimedia Interfa ce". FPS is the abbreviation of "frame per second".
[0051] In the following description, “detecting a subject” means, for example, detecting subject image data representing the subject. Also, “recognizing a subject” means, for example, recognizing subject image data.
[0052] [First embodiment]
[0053] As an example, Figure 1 As shown, the imaging device 10 is a digital camera with interchangeable lenses and no reflective mirror. The imaging device 10 includes an imaging device body 12 and an interchangeable lens 14 replaceably mounted on the imaging device body 12. In addition, here, as an example of the imaging device 10, a digital camera with interchangeable lenses and no reflective mirror is cited, but the technology of the present invention is not limited to this, and the imaging device 10 may be other types of digital cameras such as a fixed lens type.
[0054] The imaging device body 12 is provided with an imaging element 38. When the interchangeable lens 14 is mounted on the imaging device body 12, subject light representing the subject is transmitted through the interchangeable lens 14 to form an image on the imaging element 38, and the imaging element 38 generates image data representing an image of the subject (for example, refer to Fig. 9 and Fig.10 ).
[0055] The camera body 12 is provided with a hybrid viewfinder (registered trademark) 16. Here, the hybrid viewfinder 16 refers to a viewfinder that selectively uses an optical viewfinder (hereinafter referred to as "OVF") and an electronic viewfinder (hereinafter referred to as "EVF"), for example. In addition, OVF is an abbreviation of "optical viewfinder". And EVF is an abbreviation of "electronic viewfinder".
[0056] A viewfinder switching lever 18 is provided on the front surface of the camera body 12. By rotating the viewfinder switching lever 18 in the direction of arrow SW, the optical image that can be visually recognized by the OVF and the electronic image that can be visually recognized by the EVF, i.e., the live preview image, are switched. Here, the "live preview image" refers to a dynamic image for display based on image data obtained by shooting by the imaging element 38. The live preview image is also generally referred to as a live view image. A release button 20 and a dial 23 are provided on the upper surface of the camera body 12. The dial 23 is operated when setting the action mode of the camera system and the action mode of the playback system, thereby selectively setting the camera mode and the playback mode as the action mode in the camera device 10.
[0057] The release button 20 functions as a shooting preparation indication unit and a shooting indication unit, and can detect pressing operations in two stages: a shooting preparation indication state and a shooting indication state. The shooting preparation indication state refers to, for example, a state in which the button is pressed from the standby position to an intermediate position (half-pressed position), and the shooting indication state refers to a state in which the button is pressed to a final pressed position (full-pressed position) beyond the intermediate position. In addition, hereinafter, "a state in which the button is pressed from the standby position to a half-pressed position" is referred to as "a half-pressed state", and "a state in which the button is pressed from the standby position to a full-pressed position" is referred to as "a full-pressed state".
[0058] As an example, Figure 2 As shown in FIG. 1 , a touch panel display 24 , instruction keys 27 , and a viewfinder eyepiece portion 30 are provided on the back surface of the imaging device body 12 .
[0059] The touch panel display 24 includes a display 26 and a touch panel 28 (see also Figure 4 ). An organic EL display can be cited as an example of the display 26. The display 26 may not be an organic EL display but may be another type of display such as a liquid crystal display.
[0060] Since the display on the EVF is equivalent to the display on the display 26 , the description thereof will be omitted below. In this specification, the display on the display 26 can be replaced with the display on the EVF.
[0061] The display 26 displays images and character information, etc. The display 26 is used to display a live preview image obtained by continuous shooting when the camera device 10 is in the shooting mode. In addition, the display 26 is also used to display an overlay image in which the result of the image recognition process described later is superimposed on the live preview image. In addition, the display 26 is also used to display a still image obtained by shooting when an instruction to shoot a still image is given. In addition, the display 26 is also used to display a playback image and a menu screen, etc. when the camera device 10 is in the playback mode.
[0062] The touch panel 28 is a transmissive touch panel, and overlaps the surface of the display area of the display 26. The touch panel 28 receives instructions from the user by detecting contact with an indicator such as a finger or a stylus pen.
[0063] Here, as an example of touch panel display 24, an external touch panel display in which touch panel 28 overlaps the surface of the display area of display 26 is cited, but this is only an example. For example, as touch panel display 24, an external or internal touch panel display can also be applied.
[0064] The instruction key 27 receives various instructions. Here, "various instructions" include, for example, instructions for displaying a menu screen that can select various menus, instructions for selecting one or more menus, instructions for confirming the selected content, instructions for erasing the selected content, and instructions for zooming in, zooming out, and frame transfer.
[0065] As an example, Figure 3 As shown, the interchangeable lens 14 has an imaging lens 40. The imaging lens 40 includes an objective lens 40A, a focusing lens 40B, and an aperture 40C. The objective lens 40A, the focusing lens 40B, and the aperture 40C are arranged in the order of the objective lens 40A, the focusing lens 40B, and the aperture 40C from the subject side (object side) to the camera body 12 side (image side) along the optical axis L1. The focusing lens 40B and the aperture 40C operate by receiving power from a driving source such as a motor (not shown). That is, the focusing lens 40B moves along the optical axis L1 according to the applied power. And the aperture 40C adjusts the exposure by operating according to the applied power.
[0066] The camera body 12 includes a post-stage circuit 13, a UI system device 17, a mechanical shutter 41, and an imaging element 38. The post-stage circuit 13 is a circuit located after the imaging element 38. The post-stage circuit 13 includes a controller 15 and a signal processing circuit 34. The controller 15 is connected to the UI system device 17, the signal processing circuit 34, and the imaging element 38, and controls the entire electrical system of the camera 10. In addition, the post-stage circuit 13 is an example of the "second processor" involved in the technology of the present invention.
[0067] The imaging element 38 includes a photoelectric conversion element 42 having a light receiving surface 42A. In the present embodiment, the imaging element 38 is a CMOS image sensor. Moreover, here, a CMOS image sensor is exemplified as the imaging element 38, but the technology of the present invention is not limited thereto. For example, even if the imaging element 38 is another type of image sensor such as a CCD image sensor, the technology of the present invention is also applicable.
[0068] The mechanical shutter 41 is operated by power from a driving source such as a motor (not shown). When the interchangeable lens 14 is mounted on the imaging device body 12 , subject light representing the subject passes through the imaging lens 40 and is imaged on the light receiving surface 42A via the mechanical shutter 41 .
[0069] The UI system device 17 is a device that provides information to the user or receives instructions from the user. The controller 15 acquires various information from the UI system device 17 and controls the UI system device 17.
[0070] The imaging element 38 is connected to the controller 15 , and generates image data representing an image of the subject by capturing the subject under the control of the controller 15 .
[0071] The imaging element 38 is connected to the signal processing circuit 34. The signal processing circuit 34 is an LSI, specifically, a device including an ASIC and an FPGA. The controller 15 obtains various information from the signal processing circuit 34 and controls the imaging element 38. The imaging element 38 outputs the image data generated by the photoelectric conversion element 42 to the signal processing circuit 34 under the control of the controller 15.
[0072] The signal processing circuit 34 is a circuit for processing image data. Specifically, the signal processing circuit 34 performs various signal processing on the image data input from the imaging element 38. The various signal processing performed by the signal processing circuit 34 includes, for example, well-known signal processing such as white balance adjustment, sharpness adjustment, gamma correction, color space conversion processing, and color difference correction.
[0073] The various signal processing performed by the signal processing circuit 34 may be distributed between the signal processing circuit 34 and the imaging element 38. That is, the processing circuit 110 of the imaging element 38 may be responsible for at least part of the various signal processing performed by the signal processing circuit 34.
[0074] In addition, in this embodiment, a device including an ASIC and an FPGA is exemplified as the signal processing circuit 34, but the technology of the present invention is not limited thereto. For example, the signal processing circuit 34 may be a device including an ASIC, an FPGA, or a PLD, or a device including an FPGA and a PLD, or a device including an ASIC and a PLD.
[0075] Furthermore, the signal processing circuit 34 may also be a computer including a CPU, storage and memory. Here, the storage refers to a non-volatile storage device. As an example of a non-volatile storage device, a flash memory may be cited, but it is not limited to this, and it may also be an EEPROM, HDD and / or SSD, etc. Furthermore, the memory temporarily stores various information and is used as a working memory. As an example of a memory, a RAM may be cited, but it is not limited to this, and it may also be other types of storage devices. The CPU included in the computer may be single or multiple. Furthermore, a GPU may be used instead of a CPU. Furthermore, the signal processing circuit 34 may be implemented by a combination of a hardware structure and a software structure.
[0076] As an example, Figure 4 As shown, the controller 15 includes a CPU 50 , a storage 51 , a memory 52 , an input I / F 57A, and an output I / F 57B. The CPU 50 , the storage 51 , the memory 52 , the input I / F 57A, and the output I / F 57B are connected via a bus 100 .
[0077] In addition, Figure 4 In the example shown, for the sake of convenience, one bus is shown as the bus 100, but a plurality of buses may be provided. The bus 100 may be a serial bus or a parallel bus including a data bus, an address bus, a control bus, and the like.
[0078] The storage 51 stores various parameters and various programs. The storage 51 is a nonvolatile storage device. Here, as an example of the storage 51, a flash memory is used. The flash memory is only an example, and EEPROM, HDD and / or SSD etc. can be used as the storage 51 instead of or together with the flash memory. In addition, the storage 52 temporarily stores various information and is used as a working memory. As an example of the storage 52, a RAM can be cited, but it is not limited to this, and other types of storage devices can also be used.
[0079] Various programs are stored in the storage 51. The CPU 50 reads out a necessary program from the storage 51 and executes the read program on the memory 52. The CPU 50 controls the entire imaging device 10 according to the program executed on the memory 52.
[0080] The output I / F 57B is connected to the imaging element 38. The CPU 50 controls the imaging element 38 via the output I / F 57B. For example, the CPU 50 provides the imaging element 38 with a shooting timing signal that specifies the timing of shooting, thereby controlling the shooting timing performed by the imaging element 38 via the output I / F 57B. The imaging element 38 shoots at a first frame rate determined according to the shooting timing signal input from the CPU 50. As an example of a specific first frame rate, 240 fps can be cited, but it is not limited to this. The first frame rate can be a frame rate exceeding 240 fps (for example, 480 fps), or a frame rate less than 240 fps (for example, 120 fps).
[0081] The input I / F 57A is connected to the signal processing circuit 34. The image data subjected to various signal processing by the signal processing circuit 34 is output to the input I / F 57A by the signal processing circuit 34. The image data input to the input I / F 57A is stored in the memory 52.
[0082] The external I / F 104 is connected to the bus 100. The external I / F 104 is a communication device composed of a circuit. Here, a device composed of a circuit is illustrated as the external I / F 104, but this is only an example. The external I / F 104 may also be a device including an ASIC, an FPGA, and / or a PLD. Furthermore, the external I / F 104 may be implemented by a combination of a hardware structure and a software structure.
[0083] As an example of the external I / F 104, a USB interface can be cited. External devices (not shown) such as smart devices, personal computers, servers, USB memories, memory cards, and / or printers can be directly or indirectly connected to the USB interface. The external I / F 104 controls the exchange of various information between the camera 10 and the external device.
[0084] The UI system device 17 includes a touch panel display 24 and a receiving device 84. The display 26 and the touch panel 28 are connected to the bus 100. Therefore, the CPU 50 causes the display 26 to display various information and operates according to various instructions received from the touch panel 28.
[0085] The receiving device 84 includes a hard key unit 25. The hard key unit 25 is a plurality of hard keys, including a release button 20 (see Figure 1 )、Turntable 23 (reference Figure 1 and Figure 2 ) and indication key 27 (reference Figure 2 ). The hard key unit 25 is connected to the bus 100, and the CPU 50 obtains instructions received by the hard key unit 25 and operates according to the obtained instructions.
[0086] As an example, Figure 5As shown, a photoelectric conversion element 42, a processing circuit 110, and a memory 112 are built into the imaging element 38. The imaging element 38 is an example of an "imaging element" involved in the technology of the present invention. The imaging element 38 is an imaging element in which the photoelectric conversion element 42, the processing circuit 110, and the memory 112 are integrated into a single chip. Therefore, the photoelectric conversion element 42, the processing circuit 110, and the memory 112 are packaged together. The imaging element 38 is formed by stacking the processing circuit 110 and the memory 112 on the photoelectric conversion element 42. Specifically, the photoelectric conversion element 42 and the processing circuit 110 are electrically connected to each other through conductive bumps such as copper (not shown in the figure), and the processing circuit 110 and the memory 112 are electrically connected to each other through conductive bumps such as copper (not shown in the figure).
[0087] The photoelectric conversion element 42 is an example of a "photoelectric conversion element" involved in the technology of the present invention. The processing circuit 110 is an example of a "first processor" involved in the technology of the present invention. The memory 112 is an example of a "memory" involved in the technology of the present invention. The imaging element 38 is an example of a "stacked imaging element" involved in the technology of the present invention.
[0088] The processing circuit 110 is, for example, an LSI. The processing circuit 110 may also be a device including an ASIC and an FPGA. Furthermore, the processing circuit 110 may be a device including an ASIC, an FPGA, or a PLD, or a device including an FPGA and a PLD, or a device including an ASIC and a PLD. Furthermore, the processing circuit 110 may be implemented by a combination of a hardware structure and a software structure.
[0089] DRAM is used here as an example of the memory 112. In addition, even if the memory 112 is another type of storage device such as SRAM, the technology of the present invention is also applicable.
[0090] The photoelectric conversion element 42 has a plurality of photodiodes arranged in a matrix. An example of the plurality of photodiodes is photodiodes for "4896×3265" pixels.
[0091] Color filters are arranged in each photodiode included in the photoelectric conversion element 42. The color filters include a G filter corresponding to G (green), an R filter corresponding to R (red), and a B filter corresponding to B (blue) which are most useful for obtaining a brightness signal.
[0092] The photoelectric conversion element 42 has R pixels, G pixels, and B pixels. The R pixels are pixels corresponding to photodiodes equipped with R color filters, the G pixels are pixels corresponding to photodiodes equipped with G color filters, and the B pixels are pixels corresponding to photodiodes equipped with B color filters. The R pixels, G pixels, and B pixels have a predetermined periodicity in the row direction (horizontal direction) and the column direction (vertical direction). In the present embodiment, the R pixels, G pixels, and B pixels are arranged in a periodicity corresponding to the X-Trans (registered trademark) arrangement (refer to Figure 7 ). In addition, here, an X-Trans arrangement is illustrated, but the technology of the present invention is not limited to this, and the arrangement of R pixels, G pixels, and B pixels may also be a Bayer arrangement or a honeycomb arrangement, etc.
[0093] The imaging element 38 has a so-called electronic shutter function. The electronic shutter function is operated according to the imaging timing signal output from the CPU 50 via the output I / F 57B, thereby controlling the charge accumulation time of each photodiode in the photoelectric conversion element 42. The charge accumulation time is referred to as the so-called shutter speed. The charge read out from each photodiode is output as image data to the signal processing circuit 34 of the subsequent circuit 13.
[0094] In the imaging element 38, shooting for still images and shooting for instant preview images are selectively performed. Shooting for still images is achieved by activating the electronic shutter function and operating the mechanical shutter 41, and shooting for instant preview images is achieved by activating the electronic shutter function without operating the mechanical shutter 41. In addition, here, the video recording using the mechanical shutter 41 is illustrated, but the mechanical shutter 41 is not necessary for realizing video recording. Even without the mechanical shutter 41, shooting for instant preview images and shooting for still images can be achieved by activating the electronic shutter function. In addition, here, the rolling shutter method is illustrated, but the technology of the present invention is not limited to this, and the global shutter method can be applied instead of the rolling shutter method.
[0095] As an example, Figure 6 As shown, the processing circuit 110 includes a control circuit 119, a readout circuit 115, a digital processing circuit 116, a first thinning circuit 118, a position information acquisition circuit 120, an image cutout circuit 122, and an input / output I / F 113. The input / output I / F 113 includes an input I / F 113A and an output I / F 113B. The control circuit 119 is connected to the memory 112, the input / output I / F 113, the readout circuit 115, the digital processing circuit 116, the first thinning circuit 118, the position information acquisition circuit 120, and the image cutout circuit 122.
[0096] The input I / F 113A is connected to the output I / F 57B of the subsequent circuit 13. The input I / F 113A receives the imaging timing signal output from the CPU 50 via the output I / F 57B. The input I / F 113A transmits the received imaging timing signal to the control circuit 119.
[0097] The readout circuit 115 controls the photoelectric conversion element 42 under the control of the control circuit 119 , and reads out the analog image data 70 from the photoelectric conversion element 42 at the first frame rate.
[0098] Specifically, first, the input I / F 113A receives an imaging timing signal from the subsequent circuit 13, and transmits the received imaging timing signal to the control circuit 119. Next, the control circuit 119 transmits the transmitted imaging timing signal to the readout circuit 115. The imaging timing signal includes a vertical synchronization signal and a horizontal synchronization signal. The readout circuit 115 starts to read out the analog image data 70 in units of frames from the photoelectric conversion element 42 according to the vertical synchronization signal transmitted from the control circuit 119. Furthermore, the readout circuit 115 starts to read out the analog image data 70 in units of horizontal lines according to the horizontal synchronization signal transmitted from the control circuit 119.
[0099] The readout circuit 115 performs analog signal processing on the analog image data 70 read out from the photoelectric conversion element 42. The analog signal processing includes well-known processing such as noise elimination processing and analog gain processing. The noise elimination processing is a processing for eliminating noise caused by the deviation of characteristics between pixels included in the photoelectric conversion element 42. The analog gain processing is a processing for applying gain to the analog image data 70. The analog image data 70 subjected to the analog signal processing is output to the digital processing circuit 116 through the readout circuit 115.
[0100] The digital processing circuit 116 includes an A / D converter 117. The A / D converter 117 performs A / D conversion on the analog image data 70. The digital processing circuit 116 further performs a demosaicing process on the image data after the A / D conversion. Figure 7 The demosaicing process will be described.
[0101] As an example, Figure 7 As shown in FIG. 1 , in the photoelectric conversion element 42, R pixels, G pixels, and B pixels are arranged in an X-Trans (registered trademark) arrangement. By operating the electronic shutter function, charge signals of corresponding colors are output from each pixel of the photoelectric conversion element 42. That is, the data output from the photoelectric conversion element 42 is RAW data composed of R pixel data output from each R pixel, G pixel data output from each G pixel, and B pixel data output from each B pixel.
[0102] In the de-mosaicing process, pixel data of other colors arranged around each pixel are used to supplement the insufficient color components in the RGB components. The R pixel uses the G pixel data of the G pixels arranged around and the B pixel data of the B pixels to supplement the insufficient color components. The G pixel uses the B pixel data of the B pixels arranged around and the R pixel data of the R pixels to supplement the insufficient color components. The B pixel uses the R pixel data of the R pixels arranged around and the G pixel data of the G pixels to supplement the insufficient color components. In addition, digital gain processing is performed on the image data after the de-mosaicing process. Thus, digital image data 71 in which each pixel has pixel data of RGB components is generated. In this way, the digital image data 71 obtained by shooting at the first frame rate is stored in the memory 112.
[0103] The first thinning circuit 118 (reference Figure 6 ) performs a first thinning process. Here, the thinning process refers to a process of extracting only data of specific columns, rows or pixels from the image data to generate thinned image data. The thinning process is performed based on a thinning rate calculated by the ratio of the number of thinned pixels to the total number of pixels ("the number of thinned pixels / the total number of pixels").
[0104] The control circuit 119 can perform random access to the memory 112, read the digital image data 71 from the memory 112, and output it to the first thinning circuit 118. The first thinning circuit 118 performs a first thinning process on the digital image data 71 input from the control circuit 119, thinning the digital image data 71 at a first thinning rate of, for example, two-thirds (hereinafter referred to as "2 / 3").
[0105] As an example, Figure 8 As shown, since the first thinning-out rate is "2 / 3", the first thinning-out circuit 118 generates the first thinning-out image data 73 in which the horizontal lines in the vertical direction are thinned out by skipping, for example, 2 lines. That is, the first thinning-out image data 73 is data that extracts only the pixel data of the "3n-2"th line in the digital image data 71. Here, n is a positive integer. The first thinning-out circuit 118 stores the first thinning-out image data 73 in the memory 112 and outputs it to the position information acquisition circuit 120. In the present embodiment, the first thinning-out rate is "2 / 3", but the technology of the present invention is not limited to this. Furthermore, the first thinning-out circuit 118 may skip a plurality of lines and thin out the vertical lines in the horizontal direction instead of thinning out the horizontal lines in the vertical direction of the digital image data 71. Furthermore, the first thinning-out circuit 118 may thin out the digital image data 71 in pixel units.
[0106] Position information acquisition circuit 120 (refer to Figure 6 ) detects a moving object as a subject, and detects an area containing the subject as an image recognition area. The image recognition area refers to an area that is a processing target of the image recognition processing using machine learning (e.g., deep learning) performed in the image recognition processing unit 66 of the subsequent circuit 13. The position information acquisition circuit 120 also performs a position information acquisition process for acquiring position information of the detected image recognition area. The position information acquisition circuit 120 uses the first thinning-out image data 73 to perform the detection of the image recognition area and the position information acquisition process.
[0107] As an example, Fig. 9 As shown, in the position information acquisition process, three frames of first thinned-out image data 73 continuously acquired at the first frame rate are used. For example, the image represented by the first thinned-out image data 73 is a subject image representing a subject, and a vehicle moving from the right direction to the left direction in the figure is captured. For the sake of simplicity, the latest first thinned-out image data 73 among the three frames of first thinned-out image data 73 is referred to as a first thinned-out frame 73a. The latest and second oldest first thinned-out image data 73 is referred to as a second thinned-out frame 73b. The oldest first thinned-out image data 73 is referred to as a third thinned-out frame 73c.
[0108] The position information acquisition circuit 120 obtains the difference between the first thinned image data 73 of two frames obtained continuously and performs binarization. That is, the position information acquisition circuit 120 obtains the binarized difference data 73d by obtaining the difference between the first thinned frame 73a and the second thinned frame 73b. Furthermore, the position information acquisition circuit 120 obtains the binarized difference data 73e by obtaining the difference between the second thinned frame 73b and the third thinned frame 73c. As an example, in Fig. 9 In the example, the subject image with a difference is white, and the background image without a difference is black, but the opposite is also possible. In addition, the absolute value of the difference can be taken, and the portion greater than the specified value is set to white and the smaller portion is set to black with respect to the absolute value of the difference as the boundary.
[0109] Next, the position information acquisition circuit 120 compares the two binary difference data obtained by the operations between different frames, thereby detecting the common part. Fig. 9In the example of FIG. 1 , by comparing 73d and 73e, which are binary difference data, the common part of one vehicle located in the center can be obtained. The position information acquisition circuit 120 detects the common part as an image recognition area 75 to be processed by the image recognition process described later, and acquires position information 76 indicating the position of the image recognition area 75. Thus, the position information 76 is information obtained based on the detection result of the image recognition area 75 performed by the position information acquisition circuit 120 on the first thinning-out image data 73 obtained by thinning out the digital image data 71 at the first thinning-out rate.
[0110] As an example, the position information acquisition circuit 120 sets a rectangular frame surrounding the image recognition area 75, and acquires the lower right coordinates (X1, Y1) and upper left coordinates (X2, Y2) of the frame as the position information 76. The position information acquisition circuit 120 stores the acquired position information 76 in the memory 112, and outputs it to the image cut-out circuit 122. In addition, in the present embodiment, as an example of the position information 76, the lower right and upper left coordinates of the rectangular frame are shown, but the position information 76 is not limited to this. The position information 76 may be, for example, the upper right and lower left coordinates. In addition, instead of using the coordinates of the two corners on the diagonal line of the rectangular frame, the position information 76 may also include the coordinates of one corner of the rectangular frame, the horizontal length of the rectangular frame, and the vertical length. In addition, the position information acquisition circuit 120 may not set a rectangular frame surrounding the image recognition area 75, but acquire the coordinate information in pixel units of the detected image recognition area 75.
[0111] Image cut-out circuit 122 (reference Figure 6 ) performs image cutting processing of cutting out partial image data 72 from digital image data 71 based on digital image data 71 and position information 76. Control circuit 119 reads digital image data 71 from memory 112 and outputs it to image cutting circuit 122. Image cutting processing is processing of extracting only image data of coordinates indicated by position information 76 from digital image data 71 and outputting it as partial image data 72. That is, partial image data 72 is a part of digital image data 71.
[0112] As an example, Fig.10 As shown, the control circuit 119 reads the digital image data 71 corresponding to the second thinning frame 73b from the memory 112, and outputs it to the image cutting circuit 122. The image cutting circuit 122 cuts out the digital image data 71 based on the coordinates (X1, Y1) and (X2, Y2) of the position information 76 received from the position information acquisition circuit 120, thereby generating a rectangular partial image data 72.
[0113] The cut-out partial image data 72 only includes the image recognition area 75. The image cut-out circuit 122 stores the generated partial image data 72 in the memory 112. In addition, in the present embodiment, the partial image data 72 is described as a rectangle, but the cut-out partial image data 72 does not need to be a rectangle, and may be any shape such as a circle or an ellipse. Furthermore, when the coordinate information is acquired in pixel units of the detected image recognition area 75, the image cut-out circuit 122 may cut out the partial image data 72 in pixel units.
[0114] The memory 112 stores digital image data 71, first thinned-out image data 73, position information 76, and partial image data 72. The control circuit 119 reads the first thinned-out image data 73, position information 76, and partial image data 72 from the memory 112, and outputs them to the subsequent circuit 13 at the second frame rate via the output I / F 113B and the input I / F 57A. The second frame rate is a frame rate independent of the first frame rate. As a specific example of the second frame rate, 60 fps can be cited, but it is not limited to this. It can be a frame rate exceeding 60 fps (for example, 120 fps) or a frame rate less than 60 fps (for example, 30 fps). Here, the second frame rate is less than the first frame rate, but the technology of the present invention is not limited to this. The second frame rate can be greater than the first frame rate, and the first frame rate and the second frame rate can also be equal.
[0115] When the second frame rate is lower than the first frame rate, the control circuit 119 thins out the first thinned-out image data 73, the position information 76, and the partial image data 72 acquired at the first frame rate in units of frames, thereby reducing the frame rate to the second frame rate. For example, when the first frame rate is 240 fps and the second frame rate is 60 fps, the control circuit 119 thins out three frames from four frames of the first thinned-out image data 73, the position information 76, and the partial image data 72, and outputs the remaining one frame of the first thinned-out image data 73, the position information 76, and the partial image data 72.
[0116] On the other hand, when the second frame rate is greater than the first frame rate, the control circuit 119 increases the frame rate as the second frame rate, for example by continuously outputting one frame of the first interval-eliminated image data 73, position information 76, and partial image data 72 acquired at the first frame rate for multiple times.
[0117] As an example, Fig.11As shown, the partial image data 72, the first thinning image data 73 and the position information 76 are input to the subsequent circuit 13 and stored in the memory 52. The program 60 and the learned model 62 are stored in the memory 51 of the subsequent circuit 13. The CPU 50 functions as the second thinning processing unit 64 and the image recognition processing unit 66 by executing the program 60 on the memory 52 from the memory 51.
[0118] The second thinning processing unit 64 performs a second thinning processing on the partial image data 72 generated based on the position information 76. The second thinning processing refers to processing for thinning out the partial image data 72 at a second thinning rate to generate second thinned image data 74. The second thinning rate is a thinning rate different from the first thinning rate. In the present embodiment, the second thinning rate is, for example, 1 / 2 (hereinafter referred to as "1 / 2"). Figure 8 Similarly to the first thinning process shown in FIG. 1 , the second thinning process section 64 generates second thinned image data 74 in which horizontal lines in the vertical direction are thinned out by skipping one line, and stores the second thinned image data 74 in the memory 52. In the present embodiment, the second thinning rate is "1 / 2", but the technology of the present invention is not limited thereto. In addition, the second thinning process section 64 may thin out vertical lines in the horizontal direction instead of thinning out horizontal lines in the vertical direction of the partial image data 72. In addition, the second thinning process section 64 may thin out the partial image data 72 in pixel units.
[0119] The image recognition processing unit 66 performs image recognition processing on the image recognition area based on the position information 76. In the present embodiment, the image recognition area is an area including the moving object image detected by the position information acquisition circuit 120. Here, the moving object image refers to an image showing a moving subject.
[0120] The image recognition processing unit 66 obtains the image recognition information 78 by performing the image recognition processing using machine learning on the second thinned-out image data 74 obtained by thinning out the partial image data 72 including the image recognition area at the second thinning-out rate. Specifically, the image recognition processing unit 66 performs the image recognition processing, for example, in two stages, to perform the category recognition of the moving object image included in the second thinned-out image represented by the second thinned-out image data 74. In the technology of the present invention, as the category of the first stage, there can be cited moving object images, for example, images representing transportation tools such as vehicles, motorcycles, airplanes, bicycles, or ships, or images representing living things such as people, animals, birds, or insects.
[0121] The category of the second stage is a subcategory for further classifying the moving object image classified into a specific category by the category recognition of the first stage. For example, the subcategory for further identifying the moving object image identified as belonging to "vehicle" in the first stage includes vehicle type, color, manufacturer or model, etc. For example, the subcategory for further identifying the moving object image identified as belonging to "person" in the first stage includes gender, race, body type or age, etc.
[0122] The learned model 62 stored in the memory 51 contains models obtained through past learning, and can perform high-precision recognition in multiple categories. Moreover, each time the image recognition processing unit 66 performs image recognition processing, new learning is performed through the image recognition area 75, and the learned model 62 is updated. In addition, in the present embodiment, the image recognition processing unit 66 performs two-stage category recognition, but the processing circuit 110 of the imaging element 38 may perform the first stage category recognition, and the image recognition processing unit 66 may perform the second stage category recognition. The image recognition information 78 obtained by the image recognition processing is stored in the memory 52.
[0123] The second thinning rate used in the second thinning process is lower than the first thinning rate used in the first thinning process. Therefore, in the position information acquisition process performed by the position information acquisition circuit 120, the image recognition area 75 and the position information 76 are acquired in a short time by using the first thinning image data 73 thinned out at the first thinning rate having a high thinning rate. On the other hand, in the image recognition process performed by the image recognition processing unit 66 of the subsequent circuit 13, the image recognition information 78 with good accuracy can be acquired by using the second thinning image data 74 thinned out at the second thinning rate having a low thinning rate.
[0124] The camera device 10 has a live preview image display mode for displaying a live preview image on the display 26 and an image recognition mode for displaying an image recognition result of a subject shown in the live preview image. When the camera device 10 is in the live preview image display mode, the CPU 50 reads the first thinned image data 73 from the memory 52. As an example, Fig.12 As shown, the CPU 50 displays the image represented by the first thinned image data 73 as a live preview image 77 on the display 26. The live preview image 77 is an example of a "display dynamic image" according to the technique of the present invention.
[0125] When the imaging device 10 is in the image recognition mode, the CPU 50 reads the first thinned image data 73, the position information 76, and the image recognition information 78 from the memory 52, and outputs them to the display 26. Thus, as an example, Fig.13 As shown, the image identification information 78 is displayed on the display 26 superimposed on the real-time preview image 77 (refer to Fig.12 ) on the superimposed image 79. In addition, in the superimposed image 79, the position where the image identification information 78 is displayed is determined based on the coordinates represented by the position information 76.
[0126] Fig.13 For example, Fig. 9 The image recognition area 75 shown in the figure has been processed for image recognition. As a result of the image recognition processing, image recognition information 78 is superimposed on the live preview image 77 in the form of a speech bubble. The image recognition processing results first include "vehicle" as the category recognition result of the first stage, and also include the vehicle type, manufacturer, model and color as the category recognition result of the second stage. Fig.13 In the example shown in FIG. 1 , one type of image identification information 78 is displayed. However, a plurality of types of image identification information 78 may be displayed in one frame of superimposed image 79 .
[0127] Next, refer to Fig.14 and Fig.15 The operation of the imaging device 10 according to the first embodiment will be described. Fig.14 An example of a first image processing flow executed by the imaging element 38 is shown. Fig.15 An example of the second image processing flow executed by the subsequent circuit 13 is shown. For the sake of convenience, when there is no need to distinguish between the analog image data 70, the digital image data 71, the partial image data 72, the first thinned image data 73 and the second thinned image data 74, they are simply referred to as "image data".
[0128] exist Fig.14 In the first image processing shown, first, in step S10, the control circuit 119 determines whether the imaging timing signal is received by the input I / F 113A. In step S10, if the imaging timing signal is not received by the input I / F 113A, the determination is "No", and the first image processing executes step S10 again. In step S10, if the imaging timing signal is received by the input I / F 113A, the determination is "Yes", and the first image processing transfers to step S11.
[0129] In step S11, imaging processing is performed. The control circuit 119 controls the readout circuit 115 and the digital processing circuit 116 according to the imaging timing signal, so that the imaging element 38 captures the subject at the first frame rate according to the imaging timing signal, and generates digital image data 71. Then, the first image processing is transferred to step S12.
[0130] In step S12, the digital processing circuit 116 stores the generated digital image data 71 in the memory 112. Then, the first image processing proceeds to step S13.
[0131] In step S13, the control circuit 119 reads the digital image data 71 from the memory 112 and outputs it to the first thinning circuit 118. The first thinning circuit 118 performs a first thinning process according to a first thinning rate to generate first thinned image data 73. Then, the first image process moves to step S14.
[0132] In step S14, the first thinning circuit 118 stores the first thinning image data 73 in the memory 112. The first thinning circuit 118 also outputs the first thinning image data 73 to the position information acquisition circuit 120. Then, the first image processing proceeds to step S15.
[0133] In step S15, the control circuit 119 determines whether the camera 10 is in the image recognition mode. In step S15, if the camera 10 is not in the image recognition mode, that is, if the camera 10 is in the live preview image display mode, the determination is "No", and the first image processing is transferred to step S20. In step S15, if the camera 10 is in the image recognition mode, the determination is "Yes", and the first image processing is transferred to step S16.
[0134] In step S16, the position information acquisition circuit 120 performs position information acquisition processing. The position information acquisition processing is a process for acquiring position information of the image recognition area 75 in the digital image data 71, which is the processing object of the image recognition processing performed by the subsequent circuit 13. In the position information acquisition processing, the position information 76 of the image recognition area 75 is acquired based on the first thinning image data 73. Then, the first image processing is transferred to step S17.
[0135] In step S17, the position information acquisition circuit 120 stores the acquired position information 76 in the memory 112. The position information acquisition circuit 120 also outputs the position information 76 to the image cutout circuit 122. Then, the first image processing proceeds to step S18.
[0136] In step S18, the control circuit 119 reads the digital image data 71 from the memory 112 and outputs it to the image cutting circuit 122. The image cutting circuit 122 performs image cutting processing to cut out partial image data 72 from the digital image data 71 based on the position information 76 input from the position information acquisition circuit 120. Then, the first image processing is transferred to step S19.
[0137] In step S19, the image cutout circuit 122 stores the partial image data 72 in the memory 112. Then, the first image processing proceeds to step S20.
[0138] In step S20, the control circuit 119 determines whether the output timing for outputting the data stored in the memory 112 has arrived. The output timing is set to a second frame rate that is independent of the first frame rate. If the output timing has not arrived, the determination is "No", and the first image processing is transferred to step S10. In step S20, if the output timing has arrived, the determination is "Yes", and the first image processing is transferred to step S21.
[0139] In step S21, the control circuit 119 reads out the data stored in the memory 112, and outputs it to the subsequent circuit 13 via the output I / F 113B and the input I / F 57A. When the camera device 10 is in the live preview image display mode, the control circuit 119 reads out the first thinned-out image data 73 from the memory 112, and outputs it to the subsequent circuit 13. Thus, the live preview image is displayed on the display 26. When the camera device 10 is in the image recognition mode, the control circuit 119 reads out the first thinned-out image data 73, the position information 76, and the partial image data 72 from the memory 112, and outputs them to the subsequent circuit 13. Thus, an overlapped image in which the image recognition information 78 is overlapped on the live preview image is displayed on the display 26. Then, the first image processing is transferred to step S22.
[0140] In step S22, the control circuit 119 determines whether a condition for terminating the first image processing (hereinafter referred to as "the first image processing terminating condition") is satisfied. An example of the first image processing terminating condition is a condition that the receiving device 84 (see Figure 4 ) receives the condition of the instruction to end the camera mode. In step S22, if the first image processing end condition is not satisfied, it is determined as "no", and the first image processing is transferred to step S10. In step S22, if the first image processing end condition is satisfied, it is determined as "yes", and the first image processing is terminated.
[0141] Then, in Fig.15 In the second image processing shown, first, in step S30, the CPU 50 determines whether the first thinning image data 73 is received by the input I / F 57A. In step S30, if the first thinning image data 73 is not received, the CPU 50 determines "No", and the second image processing executes step S30 again. In step S30, if the first thinning image data 73 is received, the CPU 50 determines "Yes", and the second image processing transfers to step S31.
[0142] In step S31, the CPU 50 stores the first thinned image data 73 in the memory 52. Then, the second image processing proceeds to step S32.
[0143] In step S32, CPU 50 determines whether position information 76 and partial image data 72 are received by input I / F 57A. In step S32, if position information 76 and partial image data 72 are not received, the determination is "NO", and the second image processing proceeds to step S37.
[0144] In step S37, the CPU 50 reads the first thinned image data 73 from the memory 52, and displays the image represented by the first thinned image data 73 as a live preview image 77 on the display 26. Then, the second image processing proceeds to step S38.
[0145] On the other hand, in step S32 , when the position information 76 and the partial image data 72 are received, the determination is “YES”, and the second image processing moves to step S33 .
[0146] In step S33, the CPU 50 stores the position information 76 and the partial image data 72 in the memory 52. Then, the second image processing proceeds to step S34.
[0147] In step S34, the CPU 50 reads the program 60 from the storage 51 and executes it in the memory 52, thereby functioning as the second thinning processing unit 64. The second thinning processing unit 64 performs a second thinning process on the partial image data 72. The second thinning process is a process of thinning out the partial image data 72 according to the second thinning rate to generate the second thinning image data 74. The second thinning processing unit 64 stores the generated second thinning image data 74 in the memory 52. Then, the second image processing is transferred to step S35.
[0148] In step S35, the CPU 50 reads the program 60 from the storage 51 and executes it in the memory 52, thereby functioning as the image recognition processing unit 66. The image recognition processing unit 66 performs image recognition processing using machine learning on the second thinned image data 74, thereby performing classification recognition of the subject captured in the second thinned image. The image recognition processing unit 66 stores the image recognition result of the image recognition processing as image recognition information 78 in the memory 52. Then, the second image processing is transferred to step S36.
[0149] In step S36, the CPU 50 reads the first thinned image data 73, the position information 76, and the image identification information 78 from the memory 52. The CPU 50 displays a superimposed image 79 in which the image identification information 78 is superimposed on the live preview image 77 represented by the first thinned image data 73 on the display 26. Then, the second image processing is transferred to step S38.
[0150] In step S38, the CPU 50 determines whether a condition for terminating the second image processing (hereinafter referred to as "second image processing terminating condition") is satisfied. An example of the second image processing terminating condition is a condition that the receiving device 84 (see Figure 4 ) receives the condition of the instruction to end the camera mode. In step S38, if the second image processing end condition is not satisfied, it is determined as "no", and the second image processing is transferred to step S30. In step S38, if the second image processing end condition is satisfied, it is determined as "yes", and the second image processing is terminated.
[0151] In addition, in the first embodiment, the first thinning circuit 118 thins out the digital image data 71 at the first thinning rate to generate the first thinning image data 73, and the position information acquisition circuit 120 acquires the position information 76 based on the first thinning image data 73. Then, the first thinning image data 73 is output to the subsequent circuit 13, and the CPU 50 displays the image represented by the first thinning image data 73 as the live preview image 77 on the display 26, but the technology of the present invention is not limited to this. The position information acquisition circuit 120 may also acquire the position information 76 based on the digital image data 71 instead of the first thinning image data 73. Then, the CPU 50 may also display the image represented by the digital image data 71 or the image represented by the thinning image obtained by thinning out the digital image data 71 by the subsequent circuit 13 on the display 26 as the live preview image 77. In this case, since the processing circuit 110 does not need to include the first thinning circuit 118 , the size of the LSI constituting the processing circuit 110 is reduced, and the circuit design is simplified.
[0152] In addition, in the first embodiment, the second thinning processing unit 64 thins out the partial image data 72 at the second thinning rate to generate the second thinning image data 74, and the image recognition processing unit 66 performs image recognition processing on the second thinning image data 74, but the technology of the present invention is not limited to this. The image recognition processing unit 66 may also perform image recognition processing on the partial image data 72. In addition, the processing circuit 110 may also output the digital image data 71 and the position information 76 to the subsequent circuit 13, and the image recognition processing unit 66 may also perform image recognition processing on the digital image data 71 based on the position information 76. In this case, the image recognition processing unit 66 performs image recognition processing on the partial image data 72 or the digital image data 71 that has not been thinned out, so that it is possible to obtain image recognition information 78 with higher accuracy.
[0153] As described above, the imaging device 10 according to the first embodiment includes the imaging element 38 and the subsequent circuit 13. The imaging element 38 includes: a memory 52 for storing the digital image data 71, the partial image data 72, and / or the first thinned image data 73 obtained by shooting at the first frame rate; and a processing circuit 110 for outputting the partial image data 72 and / or the first thinned image data 73 at the second frame rate independent of the first frame rate. The partial image data 72 and / or the first thinned image data 73 are input from the processing circuit 110 to the subsequent circuit 13. The processing circuit 110 acquires the position information 76 indicating the position of the image recognition area 75 as the processing object of the image recognition processing in the digital image data 71 or the first thinned image data 73. The subsequent circuit 13 performs the image recognition processing on the image recognition area 75 based on the position information 76. As a result, the processing load of the imaging element 38 is reduced compared with the case where the image recognition processing is performed on the image recognition area 75 in the imaging element 38. In addition, the partial image data 72 and / or the first interval eliminated image data 73 do not necessarily have to be directly input from the processing circuit 110 to the subsequent circuit 13, and for example, they can also pass through a signal level conversion circuit or processing circuit, or a signal processing circuit or signal processing processor that performs different signal processing.
[0154] The position information 76 is the coordinates indicating the position of the image recognition area 75 in the digital image data 71 or the first thinned-out image data 73. Thus, compared with a case where the information indicating the position of the image recognition area 75 in the digital image data 71 or the first thinned-out image data 73 is not used, the position of the image recognition area 75 in the digital image data 71 or the first thinned-out image data 73 can be easily determined.
[0155] The processing circuit 110 detects the image recognition area 75 from the first thinned-out image data 73 based on the difference between the frames of the first thinned-out image data 73, and acquires the position information 76 based on the detection result. Thus, compared with the case where the image recognition area 75 is not detected using the difference between the frames of the first thinned-out image data 73, it is easier to detect the moving object image as the image recognition area 75.
[0156] The partial image data 72 includes only the image recognition area 75. Thus, the amount of data output from the processing circuit 110 can be reduced compared to the case where all of the digital image data 71 is output.
[0157] The processing circuit 110 outputs the first thinned-out image data 73 obtained by thinning out the digital image data 71 at the first thinning-out rate, the partial image data 72, and the position information 76 at the second frame rate. Thus, the amount of data output from the processing circuit 110 can be reduced compared to the case where the digital image data 71 is output without being thinned out.
[0158] The position information 76 is information obtained based on the detection result of the image recognition area 75 performed by the processing circuit 110 on the first thinned-out image data 73 obtained by thinning out the digital image data 71 at the first thinning-out rate. As a result, the load of the processing for obtaining the position information 76 is reduced compared to the case where the position information 76 can be obtained from an image that has not been thinned out.
[0159] The subsequent circuit 13 displays the image represented by the first thinned image data 73 as a live preview image 77 on the display 26. Thus, the live preview image 77 can be displayed on the display 26 with a lower load than when the live preview image 77 is displayed on the display 26 without thinning out.
[0160] The subsequent circuit 13 performs image recognition processing on the second thinned image data 74 obtained by thinning out the partial image data 72 or the digital image data 71 at the second thinning rate. This reduces the load for image recognition processing compared to the case where image recognition processing is performed on an image that is not thinned out.
[0161] The first thinning rate is different from the second thinning rate. This makes it possible to achieve both easy acquisition of the position information 76 and high accuracy of the image recognition process, compared with a case where the first thinning rate is the same as the second thinning rate.
[0162] The second thinning rate is lower than the first thinning rate. Thus, compared with the case where the image recognition process is performed on an image thinned out at the first thinning rate, the image recognition process can be performed with higher accuracy.
[0163] The imaging element 38 is an imaging element in which at least the photoelectric conversion element 42 and the memory 112 are integrated into a single chip. This can contribute to the miniaturization of the imaging device compared to a case where the photoelectric conversion element 42 and the memory 112 are not integrated into a single chip.
[0164] The imaging element 38 is a stacked imaging element in which the photoelectric conversion element 42 and the memory 112 are stacked. This can increase the transfer speed of the digital image data 71 from the photoelectric conversion element 42 to the memory 112 compared to a case where the photoelectric conversion element 42 and the memory 112 are not stacked.
[0165] [Second embodiment]
[0166] In the first embodiment described above, the image cutout circuit 122 creates the partial image data 72 by cutting out the digital image data 71 based on the position information 76 , but the technology of the present invention is not limited to this.
[0167] As an example, Fig.16 As shown in FIG. 1 , in the imaging device 10 of the second embodiment, the processing circuit 110 of the imaging element 38 includes a segmented image selection circuit 124 instead of the image cutout circuit 122 of the first embodiment. The segmented image selection process performed by the segmented image selection circuit 124 will be described below. In addition, the other structures and processes of the imaging device 10 are the same as those of the imaging device 10 of the first embodiment, and therefore the same reference numerals are given and detailed description thereof is omitted.
[0168] The segmented image selection circuit 124 performs segmented image selection processing. The segmented image selection processing is processing for preparing a plurality of segmented images by segmenting the image represented by the first thinning image data 73 into a plurality of parts in advance, selecting a segmented image including the image recognition area 75 , and generating the partial image data 72 .
[0169] As an example, Fig.17 As shown in FIG. 1 , the image 270 represented by the first thinned image data 73 is pre-divided into 16 divided images 274 consisting of 4 vertical columns and 4 horizontal rows. The divided image selection circuit 124 selects the divided image 274 including the image recognition area 75 based on the position information 76. Fig.17 In the example of FIG. 7 , the segmented image selection circuit 124 selects six segmented images 274 located in the lower center of the 16 segmented images 274 as partial images 272 . The segmented image selection circuit 124 extracts a portion representing the partial image 272 from the digital image data 71 , and generates the partial image data 72 .
[0170] As described above, the imaging device 10 according to the second embodiment includes the segmented image selection circuit 124. The segmented image selection circuit 124 selects the partial image data 72 including the image recognition area 75 based on the position information 76. According to the second embodiment, since the image cutout circuit 122 is not required, the partial image data 72 can be generated by a simple process compared with the image cutout process.
[0171] In the second embodiment, the image 270 is pre-divided into 16 divided images 274 , but the number of divided images 270 may be more or less than 16 as long as it is 2 or more.
[0172] [Third embodiment]
[0173] In the third embodiment, the processing circuit includes a synthesis circuit that synthesizes a plurality of frames of digital image data obtained at the first frame rate to create one frame of high-quality synthesized image data.
[0174] As an example, Fig.18 As shown in FIG. 1 , in the imaging device 10 of the third embodiment, the processing circuit 110 includes a synthesis circuit 126. The synthesis circuit 126 performs synthesis processing to synthesize a plurality of frames of digital image data 71 and produce one frame of synthesized image data 80. The synthesized image data 80 is an example of "synthesized image data" involved in the technology of the present invention. In addition, the other structures and processes of the imaging device 10 are the same as those of the imaging device 10 of the first embodiment, and therefore the same reference numerals are used and detailed description thereof is omitted.
[0175] As an example, Fig.19 As shown, in the imaging element 38, digital image data 71 is sequentially generated at a first frame rate and stored in the memory 112. Then, the first thinned-out image data 73, position information 76, and partial image data 72 generated based on the digital image data 71 are output from the imaging element 38 at a second frame rate. For example, when the first frame rate is 240 fps and the second frame rate is 60 fps, the control circuit 119 reads out four frames of digital image data 71 generated continuously and outputs them to the synthesis circuit 126. The synthesis circuit 126 synthesizes the input four frames of digital image data 71 to produce one frame of high-quality synthesized image data 80. The synthesis circuit 126 stores the generated synthesized image data 80 in the memory 112 and outputs it to the first thinning-out circuit 118 and the image cut-out circuit 122.
[0176] The first thinning circuit 118 generates the first thinning image data 73 by performing the first thinning process on the input composite image data 80. The details of the first thinning process are the same as those in the first embodiment, so the description thereof is omitted. The first thinning circuit 118 stores the generated first thinning image data 73 in the memory 112 and outputs it to the position information acquisition circuit 120.
[0177] The position information acquisition circuit 120 performs position information acquisition processing on the input first thinning image data 73. The position information acquisition processing is a processing for detecting the image recognition area 75 of the image represented by the synthetic image data 80 and generating position information 76 indicating the position of the detected image recognition area 75. The details of the position information acquisition processing are the same as those of the first embodiment, so the description thereof is omitted. The position information acquisition circuit 120 stores the generated position information 76 in the memory 112 and outputs it to the image cutout circuit 122. The position information acquisition circuit 120 performs position information acquisition processing using the first thinning image data 73 produced by the synthetic image data 80 having less noise than the digital image data 71 and higher image quality. Therefore, compared with the position information 76 detected by the first thinning image data 73 of the first embodiment, the position information 76 with higher accuracy is detected.
[0178] The image cutting circuit 122 performs an image cutting process for cutting out the synthesized image data 80 based on the input position information 76, thereby generating partial image data 72. The image cutting circuit 122 performs the image cutting process using the synthesized image data 80 having a higher image quality than the digital image data 71. Therefore, partial image data 72 having a higher image quality than the partial image data 72 generated based on the digital image data 71 in the first embodiment is generated.
[0179] Then, the high-quality partial image data 72 is output to the subsequent circuit 13, and the subsequent circuit 13 performs image recognition processing on the partial image data 72. Therefore, it is possible to obtain an image recognition result with higher accuracy than the image recognition result of the partial image data 72 according to the first embodiment.
[0180] As described above, in the imaging device 10 according to the third embodiment, the synthesis circuit 126 synthesizes four frames of digital image data 71 obtained at the first frame rate to create one frame of synthesized image data 80. The position information 76 is information obtained based on the result of the detection of the image recognition area 75 by the position information acquisition circuit 120 on the image represented by the synthesized image data 80. Thus, the position information can be obtained with higher accuracy than when the position information is obtained based on non-synthesized image data.
[0181] In the third embodiment, the synthesis circuit 126 produces one frame of synthesized image data 80 based on four frames of digital image data 71, but the technology of the present invention is not limited to this. The number of frames of digital image data used to produce one frame of synthesized image data can be any number as long as it is a plurality. In addition, the number of frames of digital image data used to produce one frame of synthesized image data can also be determined according to the processing speed of the subsequent circuit 13.
[0182] [Fourth embodiment]
[0183] In the above-mentioned embodiments, the processing circuit 110 outputs the first thinned-out image data 73, the position information 76, and the partial image data 72 to the subsequent circuit 13 at a predetermined second frame rate, but the technology of the present invention is not limited to this. In the fourth embodiment, the processing circuit 110 outputs the first thinned-out image data 73, the position information 76, and the partial image data 72 to the subsequent circuit 13 at a third frame rate determined according to the processing speed of the subsequent circuit 13.
[0184] As an example, Fig. 20 As shown in the figure, since the imaging device of the fourth embodiment has the same structure as the imaging device 10 of the first embodiment, the same reference numerals as those of the first embodiment are marked and their description is omitted. In the imaging device 10 involved in the fourth embodiment, the CPU 50 outputs a communication control signal to the processing circuit 110 via the input I / F 57A and the output I / F 113B. The communication control signal is a signal for specifying the frame rate of the first thinned-out image data 73, the position information 76, and the partial image data 72 output from the processing circuit 110, and is determined according to the processing speed of the subsequent circuit 13.
[0185] The processing circuit 110 receives the communication control signal and outputs the first thinned-out image data 73, the partial image data 72, and the position information 76 at the third frame rate. The third frame rate is a frame rate different from the second frame rate described in the above embodiments. In addition, as described in the above embodiments, the partial image data 72 is data cut out from the digital image data 71 based on the position information 76 indicating the position of the image recognition area 75. That is, the partial image data 72 is a part of the digital image data 71 and includes the image recognition area 75.
[0186] The third frame rate is a frame rate determined according to the processing speed of the subsequent circuit 13. As a specific example of the third frame rate, 30fps can be cited, but it is not limited to this, and can be a frame rate exceeding 30fps (for example, 60fps) or a frame rate less than 30fps (for example, 15fps).
[0187] The processing circuit 110 can output the first thinned image data 73 at the second frame rate, and can output the partial image data 72 and the position information 76 at the third frame rate. That is, the first thinned image data 73 is data used for displaying the live preview image, and is therefore output at the display frame rate of the live preview image. On the other hand, the partial image data 72 and the position information 76 are data used for image recognition processing in the subsequent circuit 13, and are therefore output at a frame rate corresponding to the processing speed of the subsequent circuit 13.
[0188] As described above, in the imaging device 10 according to the fourth embodiment, the processing circuit 110 outputs the partial image data 72 and the position information 76 as a part of the digital image data 71 at the third frame rate different from the second frame rate. The image represented by the partial image data 72 includes the image recognition area 75, and the third frame rate is determined according to the processing speed of the subsequent circuit 13. Thus, the partial image data 72 and the position information 76 are output at a frame rate corresponding to the processing speed of the subsequent circuit 13, so that unnecessary output of the partial image data 72 and the position information 76 can be reduced compared to the case where the partial image data 72 and the position information 76 are always output at the second frame rate.
[0189] In addition, in each of the above-mentioned embodiments, one image recognition area 75 is detected based on the first thinning image data 73, and one type of partial image data 72 is produced based on the digital image data 71, but the technology of the present invention is not limited to this. It is also possible to detect two or more image recognition areas 75 and produce two or more types of partial image data 72.
[0190] In each of the above-mentioned embodiments, the position information acquisition circuit 120 detects the image recognition area 75 using the frame difference method, but the technology of the present invention is not limited to this. For example, the position information acquisition circuit 120 may also detect the image recognition area 75 based on the contrast in the image data. In addition, the position information acquisition circuit 120 may also detect the image recognition area 75 by pattern matching, for example. Pattern matching refers to a method of providing a specific pattern in advance as a pattern of the subject and detecting whether the specific pattern is included in the image data. When contrast or pattern matching is used, the subject may not be a moving object.
[0191] Furthermore, in each of the above-mentioned embodiments, the image recognition processing unit 66 performs image recognition processing using machine learning, but the technology of the present invention is not limited thereto. The image recognition processing unit 66 may perform image recognition processing by, for example, pattern matching.
[0192] Furthermore, in the imaging device 10 of the above-described embodiment, an imaging device in which the photoelectric conversion element 42, the processing circuit 110, and the memory 112 are integrated into a single chip is used as the imaging element 38. As a result, the portability of the imaging device 10 is improved compared to an imaging device in which the photoelectric conversion element 42, the processing circuit 110, and the memory 112 are not integrated into a single chip. Furthermore, compared to an imaging device in which the photoelectric conversion element 42, the processing circuit 110, and the memory 112 are not integrated into a single chip, the degree of freedom in design can be improved. Furthermore, compared to an imaging device in which the photoelectric conversion element 42, the processing circuit 110, and the memory 112 are not integrated into a single chip, it can also contribute to the miniaturization of the imaging device 10.
[0193] Furthermore, in the imaging device 10 of each of the above-mentioned embodiments, a stacked imaging element in which the memory 112 is stacked on the photoelectric conversion element 42 is used as the imaging element 38. As a result, the transmission speed of the image data from the photoelectric conversion element 42 to the memory 112 can be increased compared to the case where the photoelectric conversion element 42 and the memory 112 are not stacked. The increase in the transmission speed also contributes to the high-speed processing in the entire processing circuit. Furthermore, compared to the case where the photoelectric conversion element 42 and the memory 112 are not stacked, the degree of freedom in design can also be increased. Furthermore, compared to the case where the photoelectric conversion element 42 and the memory 112 are not stacked, it can also contribute to the miniaturization of the imaging device 10.
[0194] Furthermore, in the above-mentioned imaging device, as an imaging element, the imaging element 38 is exemplified as a single chip of the photoelectric conversion element 42, the processing circuit 110, and the memory 112, but the technology of the present invention is not limited to this. For example, at least the photoelectric conversion element 42 and the memory 112 among the photoelectric conversion element 42, the processing circuit 110, and the memory 112 can be single-chip.
[0195] Furthermore, in the above-mentioned embodiments, the lens-interchangeable camera device 10 is exemplified, but the technology of the present invention is not limited thereto. For example, the imaging element 38 and the subsequent circuit 13 described in the above-mentioned embodiments may also be mounted on a smart device. As an example of a smart device, a smart phone or a tablet terminal, which is an electronic device with a camera function, may be cited.
[0196] Furthermore, in the above-mentioned embodiments, the UI system device 17 is assembled in the camera body 12, but at least a part of the multiple components included in the UI system device 17 may be external to the camera body 12. Furthermore, at least a part of the multiple components included in the UI system device 17 may be connected to the external I / F 104 as a separate body for use.
[0197] Furthermore, in the above-mentioned embodiment, the first frame rate and the second frame rate may be fixed frame rates or variable frame rates. In the case of a variable frame rate, for example, the frame rate may be changed when a predetermined condition (for example, a condition that an instruction to change the frame rate is received by the receiving device 84 and / or a condition that a timing predetermined as the timing for changing the frame rate has arrived) is satisfied. In the case of a variable frame rate, the specific value of the frame rate may be changed, for example, according to an instruction received by the receiving device 84, or according to the operating rate of the subsequent circuit 13 and / or the imaging element 38.
[0198] Furthermore, in each of the above-mentioned embodiments, the program 60 is stored in the storage 51, and the CPU 50 controls the entire imaging device 10 according to the program 60 executed on the memory 52, but the technology of the present invention is not limited to this. Fig.21 As shown, the program 60 can be stored in a storage 300 (for example, a non-volatile storage device) such as another computer or server device connected to the camera device 10 via a communication network (not shown), downloaded in response to a request from the camera device 10, and installed on the camera device 10.
[0199] In addition, the entire program 60 does not need to be stored in the storage 300 , and a part of the program 60 may be stored.
[0200] exist Figure 3 In the example shown, the CPU 50 is a single CPU, but it may be a plurality of CPUs. Furthermore, a GPU may be used instead of the CPU 50 .
[0201] Furthermore, in the above-mentioned embodiments, the processing circuit 110 is implemented by a device including an ASIC and an FPGA, but the technology of the present invention is not limited thereto. For example, at least the control circuit 119 among the multiple devices included in the processing circuit 110 may be implemented by a computer-based software structure.
[0202] As hardware resources for executing the second image processing described in the above embodiments, various processors shown below can be used. As a processor, for example, a general-purpose processor, i.e., a CPU, can be cited, which functions as a hardware resource for executing the second image processing by executing software, i.e., a program, as described above. Also, as a processor, for example, a dedicated circuit as a processor can be cited, and the processor has a circuit structure specially designed for executing specific processing, such as an FPGA, a PLD, or an ASIC. Any processor has a memory built in or connected thereto, and any processor uses the memory to execute the second image processing.
[0203] The hardware resources for executing the second image processing may be constituted by one of various processors, or may be constituted by a combination of two or more processors of the same type or different types (for example, a combination of multiple FPGAs, or a combination of a CPU and an FPGA).
[0204] As an example of being constituted by one processor, there is the following method: as represented by computers such as clients and servers, one processor is constituted by a combination of one or more CPUs and software, and the processor functions as a hardware resource for executing the second image processing. Second, there is the following method: as represented by SoC, a processor is used that realizes the functions of the entire system including multiple hardware resources for executing the second image processing by one IC chip. In this way, the second image processing is realized by using one or more of the above-mentioned various processors as hardware resources.
[0205] Furthermore, as the hardware configuration of these various processors, more specifically, a circuit formed by combining circuit elements such as semiconductor elements can be used.
[0206] Furthermore, the above-mentioned various processes are merely examples, and therefore, it is of course possible to delete unnecessary steps, add new steps, or switch the processing order without departing from the scope of the subject matter.
[0207] And, in Figure 1 In the example shown, the imaging device 10 is illustrated, but the technology of the present invention is not limited thereto. That is, the technology of the present invention can also be applied to various electronic devices (for example, fixed-lens cameras, personal computers, or wearable terminal devices, etc.) that have built-in imaging devices having structures and functions equivalent to the imaging device body 12 described in the above embodiments, and even in these electronic devices, the same functions and effects as those of the imaging device 10 can be obtained.
[0208] Furthermore, in each of the above-mentioned embodiments, the display 26 is exemplified, but the technology of the present invention is not limited thereto. For example, a separate display attached to the imaging device may be used.
[0209] [Fifth embodiment]
[0210] As a fifth embodiment, an imaging system to which an imaging device according to the technique of the present invention is applied will be described.
[0211] As an example, Fig. 22As shown, the camera system 500 is used as a surveillance camera, for example. The camera system 500 includes a plurality of camera devices 502 and a host computer 504. The camera device 502 includes the camera device body 12 described in any one of the first to fourth embodiments. Each camera device 502 includes a memory for storing image data obtained by shooting and a processor for outputting the image data.
[0212] The processor obtains position information indicating the position of the image recognition area from the image data. The image recognition area refers to the area to be processed by the host computer 504 as the image recognition process. The image recognition process has been described in the first embodiment above, so its description is omitted. The processor outputs the image data and the obtained position information to the host computer 504.
[0213] The host computer 504 receives image data and position information from each imaging device and performs image recognition processing on the image recognition area of the image data based on the position information.
[0214] As described above, in the camera system 500 involved in the fifth embodiment, there are a plurality of camera devices 502 and a host computer 504, wherein the plurality of camera devices 502 respectively have a memory for storing image data obtained by shooting and a processor for outputting image data, and the host computer 504 inputs image data from the processor. The processor obtains position information indicating the position of an image recognition area in the image data that is a processing object of the image recognition processing. The host computer 504 performs image recognition processing on the image recognition area based on the position information. As a result, compared with the case where the host computer 504 does not perform image recognition processing based on the position information, the processing load for image recognition processing can be reduced and the processing speed can be increased.
[0215] In each of the above-mentioned embodiments, the input / output I / F 113 included in the processing circuit 110 provided on the imaging element 38 and the input I / F 57A and the output I / F 57B included in the controller 15 of the subsequent circuit 13 are connected according to the PCIe connection standard, but the technology of the present invention is not limited to this. As a high-speed communication standard, other connection standards such as LVDS, SATA, SLVS-EC or MIPI may also be used instead of the PCIe connection standard. In addition, the input / output I / F 113 included in the processing circuit 110 provided on the imaging element 38 and the input / output I / F (not shown) included in the signal processing circuit 34 are also connected using high-speed communication standards such as PCIe, LVDS, SATA, SLVS-EC or MIPI.
[0216] In the above embodiments, a USB interface is used as the external I / F 104, but the technology of the present invention is not limited thereto. For example, other types of hardware interfaces such as HDMI and / or wireless interfaces such as Wi-Fi (registered trademark) may also be used.
[0217] In the above-mentioned embodiments, the communication between the imaging element 38 and the subsequent circuit 13, and the communication between the imaging device 502 and the host computer 504 are all wired communications. However, the technology of the present invention is not limited to this. The communication between the imaging element 38 and the subsequent circuit 13, and the communication between the imaging device 502 and the host computer 504 may also be wireless communications.
[0218] The recorded contents and illustrated contents shown above are detailed descriptions of the parts involved in the technology of the present invention, and are only an example of the technology of the present invention. For example, the descriptions related to the above-mentioned structure, function, action and effect are descriptions related to an example of the structure, function, action and effect of the parts involved in the technology of the present invention. Therefore, without departing from the scope of the main purpose of the technology of the present invention, it is of course possible to delete unnecessary parts of the recorded contents and illustrated contents shown above, or to add new elements, or to replace them. In addition, in order to avoid complication and to make it easy to understand the parts involved in the technology of the present invention, in the recorded contents and illustrated contents shown above, descriptions related to technical common sense, etc. that do not need to be specifically explained in terms of the technology that can implement the present invention are omitted.
[0219] In this specification, "A and / or B" has the same meaning as "at least one of A and B". That is, "A and / or B" may mean only A, only B, or a combination of A and B. Furthermore, in this specification, when "and / or" is added to express three or more items, the same concept as "A and / or B" may also be applied.
[0220] All documents, patent applications, and technical standards described in this specification are incorporated herein by reference to the same extent as if each document, patent application, or technical standard was specifically and individually indicated to be incorporated by reference.
Claims
1. A camera device comprising: An imaging element having a memory and a first processor built therein, wherein the memory stores image data obtained by photographing at a first frame rate, and the first processor outputs the image data at a second frame rate independent of the first frame rate; and a second processor which inputs the image data from the first processor, The first processor acquires position information indicating a position of an image recognition area to be processed by an image recognition process in the image data. The second processor performs the image recognition processing on the image recognition area according to the position information, the first processor outputting the partial image data and the position information as a part of the image data at the second frame rate, The partial image data includes the image recognition area.
2. The imaging device according to claim 1, wherein: The position information is coordinates indicating the position of the image recognition area in the image data.
3. The imaging device according to claim 1 or 2, wherein: The first processor detects the image recognition area from the image data based on a difference between frames of the image data, and acquires the position information based on a detection result.
4. The imaging device according to claim 1, wherein: The partial image data only includes the image recognition area.
5. The imaging device according to claim 1, wherein: The first processor outputs thinned-out image data obtained by thinning out the image data, the partial image data, and the position information at the second frame rate.
6. The imaging device according to claim 1 or 2, wherein: The position information is information obtained based on a result of the first processor detecting the image recognition area on first thinned-out image data obtained by thinning out the image data at a first thinning-out rate.
7. The imaging device according to claim 6, wherein: The second processor displays the image represented by the first thinned-out image data on a display as a display dynamic image.
8. The imaging device according to claim 1, wherein: The second processor performs the image recognition process on second thinning-out image data obtained by thinning-out the image data or the partial image data at a second thinning-out rate.
9. The imaging device according to claim 8, wherein: A first thinning-out rate for thinning out the image data is different from the second thinning-out rate.
10. The imaging device according to claim 9, wherein: The second thinning rate is lower than the first thinning rate.
11. The imaging device according to claim 1 or 2, wherein: the first processor outputting the partial image data and the position information as a part of the image data at a third frame rate different from the second frame rate, the image represented by the partial image data includes the image recognition area, The third frame rate is determined according to a processing speed of the second processor.
12. The imaging device according to claim 1 or 2, wherein: The first processor generates one frame of synthesized image data by synthesizing a plurality of frames of image data obtained at the first frame rate. The position information is information obtained based on a result of detection of the image recognition area by the first processor on the image represented by the synthetic image data.
13. The imaging device according to claim 1 or 2, wherein: The imaging element is an imaging element in which at least a photoelectric conversion element and the memory are integrated into a single chip.
14. The imaging device according to claim 13, wherein: The imaging element is a stacked type imaging element in which the photoelectric conversion element and the memory are stacked.
15. A method for operating an image pickup device, the image pickup device comprising: an imaging element having a photoelectric conversion element for capturing an image pickup area at a first frame rate, a memory for storing image data obtained by capturing the image by the photoelectric conversion element, and a first processor for outputting the image data at a second frame rate lower than the first frame rate, the first processor and the memory being built in; and a second processor, which is arranged at a later stage of the imaging element and receives the image data from the first processor, the method for operating the image pickup device comprising the following steps: the first processor acquiring position information indicating the position of an image recognition area to be processed by an image recognition process in an image represented by the image data, The second processor performs the image recognition processing on the image recognition area according to the position information, the first processor outputting the partial image data and the position information as a part of the image data at the second frame rate, The partial image data includes the image recognition area.
16. A storage medium storing a program for causing a computer adapted for use in an imaging device to execute processing, the imaging device comprising: an imaging element having a photoelectric conversion element for capturing an imaging area at a first frame rate, a memory for storing image data obtained by capturing the image by the photoelectric conversion element, and a first processor for outputting the image data at a second frame rate lower than the first frame rate, the first processor and the memory being built in; and a second processor provided at a subsequent stage of the imaging element and inputting the image data from the first processor, the processing comprising the following steps: the first processor acquiring position information indicating the position of an image recognition area to be processed by an image recognition process in an image represented by the image data, The second processor performs the image recognition processing on the image recognition area according to the position information, the first processor outputting the partial image data and the position information as a part of the image data at the second frame rate, The partial image data includes the image recognition area.
17. A camera system, comprising: A plurality of camera devices, each having an imaging element, wherein the imaging element has a built-in memory for storing image data obtained by shooting at a first frame rate and a processor for outputting the image data at a second frame rate independent of the first frame rate; and a host computer, inputting the image data from the processor, the processor acquires position information indicating the position of an image recognition area to be processed by image recognition processing in an image represented by the image data, The host computer performs the image recognition processing on the image recognition area according to the position information, the processor outputting the partial image data and the position information as a part of the image data at the second frame rate, The partial image data includes the image recognition area.
Citation Information
Patent Citations
Imaging device
JP2014178603A
Image processing apparatus, solid state image sensor, and electronic apparatus
JP2017055231A
Imaging element and imaging device
JP2018078609A
Video coding method based on self-adaptive ROI (region of interest)
CN106791856A
Image processing device, image processing method, and image processing system
JP2018107759A
