The disclosure of Japanese Patent Application No. 2010-51281, which was filed on Mar. 9, 2010, is incorporated herein 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 provided with an openable monitor portion on a side surface.
2. Description of the Related Art
According to one example of this type of apparatus, a motion of an imaging device is detected by using a camera-shake detecting sensor or a motion vector obtained from a video signal, and based on the motion detection result, an image stabilizing is performed by moving a cut out frame structure Bn (an effective photographing region) in a photographable maximum region.
However, in the above-described apparatus, in a case where a photographing is performed with inclining the imaging device in a manner of a camera shake being unrecognized, the recorded image becomes which is not based on a view point of a photographer, and thereby, visibility of the image may be deteriorated.
An electronic camera according to the present invention, comprises: an imager which outputs a scene image produced on an imaging surface capturing a scene; a rotator which performs a rotating process in a direction around an optical axis on the scene image outputted from the imager in response to a recording operation; a recorder which records the scene image rotated by the rotator on a recording medium; a determiner which determines a rotation of the imaging surface in the direction around the optical axis in response to the recording operation; and an adjuster which adjusts a rotation angle of the rotator to an angle different corresponding to a determined result of the determiner.
An imaging control method according to the present invention is an imaging control method executed by an electronic camera provided with an imager which outputs a scene image produced on an imaging surface capturing a scene, comprises: a rotating step of performing a rotating process in a direction around an optical axis on the scene image outputted from the imager in response to a recording operation; a recording step of recording the scene image rotated by the rotating step on a recording medium; a determining step of determining a rotation of the imaging surface in the direction around the optical axis in response to the recording operation; and an adjusting step of adjusting a rotation angle of the rotating step to an angle different corresponding to a determined result of the determiner.
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
Thus, the scene image produced in response to the recording operation is recorded on the recording medium via the rotating process for the angle which is different corresponding to a rotation state of the imaging surface in the direction around the optical axis. Thereby, it becomes possible to improve visibility of a recorded image.
With reference to
The digital video camera 10 has an SDRAM 24 as a memory device. Each potion configuring the digital video camera 10 writes data into the SDRAM 24 or reads out the data accommodated in the SDRAM 24 by issuing an access request toward a memory control circuit 22. In the access request, identification of read (reading out) or write (writing) and a head address and a size of the objective data are described. In a case of a reading-out request for image data, after an acknowledgment signal is sent back from the memory control circuit 22 to a request source, a designated size of the image data which is memorized in a region continued from the head address described in the access request is read out. In a case of a writing request for the image data, after the acknowledgment signal is sent back from the memory control circuit 22 to the request source, the designated size of the image data is outputted toward the memory control circuit 22. Then, through the memory control circuit 22, the outputted image data is accommodated in the region which continues from the head address described in the access request.
When a power source is applied, under an imaging task, a CPU 32 starts up a driver 18c in order to execute a moving-image taking process. In response to a vertical synchronization signal Vsync generated at every 1/60th of a second, the driver 18c exposes the imaging surface and reads out the electric charges produced on the imaging surface in a non-interlaced scanning manner. From the image sensor 16, raw image data representing the scene is outputted at a frame rate of 60 fps.
A pre-processing circuit 20 performs processes, such as digital clamp, pixel defect correction, and gain control, on the raw image data outputted from the image sensor 16. The raw image data on which such pre-processes are performed is written into a raw image area 24a (see
With reference to
A post-processing circuit 26 burst accesses the raw image area 24a through the memory control circuit 22 so as to read out the raw image data corresponding to the cut-out area CT1 in the non-interlaced scanning manner. The read-out raw image data is subjected to processes such as color separation, white balance adjustment, YUV conversion and zoom operation, and as a result, display image data is created. The created display image data is outputted from the post-processing circuit 26, and is written into a display image area 24b (see
An LCD driver 28 repeatedly reads out the display image data accommodated in the display image area 24b, reduces the read-out display image data so as to be adapted to the resolution of an LCD monitor 30, and drives the LCD monitor 30 based on the reduced display image data. As a result, a real-time moving image (through image) representing the scene is displayed on a monitor screen.
Moreover, the pre-processing circuit 20 simply converts the raw image data into Y data, and applies the converted Y data to the CPU 32. The CPU 32 performs an AE process on the Y data under an imaging-condition adjusting task so as to calculate an appropriate EV value. An aperture amount and an exposure time period defining the calculated appropriate EV value are respectively set to the drivers 18b and 18c, and as a result, the brightness of the through image is moderately adjusted. Furthermore, the CPU 32 performs an AF process on a high-frequency component of the Y data when an AF start-up condition is satisfied. The focus lens 12 is placed at a focal point by the driver 18a, and as a result, the sharpness of the through image is continuously improved.
Moreover, in order to detect a motion of the imaging surface in a direction orthogonal to an optical axis, the CPU 32 executes a motion-detection process under a cut-out control task. When a detected motion is equivalent to a pan/tilt operation of the imaging surface, the CPU 32 suspends to move the cut-out area CT1, and when the detected motion is equivalent to a camera shake of the imaging surface, the CPU 32 moves the cut-out area CT1 so that the camera shake is compensated. This inhibits a through-image vibration resulting from the camera shake.
When a recording start operation is performed toward a key input device 34, the CPU 32 accesses a recording medium 40 through an I/F 38 under the imaging task so as to newly create an MP4 file onto the recording medium 40 (the created MP4file is opened).
Upon completion of the process for creating and opening the file, the CPU 32 starts up the post-processing circuit 26, an H264 codec 36, and the I/F 38 under the imaging task in order to start a recording process.
The post-processing circuit 26 burst accesses the raw image area 24a through the memory control circuit 22 so as to read out the raw image data corresponding to the cut-out area CT1 in the non-interlaced scanning manner. The read-out raw image data is subjected to processes such as the color separation, the white balance adjustment, the YUV conversion and pixel rearranging, and as a result, recording-image data is created. The created recording-image data is outputted from the post-processing circuit 26 and is written into a recording image area 24c (see
The H264 codec 36 reads out the image data accommodated in the recording image area 24c through the memory control circuit 22, compresses the read-out image data according to an MPEG-4 AVC/H.264 system, and writes the compressed image data into an encoded image area 24d (see
The I/F 38 reads out the compressed image data accommodated in the recording image area 24c through the memory control circuit 22, and writes the read-out compressed image data into the MP4 file newly created onto the recording medium 40.
When a recording end operation is performed toward the key input device 34, the CPU 32 stops the post-processing circuit 26, the H264 codec 36, and the I/F 38 in order to end the recording process. Subsequently, the CPU 32 accesses the recording medium 40 through the I/F 38 so as to close the MP4 file that is a writing destination. The post-processing circuit 26 is configured as shown in
A color separating circuit 54 performs a color separation process on the raw image data accommodated in the SRAM 52. As a result, RGB image data in which each pixel has all color information of R, G, and B is generated. A white balance adjusting circuit 56 adjusts a white balance of the RGB image data outputted from the color separating circuit 54, and a YUV converting circuit 58 converts the RGB image data outputted from the white balance adjusting circuit 56 into YUV image data.
A zoom circuit 60 performs a reduction zoom on the YUV image data outputted from the YUV converting circuit 58 so as to create display image data in which the resolution (the number of pixels) is reduced. The created display image data is written into an SRAM 64.
A controller 62 issues the writing request toward the memory control circuit 22 each time an amount of data accommodated in the SRAM 64 reaches the threshold value so as to read out and output a predetermined amount of the display image data from the SRAM 64 when the acknowledgment signal is sent back from an issuance destination.
A pixel rearranging circuit 66 performs the process of rearranging the pixel on the YUV image data outputted from the YUV converting circuit 58 so as to create rearranged image data based on an image in which the raw image is rotated. Moreover, the created rearranged-image data is outputted. A selector 68 selects any one of an input A and an input B corresponding to the set photographing mode. The YUV image data outputted from the YUV converting circuit 58 is applied to the input A, and the rearranged image data outputted from the pixel rearranging circuit 66 is applied to the input B. Data selected by the selector 68 is written into an SRAM 72 as the recording-image data.
A controller 70 issues the writing request toward the memory control circuit 22 each time an amount of data accommodated in the SRAM 72 reaches the threshold value so as to read out and output a predetermined amount of the recording-image data from the SRAM 72 when the acknowledgment signal is sent back from the issuance destination.
With reference to
On the other hand, when a left-handed photographer, etc., holds the digital video camera 10 with his left hand, photographing is performed with a posture shown in
The digital video camera 10 has two photographing modes, i.e., a right-handed photographing mode and a left-handed photographing mode, and any one of photographing modes is set by an operation of the photographer toward the key input device 34. In a case where the digital video camera 10 is held in an upright posture by the right-handed photographer, etc., the photographer selects the right-handed photographing mode. In a case where the digital video camera 10 is held in upside down by the left-handed photographer, etc., the photographer selects the left-handed photographing mode. From the raw image area 24a of the SDRAM 24, the raw image data is read out from a head position (an upper left position) toward a tail end position (a lower right position) of the raw image data by each eight pixels, and is subjected to processes such as the color separation, the white balance adjustment and the YUV conversion. The selector 68 selects the input A if the photographing mode is set to the right-handed photographing mode (see
Similarly to the time of reading out the raw image data from the raw image area 24a, the recording image data is written into the SRAM 72 as a pixel configuring the recorded image data, from the upper left position toward the lower right position by each eight pixels. The created recorded image data is subjected to the compressing process described above, and is written into the MP4 file in the recording medium 40. With reference to
In a case where the photographing mode is set to the left-handed photographing mode, the selector 68 selects the input B (see
In a case where the input B is selected by the selector 68, the controller 70 controls so that the rearranged image data is written into the SRAM 72 by changing a scanning start position from the time of reading out the raw image data from the raw image area 24a. The eight pixels outputted from the pixel rearranging circuit 66 firstly are scanned from the upper left position of the photographed image, however, these are changed so as to be scanned from the eighth position counting from the lower right position to the left position of the image. The eight pixels which are read subsequently are changed so as to be scanned from the 16th position counting from the lower right position to the left position of the image.
Thereafter, the pixels are respectively changed so as to be scanned from the eight by Nth (N:1, 2, 3, . . . ) position counting from the lower right position to the left position of the image by each eight pixels. Upon completion of writing the lowest column of the image, writing of the second column from the bottom is started from the right side similarly to the above described process. Thereafter, the process is similarly performed until writing the top column. The created recorded image data is subjected to the compressing process described above, and written into the MP4 file in the recording medium 40.
The CPU 36 executes a plurality of tasks including the imaging task shown in
With reference to
The post-processing circuit 26 reads out a partial raw image data belonging to the cut-out area CT1 through the memory control circuit 22, and performs the processes such as the color separation, the white balance adjustment, the YUV conversion and pixel rearranging so as to create the recording image data, based on the read-out raw image data. Then, the created image data is written into the recording image area 24c through the memory control circuit 22.
The H264 codec 36 reads out the image data accommodated in the recording image area 24c through the memory control circuit 22, compresses the read-out image data according to the MPEG-4 AVC/H.264 system, and writes the compressed image data into the encoded image area 24d through the memory control circuit 22.
The I/F 38 reads out the compressed image data accommodated in the recording image area 24c through the memory control circuit 22, and writes the read-out compressed image data into the MP4 file created in the step S5.
In a step S9, it is determined whether or not the recording end operation is performed. When a determined result is updated from NO to YES, the process advances to a step S11 and then stops the post-processing circuit 26, the H264 codec 36, and the I/F 38 in order to end the recording process. In a step S13, the recording medium 40 is accessed through the I/F 38 so as to close the MP4 file in the opened state. Upon completion of closing the file, the process returns to the step S3.
With reference to
With reference to
As can be seen from the above-described explanation, the image sensor 16 outputs the scene image produced on the imaging surface capturing the scene. The post-processing circuit 26 performs the rotating process in the direction around the optical axis on the scene image outputted from the image sensor 16 in response to the recording operation. The I/F 38 records the scene image rotated by the post-processing circuit 26 on the recording medium 40. The CPU 32 determines the rotation of the imaging surface in the direction around the optical axis in response to the recording operation. Moreover, the CPU 32 adjusts the rotation angle of the post-processing circuit 26 to the angle which is different corresponding to the determined result.
Thus, the scene image produced in response to the recording operation is recorded on the recording medium via the rotating process for the angle which is different corresponding to the rotation state of the imaging surface in the direction around the optical axis. Thereby, it becomes possible to improve the visibility of the recorded image.
It is noted that, in this embodiment, the photographed image photographed by holding the digital video camera 10 upside down is rotated by 180 degrees as the recorded image. However, it is possible to adapt the present invention to a case of photographing by inclining the digital video camera 10 at an arbitrary angle. For example, in a case where the photographer holds the digital video camera 10 by inclining at 90 degrees from the upright posture to the right direction around the optical axis, the photographed image becomes as shown in
Moreover, whether the recording medium 40 is an internal memory or an external memory of the digital video camera 10, it is possible to adapt the present invention to the both cases. Furthermore, it is possible to adapt the present invention to a case where the recording medium 40 is installed in a device different from the digital video camera 10. In this case, encoded image data, etc. may be transmitted from the digital video camera 10 by wired or wireless communications.
Moreover, in this embodiment, the present invention is described by using a digital video camera, however, it is possible to adapt the present invention to a digital still camera.
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-51281 | Mar 2010 | JP | national |