Imaging device, method for controlling same, program, and storage medium

The imaging device addresses the challenge of user convenience and image forgery prevention by integrating tamper detection and provenance tracking, ensuring image authenticity during shooting.

WO2026094456A1PCT designated stage Publication Date: 2026-05-07CANON KK
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
CANON KK
Filing Date
2025-09-16
Publication Date
2026-05-07

AI Technical Summary

Technical Problem

Existing imaging technologies lack convenience in preventing image forgery during the shooting process, especially when tampering is not possible, and there is a need to enhance user experience while maintaining image authenticity verification.

Method used

An imaging device equipped with an imaging means, detection means, and control means to detect tampering and prevent image processing during the shooting process, incorporating a hash value generation and digital signature to ensure image authenticity.

Benefits of technology

Enhances user convenience by preventing image forgery during shooting and ensuring image authenticity through tamper detection and provenance tracking, improving the reliability of digital images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2025032435_07052026_PF_FP_ABST
    Figure JP2025032435_07052026_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure provides an imaging device capable of improving user convenience while having the function of knowing the history of an image. This imaging device comprises: an imaging unit that images a subject and performs image processing for generating an image file including image data; a detection unit that detects alteration of the image file; and a control unit that controls the imaging unit and the detection unit such that when treatment processing is performed on the image file temporarily recorded in a recording unit and reproduced, the detection unit performs processing for detecting alteration of the reproduced image file, and when treatment processing is performed on the image data in the middle of the image processing, the detection unit does not perform processing for detecting alteration of the image data.
Need to check novelty before this filing date? Find Prior Art

Description

Imaging Device, Control Method Thereof, Program, and Storage Medium

[0001] The present disclosure relates to an imaging device having an image forgery prevention function.

[0002] In recent years, information sharing via the Internet has been actively carried out, and anyone can now publicly disclose and transmit various information to an unspecified number of people. Also, various processes can now be performed on digital images. In such a situation, there are cases where information is transmitted from an untrustworthy source or where the publicly disclosed information has been illegally forged.

[0003] Patent Document 1 discloses a technique for preventing such illegal forgery. When shooting is performed in a forgery prohibition mode, a hash value is generated and attached to an image to prohibit forgery of the image.

[0004] In addition, Non-Patent Document 1 proposes attaching metadata indicating the editing content performed on an image to the image file in order to authenticate the origin, process, and history of the image.

[0005] Japanese Unexamined Patent Application Publication No. 2008-5421

[0006] Coalition for Content Provenance and Authenticity (C2PA), "C2PA Specifications", <Technical Specifications Version 1.2>, [online], November 3, 2022, [searched on January 23, 2023], Internet <URL: https: / / c2pa.org / specifications / specifications / 1.2 / specs / C2PA_Specification.html>

[0007] According to the technique described in Patent Document 1, a user can know whether an image has been changed. Also, according to the technique of Non-Patent Document 1, by embedding metadata at the moment of shooting as the history in the image, it is possible to know what corrections have been made when the image is edited later.

[0008] However, in situations where there is no room for tampering, such as during the shooting process, these technologies were not always convenient for the user.

[0009] This disclosure has been made in view of the above-mentioned issues, and its purpose is to provide an imaging device that can improve user convenience while also having the function of knowing the history of an image.

[0010] The imaging apparatus relating to this disclosure is characterized by comprising: an imaging means for performing an imaging process that images a subject and generates an image file containing image data; a detection means for detecting tampering with the image file; and a control means that, when an image file that has been recorded in a recording means and reproduced is subjected to processing, the detection means performs a process to detect tampering with the reproduced image file, and when processing is performed on the image data during the imaging process, the detection means controls the imaging means and the detection means so as not to perform a process to detect tampering with the image data.

[0011] According to this disclosure, it will be possible to improve user convenience while still having the functionality to know the origin of an image.

[0012] Other features and advantages of this disclosure will become apparent from the following description with reference to the accompanying drawings. In the accompanying drawings, the same or similar components are given the same reference numeral.

[0013] The attached drawings are included in the specification and constitute part thereof, illustrating embodiments of the present disclosure and are used together with the description to explain the principles of the present disclosure. A diagram showing the external appearance of a digital camera which is one embodiment of the imaging device of the present invention. A diagram showing the external appearance of a digital camera which is one embodiment of the imaging device of the present invention. A block diagram showing the configuration of the digital camera. A flowchart showing the procedure of the main processing of the shooting operation in the digital camera. A flowchart showing the procedure of the image processing setting process. A flowchart showing the procedure of the image processing setting process. A flowchart showing the procedure of the still image shooting process. A diagram showing an example of the structure of an image file. A diagram showing an example of the structure of an image file. A diagram showing an example of the structure of an image file. A flowchart showing the procedure of the history generation process. A flowchart showing the procedure of the history appending process. A flowchart showing the procedure of the image editing process.

[0014] The embodiments will be described in detail below with reference to the attached drawings. Note that the following embodiments do not limit the scope of the claims. While the embodiments describe multiple features, not all of these features are necessary, and the features may be combined in any way. Furthermore, in the attached drawings, identical or similar configurations are given the same reference numerals, and redundant descriptions are omitted.

[0015] <Appearance of Digital Camera 100> Figures 1A and 1B show the appearance of a digital camera 100, which is one embodiment of the imaging device of the present invention. Figure 1A is a front perspective view of the digital camera 100, and Figure 1B is a rear perspective view of the digital camera 100.

