Imaging apparatus, imaging method, and imaging program
The imaging device addresses metadata delay issues by associating metadata with frame data and prioritizing its output, maintaining frame rate stability and compatibility while reducing communication demands.
Patent Information
- Application Number
- JP2024118340
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2020-06-26
- Filing Date
- 2024-07-24
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2041-05-13
AI Technical Summary
Existing imaging technologies face delays in outputting metadata such as development parameters, which can influence development processing and require high communication capacity during frame data blanking periods.
An imaging device that generates metadata in association with frame data, prioritizes metadata output based on importance, and adds delayed metadata to subsequent frames, reducing the need for increased communication capacity and maintaining frame rate stability.
The solution effectively suppresses the influence on development processing by prioritizing critical metadata output and managing metadata distribution across frames, ensuring efficient and compatible data transmission.
Smart Images

Figure 2024144547000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an imaging apparatus, an imaging method, and an imaging program. [Background technology]
[0002] Patent document 1 describes a configuration in which RAW video data and image correction data output from an imaging unit are input to a recording unit or an external recording device and recorded, and if the data size of the image correction data exceeds the data size that can be transmitted in one frame, the image correction data is divided into pieces of any size and transmitted in multiple frames.
[0003] Patent document 2 describes a method of generating development parameters (development parameters for video images) required for playing (developing) RAW video data on a frame-by-frame basis based on the RAW video data, and recording the RAW video data and the development parameters for the RAW image frames that make up the RAW video data on a recording medium. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2017-163307 A [Patent Document 2] JP 2011-244423 A Summary of the Invention
[0005] An embodiment of the technique disclosed herein provides an imaging apparatus, an imaging method, and an imaging program that can suppress the effect on development processing caused by a delay in output of metadata such as development parameters. [Means for solving the problem]
[0006] An imaging device according to one embodiment of the technology disclosed herein includes an imaging unit that generates image data as a plurality of temporally consecutive frame data, a metadata generation unit that generates metadata indicating the imaging conditions in association with the frame data, and an output unit that adds the metadata to the frame data and outputs it as image data, wherein the output unit adds metadata associated with first frame data generated by the imaging unit that is not added to the first frame data to a second frame data that follows the first frame data.
[0007] An imaging method according to one embodiment of the technology disclosed herein is an imaging method using an imaging device having an imaging unit that generates image data as a plurality of temporally consecutive frame data, generating metadata indicating the imaging conditions in association with the frame data, adding the metadata to the frame data, outputting the data as image data, and adding metadata associated with a first frame data generated by the imaging unit that is not added to the first frame data to a second frame data that follows the first frame data.
[0008] An imaging program of one embodiment of the technology disclosed herein is an imaging program for an imaging device having an imaging unit that generates image data as a plurality of temporally consecutive frame data, and causes a processor of the imaging device to execute processing to generate metadata indicating the imaging conditions in association with the frame data, add the metadata to the frame data, output it as image data, and add metadata associated with first frame data generated by the imaging unit that is not added to the first frame data to a second frame data that follows the first frame data. Effect of the Invention
[0009] According to one embodiment of the technique of the present disclosure, it is possible to provide an imaging apparatus, an imaging method, and an imaging program that are capable of suppressing the effect on development processing caused by a delay in metadata output. [Brief description of the drawings]
[0010] [Figure 1] 1 is a diagram illustrating an example of an imaging device 100 according to a first embodiment. [Diagram 2] 13 is a diagram showing specific examples of types of metadata generated by the imaging control unit 104. FIG. [Diagram 3] FIG. 4 is a diagram showing an example of metadata generation by an imaging control unit 104 according to the first embodiment. [Figure 4] FIG. 4 is a diagram illustrating an example of output control by an output control unit 110 according to the first embodiment. [Diagram 5] 4 is a flowchart showing an example of processing performed by the imaging device 100 according to the first embodiment. [Figure 6] FIG. 11 is a diagram showing an example of an immediate output flag of metadata according to the second embodiment. [Figure 7] FIG. 11 is a diagram showing an example of metadata generation by an imaging control unit 104 according to the second embodiment. [Figure 8] FIG. 11 is a diagram illustrating an example of output control by an output control unit 110 according to the second embodiment. [Figure 9] 11 is a flowchart showing an example of processing performed by the imaging device 100 according to the second embodiment. [Figure 10] FIG. 13 is a diagram showing an example of metadata generation by an imaging control unit 104 according to the third embodiment. [Figure 11] FIG. 11 is a diagram showing an example of output control by an output control unit 110 according to the third embodiment. [Figure 12] 13 is a flowchart showing an example of processing performed by the imaging device 100 according to the third embodiment. [Figure 13] FIG. 13 is a diagram showing an example of output control by an output control unit 110 according to the fourth embodiment. [Figure 14]13 is a flowchart showing an example of processing performed by the imaging device 100 according to the fourth embodiment. [Figure 15] FIG. 13 is a diagram showing an example of metadata generation by an imaging control unit 104 according to the fifth embodiment. [Figure 16] FIG. 13 is a diagram illustrating an example of output control by an output control unit 110 according to the fifth embodiment. [Figure 17] FIG. 13 is a diagram illustrating an example of an imaging device 100 according to a sixth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
[0012] (Embodiment 1) <Imaging device 100 according to embodiment 1> 1 is a diagram showing an example of an imaging device 100 according to embodiment 1. The imaging device 100 is a moving image imaging device capable of generating a moving image by performing continuous imaging. However, the imaging device 100 may have a function of generating still images in addition to the function of generating moving images.
[0013] The external recording device 120 is provided outside the imaging device 100, and records RAW video data and metadata (described below) output from the imaging device 100. A data output terminal of the imaging device 100 is connected to an input terminal of the external recording device 120 via a communication interface such as HDMI (High-Definition Multimedia Interface). HDMI is a registered trademark. Data output from the imaging device 100 is not limited to HDMI, and may be output using wireless communication (for example, UWB (Ultra Wide Band) or wireless HDMI-SDI (High-Definition Multimedia Interface-Serial Digital Interface).
[0014] The imaging device 100 includes an imaging unit 119, an imaging control unit 104, a RAW correction unit 105, a temporary storage unit 106, a demosaic processing unit 107, an image correction unit 108, a monitor 109, an output control unit 110, and an external output I / F 111.
[0015] The imaging unit 119 performs continuous imaging to generate image data of a moving image as a plurality of frames of data that are continuous in time. Specifically, the imaging unit 119 has an imaging lens system 101, an imaging element 102, and an ADC (Analog / Digital Converter) 103. The ADC 103 may be built into the imaging element 102.
[0016] The imaging lens system 101 includes a lens for transmitting light from a subject and forming an image on the imaging element 102. The imaging lens system 101 may also include an aperture, an ND (Neutral Density) filter, a focus lens, a zoom lens, a shift lens, etc. These movable parts of the imaging lens system 101 are controlled by an imaging control unit 104.
[0017] The imaging element 102 converts an optical image captured by the imaging lens system 101 into an analog image signal, and outputs the converted analog image signal to the ADC 103. The imaging element 102 is configured by an imaging element such as a CMOS (Complementary Metal-Oxide-Semiconductor) type image sensor or a CCD (Charge-Coupled Device) type image sensor.
[0018] The image sensor 102 also includes an electronic shutter for adjusting the exposure time. Image capture by the image sensor 102 is controlled by an image capture control unit 104. For example, during moving image capture, the image sensor 102 captures images continuously over time under the control of the image capture control unit 104, and sequentially outputs the analog image signals obtained thereby to the ADC 103.
[0019] The ADC 103 converts the analog image signal from the image sensor 102 into digital frame data, and outputs the converted frame data to a RAW correction unit 105. The frame data continuously output from the ADC 103 is RAW video data before demosaic.
[0020] The imaging control unit 104 controls the imaging lens system 101 and the image sensor 102 to control imaging by the imaging unit 119. For example, the imaging control unit 104 controls the focus, exposure, and the like of imaging by the imaging unit 119 in response to an instruction from a user. Furthermore, the imaging control unit 104 may automatically control the exposure, and the like of imaging by the imaging unit 119 based on a demosaic image obtained by a demosaic processing unit 107 described later.
[0021] The imaging control unit 104 also constitutes a metadata generating unit that generates metadata indicating the conditions of imaging by the imaging lens system 101 and the imaging element 102. The metadata is used when performing development processing to generate a demosaic image based on the RAW video data. Specific examples of the metadata will be described later (see, for example, FIG. 2).
[0022] For example, the imaging control unit 104 generates metadata indicating each imaging condition of the imaging unit 119 at the start of imaging by the imaging unit 119 in association with the first frame data after the imaging unit 119 starts imaging.
[0023] Generating metadata in association with certain frame data means, for example, enabling the output control unit 110 described below to identify that the metadata corresponds to the frame data. As one example, the imaging control unit 104 adds, to the metadata, the frame number of the frame data corresponding to the metadata.
[0024] Furthermore, when the imaging conditions for imaging by the imaging unit 119 are changed, the imaging control unit 104 generates metadata indicating the changed imaging conditions in association with the frame data immediately after the change. On the other hand, when the imaging conditions for imaging by the imaging unit 119 are not changed, the imaging control unit 104 does not generate new metadata. The imaging control unit 104 performs such processing for each type of metadata.
[0025] Therefore, when the imaging unit 119 starts imaging, each piece of metadata indicating the imaging conditions of the imaging unit 119 at that time is generated in association with the first frame data. Then, only when the imaging conditions are changed thereafter, metadata indicating the changed imaging conditions is generated in association with the frame data at that time. The imaging control unit 104 outputs the generated metadata to the temporary storage unit 106.
[0026] The RAW correction unit 105 performs correction on the frame data (RAW video data) output from the ADC 103. The correction performed by the RAW correction unit 105 is correction performed on the RAW video data before demosaic processing, such as pixel value correction, defective pixel correction, shading correction, etc. according to the characteristics of the image sensor 102. The RAW correction unit 105 outputs the corrected frame data to the temporary storage unit 106.
[0027] The temporary storage unit 106 temporarily stores the frame data output from the RAW correction unit 105 and the metadata output from the imaging control unit 104. For example, the temporary storage unit 106 is realized by a memory (regardless of type) such as a RAM (Random Access Memory). The temporary storage unit 106 may also be realized by a plurality of memories. For example, the temporary storage unit 106 may be realized by a memory that stores the frame data and a memory that stores the metadata.
[0028] The demosaic processing unit 107 generates a demosaic moving image by performing demosaic processing on the frame data stored by the temporary storage unit 106, and outputs the generated demosaic moving image to the image correction unit 108. The frame data that has been subjected to defective pixel correction, shading correction, etc. is output from the RAW correction unit 105. At this point, each pixel has only one of the colors R, G, and B. Therefore, the other two colors are complemented from the surrounding pixels so that each pixel has three-color data. For example, if a pixel only has R color, since there is no G and B data, the G color data of the pixel is obtained by interpolating from the data of the surrounding G pixels or predicting from the data of the surrounding G pixels. As a result, each of the pixels has the three colors R, G, and B. This is called demosaic processing.
[0029] The image correction unit 108 performs various image corrections on the demosaic moving image output from the demosaic processing unit 107, and outputs the demosaic moving image after the image correction to the monitor 109. The image corrections performed by the image correction unit 108 are processes performed on the demosaic moving image after the demosaic processing, and include, for example, peripheral light falloff correction, color correction, contour enhancement, noise removal, gamma correction, de-bayering, compression, and the like.
[0030] The monitor 109 displays to the user the demosaic moving image output from the image correction unit 108. This allows the user to check the moving image being captured as a live image while the moving image is being captured.
[0031] The output control unit 110 and the external output I / F 111 constitute an output unit according to one embodiment of the technology of the present disclosure. The output control unit 110 reads out the frame data and metadata stored in the temporary storage unit 106, and adds the metadata to the frame data. The output control unit 110 then outputs the frame data with the metadata added from the external output I / F 111 to the external recording device 120 as RAW video data before demosaicing.
[0032] For example, the output control unit 110 causes the external output I / F 111 to continuously output frame data as a video signal, while causing the external output I / F 111 to output metadata during a blanking period of the video signal. That is, the output control unit 110 controls the external output I / F 111 to interrupt the output of frame data and output the metadata. This makes it possible to add metadata to frame data and output it.
[0033] The external output I / F 111 is a communication interface for communicating with the external recording device 120. As an example, the external output I / F 111 performs communication via HDMI. The external output I / F 111 outputs frame data and metadata to the external recording device 120 under the control of the output control unit 110.
[0034] The imaging device 100 may include an internal memory for storing the demosaic moving image, etc. The imaging device 100 may also include a user interface for accepting various operations from a user and outputting various data to the user.
[0035] The imaging device 100 may also include a microphone that converts surrounding sounds into electrical signals. In this case, the electrical signals obtained by the microphone may be converted into digital acoustic data and output from the external output I / F 111 to the external recording device 120 together with the frame data and metadata, and may be recorded by the external recording device 120.
[0036] The external recording device 120 includes an external input I / F 121, a recording control unit 122, and a recording medium 123. The external input I / F 121 receives frame data and metadata output from the external output I / F 111 of the imaging device 100, and outputs the received frame data and metadata to the recording control unit 122.
[0037] The recording control unit 122 controls recording of the frame data and metadata output from the external input I / F 121 onto the recording medium 123. The recording medium 123 is a large-capacity recording medium onto which data can be written at high speed so that large amounts of frame data continuously output from the imaging device 100 can be recorded in real time. For example, the recording medium 123 can be realized by a memory card, an SSD (Solid State Drive), or the like.
[0038] Although not shown, the external recording device 120 has an external output I / F that outputs the frame data and metadata stored in the recording medium 123 to an external data processing device (e.g., a personal computer) different from the imaging device 100 and the external recording device 120. This allows the data processing device to perform development processing based on the frame data and metadata stored in the recording medium 123.
[0039] Alternatively, the external recording device 120 may be a data processing device (e.g., a personal computer) having a processor and memory for performing the development process. In this case, the external recording device 120 can perform the development process based on the frame data and metadata stored in the recording medium 123.
[0040] <Hardware configuration of the imaging device 100> The imaging control unit 104, the RAW correction unit 105, the demosaic processing unit 107, the image correction unit 108, and the output control unit 110 in the imaging device 100 are realized by a processor that operates in cooperation with the memory of the imaging device 100.
[0041] The processor is, for example, a processor such as a CPU (Central Processing Unit), an MPU (Micro Processing Unit), an FPGA (Field Programmable Gate Array), a PLD (Programmable Logic Device), or an ASIC (Application Specific Integrated Circuit). The processor functions as the above-mentioned processing unit in the imaging device 100 by reading and executing a program stored in a memory. More specifically, the structure of the above-mentioned various processors is an electric circuit that combines circuit elements such as semiconductor elements. Note that the processor may be a combination of multiple processors of the same type or different types.
[0042] The memory is realized by RAM, ROM (Read Only Memory), flash memory, etc. The memory stores programs executed by the processor, data used by the processor, etc. Note that this memory may be a combination of multiple memories of the same or different types.
[0043] <Specific examples of types of metadata generated by the imaging control unit 104> Fig. 2 is a diagram showing specific examples of types of metadata generated by the imaging control unit 104. The imaging control unit 104 generates metadata indicating imaging conditions related to, for example, a black offset level, a coefficient for converting a RAW numerical value into a color system, a white balance parameter, a lens correction parameter, a color conversion parameter, a gamma correction parameter, a noise correction parameter, a time code, an imaging date and time, a product name, and the like, as shown in Fig. 2.
[0044] Furthermore, a priority is set in advance for each type of metadata, and is stored in the memory of the image capture device 100. The priority indicates the degree to which the metadata should be output to the external recording device 120 with priority.
[0045] For example, the priority of each type of metadata is set so that the greater the influence on the results of development processing, the higher the priority is, i.e., the greater the influence on the results of development processing, the higher the output priority of the metadata. "Giving priority to outputting metadata with higher priority" means that, among metadata that have the same conditions other than priority, the metadata with higher priority is output first.
[0046] For example, the higher the priority is set for metadata used in the earlier processing of the development process, since it has a greater impact on the image quality of the demosaic video obtained by the development process. In the example shown in Figure 2, the highest priority is set for the black offset level used in the development process. On the other hand, the lowest priority is set for the product name, which is not directly used in the development process.
[0047] The types of metadata generated by the imaging control unit 104 are not limited to the example shown in Fig. 2 and can be set arbitrarily. The priorities are also not limited to the example shown in Fig. 2 and can be set arbitrarily. For example, at least some of the corrections such as pixel value correction, defective pixel correction, and shading correction performed by the above-mentioned RAW correction unit 105 may be performed in the development process rather than by the RAW correction unit 105. In this case, the imaging control unit 104 generates metadata for performing corrections such as pixel value correction, defective pixel correction, and shading correction, and outputs the generated metadata to the temporary storage unit 106.
[0048] <Metadata Generation by Imaging Control Unit 104 According to First Embodiment> Fig. 3 is a diagram showing an example of metadata generation by the imaging control unit 104 according to embodiment 1. The horizontal axis in Fig. 3 indicates time. Frame data F1 to F5 are each frame data obtained by five consecutive imaging operations by the imaging unit 119, and are RAW video data before demosaic processing.
[0049] The metadata M1 to M13 are metadata generated by the imaging control unit 104. The metadata M1 to M7 are data indicating each imaging condition that was set at the start of imaging, and are generated in association with the first frame data F1 after the start of imaging.
[0050] Metadata M1 is metadata indicating imaging conditions related to the number of pixels (resolution) used in the image sensor 102. Metadata M2 is metadata indicating imaging conditions related to a black offset level (black level). Metadata M3 and M4 are metadata indicating imaging conditions related to shading. Metadata M5 and M6 are metadata indicating imaging conditions related to distortion. Metadata M7 is metadata indicating imaging conditions related to white balance (WB).
[0051] 3, the imaging conditions are not changed between the imaging of frame data F1 and the imaging of frame data F2. In this case, the imaging control unit 104 does not generate metadata associated with the frame data F2.
[0052] 3, it is assumed that the imaging conditions related to white balance are changed between the imaging of frame data F2 and the imaging of frame data F3. In this case, the imaging control unit 104 generates metadata M8(WB) indicating the imaging conditions related to white balance after the change in association with the frame data F3.
[0053] 3, it is assumed that the imaging conditions related to shading, distortion, and white balance have been changed between the imaging of frame data F3 and the imaging of frame data F4. In this case, the imaging control unit 104 generates metadata M9 and M10 indicating the imaging conditions related to shading after the change, metadata M11 and M12 indicating the imaging conditions related to distortion after the change, and metadata M13 indicating the imaging conditions related to white balance after the change, in association with the frame data F4.
[0054] 3, the imaging conditions are not changed between the imaging of frame data F4 and the imaging of frame data F5. In this case, the imaging control unit 104 does not generate metadata associated with frame data F5.
[0055] <Output Control by Output Control Unit 110 According to First Embodiment> Fig. 4 is a diagram showing an example of output control by the output control unit 110 according to embodiment 1. In the example of generating metadata shown in Fig. 3, the output control unit 110 outputs frame data and metadata as shown in Fig. 4, for example.
[0056] In this example, the data amount of one piece of metadata is 28 [bytes], and the capacity of metadata that can be added to one frame data and output from the external output I / F 111 is 28×4 [bytes]. In other words, it is possible to add four pieces of metadata to one frame data and output them. Note that, for example, a packet container that can store metadata in HDMI has a fixed capacity limit because it is inserted into a blanking period by hardware, and is limited to 28×4 [bytes] / frame as in this example.
[0057] The number of metadata associated with frame data F1 is seven, metadata M1 to M7, which exceeds the number of metadata that can be added to frame data F1 (four). That is, the data amount of the metadata associated with frame data F1 is 28×7 [bytes], which exceeds the data amount that can be added to frame data F1 (28×4 [bytes]).
[0058] In this case, the output control unit 110 adds metadata selected from the metadata M1 to M7 associated with the frame data F1 based on the priority of the metadata M1 to M7 to the frame data F1, and causes the frame data F1 to be output from the external output I / F 111 to the external recording device 120. In this example, the order of priority is resolution, black level, shading, distortion, and white balance. In this case, the output control unit 110 adds four metadata M1 to M4 selected from the metadata M1 to M7 in order of priority to the frame data F1, and causes the frame data F1 to be output from the external output I / F 111 to the external recording device 120.
[0059] Furthermore, the output control unit 110 adds the metadata M5 to M7 that was not added to the frame data F1 to the frame data F2 that follows the frame data F1, and causes the external output I / F 111 to output the data to the external recording device 120.
[0060] Furthermore, the output control unit 110 adds metadata M8 associated with the frame data F3 to the frame data F3, and causes the external output I / F 111 to output the frame data F3 to the external recording device 120.
[0061] The number of metadata associated with frame data F4 is five, metadata M9 to M13, which exceeds the number of metadata (four) that can be added to frame data F4. In this case, the output control unit 110 adds four pieces of metadata M9 to M12, selected in descending order of priority from the metadata M9 to M13, to the frame data F4, and causes the data to be output from the external output I / F 111 to the external recording device 120.
[0062] Furthermore, the output control unit 110 adds the metadata M13 that was not added to the frame data F4 to the frame data F5 that follows the frame data F4, and causes the external output I / F 111 to output the data to the external recording device 120.
[0063] <Specific examples of development processing> The development process in the example shown in Fig. 4 will be described. In the example shown in Fig. 4, the development process related to the resolution, black level, and shading of the frame data F1 is performed using metadata M1 to M4 added to the frame data F1. Since there is no metadata related to distortion and white balance that can be applied to the frame data F1, for example, predetermined metadata related to distortion and white balance is used to perform the development process of the frame data F1.
[0064] The development processing for the distortion and white balance of the frame data F2 is performed using the metadata M5 to M7 added to the frame data F2, while the development processing for the resolution, black level, and shading of the frame data F2 is performed using the metadata M1 to M4.
[0065] The development process for the white balance of the frame data F3 is performed using the metadata M8 added to the frame data F3, while the development process for the resolution, black level, shading, and distortion of the frame data F3 is performed using the metadata M1 to M6.
[0066] The development process for the shading and distortion of the frame data F4 is performed using the metadata M9 to M12 added to the frame data F4, while the development process for the resolution, black level, and white balance of the frame data F4 is performed using the metadata M1, M2, and M8.
[0067] The development process for the white balance of the frame data F5 is performed using the metadata M13 added to the frame data F5. Furthermore, the development process for the resolution, black level, shading, and distortion of the frame data F5 is performed using the metadata M1, M2, M9 to M12.
[0068] <Processing by Imaging Device 100 According to First Embodiment> Fig. 5 is a flowchart showing an example of processing by the imaging device 100 according to the embodiment 1. The imaging device 100 according to the embodiment 1 executes, for example, the processing shown in Fig. 5. The processing shown in Fig. 5 is executed by, for example, a processor that realizes the imaging control unit 104 and the output control unit 110.
[0069] First, the imaging device 100 controls the imaging unit 119 to start capturing a moving image (step S51). Next, the imaging device 100 sets n to 1 and waits until the imaging unit 119 captures the nth image (step S52). n indicates the number of the frame currently being processed.
[0070] Next, the imaging device 100 generates metadata indicating imaging conditions that have been changed from the n-1th imaging to the nth imaging in association with the nth frame data (step S53). However, if n=1 in step S53, the imaging device 100 generates metadata for all imaging conditions in association with the nth frame data. Also, if none of the imaging conditions have been changed from the n-1th imaging to the nth imaging in step S53, the imaging device 100 does not generate metadata.
[0071] Next, the imaging device 100 selects metadata to be added to the n-th frame data and output within a range that can be added to one frame data (step S54). In step S54, the imaging device 100 selects metadata in the order of priority from unoutput metadata associated with frame data up to and including the n-1th frame data (unoutput metadata for the previous frame), and metadata with a high priority among metadata associated with the n-th frame data.
[0072] That is, if there is unoutput metadata associated with the frame data before the n-1th frame, the imaging device 100 selects that metadata, and if there is space, selects metadata with a higher priority from among the metadata associated with the n-th frame. If there is more unoutput metadata associated with the frame data before the n-1th frame than can be added to one frame, the imaging device 100 selects metadata with a higher priority from among the unoutput metadata. If there is a continuous state in which the imaging conditions remain unchanged, there may be no metadata to select in step S54. In this case, the imaging device 100 does not select metadata.
[0073] Next, the imaging device 100 adds the metadata selected in step S54 to the n-th frame data (step S55). Note that, if there is no metadata to be selected in step S54, the imaging device 100 does not add metadata.
[0074] Next, the imaging device 100 outputs the n-th frame data to which the metadata has been added in step S55 from the external output I / F 111 to the external recording device 120 (step S56). If the imaging device 100 did not add metadata in step S55, it outputs the n-th frame data to which no metadata has been added from the external output I / F 111 to the external recording device 120.
[0075] Next, the imaging device 100 increments n (n=n+1) and waits until the nth imaging is performed by the imaging unit 119 (step S57), and returns to step S53.
[0076] In this way, imaging device 100 of embodiment 1 outputs pre-demosaic frame data (RAW video data) to external recording device 120. This makes it possible for imaging device 100 to record RAW video data with a high data rate even if imaging device 100 does not have a high-speed, large-capacity storage medium. Furthermore, imaging device 100 outputs metadata together with the frame data to external recording device 120, thereby making it possible to easily perform development processing based on the frame data and metadata stored in external recording device 120.
[0077] Furthermore, the imaging device 100 generates metadata indicating the imaging conditions in association with the frame data when the imaging conditions of the imaging section 119 are changed, and adds the generated metadata to the frame data and outputs it as pre-demosaicing video data. This makes it possible to reduce the amount of metadata to be output, for example, compared to a configuration in which all metadata is output for each frame data even if the imaging conditions are not changed.
[0078] Therefore, metadata can be output with a limited communication capacity, for example, during a blanking period of frame data, etc. Also, since there is no need to increase the communication capacity during the blanking period, problems such as changes in frame rate due to an increase in the communication capacity during the blanking period and failure to comply with connection compatibility specifications can be suppressed.
[0079] Furthermore, when the amount of metadata associated with frame data exceeds the amount of data that can be added to the frame data, the imaging device 100 adds to the frame data metadata selected from the metadata associated with the frame data based on the priority based on the metadata type. This allows metadata of the type used in the development process to be output preferentially. Therefore, even if not all metadata is output for each frame data, the effect on the results of the development process can be suppressed.
[0080] For example, when imaging starts, metadata for each imaging condition is generated. Also, for example, when the focus of a zoom lens is changed, a lot of new metadata for lens correction is generated. In these cases, it may not be possible to output all the generated metadata in one frame data, but according to the imaging device 100, by preferentially outputting metadata of a type used in the development process, it is possible to suppress the influence on the results of the development process (for example, the image quality of the demosaic video).
[0081] Furthermore, the imaging device 100 preferentially adds to the second frame data the metadata that is not to be added to the first frame data out of the metadata associated with the second frame data to be output and the metadata that is not to be added to the first frame data preceding the second frame data, thereby preferentially outputting metadata whose output is delayed, and suppressing the effect of delayed metadata output on the results of the development process.
[0082] (Embodiment 2) The second embodiment will be described with respect to the differences from the first embodiment.
[0083] <Immediate output flag of metadata according to the second embodiment> Fig. 6 is a diagram showing an example of an immediate output flag of metadata according to embodiment 2. As shown in Fig. 6, an immediate output flag may be set for each type of metadata. The immediate output flag indicates that the metadata should be added to frame data associated with the metadata and output (i.e., immediately output).
[0084] The number of types of metadata for which the immediate output flag is set is determined so that all metadata for which the immediate output flag is set can be added to one frame data, for example. This allows at least the metadata for the types for which the immediate output flag is set to be added to the frame data associated with that metadata and output without delay.
[0085] In the example shown in FIG. 6, the immediate output flag is set only for three types of metadata indicating the image capturing conditions related to the black offset level, the coefficient for converting the RAW numerical value into the color system, and the white balance parameters.
[0086] <Metadata Generation by Imaging Control Unit 104 According to Second Embodiment> Fig. 7 is a diagram showing an example of metadata generation by the imaging control unit 104 according to embodiment 2. In Fig. 7, the same parts as those shown in Fig. 3 are denoted by the same reference numerals and description thereof will be omitted.
[0087] The metadata M1 to M15 are metadata generated by the imaging control unit 104. The metadata M1 to M7 are data indicating each imaging condition that was set at the start of imaging, and are generated in association with the first frame data F1 after the start of imaging.
[0088] 7, it is assumed that the imaging conditions related to the black offset level and the white balance are changed between the imaging of the frame data F1 and the imaging of the frame data F2. In this case, the imaging control unit 104 generates metadata M8 (black level) indicating the imaging conditions related to the black offset level after the change, and metadata M9 (WB) indicating the imaging conditions related to the white balance after the change, in association with the frame data F2.
[0089] 7, it is assumed that the imaging conditions related to white balance are changed between the imaging of frame data F2 and the imaging of frame data F3. In this case, the imaging control unit 104 generates metadata M10(WB) indicating the imaging conditions related to white balance after the change in association with the frame data F3.
[0090] 7, it is assumed that the imaging conditions related to shading and distortion are changed between the imaging of frame data F3 and the imaging of frame data F4. In this case, the imaging control unit 104 generates metadata M11 and M12 indicating the imaging conditions related to shading after the change, and metadata M13 and M14 indicating the imaging conditions related to distortion after the change, in association with the frame data F4.
[0091] 7, the imaging conditions are not changed between the imaging of frame data F4 and the imaging of frame data F5. In this case, the imaging control unit 104 does not generate metadata associated with frame data F5.
[0092] <Output Control by Output Control Unit 110 According to Second Embodiment> Fig. 8 is a diagram showing an example of output control by the output control unit 110 according to embodiment 2. In the example of metadata generation shown in Fig. 7, the output control unit 110 outputs frame data and metadata, for example, as shown in Fig. 8. In Fig. 8, metadata surrounded by a thick line is a type of metadata for which the above-mentioned immediate output flag is set.
[0093] The number of metadata associated with the frame data F1 is seven, metadata M1 to M7, which exceeds the number of metadata (four) that can be added to the frame data F1. In this example, the imaging device 100 first selects the metadata M2 and M7 for which the immediate output flag is set, and then selects the metadata M1 and M3 in descending order of priority. That is, the imaging device 100 adds the metadata M1 to M3 and M7 to the frame data F1, and outputs it from the external output I / F 111 to the external recording device 120.
[0094] Furthermore, the output control unit 110 selects metadata to be added to the frame data F2 and output from among the metadata M4 to M6 that are associated with the frame data F1 but not added to the frame data F1, and the metadata M8 and M9 that are associated with the frame data F2. At this time, the output control unit 110 first selects the metadata M8 and M9 for which an immediate output flag is set, and then selects the metadata M4 and M5 in descending order of priority. That is, the imaging device 100 adds the metadata M4, M5, M8, and M9 to the frame data F2, and causes it to be output from the external output I / F 111 to the external recording device 120.
[0095] In addition, the output control unit 110 adds metadata M6 that is associated with frame data F2 but was not added to frame data F2, and metadata M10 that is associated with frame data F3, to the frame data F3, and outputs the data from the external output I / F 111 to the external recording device 120.
[0096] Furthermore, the output control unit 110 adds metadata M11-M14 associated with frame data F4 to the frame data F4, and outputs the frame data F4 from the external output I / F 111 to the external recording device 120. Furthermore, the output control unit 110 outputs frame data F5 from the external output I / F 111 to the external recording device 120 without adding metadata.
[0097] <Processing by Imaging Device 100 According to Second Embodiment> Fig. 9 is a flowchart showing an example of processing by the imaging device 100 according to the embodiment 2. The imaging device 100 according to the embodiment 2 executes, for example, the processing shown in Fig. 9. The processing shown in Fig. 9 is executed by, for example, a processor that realizes the imaging control unit 104 and the output control unit 110.
[0098] Steps S91 to S97 shown in Fig. 9 are the same as steps S51 to S57 shown in Fig. 5. However, in step S94, imaging device 100 selects metadata with an immediate output flag, metadata that has not been outputted associated with frame data up to and including the n-1th frame (metadata of the previous frame that has not been outputted), and metadata with a higher priority among metadata associated with the nth frame data. In other words, if there is metadata associated with the nth frame data and with an immediate output flag set, imaging device 100 selects that metadata with the highest priority.
[0099] In this way, the output control unit 110 of embodiment 2 can prevent delays in output of metadata that is important in the development process by outputting metadata of a type for which the immediate output flag is set before metadata for which the output is delayed.
[0100] (Embodiment 3) The third embodiment will be described with respect to the differences from the first and second embodiments.
[0101] <Metadata Generation by Imaging Control Unit 104 According to Third Embodiment> Fig. 10 is a diagram showing an example of metadata generation by the imaging control unit 104 according to embodiment 3. In Fig. 10, the same parts as those shown in Fig. 3 are denoted by the same reference numerals and description thereof will be omitted.
[0102] The metadata M1 to M14 are metadata generated by the imaging control unit 104. The metadata M1 to M7 are data indicating each imaging condition that was set at the start of imaging, and are generated in association with the first frame data F1 after the start of imaging.
[0103] 10, it is assumed that the imaging conditions related to white balance are changed between the imaging of frame data F1 and the imaging of frame data F2. In this case, the imaging control unit 104 generates metadata M8(WB) indicating the imaging conditions related to white balance after the change in association with the frame data F2.
[0104] 10, it is assumed that the imaging conditions related to white balance are changed between the imaging of frame data F2 and the imaging of frame data F3. In this case, the imaging control unit 104 generates metadata M9(WB) indicating the imaging conditions related to white balance after the change in association with the frame data F3.
[0105] 10, it is assumed that the imaging conditions related to shading, distortion, and white balance have been changed between the imaging of frame data F3 and the imaging of frame data F4. In this case, the imaging control unit 104 generates metadata M10 and M11 indicating the imaging conditions related to shading after the change, metadata M12 and M13 indicating the imaging conditions related to distortion after the change, and metadata M14 indicating the imaging conditions related to white balance after the change, in association with the frame data F4.
[0106] 10, the imaging conditions are not changed between the imaging of frame data F4 and the imaging of frame data F5. In this case, the imaging control unit 104 does not generate metadata associated with frame data F5.
[0107] <Output Control by Output Control Unit 110 According to Third Embodiment> Fig. 11 is a diagram showing an example of output control by the output control unit 110 according to embodiment 3. In the example of generating metadata shown in Fig. 10, the output control unit 110 outputs frame data and metadata as shown in Fig. 11, for example.
[0108] The number of metadata associated with frame data F1 is seven, metadata M1 to M7, which exceeds the number of metadata that can be added to frame data F1 (four). In this case, similar to the example shown in Fig. 4, output control unit 110 adds four metadata M1 to M4 selected in descending order of priority from metadata M1 to M7 to frame data F1, and causes external output I / F 111 to output to external recording device 120.
[0109] Furthermore, the output control unit 110 discards the metadata M7 that was not added to the frame data F1 because metadata M8 indicating the same imaging conditions related to white balance as the metadata M7 is associated with the frame data F2 that follows the frame data F1. The output control unit 110 also adds the metadata M5 and M6 that were not added to the frame data F1 and the metadata M8 associated with the frame data F2 to the frame data F2, and causes the external output I / F 111 to output the frame data F2 to the external recording device 120.
[0110] In other words, metadata M7 that is associated with frame data F1 but has not been added to frame data F1 becomes a candidate for metadata to be added to frame data F2 and output, but if the same type of metadata M8 that is associated with frame data F2 exists, metadata M7 is overwritten and metadata M8 is added to frame data F2 and output.
[0111] Furthermore, the output control unit 110 adds metadata M9 associated with the frame data F3 to the frame data F3, and causes the external output I / F 111 to output the frame data F3 to the external recording device 120.
[0112] In addition, the output control unit 110 adds four pieces of metadata M10 to M13, selected in order of priority from the metadata M10 to M14 associated with the frame data F4, to the frame data F4 and outputs the pieces of metadata F4 from the external output I / F 111 to the external recording device 120.
[0113] Furthermore, the output control unit 110 adds the metadata M14 that was not added to the frame data F4 to the frame data F5 that follows the frame data F4, and causes the external output I / F 111 to output the same to the external recording device 120.
[0114] <Processing by Imaging Device 100 According to Third Embodiment> Fig. 12 is a flowchart showing an example of processing by the imaging device 100 according to embodiment 3. The imaging device 100 according to embodiment 3 executes, for example, the processing shown in Fig. 12. The processing shown in Fig. 12 is executed by, for example, a processor that realizes the imaging control unit 104 and the output control unit 110.
[0115] Steps S121 to S123 shown in Fig. 12 are the same as steps S51 to S53 shown in Fig. 5. After step S123, if there is unoutput metadata (unoutput metadata of the previous frame) of the same type as the metadata generated in step S123 that is associated with frame data before the (n-1)th frame, the imaging device 100 discards the unoutput metadata of the previous frame (step S124) and proceeds to step S125.
[0116] Steps S125 to S128 shown in Fig. 12 are similar to steps S54 to S57 shown in Fig. 5. In step S125, the metadata discarded in step S124 is not included in the selection target.
[0117] In this way, when the imaging conditions indicated by metadata not added to the first frame data among the metadata associated with the first frame data are changed when the second frame data following the first frame data is captured, the output control unit 110 of the third embodiment adds metadata indicating the imaging conditions after the change among the metadata before and after the change to the second frame data. This makes it possible to improve output efficiency by not outputting metadata whose output has been delayed and which is no longer necessary for development due to the change in imaging conditions.
[0118] (Embodiment 4) The fourth embodiment will be described with respect to the differences from the first to third embodiments.
[0119] <Output Control by Output Control Unit 110 According to Fourth Embodiment> Fig. 13 is a diagram showing an example of output control by the output control unit 110 according to embodiment 4. In the example of generating metadata shown in Fig. 3, the output control unit 110 according to embodiment 4 outputs frame data and metadata, for example, as shown in Fig. 13. The example of output control shown in Fig. 13 is similar to the example of output control shown in Fig. 4, except that delay data is added to the metadata that is output with a delay.
[0120] Specifically, the output control unit 110 adds delay data that can identify the frame data F1 to which the metadata M5 and M6 originally correspond, to the metadata M5 and M6 that originally correspond to the frame data F1 but are added (i.e., delayed) and output to the frame data F2. This makes it possible to identify that the metadata M5 and M6 are data that should be applied from the frame data F1 in the development process, so that even if the output of the metadata M5 and M6 is delayed, the effect on the results of the development process can be suppressed.
[0121] In the example shown in Fig. 13, the delay data added to the metadata M5, M6 is data (delay 1) indicating that the frame data F2 to which the metadata M5, M6 are added is delayed by one frame with respect to the frame data F1 to which the metadata M5, M6 originally correspond. This makes it possible to prevent the amount of delay data from increasing. However, the delay data added to the metadata M5, M6 may also be the frame number of the frame data F1 to which the metadata M5, M6 originally correspond.
[0122] Similarly, the output control unit 110 adds delayed data that enables identification of the frame data F4 to which the metadata M13 originally corresponded, to metadata M13 that originally corresponded to frame data F4 but is added (i.e., delayed) to frame data F5 and output.
[0123] As a result, in the development process, the metadata M13 can be identified as the data to be applied from the frame data F4, so that even if the output of the metadata M13 is delayed, the impact on the results of the development process can be reduced.
[0124] <Example of development processing using delayed data> The development processing related to distortion and white balance of frame data F1 is performed using metadata M5-M7 added to frame data F2. The development processing related to white balance of frame data F4 is performed using metadata M13 added to frame data F5. The other development processing is the same as the development processing in the example of output control shown in FIG.
[0125] <Processing by Imaging Device 100 According to Fourth Embodiment> Fig. 14 is a flowchart showing an example of processing by the imaging device 100 according to embodiment 4. The imaging device 100 according to embodiment 4 executes, for example, the processing shown in Fig. 14. The processing shown in Fig. 14 is executed by, for example, a processor that realizes the imaging control unit 104 and the output control unit 110.
[0126] Steps S141 to S144 shown in Fig. 14 are similar to steps S51 to S54 shown in Fig. 5. After step S144, if delayed metadata (metadata of the previous frame that has not yet been output) is present in the metadata selected in step S144, imaging device 100 adds delayed data capable of identifying the frame data to which the metadata corresponds to (step S145). Steps S146 to S148 shown in Fig. 14 are similar to steps S55 to S57 shown in Fig. 5.
[0127] In this way, when the output control unit 110 of the fourth embodiment adds metadata that is associated with the first frame data and that is not added to the first frame data to the second frame data following the first frame data, the output control unit 110 adds data that can identify the first frame data to the second frame data (for example, the metadata added to the second frame data). As a result, even if the output of the metadata is delayed, the metadata can be applied retroactively to the previous frame data during the development process, thereby suppressing the impact on the results of the development process. Note that in the fourth embodiment, priority does not need to be used when selecting metadata to add to frame data.
[0128] (Embodiment 5) The fifth embodiment will be described with respect to the differences from the first to fourth embodiments.
[0129] In the fifth embodiment, the imaging section 119 can change the imaging conditions for imaging only every several frames.
[0130] <Metadata Generation by Imaging Control Unit 104 According to Fifth Embodiment> Fig. 15 is a diagram showing an example of metadata generation by the imaging control unit 104 according to embodiment 5. In Fig. 15, the same parts as those shown in Fig. 3 are denoted by the same reference numerals and description thereof will be omitted.
[0131] The metadata M1 to M13 are metadata generated by the imaging control unit 104. The imaging control unit 104 changes the conditions of imaging by the imaging unit 119 in response to the demosaic image obtained by the demosaic processing unit 107 or instructions from the user, and in the example shown in Fig. 15, the imaging conditions can be changed in odd-numbered imaging, but cannot be changed in even-numbered imaging. For example, even if the imaging control unit 104 receives an operation to change the imaging conditions between frame data F1 and frame data F2, the imaging control unit 104 does not apply the change to the imaging of frame data F2, but applies the change from the imaging of frame data F3.
[0132] Therefore, new metadata is generated only for odd-numbered frame data. In the example shown in Fig. 15, metadata is generated for frame data F1, F3, and F5, but metadata is not generated for frame data F2 and F4.
[0133] The metadata M1 to M7 are data indicating each imaging condition that was set at the start of imaging, and are generated in association with the first frame data F1 after the start of imaging.
[0134] 15, it is assumed that the imaging conditions related to shading, distortion, and white balance have been changed between the imaging of frame data F2 and the imaging of frame data F3. In this case, the imaging control unit 104 generates metadata M8 and M9 indicating the imaging conditions related to shading after the change, metadata M10 and M11 indicating the imaging conditions related to distortion after the change, and metadata M12 indicating the imaging conditions related to white balance after the change, in association with the frame data F3.
[0135] 15, it is assumed that the imaging conditions related to white balance are changed between the imaging of frame data F4 and the imaging of frame data F5. In this case, the imaging control unit 104 generates metadata M13 indicating the imaging conditions related to white balance after the change in association with the frame data F5.
[0136] <Metadata Generation by Imaging Control Unit 104 According to Fifth Embodiment> Fig. 16 is a diagram showing an example of output control by the output control unit 110 according to embodiment 5. In Fig. 16, the same parts as those shown in Fig. 4 are given the same reference numerals and the description thereof will be omitted.
[0137] The number of metadata associated with frame data F1 is seven, metadata M1 to M7, which exceeds the number of metadata that can be added to frame data F1 (four). In this case, similar to the example shown in Fig. 4, output control unit 110 adds four metadata M1 to M4 selected in descending order of priority from metadata M1 to M7 to frame data F1, and causes external output I / F 111 to output to external recording device 120.
[0138] Furthermore, the output control unit 110 adds the metadata M5 to M7 that was not added to the frame data F1 to the frame data F2 that follows the frame data F1, and causes the external output I / F 111 to output the data to the external recording device 120.
[0139] Furthermore, the number of metadata associated with frame data F3 is five, metadata M8 to M12, which exceeds the number of metadata (four) that can be added to frame data F3. In this case, the output control unit 110 adds four pieces of metadata M8 to M11, selected in descending order of priority from the metadata M8 to M12, to the frame data F3, and causes the external output I / F 111 to output the data to the external recording device 120.
[0140] Furthermore, the output control unit 110 adds the metadata M12 that was not added to the frame data F3 to the frame data F4 that follows the frame data F3, and causes the external output I / F 111 to output the data to the external recording device 120.
[0141] Furthermore, the output control unit 110 adds metadata M13 associated with the frame data F5 to the frame data F5, and causes the external output I / F 111 to output the frame data F5 to the external recording device 120.
[0142] In this way, the imaging device 100 according to the fifth embodiment can change the imaging conditions of the imaging unit 119 only for every several frames. This reduces the frequency of metadata generation, and allows metadata to be output even when communication capacity is small, such as during blanking periods of frame data. Furthermore, development processing can be performed with consideration given to the fact that imaging conditions will not be changed for specific frame data. This makes it possible to suppress the impact of delays in metadata output on the results of development processing.
[0143] 16, it is understood that the metadata M5 to M7 added to the frame data F2, whose imaging conditions have not been changed, indicate the imaging conditions applied to the immediately preceding frame data F1, and therefore are applied from the development process of the frame data F1. Also, it is understood that the metadata M12 added to the frame data F4, whose imaging conditions have not been changed, indicates the imaging conditions applied to the immediately preceding frame data F3, and therefore are applied from the development process of the frame data F3.
[0144] (Embodiment 6) The sixth embodiment will be described with respect to the differences from the first to fifth embodiments. Although the configuration in which frame data (RAW video data) and metadata stored in temporary storage unit 106 of imaging device 100 are output to external recording device 120 outside imaging device 100 has been described, the present invention is not limited to this configuration.
[0145] <Imaging device 100 according to the sixth embodiment> Fig. 17 is a diagram showing an example of an imaging device 100 according to embodiment 6. In Fig. 17, the same parts as those shown in Fig. 1 are denoted by the same reference numerals and description thereof will be omitted.
[0146] The imaging device 100 according to the sixth embodiment includes an internal output I / F 124, an internal input I / F 125, a recording control unit 122, and a recording medium 123, instead of the external output I / F 111 shown in FIG.
[0147] The internal output I / F 124 is an interface such as HDMI similar to the external output I / F 111 shown in Fig. 1, but differs from the external output I / F 111 in that it communicates with an internal input I / F 125 inside the imaging device 100. The internal input I / F 125 is an interface such as HDMI similar to the external input I / F 121 of the external recording device 120 shown in Fig. 1, but differs from the external input I / F 121 in that it is provided inside the imaging device 100.
[0148] The recording control unit 122 and recording medium 123 shown in Fig. 17 have the same configuration as the recording control unit 122 and recording medium 123 shown in Fig. 1, but are provided inside the imaging device 100. That is, the imaging device 100 shown in Fig. 17 has a built-in high-speed, large-capacity recording medium 123, and outputs frame data (RAW video data) and metadata to the recording medium 123 using an interface such as HDMI inside the imaging device 100.
[0149] 1, even in this configuration, metadata indicating the imaging conditions of the imaging section 119 is generated in association with the frame data when the imaging conditions are changed, and the generated metadata is added to the frame data and output as pre-demosaicing video data. This makes it possible to reduce the amount of metadata to be output.
[0150] Therefore, metadata can be output with a limited communication capacity, for example, during a blanking period of frame data, etc. Also, since there is no need to increase the communication capacity during the blanking period, problems such as changes in frame rate due to an increase in the communication capacity during the blanking period and failure to comply with connection compatibility specifications can be suppressed.
[0151] Furthermore, when the amount of metadata associated with frame data exceeds the amount of data that can be added to the frame data, the imaging device 100 adds to the frame data metadata selected from the metadata associated with the frame data based on the priority based on the metadata type. This allows metadata of the type used in the development process to be output preferentially. Therefore, even if not all metadata is output for each frame data, the effect on the results of the development process can be suppressed.
[0152] (Combination of each embodiment) The above-described embodiments may be combined for implementation. For example, the imaging device 100 according to the sixth embodiment may implement the same processes as those in the second to fifth embodiments.
[0153] (Modification) In the above-mentioned embodiments, the process of adding as much metadata as possible to each frame data at that time has been described, but the process is not limited to this. For example, in the example shown in Fig. 4, the imaging device 100 may add only three pieces of metadata M1 to M3 to the frame data F1, and add metadata M4 to M7 to the frame data F2.
[0154] As described above, this specification includes at least the following:
[0155] (1) an imaging unit that generates image data of a moving image as a plurality of frames of data that are successive in time; a metadata generating unit that generates metadata indicating the imaging conditions of the imaging unit in association with the frame data when the imaging conditions of the imaging unit are changed; an output unit that adds the metadata to the frame data and outputs the frame data as pre-demosaic video data, the output unit, when a data amount of the metadata associated with the frame data exceeds an addable data amount, adds metadata selected based on a priority from the metadata associated with the frame data to the frame data. Video recording device.
[0156] (2) The moving image capturing apparatus according to (1), The priority is based on the type of the metadata. Video recording device.
[0157] (3) The moving image capturing apparatus according to (1) or (2), The metadata generation unit generates metadata indicating an imaging condition of the imaging unit at the start of imaging by the imaging unit in association with the first frame data after the start of imaging. Video recording device.
[0158] (4) A moving image capturing apparatus according to any one of (1) to (3), the output unit adds metadata associated with the first frame data generated by the imaging unit, the metadata not being added to the first frame data, to second frame data subsequent to the first frame data; Video recording device.
[0159] (5) The moving image capturing apparatus according to (4), the output unit preferentially adds to the second frame data the metadata not to be added to the first frame data out of the metadata associated with the second frame data and the metadata not to be added to the first frame data; Video recording device.
[0160] (6) A moving image capturing apparatus according to (4) or (5), When an imaging condition of the imaging unit indicated by metadata not added to the first frame data among the metadata associated with the first frame data has been changed at the time of imaging the second frame data, the output unit adds metadata indicating the imaging condition after the change among metadata indicating the imaging conditions before and after the change to the second frame data. Video recording device.
[0161] (7) A moving image capturing apparatus according to any one of (4) to (6), the output unit adds data capable of identifying the first frame data to the second frame data when adding metadata that is not added to the first frame data among the metadata associated with the first frame data to the second frame data; Video recording device.
[0162] (8) A moving image capturing apparatus according to any one of (1) to (7), The imaging unit is capable of changing the imaging conditions for each set of frames. Video recording device.
[0163] (9) 1. A method for capturing a moving image using a moving image capturing device having an imaging unit that generates image data of the moving image as a plurality of frames of data that are continuous in time, comprising the steps of: generating metadata indicating the imaging conditions in association with the frame data when the imaging conditions of the imaging unit are changed; adding the metadata to the frame data and outputting the result as pre-demosaic video data; and, if the amount of metadata associated with the frame data exceeds the amount of data that can be added, adding metadata selected based on a priority from the metadata associated with the frame data to the frame data. Video capture method.
[0164] (10) (9) A moving image capturing method according to the present invention, The priority is based on the type of the metadata. Video capture method.
[0165] (11) The moving image capturing method according to (9) or (10), generating metadata indicating an imaging condition of the imaging unit at the start of imaging by the imaging unit in association with the first frame data after the start of imaging; Video capture method.
[0166] (12) A moving image capturing method according to any one of (9) to (11), adding metadata associated with the first frame data generated by the imaging section, the metadata not being added to the first frame data, to second frame data subsequent to the first frame data; Video capture method.
[0167] (13) (12) A moving image capturing method according to the present invention, adding, to the second frame data, the metadata not to be added to the first frame data, of the metadata associated with the second frame data and the metadata not to be added to the first frame data, with priority given to the metadata not to be added to the first frame data; Video capture method.
[0168] (14) The moving image capturing method according to (12) or (13), When the imaging conditions of the imaging unit indicated by metadata not added to the first frame data among the metadata associated with the first frame data have been changed at the time of imaging the second frame data, metadata indicating the imaging conditions after the change among the metadata indicating the imaging conditions before and after the change is added to the second frame data. Video capture method.
[0169] (15) A moving image capturing method according to any one of (12) to (14), adding data capable of identifying the first frame data to the second frame data when adding metadata, which is not added to the first frame data among the metadata associated with the first frame data, to the second frame data; Video capture method.
[0170] (16) A moving image capturing method according to any one of (9) to (15), The imaging unit is capable of changing the imaging conditions for each set of frames. Video capture method.
[0171] (17) A video capturing program for a video capturing device including an imaging unit that generates image data of a video as a plurality of frames of data that are continuous in time, the program comprising: The processor of the video imaging device includes: generating metadata indicating the imaging conditions in association with the frame data when the imaging conditions of the imaging unit are changed; adding the metadata to the frame data and outputting the result as pre-demosaic video data; and, if the amount of metadata associated with the frame data exceeds the amount of data that can be added, adding metadata selected based on a priority from the metadata associated with the frame data to the frame data. A video capture program for executing the process. [Explanation of symbols]
[0172] 100 Imaging device 101 Imaging lens system 102 Image sensor 103 ADC 104 Imaging control unit 105 RAW correction section 106 Temporary storage 107 Demosaic Processing Unit 108 Image correction section 109 Monitor 110 Output control section 111 External output I / F 119 Imaging unit 120 External recording device 121 External input I / F 122 Recording control section 123 Recording media 124 Internal output I / F 125 Internal Input I / F F1~F5 frame data M1~M15 Metadata
Claims
1. an imaging unit that generates image data as a plurality of frames of data that are successive in time; a metadata generating unit that generates metadata in association with the frame data; an output unit that adds the metadata to the frame data and outputs the result as image data, the output unit adds metadata associated with the first frame data generated by the imaging unit, the metadata not being added to the first frame data, to second frame data subsequent to the first frame data; Imaging device.
2. 2. The imaging device according to claim 1, when a data amount of the metadata associated with the frame data exceeds an addable data amount, the output unit adds metadata selected from the metadata associated with the frame data based on a selection condition to the frame data. Imaging device.
3. 3. The imaging device according to claim 2, the selection condition is a priority based on a type of the metadata; Imaging device.
4. 1. An imaging method using an imaging device having an imaging unit that generates image data as a plurality of temporally consecutive frame data, generating metadata in association with the frame data; adding the metadata to the frame data and outputting the result as image data; adding metadata associated with first frame data generated by the imaging section, the metadata not being added to the first frame data, to second frame data subsequent to the first frame data; Imaging method.
5. An imaging program for an imaging device having an imaging unit that generates image data as a plurality of temporally consecutive frame data, A processor of the imaging device, generating metadata in association with the frame data; adding the metadata to the frame data and outputting the result as image data; adding metadata associated with first frame data generated by the imaging section, the metadata not being added to the first frame data, to second frame data subsequent to the first frame data; An imaging program for executing the processing.
Citation Information
Patent Citations
Method for recording image
JP2002262237A
Video metadata
US20150187390A1
Signaling camera configuration changes using metadata defined for a camera command set
US20180027174A1
Image processing system and control method for the same
JP2011244423A
Imaging system, imaging apparatus, and control method of the same
JP2017163307A
