The disclosure of Japanese Patent Application No. 2010-118963, which was filed on May 25, 2010, is incorporated here by reference.
1. Field of the Invention
The present invention relates to an electronic camera. More particularly, the present invention relates to an electronic camera which adjusts an imaging condition in response to a key operation.
2. Description of the Related Art
According to one example of this type of a camera, when an autofocus mode is set, the first photographing is performed with an autofocus. However, when a shutter key is fully depressed at once (i.e., in a very short time period) within a predetermined time period after the first photographing, a photographing is performed by directly using a previous (i.e., the first) AF value without autofocus controlling again. Thereby, it becomes possible to photograph a picture in focus without missing a photo-opportunity occurred near a photographed subject after the first photographing.
However, in the above-described camera, upon determining executing or suspending the autofocus controlling, a variation of the subject arisen during the first photographing and the second photographing is not considered. Thus, in the above-described camera, the imaging performance is limited.
An electronic camera according to the present invention comprises: an imager, having an imaging surface capturing a scene, which outputs an image; a specific key which is transitioned among a non-operated state, a first operated state and a second operated state; a sensor which senses the specific key being transitioned from the non-operated state to another state; a setter which sets a reference indicating a magnitude different depending on a state of the specific key, in response to a sensing of the sensor; an adjuster which adjusts an imaging condition based on the image outputted from the imager; and a controller which determines whether or not a variation of the scene captured by the imaging surface exceeds the reference set by the setter, so as to permit an adjusting process of the adjuster corresponding to a positive determined result while restrict the adjusting process of the adjuster corresponding to a negative determined result.
According to the present invention, a computer program embodied in a tangible medium, which is executed by a processor of an electronic camera provided with an imager, having an imaging surface capturing a scene, which outputs an image and a specific key which is transitioned among a non-operated state, a first operated state and a second operated state, the program comprises: a sensing instruction to sense the specific key being transitioned from the non-operated state to another state; a setting instruction to set a reference indicating a magnitude different depending on a state of the specific key, in response to a sensing based on the sensing instruction; an adjusting instruction to adjust an imaging condition based on the image outputted from the imager; and a controlling instruction to determine whether or not a variation of the scene captured by the imaging surface exceeds the reference set based on the setting instruction, so as to permit an adjusting process of the adjusting instruction corresponding to a positive determined result while restrict the adjusting process of the adjusting instruction corresponding to a negative determined result.
According to the present invention, an imaging control method executed by an electronic camera provided with an imager, having an imaging surface capturing a scene, which outputs an image and a specific key which is transitioned among a non-operated state, a first operated state and a second operated state, the imaging control method, comprises: a sensing step of sensing the specific key being transitioned from the non-operated state to another state; a setting step of setting a reference indicating a magnitude different depending on a state of the specific key, in response to a sensing of the sensing step; an adjusting step of adjusting an imaging condition based on the image outputted from the imager; and a controlling step of determining whether or not a variation of the scene captured by the imaging surface exceeds the reference set by the setting step, so as to permit an adjusting process of the adjusting step corresponding to a positive determined result while restrict the adjusting process of the adjusting step corresponding to a negative determined result.
According to the present invention, an external control program supplied to an electronic camera provided with an imager, having an imaging surface capturing a scene, which outputs an image; a specific key which is transitioned among a non-operated state, a first operated state and a second operated state; and a processor which executes a process according to an internal control program stored in a memory, the external control program causing the processor to execute, in cooperation with the internal control program, a sensing step of sensing the specific key being transitioned from the non-operated state to another state, a setting step of setting a reference indicating a magnitude different depending on a state of the specific key, in response to a sensing of the sensing step, an adjusting step of adjusting an imaging condition based on the image outputted from the imager and a controlling step of determining whether or not a variation of the scene captured by the imaging surface exceeds the reference set by the setting step, so as to permit an adjusting process of the adjusting step corresponding to a positive determined result while restrict the adjusting process of the adjusting step corresponding to a negative determined result.
An electronic camera according to the present invention provided with an imager, having an imaging surface capturing a scene, which outputs an image; a specific key which is transitioned among a non-operated state, a first operated state and a second operated state; a taker which takes an external control program; and a processor which executes a process according to the external control program taken by the taker and an internal control program stored in a memory, wherein the external control program is equivalent to a program which executes, in cooperation with the internal control program, a sensing step of sensing the specific key being transitioned from the non-operated state to another state, a setting step of setting a reference indicating a magnitude different depending on a state of the specific key, in response to a sensing of the sensing step, an adjusting step of adjusting an imaging condition based on the image outputted from the imager and a controlling step of determining whether or not a variation of the scene captured by the imaging surface exceeds the reference set by the setting step, so as to permit an adjusting process of the adjusting step corresponding to a positive determined result while restrict the adjusting process of the adjusting step corresponding to a negative determined result.
The above described features and advantages of the present invention will become more apparent from the following detailed description of the embodiment when taken in conjunction with the accompanying drawings.
With reference to
When the specific key 2 is transitioned from the non-operated state to the first operated state or the second operated state, the reference is set. The magnitude of the reference differs depending on whether a transition destination is either the first operated state or the second operated state. The adjusting process for the imaging condition is permitted when the variation of the scene exceeds the reference, and is restricted when the variation of the scene is equal to or less than the reference. That is, the adjusting process for the imaging condition is permitted or restricted by considering an operation manner of the specific key 2 and the variation of the scene. Thereby, an imaging performance is improved.
With reference to
A plurality of light receiving elements (=pixels) are placed two-dimensionally on the imaging surface, and the imaging surface is covered with a primary color filter having a Bayer array (not shown). The light receiving elements placed on the imaging surface correspond one by one to filter factors configuring the color filter, and an amount of electric charges produced by each light receiving element reflects an intensity of light corresponding to color of R, (or B.
When a power source is applied, a CPU 34 commands a driver 18c to repeat an exposure procedure and an electric-charge reading-out procedure in order to execute a moving-image taking process. In response to a vertical synchronization signal Vsync outputted from an SG (Signal Generator) not shown, the driver 18c exposes the imaging surface and reads out the electric charges produced thereby in a raster scanning manner. From the imaging device 16, raw image data that is based on the read-out electric charges is cyclically outputted. The outputted raw image data is equivalent to image data in which each pixel has color information of any one of R, G, and B.
A signal processing circuit 20 creates RGB-formatted image data in which each pixel has all the color information items of R, G, and B by performing a color separation process on the raw image data outputted from the imaging device 16, performs a white balance adjusting process on the created image data, and then, converts a format of the image data having the adjusted white balance to a YUV format. The converted YUV-formatted image data is written into an SDRAM 24 through a memory control circuit 22.
An LCD driver 26 repeatedly reads out the image data accommodated in the SDRAM 24 through the memory control circuit 22, and drives an LCD monitor 28 based on the read-out image data. As a result, a moving image (the live view image) representing the scene is displayed on a monitor screen.
With reference to
A luminance evaluating circuit 30 integrates the raw image data outputted from the imaging device 16 for each divided area, and outputs 256 integral values (256 luminance evaluation values). A focus evaluating circuit 32 integrates a high-frequency component of Y data produced by a YUV conversion for each divided area, and outputs 256 integral values (256 focus evaluation values). These integral processes are executed every time the vertical synchronization signal Vsync is generated, and in response to the vertical synchronization signal Vsync, the luminance evaluation value and the focus evaluation value are outputted from the luminance evaluating circuit 30 and the focus evaluating circuit 32.
A shutter button 36s arranged in a key input device 36 is transitioned among states ST0 to ST2. “ST0” is equivalent to the non-operated state, “ST1” is equivalent to a half-depressed state, and “ST2” is equivalent to a fully-depressed state. Thus, the shutter button 36s is transitioned from the state ST0 to the state ST2 via the state ST1.
When the shutter button 36s is in the state ST0, the CPU 34 repeatedly executes a simple AE process in order to calculate an appropriate EV value based on the luminance evaluation value outputted from the luminance evaluating circuit 30. An aperture amount and an exposure time period that define the calculated appropriate EV value are set to the drivers 18b and 18c, respectively, and thereby, a brightness of the live view image is adjusted approximately.
When the shutter button 36s is transitioned from the state ST0 to another state, the CPU 34 permits or restricts to execute a strict AE process and an AF process by considering an operation manner of the shutter button 36s and the variation of the scene captured by the imaging surface.
The strict AE process is executed with reference to a plurality of luminance evaluation values outputted from the luminance evaluating circuit 30, and thereby, an optimal EV value is calculated. An aperture amount and an exposure time period that define the calculated optimal EV value are also set to the drivers 18b and 18c, respectively, and thereby, the brightness of the live view image is adjusted to an optimal value.
In parallel with a movement of the focus lens 12, the AF process is executed with reference to a plurality of the focus evaluation values outputted from the focus evaluating circuit 32. A focal point is searched by noticing a change of the plurality of focus evaluation values, and the focus lens 12 is placed at thus discovered focal point. Thereby, a sharpness of the live view image is improved.
When the shutter button 36s is transitioned to the state ST2, the CPU 34 executes a still-image taking process. One frame of image data representing the scene at a time point at which the shutter button 36s is transitioned to the state ST2 is evacuated to a work area (not shown) arranged in the SDRAM 24. Upon completion of the still-image taking process, the CPU 34 starts up an I/F 38 for a recording process. The I/F 38 reads out the image data evacuated to the work area through the memory control circuit 22 so as to record the read-out image data in a recording medium 40 in a file format.
With reference to
When the shutter button 36s is in the state ST0, a process of setting a total luminance Yttl_ae equivalent to a total sum of the 256 luminance evaluation values outputted from the luminance evaluating circuit 30 to a reference value Yref_af is repeatedly executed in parallel with the above-described simple AE process. When the shutter button 36s having been transitioned to a state different from the state ST0 is sensed, the transition destination is further sensed so as to set threshold values TH_ae and TH_af with a procedure different depending on the sensed transition destination.
With reference to
Here, the coefficient Kae2 is larger than the coefficient Kae1, and the coefficient Kaf2 is larger than the coefficient Kaf1. Moreover, the coefficients Kae2 and Kaf2 are selected when the shutter button 36s is fully depressed at once, i.e., when the shutter button 36s is transitioned from the non-operated state to the fully-depressed state in a very short time.
Upon completion of setting the threshold values TH_ae and TH_af, the total sum of the 256 luminance evaluation values outputted from the luminance evaluating circuit 30 thereafter is calculated as the total luminance Yttl_ae. Moreover, a total sum of 256 weighted values obtained by performing a predetermined weighting to the same 256 luminance evaluation values is calculated as a total luminance Yttl_af. The total luminance Yttl_ae is applied to Equation 1 for calculating a luminance change amount ΔY_ae, and the total luminance Yttl_af is applied to Equation 2 for calculating a luminance change amount ΔY_af.
ΔY—ae=|Yref—ae−Yttl—ae| [Equation 1]
ΔY—af=|Yref—af−Yttl—af| [Equation2]
Here, “Yref_ae” is equivalent to the total luminance Yttl_ae which is calculated immediately before the shutter button 36s is transitioned from the state ST0 to another state. Thus, the luminance change amount ΔY_ae represents a change amount of the total luminance Yttl_ae before and after the shutter button 36s is transitioned from the state ST0 to another state. Since the simple AE process is repeated in parallel with calculating the total luminance Yttl_ae, the luminance change amount ΔY_ae is regarded as one of parameters defining the variation of the scene captured by the imaging surface.
Moreover, “Yref_af” is equivalent to the total luminance Yttl_af which is calculated immediately after the shutter button 36s is transitioned from the state ST0 to another state. However, as shown in
The strict AE process is permitted when the luminance change amount ΔY_ae calculated according to Equation 1 exceeds the threshold value TH_ae set according to the above-described procedure. Moreover, the AF process is permitted when the luminance change amount ΔY_af calculated according to Equation 2 exceeds the threshold value TH_af set according to the above-described procedure. In other words, the strict AE process is restricted when the luminance change amount ΔY_ae is equal to or less than the threshold value TH_ae, and the AF process is restricted when the luminance change amount ΔY_af is equal to or less than the threshold value TH_af.
As can be seen from
Thus, a reference in which the strict AE process and the AF process are permitted becomes higher corresponding to the transition from the state ST0 to the state ST2 while becomes lower corresponding to the transition from the state ST0 to the state ST1. That is, when half-depressing the shutter button 36s is sensed, the strict AE process and the AF process tend to be easily permitted while when depressing the shutter button 36s at once is sensed, these processes tend to be hard to permit.
Under a multi task operating system such as the μlTRON, the CPU 34 executes a plurality of tasks including an imaging task shown in
With reference to
With reference to
In a step S29, it is determined whether or not the state of the shutter button 36s is “ST0”. When a determined result is YES, i.e., when the shutter button 36s maintains the state ST0, the process advances to a step S31 so as to execute the simple AE process with reference to the luminance evaluation values taken in the step S23. As a result, the brightness of the live view image is adjusted approximately. Upon completion of the simple AE process, the process returns to the step S23.
When a determined result of the step S29 is NO, it is regarded that the state of the shutter button 36s is transitioned from “ST0” to “ST1” or “ST2”, and the process advances to a step S33. In the step S33, it is determined whether the transition destination is either the state ST1 or the state ST2 so as to execute processes in steps S35 to S37 corresponding to a determined result indicating the state ST1 while execute processes in steps S39 to S41 corresponding to the determined result indicating the state ST2.
When the state of the shutter button 36s is “ST0” at a time point of the process in the step S29, the process in the step S29 is executed again via the steps S31, S23 to S27. When the state of the shutter button 36s is “ST2” at this time point, the process advances to the step S39 via the step S33.
That is, the process advances to the step S39 when the state of the shutter button 36s is transitioned from “ST0” to “ST2” in a very short time (when “depressing at once” of the shutter button 36s is performed).
In the step S35, the coefficient Kae1 is set to the threshold value TH_ae, and in a step S37, the coefficient Kaf1 is set to the threshold value TH_af. In the step S39, the coefficient Kae2 is set to the threshold value TH_ae, and in the step S41, the coefficient Kaf2 is set to the threshold value TH_af.
In a step S43, the 256 luminance evaluation values outputted from the luminance evaluating circuit 30 are taken. In a subsequent step S45, the total sum of the taken 256 luminance evaluation values is calculated as the total luminance Yttl_ae, and concurrently, the total sum of 256 weighted values obtained by performing the predetermined weighting to the same 256 luminance evaluation values is calculated as the total luminance Yttl_af. In a step S47, the luminance change amount ΔY_ae is calculated according to Equation 1, and in a step S49, the luminance change amount ΔY_af is calculated according to Equation 2.
In a step S51, it is determined whether or not the luminance change amount ΔY_ae exceeds the threshold value TH_ae. When a determined result is YES, the strict AE process is executed in a step S53, and thereafter, the process advances to a step S55 while when the determined result is NO, the process directly advances to the step S55. In the step S55, it is determined whether or not the luminance change amount ΔY_af exceeds the threshold value TH_af. When a determined result is YES, the AF process is executed in a step S57, and thereafter, the process advances to a step S59 while when the determined result is NO, the process directly advances to the step S59. The brightness of the live view image is adjusted to the optimal value by the strict AE process, and the sharpness of the live view image is improved by the AF process.
In the step S59, it is determined whether or not the state of the shutter button 36s is “ST2”, and in a step S61, it is determined whether or not the state of the shutter button 36s is “ST0”. When a determined result of the step S59 is YES, the recording instruction is issued in a step S63, the total luminance Yttl_af calculated in the step S45 is set to the reference value Yref_af in a step S65, and thereafter, the process returns to the step S23. On the other hand, when YES is determined in the step S61, the process directly returns to the step S23 while when NO is determined both in the steps S59 and S61, the process returns to the step S59.
As can be seen from the above-described explanation, the imaging device 16 has the imaging surface capturing the scene, and repeatedly outputs the scene image. The shutter button 36s is transitioned among the non-operated state, the half-depressed state and the fully-depressed state. The CPU 34 senses the shutter button 36s being transitioned from the non-operated state to another state (S29), and sets the threshold values TH_ae and TH_af to the magnitudes different depending on the state of the shutter button 36s (S33 to S41). Moreover, the CPU 34 calculates the luminance change amounts ΔY_ae and ΔY_af as the parameters indicating the variation of the scene captured by the imaging surface (S47, S49), executes the strict AE process when the luminance change amount ΔY_ae exceeds the threshold value TH_ae, and concurrently, executes the AF process when the luminance change amount ΔY_af exceeds the threshold value TH_af (S51 to S57). When the shutter button 36s is transitioned to the fully-depressed state, the CPU 34 records the scene image outputted from the imaging device 16 in the recording medium 40 (S63, S7).
Thus, when the shutter button 36s is transitioned from the non-operated state to the half-depressed state or the fully-depressed state, the threshold values TH_ae and TH_af are set. The magnitudes of the threshold values TH_ae and TH_af differ depending on whether the transition destination is either the half-depressed state or the fully-depressed state. The strict AE process is permitted when the luminance change amount ΔY_ae exceeds the threshold value TH_ae, and the AF process is permitted when the luminance change amount ΔY_af exceeds the threshold value TH_af. In other words, the strict AE process is restricted when the luminance change amount ΔY_ae is equal to or less than the threshold value TH_ae, and the AF process is restricted when the luminance change amount ΔY_af is equal to or less than the threshold value TH_af. That is, the strict AE process and the AF process are executed or restricted by considering the operation manner of the shutter button 36s and the variation of the scene. Thereby, the imaging performance is improved.
It is noted that, in this embodiment, the control programs equivalent to the multi task operating system and the plurality of tasks executed thereby are previously stored in the flash memory 42. However, as shown in
Moreover, in this embodiment, the processes executed by the CPU 34 are divided into the imaging task shown in
Furthermore, in this embodiment, the shutter button 36s is transitioned from the state ST0 to the state ST2, always via the state ST1. However, a lever in which the state ST0 is allocated to a center and the states ST1 and ST2 are allocated to both ends respectively may be installed instead of the shutter button 36s. In this case, the lever is directly transitioned to the state ST2 bypassing the state ST1.
Although the present invention has been described and illustrated in detail, it is clearly understood that the same is by way of illustration and example only and is not to be taken by way of limitation, the spirit and scope of the present invention being limited only by the terms of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2010-118963 | May 2010 | JP | national |