[0016] In Figures 1A and 1B, the display unit 28 is a display unit located on the back of the digital camera 100, and displays images and various information. The touch panel 70a can detect touch operations on the display surface (touch operation surface) of the display unit 28. The viewfinder-external display unit 43 is a display unit located on the top surface of the digital camera 100, and displays various settings of the digital camera 100, including shutter speed and aperture value. The shutter button 61 is an operating member for issuing a shooting command. The mode selector switch 60 is an operating member for switching between various modes. The terminal cover 40 is a cover that protects the connector (not shown) for connecting the digital camera 100 to an external device using a connecting cable, etc.

[0017] The main electronic dial 71 is a rotary operating component, and by rotating the main electronic dial 71, settings such as shutter speed and aperture value can be changed. The power switch 72 is an operating component that switches the power of the digital camera 100 ON and OFF. The sub electronic dial 73 is a rotary operating component, and by rotating the sub electronic dial 73, the selection frame (cursor) can be moved and images can be advanced. The four-way key 74 is configured so that the up, down, left, and right parts can be pressed, and processing can be performed according to the part of the four-way key 74 that is pressed. The SET button 75 is a push button and is mainly used to confirm selection items.

[0018] The video button 76 is used to instruct the start and stop of video recording. The AE lock button 77 is a push button, and by pressing the AE lock button 77 in shooting standby mode, the exposure state can be fixed. The zoom button 78 is an operation button for switching the zoom mode ON and OFF in the live view display (LV display) in shooting mode. By turning the zoom mode ON and then operating the main electronic dial 71, the live view image (LV image) can be enlarged or reduced. In playback mode, the zoom button 78 functions as an operation button for enlarging the playback image or increasing its magnification. The playback button 79 is an operation button for switching between shooting mode and playback mode. By pressing the playback button 79 in shooting mode, the camera switches to playback mode, and the latest image among the images recorded on the recording medium 200 (described later) can be displayed on the display unit 28. The menu button 81 is a push button used to instruct the display of the menu screen, and when the menu button 81 is pressed, a menu screen where various settings can be made is displayed on the display unit 28. The user can intuitively make various settings using the menu screen displayed on the display unit 28, the four-way key 74, and the SET button 75.

[0019] The touch bar 82 (multifunction bar: M-Fn bar) is a line-shaped touch operation member (line touch sensor) capable of accepting touch operations. The touch bar 82 is positioned so that it can be touched with the right thumb when the grip portion 90 is held with the right hand (held with the little finger, ring finger, and middle finger of the right hand) so that the shutter button 61 can be pressed with the right index finger. In other words, the touch bar 82 is positioned so that it can be operated when the user is looking through the viewfinder with their eyepiece 16 and is ready to press the shutter button 61 at any time (shooting posture). The touch bar 82 is a reception area that can accept tap operations (operations where the user touches the touch bar and releases it within a predetermined period without moving it), and sliding operations (operations where the user touches the touch bar and then moves the touch position while keeping it on the touch bar). The touch bar 82 is a different operation member from the touch panel 70a and does not have a display function.

[0020] The communication terminal 10 is a communication terminal for the digital camera 100 to communicate with the detachable lens unit 150 (see Figure 2). The eyepiece 16 is the eyepiece of the eyepiece viewfinder 17 (a look-through type viewfinder), and the user can view the image displayed on the internal EVF 29 (Electronic View Finder: see Figure 2) through the eyepiece 16. The eyepiece detection unit 57 is an eyepiece detection sensor that detects whether or not the user (photographer) is looking through the eyepiece 16. The cover 202 is the cover of the slot for storing the recording medium 200 (see Figure 2). The grip 90 is a holding part shaped to be easy for the user to grip with their right hand when holding the digital camera 100. The shutter button 61 and the main electronic dial 71 are positioned so that they can be operated with the index finger of the right hand when the digital camera 100 is held with the grip 90 held by the little finger, ring finger, and middle finger of the right hand. Furthermore, in the same configuration, the sub-electronic dial 73 and touch bar 82 are positioned so that they can be operated with the right thumb. The thumb rest section 91 (thumb standby position) is a grip component located on the back of the digital camera 100, in a place where it is easy to rest the thumb of the right hand holding the grip section 90 when no other operating components are being used. The thumb rest section 91 is made of a rubber material or the like to enhance the holding power (grip).

[0021] <Configuration of Digital Camera 100> Figure 2 is a block diagram showing an example configuration of the digital camera 100. The lens unit 150 is a lens unit that incorporates an imaging optical system and is interchangeable with the digital camera 100. The lens 103 that constitutes the imaging optical system is usually composed of multiple lenses, but in Figure 2 it is simplified and shown as only one lens. Communication terminal 6 is a communication terminal for the lens unit 150 to communicate with the digital camera 100, and communication terminal 10 is a communication terminal for the digital camera 100 to communicate with the lens unit 150. The lens unit 150 communicates with the system control unit 50 via these communication terminals 6 and 10. In the lens unit 150, the internal lens system control circuit 4 controls the aperture 1 via the aperture drive circuit 2. Also in the lens unit 150, the lens system control circuit 4 focuses by displacing the position of the lens 103 via the AF drive circuit 3.

[0022] The shutter 101 is a focal-plane shutter that allows the exposure time of the imaging unit 22 to be freely controlled by the system control unit 50.

[0023] The imaging unit 22 includes an image sensor, such as a CCD or CMOS element, which converts an optical image into an electrical signal. The image sensor in the imaging unit 22 may have an image plane phase difference sensor that outputs defocus amount information to the system control unit 50. The A / D converter 23 converts the analog signal output from the imaging unit 22 into a digital signal.

[0024] The image processing unit 24 performs predetermined processing (such as pixel interpolation, resizing, color conversion, etc.) on the image data from the A / D converter 23 or the image data from the memory control unit 15. The image processing unit 24 also performs predetermined calculations using the captured image data, and the system control unit 50 performs exposure control and distance measurement control based on the calculation results obtained by the image processing unit 24. This enables TTL (through-the-lens) AF (autofocus), AE (automatic exposure), EF (flash pre-flash), etc. The image processing unit 24 further performs predetermined calculations using the captured image data and performs TTL (auto white balance) processing based on the calculation results obtained.

[0025] The output data from the A / D converter 23 is written to the memory 32 via the image processing unit 24 and the memory control unit 15. Alternatively, the output data from the A / D converter 23 is written to the memory 32 via the memory control unit 15 without going through the image processing unit 24. The memory 32 stores image data obtained by the imaging unit 22 and converted into digital data by the A / D converter 23, as well as image data for display on the display unit 28 and the EVF 29. The memory 32 has sufficient storage capacity to store a predetermined number of still images, a predetermined amount of video footage, and audio.

[0026] Furthermore, memory 32 also serves as memory for image display (video memory). The D / A converter 19 converts the image data for image display stored in memory 32 into analog signals and supplies them to the display unit 28 and EVF 29. In this way, the image data for display written to memory 32 is displayed by the display unit 28 and EVF 29 via the D / A converter 19. The display unit 28 and EVF 29 are displays made of LCD, organic EL, etc., and perform display according to the analog signals from the D / A converter 19. By converting the digital signals that have been A / D converted by the A / D converter 23 and stored in memory 32 into analog signals in the D / A converter 19 and sequentially transferring them to the display unit 28 or EVF 29 for display, live view display (LV) can be performed. Hereinafter, the images displayed in live view display will be referred to as live view images (LV images).

[0027] The system control unit 50 is a control unit consisting of at least one processor and / or at least one circuit, and controls the entire digital camera 100. The system control unit 50 is both a processor and a circuit. The system control unit 50 realizes each of the processes of this embodiment, which will be described later, by executing a program recorded in the non-volatile memory 56. The system control unit 50 also performs display control by controlling the memory 32, D / A converter 19, display unit 28, EVF 29, etc.

[0028] The system memory 52 is, for example, RAM, and the system control unit 50 loads constants, variables, programs read from the non-volatile memory 56, etc., for the operation of the system control unit 50 into the system memory 52.

[0029] The non-volatile memory 56 is an electrically erasable and recordable memory, such as an EEPROM. Constants for the operation of the system control unit 50, programs, etc., are stored in the non-volatile memory 56. The program referred to here is a program for executing various flowcharts, which will be described later in this embodiment.

[0030] The system timer 53 is a timekeeping unit that measures the time used for various controls and the time of the built-in clock.

[0031] The communication unit 54 transmits and receives video and audio signals to and from external devices connected wirelessly or via wired cables. The communication unit 54 can also connect to wireless LANs (Local Area Networks) and the internet. Furthermore, the communication unit 54 can communicate with external devices using Bluetooth® and Bluetooth Low Energy. The communication unit 54 can transmit images (including LV images) captured by the imaging unit 22 and images recorded on the recording medium 200, and can receive various information from external devices, such as image data and instructions to start video recording. When an instruction to start video recording is received from an external device, the communication unit 54 can notify the user of the instruction by illuminating the light-emitting unit 102 or emitting an electronic sound from the speaker 92. Examples of external devices that communicate include smartphones, tablet PCs, and desktop PCs.

[0032] The attitude detection unit 55 detects the orientation of the digital camera 100 relative to the direction of gravity. Based on the orientation detected by the attitude detection unit 55, it is possible to determine whether the image captured by the imaging unit 22 was taken with the digital camera 100 held horizontally or vertically. The system control unit 50 can add orientation information corresponding to the orientation detected by the attitude detection unit 55 to the image file of the image captured by the imaging unit 22, or rotate the image before recording. An acceleration sensor or gyro sensor can be used as the attitude detection unit 55. The attitude detection unit 55 can also use the acceleration sensor or gyro sensor to detect the movement of the digital camera 100 (pan, tilt, lift, whether it is stationary or not, etc.).

[0033] The eyepiece detection unit 57 is an eyepiece detection sensor that detects when an eye (object) approaches (approaches) and moves away (away from) the eyepiece section 16 of the eyepiece viewfinder 17 (hereinafter simply referred to as "viewfinder"). The system control unit 50 switches the display / hide status of the display unit 28 and the EVF 29 according to the state detected by the eyepiece detection unit 57. More specifically, at least in the shooting standby state and when the display destination switching setting is set to automatic switching, when not using an eyepiece, the display destination is set to the display unit 28 and the display is turned on, and the EVF 29 is hidden. When using an eyepiece, the display destination is set to the EVF 29 and the display is turned on, and the display unit 28 is hidden. As the eyepiece detection unit 57, for example, an infrared proximity sensor can be used to detect the approach of any object to the eyepiece section 16 of the viewfinder 17 which has a built-in EVF 29. When an object approaches, infrared light emitted from the light-emitting unit (not shown) of the eyepiece detection unit 57 is reflected by the object and received by the light-receiving unit (not shown) of the infrared proximity sensor. The amount of infrared light received can be used to determine how close the object is to the eyepiece unit 16.

[0034] In this way, the eyepiece detection unit 57 performs eyepiece detection to detect the proximity distance of an object to the eyepiece unit 16. When an object is detected approaching the eyepiece unit 16 within a predetermined distance from the non-eyepiece state, it is detected that the eye has been placed in the eyepiece. When the object that was detected approaching moves away from the eyepiece state beyond a predetermined distance, it is detected that the eye has been removed. The threshold for detecting eye placement and the threshold for detecting eye removal may be different, for example, by providing hysteresis. Furthermore, after eye placement is detected, the eyepiece state is considered to be the eyepiece state until eye removal is detected. After eye removal is detected, the non-eyepiece state is considered to be the non-eyepiece state until eye placement is detected again. Note that the infrared proximity sensor is just one example, and the eyepiece detection unit 57 may use any other sensor that can detect a state that can be considered as eye placement.

[0035] The GPS receiver 119 receives GPS information from GPS satellites to calculate location and time information. The digital camera 100 receives GPS information from the GPS receiver 119 and calculates location and time information based on the received GPS information. The digital camera 100 can add this calculated location and time information to the captured image.

[0036] The hash value generation unit 210 generates (calculates) a hash value by applying a hash function to the image file. Alternatively, the system control unit 50 may generate the hash value instead of the hash value generation unit 210. Details of the hash value generation process will be described later.

[0037] The external viewfinder display unit 43 displays various camera settings, including shutter speed and aperture, via the external viewfinder display unit drive circuit 44.

[0038] The power control unit 80 consists of a battery detection circuit, a DC-DC converter, a switch circuit for switching which blocks are energized, and other components, and detects whether a battery is installed, the type of battery, and the remaining battery level. The power control unit 80 also controls the DC-DC converter based on the detection results and instructions from the system control unit 50, and supplies the necessary voltage to each component, including the recording medium 200, for the required period of time. The power supply unit 30 consists of primary batteries such as alkaline batteries and lithium batteries, secondary batteries such as NiCd batteries, NiMH batteries and Li-ion batteries, and an AC adapter.

[0039] The recording medium I / F 18 is an interface to a recording medium 200 such as a memory card or hard disk. The recording medium 200 is a recording medium such as a memory card for recording captured images, and is composed of semiconductor memory, magnetic disks, etc.

[0040] The operation unit 70 is an input unit that receives operations from the user and is used to input various operation instructions to the system control unit 50. As shown in Figure 2, the operation unit 70 includes a shutter button 61, a mode switching switch 60, a power switch 72, a touch panel 70a, and other operating members 70b. Other operating members 70b include a main electronic dial 71, a sub electronic dial 73, a four-way key 74, a SET button 75, a video button 76, an AE lock button 77, a zoom button 78, a playback button 79, a menu button 81, a touch bar 82, and the like.

[0041] The shutter button 61 includes a first shutter switch 62 and a second shutter switch 64. The first shutter switch 62 turns ON during the operation of the shutter button 61, specifically when it is half-pressed (instruction to prepare for shooting), and generates a first shutter switch signal SW1. The system control unit 50 starts shooting preparation operations such as AF (autofocus) processing, AE (automatic exposure) processing, AWB (auto white balance) processing, and EF (flash pre-flash) processing in response to the first shutter switch signal SW1.

[0042] The second shutter switch 64 turns ON when the shutter button 61 is fully pressed (shooting instruction), generating the second shutter switch signal SW2. The system control unit 50 starts a series of shooting processes, from reading the signal from the imaging unit 22 to writing the captured image as an image file to the recording medium 200, based on the second shutter switch signal SW2.

[0043] The mode switch 60 switches the operation mode of the system control unit 50 to any one of a still image shooting mode, a moving image shooting mode, a playback mode, etc. Modes included in the still image shooting mode are an auto shooting mode, an auto scene discrimination mode, a manual mode, an aperture priority mode (Av mode), a shutter speed priority mode (Tv mode), and a program AE mode (P mode). There are also various scene modes and custom modes that are shooting settings according to the shooting scene. The user can directly switch to any of these modes by the mode switch 60. Alternatively, after once switching to a list screen of shooting modes with the mode switch 60, the user may selectively switch to any one of the displayed plurality of modes using other operation members. Similarly, the moving image shooting mode may also include a plurality of modes.

[0044] The touch panel 70a is a touch sensor that detects various touch operations on the display surface of the display unit 28 (the operation surface of the touch panel 70a). The touch panel 70a and the display unit 28 can be integrally configured. For example, the touch panel 70a is configured so that the light transmittance does not interfere with the display of the display unit 28 and is attached to the upper layer of the display surface of the display unit 28. Then, the input coordinates on the touch panel 70a and the display coordinates on the display surface of the display unit 28 are associated with each other. Thereby, a GUI (Graphical User Interface) can be provided as if the user can directly operate the screen displayed on the display unit 28.

[0045] The system control unit 50 can detect the following operations or states on the touch panel 70a: - A finger or pen that was not touching the touch panel 70a has now touched the touch panel 70a, i.e., the start of a touch (hereinafter referred to as Touch-Down) - The state in which a finger or pen is touching the touch panel 70a (hereinafter referred to as Touch-On) - The state in which a finger or pen is moving while touching the touch panel 70a (hereinafter referred to as Touch-Move) - The finger or pen that was touching the touch panel 70a has left (released) the touch panel 70a, i.e., the end of a touch (hereinafter referred to as Touch-Up) - The state in which nothing is touching the touch panel 70a (hereinafter referred to as Touch-Off) When Touch-Down is detected, Touch-On is also detected at the same time. After a touchdown, touch-on is usually detected unless a touch-up is detected. If a touch-move is detected, touch-on is also detected at the same time. Even if touch-on is detected, touch-move will not be detected if the touch position has not moved. Touch-off occurs after all fingers or pens that were touching have been detected as having touched up.

[0046] These operations and states, as well as the position coordinates of the finger or pen touching the touch panel 70a, are notified to the system control unit 50 via the internal bus. The system control unit 50 then determines what kind of operation (touch operation) was performed on the touch panel 70a based on the notified information.

[0047] Regarding touch movement, the movement direction of a finger or pen moving on the touch panel 70a can also be determined for each vertical and horizontal component on the touch panel 70a based on changes in the position coordinates. If it is detected that the touch movement has exceeded a predetermined distance, it is determined that a slide operation has been performed. An operation of quickly moving a finger a certain distance while touching the touch panel 70a and then releasing it is called a flick. In other words, a flick is an operation of quickly tracing on the touch panel 70a as if pushing with a finger. If it is detected that the touch movement has exceeded a predetermined distance at a predetermined speed or more and a touch-up is detected immediately afterwards, it can be determined that a flick has been performed (it can be determined that there is a flick following a slide operation). Further, a touch operation of touching a plurality of locations (for example, two points) simultaneously (multi-touching) and moving the touch positions closer to each other is called a pinch-in, and a touch operation of moving the touch positions away from each other is called a pinch-out. The pinch-out and pinch-in are collectively referred to as a pinch operation (or simply a pinch).

[0048] The touch panel 70a may be of any of various types of touch panels, such as a resistive film type, a capacitance type, a surface acoustic wave type, an infrared type, an electromagnetic induction type, an image recognition type, an optical sensor type, etc. There are methods of detecting a touch when there is contact with the touch panel, and methods of detecting a touch when there is an approach of a finger or pen to the touch panel, and any of these methods may be used.

[0049] Next, FIG. 3 is a flowchart showing the procedure of the main process of the shooting operation in the digital camera 100. Each process in FIG. 3 is realized by the system control unit 50 expanding and executing a program stored in the non-volatile memory 56 in the system memory 52. Here, S represents a step number.

[0050] In S301, the system control unit 50 determines whether a setting instruction to change to the forgery prevention mode has been given. If the system control unit 50 determines that a setting instruction to change to the forgery prevention mode has been given, the process proceeds to S302, and if not, the process proceeds to S303.

[0051] Here, the tamper-proof mode is a shooting mode that can detect tampering. Specifically, when shooting with the tamper-proof mode enabled, the image includes provenance information 603 (see Figures 6A, 6B-1, and 6B-3), and when shooting with the tamper-proof mode disabled, the image does not include provenance information 603. When the tamper-proof mode is enabled, changes can be detected using the hash function and signature value mechanism described later, preventing malicious tampering.

[0052] In S302, the system control unit 50 changes the setting of the tamper-proof mode to "on" and stores it in the memory 32.

[0053] In S303, the system control unit 50 changes the setting of the tamper-proof mode to off and stores it in the memory 32.

[0054] In S304, the system control unit 50 executes the image processing setting process described later using Figures 4A and 4B.

[0055] In S305, the system control unit 50 determines whether or not a still image capture instruction has been given by pressing the shutter button 61 or the like. If a still image capture instruction has been given, the system control unit 50 proceeds to S306; otherwise, it proceeds to S307.

[0056] In S306, the system control unit 50 performs the still image capture process described later using Figure 5.

[0057] In S307, the system control unit 50 determines whether or not an image editing instruction has been given in playback mode or the like. If an image editing instruction has been given, the system control unit 50 proceeds to S308; otherwise, it proceeds to S309.

[0058] In S308, the system control unit 50 performs the image editing process described later using Figure 9.

[0059] In S309, the system control unit 50 determines whether or not an instruction to terminate the main process has been given, such as by turning off the power switch 72. If an instruction to terminate the main process has been given, the system control unit 50 terminates the main process. If it has not been given, the process returns to S301 and repeats the process from S301 to S309.

[0060] The following describes the procedure for setting image processing parameters in S304 of Figure 3, with reference to Figures 4A and 4B. Figures 4A and 4B are flowcharts showing an example of the operation for setting image processing parameters.

[0061] In S401, the system control unit 50 determines whether or not the setting of the glitter effect mode has been instructed. If the glitter effect mode has been instructed, the system control unit 50 proceeds to S402; otherwise, it proceeds to S403.

[0062] Here, the "glitter effect mode" is one of the modes that applies a special effect to an image through image processing. The glitter effect mode may be provided as one of the modes that can be changed using a mode dial, or it may be provided as one of the menu settings. Furthermore, the glitter effect is just one example, and other image processing treatments that change the overall impression of the image may be set as special effects, such as toy camera style, diorama style, oil painting style, watercolor style, fisheye style, monochrome style, or soft focus style.

[0063] In S402, the system control unit 50 changes the sparkle effect mode to "on" and stores it in the memory 32.

[0064] In S403, the system control unit 50 determines whether or not the setting of the skin beautifying effect processing has been instructed. If the setting of the skin beautifying effect processing has been instructed, the system control unit 50 proceeds to S404; otherwise, it proceeds to S405.

[0065] In S404, the system control unit 50 changes the setting for the skin beautifying effect processing to one of the instructed weak, medium, or strong settings and stores it in the memory 32.

[0066] Here, "skin beautifying effect processing" refers to image processing that makes a person's skin look more beautiful. Skin beautifying effect processing may be provided as one of the modes that can be changed using a mode dial, or as one of the menu settings. Furthermore, skin beautifying effect processing is just one example; other image processing effects that change the impression of the subject, such as face slimming effect processing, may also be set.

[0067] In S405, the system control unit 50 determines whether or not the setting of HDR processing has been instructed. If the setting of HDR processing has been instructed, the system control unit 50 proceeds to S406; otherwise, it proceeds to S407.

[0068] Here, HDR (High Dynamic Range) processing is a process that takes two images with different exposures and combines them to obtain an image with an expanded dynamic range. HDR processing may be provided as one of the modes that can be changed using a mode dial, or as one of the menu settings. Furthermore, HDR processing is just one example, and other image processing processes that take multiple images at once and combine them, such as depth stacking, may also be set.

[0069] In S406, the system control unit 50 changes the HDR processing setting to ON and stores it in the memory 32.

[0070] In S407, the system control unit 50 determines whether or not it has been instructed to set up multiple exposure processing. If it has been instructed to set up multiple exposure processing, the system control unit 50 proceeds to S408; otherwise, it proceeds to S411.

[0071] In S408, the system control unit 50 determines whether or not it has been instructed to read the source image from the recording medium 200. If the system control unit 50 has been instructed to read the source image from the recording medium 200, it proceeds to S410; otherwise, it proceeds to S409.

[0072] In S409, the system control unit 50 changes the setting to multiple exposure, which combines multiple captured images, similar to HDR shooting, and stores it in the memory 32.

[0073] In S410, the system control unit 50 changes the setting to multiple exposure, which reads multiple source images from the recording medium 200 and combines them, and stores this setting in the memory 32. In this case, it is assumed that the memory 32 also stores which images will be used as source images. Furthermore, the multiple exposure process may be provided as one of the modes that can be changed using a mode dial or the like, or as one of the menu setting items.

[0074] In S411, the system control unit 50 determines whether or not it has been instructed to terminate the image processing setting process. If it has been instructed to terminate the image processing setting process, the system control unit 50 terminates the processing of this flow. If it has not been instructed to terminate, it returns to S401 and repeats the processing from S401 to S411.

[0075] The procedure for the still image capture process in S306 will be explained below with reference to Figure 5. Figure 5 is a flowchart showing an example of the operation from exposure during shooting to the generation of a still image file. This process is started when a shooting start operation, such as pressing the shutter button 61, is received, and ends when a shooting end operation, such as canceling the pressing of the shutter button 61, is received. The still image capture process is a series of processes in which the image data 604 expanded in the system memory 52 is processed, including the addition of shooting information 602 and history information 603, and other processing, until an image file is generated without any possibility of tampering.

[0076] In S501, the system control unit 50 drives the shutter 101, which is located on the subject side of the imaging unit 22, in order to control the exposure time.

[0077] In S502, the system control unit 50 performs imaging processing to convert the light from the subject received by the imaging unit 22 via the shutter into an electrical signal (analog image signal).

[0078] In S503, the system control unit 50 performs A / D conversion on the electrical signal obtained by the imaging process, and then performs image processing such as development and encoding to generate image data.

[0079] In S504, the system control unit 50 generates metadata 601 for the generated image data 604, including shooting information 602 as shown in Figures 6A, 6B-1, and 6B-3.

[0080] The shooting information 602 is the setting information of the digital camera 100 when the imaging process for generating the image data 604 is performed. For example, it includes the date and time of shooting, the photographer, the image size, the manufacturer and model of the digital camera 100, various shooting parameters set at the time of shooting, the shooting location, a thumbnail image, etc. The shooting information 602 is generated in accordance with a predetermined technical standard (for example, EXIF ​​(Exchangeable image file format)).

[0081] Provenance information 603 is information for proving the authenticity of image data 604 and is used when verifying the source and provenance of image data 604. Provenance information 603 is generated in accordance with a predetermined technical standard (for example, C2PA (Coalition for Content Provenance and Authenticity)) and has a prescribed structure. Provenance information 603 includes provenance (Assertion) 613, a hash value 623 to guarantee provenance 613, and a digital signature 633. Provenance 613 stores provenance identification information (Manifest ID) to uniquely identify this provenance, editing history information showing the editing content of image data 604, editing tool information showing the tools used for editing, and creator information of image data 604.

[0082] Here, the image data 604 generated in step S503 is just generated by shooting and has not been edited by an editing application or anything else. Therefore, information indicating "generation" is stored in the editing history, and information indicating the digital camera 100 is stored in the editing tool. Note that information indicating "editing" is stored when editing is performed.

[0083] In S505, the system control unit 50 executes the history generation process, which will be described later in Figure 7.

[0084] In S506, the system control unit 50 determines whether the image processing setting is enabled or disabled. If the image processing setting is enabled, the system control unit 50 proceeds to S507; otherwise, it proceeds to S508.

[0085] In S507, the system control unit 50 executes the history addition process, which will be described later in Figure 8.

[0086] In S508, the system control unit 50 adds metadata 601 to the image data 604 and generates an image file. Here, the image data 604 is generated according to a still image or video format such as JPEG or MPEG and is saved on the recording medium 200. The user can be notified that writing is in progress by the card access lamp.

[0087] In S509, the system control unit 50 determines whether or not an instruction has been given to end the shooting process. If an instruction has been given to end the shooting process, the system control unit 50 terminates the still image shooting process. If no such instruction has been given, the process returns to S501 and the processes from S501 to S509 are repeated.

[0088] The procedure for generating the provenance history in S505 will be explained below with reference to Figure 7. Figure 7 is a flowchart showing an example of the operation from determining whether or not tamper-proof mode is enabled to generating the provenance history.

[0089] In S701, the system control unit 50 determines whether the tamper-proof mode setting is enabled or disabled. If the tamper-proof mode setting is enabled, the system control unit 50 proceeds to S702; otherwise, it terminates the processing of this flow.

[0090] In S702, the system control unit 50 generates the history 613. An example of the image file configuration in this case is shown in Figure 6A. Figure 6A shows an example in which the history of the image data read from the image sensor before image processing is embedded in the image file.

[0091] In S703, the system control unit 50 applies a hash function to the binary data of the image data 604 and the history data 613 to generate a hash value 623. A hash value may also be generated from the binary data of the shooting information 602.

[0092] In S704, the system control unit 50 generates a digital signature 633 and terminates the provenance generation process.

[0093] The digital signature 633 includes information indicating the signature value, the signer, and the date and time of signing. The signature value is generated by encrypting the generated hash value 623 using a pre-prepared private key. The public key that forms the pair with the private key used here is also stored in the digital signature 633. In this case, in order to prove that the public key is from a trusted manufacturer, information indicating the manufacturer of the digital camera 100 as the signer, and a public key certificate indicating that the public key has been authenticated by a certification authority may also be stored. By attaching such a digital signature 633, including the signer, to the image file 600, it can be shown that the image file is a trusted image file. Note that the model name of the digital camera 100 may be used as the signer instead of the manufacturer's name. The date and time of signing stores the date and time when the generation of the digital signature was completed.

[0094] The procedure for adding the provenance history in S507 will be explained below with reference to Figure 8. Figure 8 is a flowchart showing an example of the operations from image processing to adding the provenance history.

[0095] In S801, the system control unit 50 determines whether or not there is a history 613 for the image data at the time of generation. If there is a history 613 for the image data at the time of generation, the system control unit 50 proceeds to S802; otherwise, it proceeds to S806.

[0096] In S802, the system control unit 50 determines whether or not still image capture is in progress. Here, "in progress of still image capture" means the period between the shutter drive in S501 and the image file generation process in S508 in the still image capture process shown in Figure 5. If still image capture is in progress, the system control unit 50 proceeds to S803; otherwise, it proceeds to S804. If it is determined that still image capture is not in progress, it is assumed that image editing is in progress, where the image data read from the recording medium 200 is being processed on a playback screen or the like.

[0097] In S803, the system control unit 50 determines whether or not composite shooting is in progress using an image read from the recording medium 200 (an image within an image file read from the recording medium 200). If composite shooting is in progress using an image read from the recording medium 200, the system control unit 50 proceeds to S804; otherwise, it proceeds to S806. In this case, composite shooting is assumed to be a type of shooting such as multiple exposure using an image read from the recording medium 200.

[0098] In step S804, the system control unit 50 performs tampering verification using hash values ​​and signature values. First, it applies a hash function to the binary data of the image data 604 read from the recording medium 200 to generate a hash value. Then, it compares the generated hash value with the hash value 624 of the image data to be checked. This allows verification of whether or not the image data has been tampered with. Similarly, it applies a hash function to the binary data of the shooting information 602 to generate a hash value. Then, it compares the generated hash value with the respective hash values ​​of the shooting information to be checked. This makes it possible to verify whether or not data such as the shooting date and time, shooting location, photographer, and other data has been tampered with. Whether or not to perform tampering verification depends on whether or not processing is about to be performed on the image read from the recording medium 200. Furthermore, this technology can be applied not only to digital cameras but also to editing applications and the like.

[0099] In S805, the system control unit 50 determines, based on the results of the tampering verification, whether or not the data has been tampered with. If the data has been tampered with, the system control unit 50 terminates the processing of this flow. If the data has not been tampered with, the process proceeds to S806.

[0100] In S806, the system control unit 50 performs image processing. This applies the special effects shown in Figures 4A and 4B, as well as synthesis processing, to the image data generated in S503.

[0101] In S807, the system control unit 50 adds the history 613. An example of the image file configuration in this case is shown in Figures 6B-1 to 6B-3. Figures 6B-1 to 6B-3 show an example in which both the history of the image data before processing read from the image sensor and the history after image processing are embedded in the image file.

[0102] In S808, the system control unit 50 applies a hash function to the binary data of the processed image data 604 and the history data 613 to generate a hash value 623 for the added history data. A hash value may also be generated from the binary data of the shooting information 602.

[0103] In S809, the system control unit 50 generates a digital signature 633 and terminates the history addition process.

[0104] The digital signature 633 includes information indicating the signature value, the signer, and the date and time of signing. The signature value is generated by encrypting the appended hash value 623 using a pre-prepared private key. The public key that forms the pair with the private key used here is also stored in the digital signature 633. In this case, to prove that the public key is from a trusted manufacturer, information indicating the manufacturer of the digital camera 100 as the signer, and a public key certificate indicating that the public key has been authenticated by a certification authority may also be stored. By attaching such a digital signature 633, including the signer, to the image file 600, it can be shown that the image file is a trusted image file. Note that the model name of the digital camera 100 may be used as the signer instead of the manufacturer's name. The date and time of signing stores the date and time when the generation of the digital signature was completed.

[0105] The procedure for the image editing process in S308 will now be explained with reference to Figure 9. Figure 9 is a flowchart showing an example of the operation from performing image processing on the object to be edited to adding its history. In this case, the editing process refers to a series of processes from when the image data read from the removable recording medium 200 is expanded into the system memory 52, when processing is performed, and finally when the image file is updated. This process is carried out assuming that the image data read from the removable recording medium 200 is susceptible to tampering.

[0106] In S901, the system control unit 50 determines whether or not an image to be edited has been selected from the images stored in the recording medium 200. If an image to be edited has been selected from the images stored in the recording medium 200, the system control unit 50 proceeds to S902; otherwise, it repeats the process in S902.

[0107] In S902, the system control unit 50 displays the image to be edited, selected from the images stored on the recording medium 200, on the display unit 28.

[0108] In S903, the system control unit 50 determines whether or not processing instructions have been given for the target image. If processing instructions have been given for the target image, the system control unit 50 proceeds to S904; otherwise, it proceeds to S905.

[0109] In S904, the system control unit 50 executes the history addition process described in Figure 8.

[0110] In step S905, the system control unit 50 adds metadata 601 to the image data 604 and generates an image file. Here, the image data 604 is generated according to still image or video format such as JPEG or MPEG and is stored on the recording medium 200. The user can be notified that image data is being written by the card access lamp.

[0111] In S906, the system control unit 50 determines whether or not an instruction has been given to terminate the image editing process. If an instruction has been given to terminate the image editing process, the system control unit 50 terminates the image editing process. If no such instruction has been given, the process returns to S901 and the process from S901 to S906 is repeated.

[0112] As explained above, in this embodiment, when a digital camera performs the shooting process, there is no possibility of tampering, so the provenance is added to the captured image data without performing tampering verification. However, when editing is performed on image data that has already been recorded on the recording medium, there is a possibility of tampering, so the provenance is added after tampering verification.

[0113] Furthermore, editing may also be performed by application programs, and if edited using an authorized editing tool and following proper procedures, new provenance information 603 will be generated based on the edited content in accordance with the prescribed technical standards. This information will then be appended to the metadata of the image file and stored. This is equivalent to the processing performed within a digital camera.

[0114] Provenance information 603 is newly generated each time an image file is edited and stored by being appended to the image file's metadata 601. On the other hand, if an image file is edited using an unauthorized editing tool or through fraudulent procedures, the tampering can be detected because the provenance information 603 may not be attached to the image file, or the provenance information attached to the image file may not conform to the prescribed technical standards.

[0115] Furthermore, the series of verification processes to check whether the history data has been tampered with may be performed at a finer level, such as for editing history information, creator information, thumbnail data, and metadata. Also, the signature value can be decrypted using a public key, and if the hash values ​​match, it can be determined that the signature value verification was successful. In this way, it is possible to embed a mechanism for detecting tampering at a finer level into the image file itself.

[0116] As described above, according to this embodiment, user convenience can be improved by performing tampering verification during content editing to maintain authenticity, and by eliminating unnecessary tampering verification processing during shooting that involves image processing.

[0117] (Other Embodiments) The Disclosure can also be realized by supplying a program that implements one or more of the functions of the above-described embodiments to a system or device via a network or storage medium, and by having one or more processors in the computer of that system or device read and execute the program. It can also be realized by a circuit (e.g., ASIC) that implements one or more functions.

[0118] This disclosure is not limited to the embodiments described above, and various modifications and alterations are possible without departing from the spirit and scope of the disclosure. Accordingly, the claims are attached to make the scope of the disclosure public.

[0119] This application claims priority based on Japanese Patent Application No. 2024-190076, filed on 29 October 2024, and all of its contents are incorporated herein by reference.

Claims

1. An imaging device comprising: an imaging means for performing an imaging process that captures an image of a subject and generates an image file containing image data; a detection means for detecting tampering with the image file; and a control means that, when an image file that has been recorded in a recording means and then reproduced is subjected to processing, the detection means performs a process to detect tampering with the reproduced image file, and when processing is performed on the image data during the imaging process, the detection means does not perform a process to detect tampering with the image data.

2. The imaging apparatus according to claim 1, characterized in that, if the control means performs processing on the image data during the shooting process, it performs the processing on the image data before writing the image data to the recording means.

3. The imaging apparatus according to claim 1, characterized in that the control means does not add the history of the image file to the image file if tampering is detected by the detection means.

4. The imaging apparatus according to claim 1, characterized in that, if the control means performs processing on the image data during the shooting process, it records the history of the image data before the processing and the history of the image data after the processing in the image file.

5. The imaging apparatus according to claim 1, characterized in that the processing is an image processing that changes the subject.

6. The imaging apparatus according to claim 5, characterized in that the processing treatment is a skin beautifying treatment or a face slimming treatment.

7. The imaging apparatus according to claim 1, characterized in that the processing is an image processing that changes the impression of the image.

8. The imaging apparatus according to claim 7, characterized in that the processing is an image processing that includes any of the following: toy camera style, diorama style, oil painting style, watercolor style, fisheye style, monochrome style, soft focus style, or glitter effect.

9. The imaging apparatus according to claim 1, characterized in that the processing is a synthesis process that combines multiple images.

10. The imaging apparatus according to claim 9, characterized in that, when the control means performs the synthesis process on a plurality of image data captured before being recorded in the recording means during the imaging process, the detection means controls the imaging means and the detection means so as not to perform the process of detecting tampering with the plurality of image data.

11. The imaging apparatus according to claim 9, characterized in that, when the control means performs a synthesis process between the image data captured before being recorded in the recording means and the image data in the reconstructed image file during the imaging process, the detection means controls the imaging means and the detection means to perform a process to detect tampering with the image data in the reconstructed image file.

12. The imaging apparatus according to claim 9, characterized in that the synthesis process is an image processing process that includes any of HDR processing, depth of field processing, or multiple exposure processing.

13. A control method for an imaging device, comprising: an imaging step of performing an imaging process to capture an image of a subject and generate an image file containing image data; a detection step of detecting tampering with an image file; and a control step of controlling the imaging step and the detection step so as not to perform tampering detection with an image file if the image file has been recorded on a recording means and then reproduced, when the image file has been processed, when the detection step performs tampering detection with the reproduced image file, when the image data has been processed during the imaging process.

14. A program for causing a computer to execute each step of the control method for the imaging device described in claim 13.

15. A computer-readable storage medium storing a program for causing a computer to execute each step of the control method for the imaging device described in claim 13.

Citation Information

Patent Citations

  • Camera

    JP2007166495A

  • Digital camera and image handling system

    JP2008005421A

  • Imaging device and image verification device

    JP2012094978A

  • Information processing apparatus, method for controlling information processing apparatus, and program

    JP2024132596A