The present invention relates to an image sensing apparatus, a method thereof, a storage medium and a computer program, and in particular, to a suitable technology for processing a moving image and a still image in parallel for instance.
A conventional image sensing apparatus, which captures a high density still image when instructed to capture a still image by external manipulation while sensing a moving image, is provided. For example, the apparatus has multiple image processing systems, one for still and another for moving image, and processes a still image in a still image system. The still image to be processed is constructed with several frames by sequentially processing area portions of a screen separated by a frame period or a field period, refer to Japanese Patent Laid-Open No. 2001-326896.
For another example, an apparatus having an image sensing device for reading out moving and still images in separate modes is provided. The apparatus can switch to still image reading on receipt of a still image continuous sensing command while storing a moving image, to continuously shoot only preset number of still images, and repeatedly processes one moving image and one still image. It is arranged to lower a frame rate of moving image data to process the still image in this case, refer to Japanese Patent Laid-Open No. 2003-158653.
As for the conventional examples, however, No. 2001-326896 has problems that its LSI chip area increases because it is arranged to have multiple image processing blocks for the still images and for the moving images. Also, power consumption increases because it performs simultaneous parallel image processing of the moving image and still image. As for No. 2003-158653, there is a problem that the frame rate of the moving image lowers on capturing the still image while storing the moving image.
In view of the aforementioned problems, an object of the present invention is to allow parallel processing of a moving image and a still image without lowering a frame rate of the moving image.
A further object is to prevent an area of image processing chip from increasing.
To solve the problems, the present invention provides an image sensing apparatus and the like comprising: imaging means: image reducing means for reducing an image size from imaging data obtained from the imaging means; moving image configuring means for rendering an image reduced by the image reducing means as a moving image; image processing means for image-processing image data; network communication means; and image data storing means for storing frame image data obtained from the imaging means in response to a control instruction from outside while taking a moving image, and wherein: the image data stored in the image data storing means is image-processed by dividing it into non-operating periods of moving image processing per frame configuring the moving image.
According to the present invention described above, it is possible, when capturing a still image of a larger size than a moving image while taking the moving image, to deliver it on a network or record it without lowering the frame rate of the moving image at all.
Furthermore, continuous sensing of large-screen still images while taking the moving image becomes possible within the entire pixel memory amount, and continuous sensing by VD becomes possible so as to obtain the images continuously shot at the same speed as moving image frames.
Furthermore, it is not necessary to have multiple image processing circuit blocks, and so the control can be realized with no need to increase a circuit scale on rendering it as LSI. It is possible to reduce power consumption of circuits by preventing the increase in the circuit scale. It is also possible to save electric power on processing the moving image because a period for reducing the still image for the sake of configuring the moving image is limited to a VD period in which all the pixels of the still image are being read out.
Furthermore, it is possible, when capturing the still image while taking the moving image with an image sensing device requiring a mechanical shutter, to reduce the frames blacking out as the moving image. Thus, it is possible to provide the image with little discomfort as the moving image.
Furthermore, it is possible to realize a process capable of handling any high-pixel image sensing device. It is possible, by speeding up moving image processing, to reduce the number of divisions of the still image, reduce a still image processing period, increase the number of frames of large-screen still image continuous sensing. Further, it is possible to cut down on the entire pixel memory amount if the large-screen still image continuous sensing is within a prescribed number of frames.
Other features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which like reference characters designate the same or similar parts throughout the figures thereof.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
FIGS. 1 to 3 are diagrams representing the first embodiment of the present invention.
In configuration order of
Reference numeral 4 indicates a timing generator for controlling timing of the image sensing device 1 and the AD conversion portion 3. Reference numeral 5 indicates moving image and still image processing means for dividing the data AD converted by the AD conversion portion 3 into moving image signals and still image signals to reduce and buffer the images.
Reference numeral 6 indicates a memory for storing frame image data for still image divided by the moving image and still image processing means 5. This embodiment indicates an RAM which is just an example, and it is not limited thereto if it is an element having access speed of a sufficient level.
Reference numeral 7 indicates an image processing portion for performing a processing procedure of moving image data and still image data obtained from the moving image and still image processing means 5. Reference numeral 8 indicates a memory for temporarily storing processed data and unprocessed data when processing the images in the image processing portion 7. This embodiment indicates an RAM which is just an example, and it is not limited thereto if it is an element having access speed of a sufficient level.
Reference numeral 9 indicates a CPU as control means for controlling a system of this embodiment. Reference numeral 10 indicates an encode processing portion for compressing the data image-processed by the image processing portion 7 according to a predetermined format. As the image format is compliant with a standard such as JPEG or MPEG, this embodiment describes it as a JPEG encoder though it is not particularly limited thereto.
Reference numeral 11 indicates switching means for switching whether to record or communicate on the network the moving image data and still image data compressed by the encode processing portion 10. Reference numeral 12 indicates a network communication portion for communicating a communication command from an external network or delivering or communicating the moving image and still image processed in each of the blocks 1 to 11 to the outside.
Reference numeral 13 indicates a storage as storing means for storing the moving image data or still image data in the image sensing apparatus of this embodiment. While
Reference numeral 14 indicates an infrared remote control receiving portion for receiving a remote control command from outside. Reference numeral 15 indicates a key input portion directly operable by the user from outside.
The configuration is configured by one chip when rendering as LSI each of the blocks of the AD conversion portion 3, the timing generator 4, moving image and still image processing means 5, image processing portion 7, CPU 9, encode processing portion 10 and switching means 11. It is also possible, instead of rendering them one-chip, to configure each of the processing blocks separately or render them as an LSI configuration which is convenient for implementation of the devices.
Next,
Reference numeral 16 indicates storing means for storing readout data corresponding to all the pixels of the image sensing device 1 with the imaging data AD converted by the AD conversion portion 3 as the still image data when capturing the still image in response to external control command input.
Reference numeral 17 indicates reduction processing means for reducing the imaging data corresponding to all the pixels AD converted by the AD conversion portion 3 to an image size configuring the moving image. Reference numeral 18 indicates a buffer memory for holding the reduced image data from the reduction processing means 17 for a predetermined period and buffering the data.
Reference numeral 19 indicates selecting means for selecting image processing of the moving image and the still image in response to control from the CPU 9. Reference numeral 20 indicates a transmitter for generating a clock necessary for operation of this system, and reference numeral 21 indicates a PLL circuit for multiplying a frequency of the transmitter of the selecting means 19 to set it at a fast frequency.
A description will be given by using a timing chart of
In lowering order of the signals of
In a data flow on sensing the moving image normally, the period up to the point described by a downward arrow as still image capture in
(Moving Image Sensing Period)
The control means 9, via the timing generator 4, controls the image sensing device 1 ready for reading out all the pixels to start reading out the imaging data corresponding to all the pixels. Next, according to timing of the timing generator 4, the data digitized by the AD conversion portion 3 undergoes image reduction by reduction processing means 217 and temporary buffering of the reduced image data by the buffer 18 in order of pieces of the data read out. The reduced and buffered image data is configure for the moving image.
The image data for the moving image temporarily buffered in the buffer 18 is selected by the selecting means 19. After elapse of a predetermined time from the start of moving image buffering in
In this case, a high-speed clock is supplied by the PLL circuit 21, and high-speed processing is realized by the image processing portion 7. The contents to be image-processed in the description indicate a normal processing procedure, which perform a filtering process of the image and a correction process of luminance, color difference and the like thereof to create an optimal image. As details of the processing contents are techniques heretofore known, and are different depending on points of view of manufacturers and the like relating to the images, a description thereof will be omitted.
As the image processing portion 7 performs various kinds of image processing, there is the memory 8 of
Next, the data having completed the image processing configures one image within a frame period which is 1 VD period, and the data is passed to the encode processing portion 10 which is the next processing block. The encode processing portion 10 compresses the image-processed data in the JPEG format as a preset and predetermined image format. Whether the encoded data is stored in the storage inside the image sensing apparatus or communicated to an external destination via the network communication portion 12 is switched by the switching means 11.
The image sensing apparatus is in such a state, because the CPU 9 operates in a moving image sensing mode in response to a control instruction from outside. The destination of the moving image data is set correspondingly to a control command controlled from outside in advance, and is in a state of either communicating the moving image data to external devices via the network communication portion 12 or storing the moving image data sequentially in the storage 13.
(Capture Still Image)
A description will be given as to the case where the CPU 9 receives a command for requesting a capture of a still image of a size larger than the image size configuring the moving image from any one of the network communication portion 12, infrared remote control receiving portion 14 and key input portion 15 during the aforementioned moving image sensing. In the case of receiving the command at the point described as still image capture shown in
At the same time, the reduction and buffering operations of the moving image data by the above described reduction processing means 17 and buffer 18 and the storing process of the still image by the storing means 16 are executed in parallel within the same period. The data stored in the memory 6 for the still image is passed, to perform the image processing of the still image data, to the image processing portion 7 at time other than moving image processing time in a period after counting predetermined VD periods (that is, including a next count) as shown in blanks in
When image-processing the still image not to influence moving image processing time in the same image processing portion, it is not possible to perform data processing of the entire data of one still image of a size larger than the moving image. Therefore, the still image is processed by having each frame of the still image divided into the preset image areas and processing image data in the divided area within non-processing time, as shown in a blank in
According to this embodiment, the moving image normally has a VGA size (640×480) while the still image is represented in a still image size (size corresponding to all the pixels) of 1280×960 which is twice larger vertically and horizontally. In the case, the number of divided areas is four. In another case of the still image size corresponding to a larger image size for instance, the number of divided areas is increased and the still image is processed in a unit of the divided area as described above. In the case of the image size twice larger vertically and horizontally than 1280×960 for instance, the still image is processed by dividing it into 16 pieces. However, this is just an example, and the number of divisions is set up according to the still image size, moving image size and so on.
Thus, the number of divisions is corresponding to the number of VD frames so that the image processing of the still image is completed with a time period equivalent to 4 VDs elapsed in the case of 4 divided areas. The moving image data then undergoes a JPEG image compression process sequentially in an image compression processing portion which is the encode processing portion 10 so as to be configured as a Motion-JPEG image.
After the compression process, the moving image is stored in the storage 13 for storing the moving image sensing described above or has its data passed to the network communication portion 12. As for the still image, the divided image data is sequentially stored in the memory 8 once by the image processing portion 7, and is passed to the encode processing portion 10 as the still image after completely storing the image data of one frame image so as to undergo a JPEG compression process.
When a block of the still image to be encoded in this case is 1 block, after receiving a moving image communication or storage finish command, it is delivered as one still image by the network communication portion 12 in the case of communication, or is recorded as one still image in the storage in the case of the storage. In the case where the encode processing portion 10 is capable of high-speed processing, however, it may be arranged to compress one still image in non-compression processing time of a moving image after image-processing of one still image finishes, but not after receiving the moving image communication or storage finish command.
In the case of receiving a still image capture command from outside again during a still image division processing (including a successive capture request) in the above description, still image capture operations are successively performed to the extent of not causing the captured image data to overflow the amounts of the memories 6 and 8.
As a first effect of realizing this embodiment as described above, it is possible, even when capturing the still image of a larger size than the moving image while taking the moving image, to deliver the moving image on the network or record the moving image without lowering the frame rate of the moving image at all.
As a second effect, successive capture of large still images while taking the moving image becomes possible within the amount of the entire pixel memory 6. That is, successive capture during continuous VDs becomes possible so as to obtain the images successively capture at the same speed as moving image frames.
As a third effect, it is not necessary to have multiple different image processing circuit blocks, one for the moving image and another for the still image, and so the control function can be realized with no need to increase the circuit scale on designing the circuits as LSI.
As a fourth effect, it is possible to reduce power consumption of the circuits by preventing the increase in the circuit scale.
The configuration of
Therefore, the timing chart of
In lowering order of the signals of
Next, the contents of the present invention will be described along with the timing chart.
(Moving Image Sensing Period)
First, in a data flow on sensing the moving image normally, the period up to the point described by a downward arrow as the still image capture in
Next, according to the timing of the timing generator 4, the image data digitized by the AD conversion portion 3 undergoes image reduction by reduction processing means 17 in order of pieces of the image data read out so as to configure the processed image for the moving image. It is different from the first embodiment in that the reduced image is not buffered in the buffer 18.
Here, the moving image data is selected by the selecting means 19, and the moving image processing shown in
As the image processing portion 7 performs various kinds of image processing, there is the memory 8 for temporarily buffering the image data on connecting the kinds of image processing sequentially in chronological order, which passes and receives the data to and from the image processing portion 7. Memory access and the like of the image processing portion are a technique heretofore known, and so a description thereof will be omitted.
Next, the data having completed the image processing configures one image within a frame period which is 1 VD period, and the data of one frame image is passed to the encode processing portion 10 which is the next processing block. The encode processing portion 10 compresses the image-processed data in the JPEG format as a preset and predetermined image format. Whether the encoded data is stored in the storage inside the image sensing apparatus or communicated to an external destination via the network communication portion 12 is switched by the switching means 11.
The image sensing apparatus is in such a state, because the CPU 9 operates in a moving image sensing mode in response to a control instruction from outside. The destination of the moving image data is set correspondingly to a control command controlled from outside in advance, and is in a state of either communicating the moving image data to external devices via the network communication portion 12 or storing the moving image data sequentially in the storage 13.
(Capture Still Image)
A description will be given as to the case where the CPU 9 receives a command for requesting a capture of a still image of a size larger than the image size configuring the moving image from any one of the network communication portion 12, infrared remote control receiving portion 14 and key input portion 15 during the aforementioned moving image sensing.
In the case of receiving the command at the point described as the still image capture shown in
At the same time, the reduction processing is sequentially executed by the reduction processing means 17 in timing of the periods of the reduction processing means of
When image-processing the still image, it is not possible to pass the entire data of one frame still image. Therefore, the still image processing is performed to each image area obtained by dividing the still image into the preset image areas within time which is non-processing time not performing the moving image processing as shown in
According to this embodiment, the moving image data undergoes the JPEG image compression process sequentially in encode processing portion 10 so as to be configured as a Motion-JPEG image. The moving image is stored in the storage 13 of
As for the still image, the divided image data is sequentially stored in the memory 8 once by the image processing portion 7. Then, the still image data is passed to the encode processing portion 10 so as to undergo the JPEG compression process after completely storing the data of one still image. When a block of the still image encoded in this case is 1 block, after receiving a moving image communication or storage finish command, it is delivered as one still image by the network communication portion 12 in the case of communication, or is recorded as one still image in the storage 13 in the case of the storage. In the case where the encode processing portion 10 is capable of high-speed processing, however, it may be arranged to compress one still image in non-compression processing time of a moving image after image-processing of one still image finishes, but not after receiving the moving image communication or storage finish command.
In the case of receiving a still image capture command from outside again during a still image division processing (including a successive capture request) in the above description, still image capture operations are successively performed to the extent of not causing the captured image data to overflow the amounts of the memories 6 and 8.
In the second embodiment, the non-processing time other than the moving image processing time is shorter than the time described in the first embodiment. However, it is possible to have entirely satisfactory processing time under this method when the image sizes of the moving image and still image are smaller.
As a first effect of realizing this embodiment as described above, it is possible, even when capturing the still image of a larger size than the moving image while taking the moving image, to deliver the moving image on the network or record the moving image without lowering the frame rate of the moving image at all.
As a second effect, successive capture of large still images while taking the moving image becomes possible within the amount of the entire pixel memory 6. That is, successive capture during continuous VDs becomes possible so as to obtain the images successively capture at the same speed as moving image frames.
As a third effect, it is not necessary to have multiple different image processing circuit blocks, one for the moving image and another for the still image, and so the control function can be realized with no need to increase the circuit scale on designing the circuits as LSI.
As a fourth effect, it is possible to reduce power consumption of the circuits by preventing the increase in the circuit scale.
As a fifth effect, it is possible to further improve the third and fourth effects because the buffer 18 is not necessary for moving image.
In
Reference numeral 3 indicates an AD conversion portion in control of AD conversion for digital-converting analog imaging data from the image sensing device 1 correspondingly to a predetermined quantization bit. Reference numeral 4 indicates a timing generator for controlling timing of the image sensing device 1 and the AD conversion portion 3. Reference numeral 7 indicates an image processing portion for performing a processing procedure of the image data AD converted by the AD conversion portion 3.
Reference numeral 8 indicates a memory for temporarily storing processed data and unprocessed data when processing the images in the image processing portion 7. This embodiment indicates an RAM which is just an example, and it is not limited thereto if it is an element having access speed of a sufficient level. Reference numeral 9 indicates a CPU as control means for controlling the system of this embodiment.
Reference numeral 10 indicates an encode processing portion for compressing the data processed by moving image and still image processing means 24 according to a predetermined format. As the image format is compliant with a standard such as JPEG or MPEG, this embodiment describes it as a JPEG encoder though it is not particularly limited thereto.
Reference numeral 11 indicates switching means for switching whether to record or communicate on the network the moving image data and still image data compressed by the encode processing portion 10. Reference numeral 12 indicates a network communication portion for communicating a communication command from an external network or delivering or communicating the moving image and still image processed in each of the processing portions to the outside.
Reference numeral 13 indicates a storage as storing means for storing the moving image data or still image data in the image sensing apparatus of this embodiment. While
Reference numeral 15 indicates a key input portion directly operable by the user from outside. Reference numeral 23 indicates a memory which is image data storing means for storing still image frame image data divided by the moving image and still image processing means 24 described later. This embodiment indicates an RAM which is just an example, and it is not limited thereto if it is an element having access speed of a sufficient level.
Reference numeral 24 indicates moving image and still image processing means for separating the image data processed by the image processing portion 7 to moving image signals and still image signals to reduce and/or buffer the images. Reference numeral 25 indicates image composing means for composing the image data (mainly still image data) switched by the switching means 11.
The configuration is configured by one chip when rendering as LSI each of the blocks of the AD conversion portion 3, the timing generator 4, image processing portion 7, CPU 9, encode processing portion 10, switching means 11, moving image and still image processing means 24 and image synthesizing means 25 of
Next,
In
Reference numeral 26 indicates storing means for storing the image processing data processed by the image processing means 7 corresponding to the entire pixel data during 1 VD frame period as the still image data, when capturing the still image in response to external control command input. Reference numeral 27 indicates reduction processing means for reducing the image-processed data corresponding to the entire pixel data of the image sensing device 1 to the image size configuring the moving image.
Reference numeral 28 indicates switching means for switching the image compression process of the moving image and still image in response to control from the CPU 9 which is the control means. Reference numeral 29 indicates a transmitter for generating a clock necessary for operation of this system. Reference numeral 30 indicates a PLL circuit for multiplying the frequency of the transmitter 29 to set it at a fast frequency.
A description will be given by using the timing chart of
In lowering order of the signals of
(Moving Image Sensing Period)
First, in a data flow on sensing the moving image normally, the period up to the point described by a downward arrow as the still image capture in
Next, to perform the moving image processing shown in
As the image processing portion 7 performs various kinds of image processing, there is the memory 8 for temporarily buffering the image data on connecting the kinds of image processing sequentially in chronological order, which passes and receives the data to and from the image processing portion 7. As memory access and the like of the image processing portion is a technique heretofore known, a description thereof will be omitted.
Next, the image of the image data processed correspondingly to all the pixels by the image processing portion 7 and having undergone an image reduction process by the reduction processing means 27 is configured for the moving image. The switching means 28 selects the moving image. The encode processing portion 10 has the reduced moving image reduced by the reduction processing means 27 in the timing shown in
The switching means 11 switches whether to store the compressed data in the storage 13 inside the image sensing apparatus or to communicate the compressed data to an external destination via the network communication portion 12.
As the image sensing apparatus is in such a state, the CPU 9 operates in response to a control instruction from outside to be in the moving image sensing mode. The destination of the moving image data is set correspondingly to a control command controlled from outside in advance, and is in a state of either communicating the moving image to external devices via the network communication portion 12 or storing the moving image data sequentially in the storage 13.
(Capture Still Image)
A description will be given as to the case where the CPU 9 receives a command for requesting a capture of a still image of a size larger than the image size configuring the moving image from any one of the network communication portion 12, infrared remote control receiving portion 14 and key input portion 15 during the aforementioned moving image sensing.
In the case of receiving the command at the point described as the still image capture shown in
The data stored for the still image in the memory 23 is passed to the encode processing portion 10 to perform the image compression processing in the non-compression processing periods other than the moving image compression processing period as shown in blanks in
According to this embodiment, the moving image data undergoes the JPEG image compression process sequentially in the image compression processing portion which is the encode processing portion 10 so as to be configured as a Motion-JPEG image. The moving image is stored in the storage 13 for storing the moving image sensing described above or has its data passed to the network communication portion 12.
As for the still image, the compressed and divided image data is completely synthesized as the image data of one image by the image synthesizing means 25. Thereafter, it is delivered as one still image by the network communication portion 12 in the case of communication, or is recorded as one still image in the storage 13 in the case of the storage.
Here, the image data of the still image compressed by the encode processing portion 10 is synthesized as one image so as to be delivered to the network or recorded in the storage. It is also possible, however, to deliver the compressed and divided image in an as-is divided state to the network or record it in the storage.
In the case of receiving a still image capture command from outside again during the still image division processing period (including a continuous sensing request) in the description of this embodiment, still image capture operation is continuously performed in sequence to the extent of not causing the amount of the entire pixel memory 23 to overflow.
As the first effect of realizing this embodiment as described above as with the first embodiment, it is possible, when capturing the still image of a larger size than the moving image while taking the moving image, to deliver it on the network or record it without lowering the frame rate of the moving image at all.
As the second effect, continuous sensing of large-screen still images while taking the moving image becomes possible within the amount of the entire pixel memory 6 (continuous sensing by VD becomes possible so as to obtain the images continuously shot at the same speed as the moving image frames).
As the third effect, it is not necessary to have multiple image processing circuit blocks, and so the control can be realized with no need to increase the circuit scale on rendering it as LSI.
As the fourth effect, it is possible to reduce power consumption of the circuits by preventing the increase in the circuit scale.
As the fifth effect, it is possible to further promote the third and fourth effects because a reduced image buffer is not necessary for moving image configuration.
Reference numeral 17 of
Reference numeral 18 indicates a buffer memory for holding the reduced image data from the reduction processing means 17 for a predetermined period and buffering the data. Reference numeral 19 indicates selecting means for selecting image processing of the moving image and the still image in response to control from the CPU 9 as control means. Reference numeral 20 indicates a transmitter for generating a clock necessary for operation of this system. Reference numeral 21 indicates a PLL circuit for multiplying a frequency of the transmitter 20 to set it at a fast frequency.
Reference numeral 31 indicates switching means for switching a flow of a data processing block of the imaging data AD converted by the AD conversion portion 3 correspondingly to readouts of the moving image readout channel and still image readout channel. Reference numeral 32 indicates a buffer for buffering the image read out in a moving image readout mode by the switching means 31.
As for the configurations of
In lowering order of the signals of
(Moving Image Sensing Period)
First, in a data flow on sensing the moving image normally, the period up to the point described by a downward arrow as the still image capture in
Next, the data is inputted to the switching means 31 in order of the pieces of the data digitized by the AD conversion portion 3 read out according to the timing of the timing generator 4. The switching means 31 is switched to the moving image mode on sensing the moving image normally.
The image data for the moving image temporarily buffered in the buffer memory 32 has its moving image selected by the selecting means 19. After elapse of a predetermined time from the start of moving image buffering in
The contents to be image-processed in the description indicate a normal processing procedure, which perform a filtering process of the image and a correction process of luminance, color difference and the like thereof to create an optimal image. As details of the processing contents are techniques heretofore known, and are different depending on points of view of manufacturers and the like relating to the images and so a description thereof will be omitted. As the image processing portion 7 performs various kinds of image processing, there is the memory 8 for temporarily buffering the image data on connecting the kinds of image processing sequentially in chronological order, which passes and receives the data to and from the image processing portion 7. As memory access and the like of the image processing portion is a technique heretofore known, and so a description thereof will be omitted.
Next, the data having completed the image processing configures one image within a frame period which is 1 VD period, and the data is passed to the encode processing portion 10 which is the next processing block. The encode processing portion 10 compresses the image-processed data in the JPEG format as a preset and predetermined image format, and the data is stored in the storage inside the image sensing apparatus by the switching means 11 or communicated to an external destination via the network communication portion 12.
As the image sensing apparatus is in such a state, the CPU 9 operates in response to a control instruction from outside to be in the moving image sensing mode. The destination of the moving image data is set correspondingly to a control command controlled from outside in advance, and is in a state of either communicating the moving image to the external devices via the network communication portion 12 or storing the moving image data sequentially in the storage 13.
(Capture Still Image)
A description will be given as to the case where the CPU 9 receives a command for requesting a capture of a still image of a size larger than the image size configuring the moving image from any one of the network communication portion 12, infrared remote control receiving portion 14 and key input portion during the aforementioned moving image sensing.
In the case of receiving the command at the point described as the still image capture shown in
At the same time, the reduction and buffering of the image of the same size as the moving image channel read out in a previous VD period by the above described reduction processing means 17 and buffer 18 are processed in parallel. An image having the still image reduced is used for the moving image data in 1 VD frame period following receipt of a capture control signal.
Thereafter, it is switched from an immediate VD frame to the above described moving image mode readout channel to perform the moving image processing sequentially in the image processing portion 7. Still image storage data stored as the still image data in the memory 6 is passed to the image processing portion 7 to perform the image processing in periods other than a moving image processing period after counting predetermined VD periods (that is including a next count) as shown in blanks in
When image-processing the still image not to influence the moving image processing time in the same image processing portion, it is not possible to perform data processing of the entire data of one still image of a size larger than the moving image. Therefore, the still image is processed by having each portion of the image divided correspondingly to the preset image areas divided over non-processing periods not performing the moving image processing as shown In
According to this embodiment, the moving image read out by the moving image read out channel has a VGA size (640×480) while the still image read out by the still image read out channel is represented in a still image size (size corresponding to all the pixels) of 1280×960 which is twice larger vertically and horizontally. In the case, a number of division is four. In another case of the still image size corresponding to a larger image size for instance, the number of divided areas is increased and the still image is processed as described above. In the case of the image size twice larger vertically and horizontally than 1280×960 for instance, the still image is processed by dividing it into 16 pieces. However, this is just an example, and the number of divisions is set up according to the still image size and moving image size.
The moving image data then undergoes a JPEG image compression process sequentially In the image compression processing portion which is the encode processing portion 10 so as to be configured as a Motion-JPEG image. After the compression process, the moving image is stored in the storage 13 for storing the moving image sensing described above or has its data passed to the network communication portion 12.
As for the still image, the divided image data is sequentially stored in the memory 8 once by the image processing portion 7, and is passed to the encode processing portion 10 as the still image after completely storing the image data of one image so as to undergo the JPEG compression process. When an encode processing block of the still image in this case is 1 block, after receiving a moving image communication or storage finish command, it is delivered as one still image by the network communication portion 12 in the case of communication, or is recorded as one still image in the storage in the case of the storage. In the case where the encode processing portion 10 is a block capable of high-speed processing, however, it may be arranged to compress one image in a non-compression processing period of a moving image compression process after image-processing one image without performing the storage or network delivery after receiving the storage command.
In the case of receiving a still image capture command from outside again during a still image division processing period (including a continuous sensing request) in the above description, still image capture operation is continuously performed to the extent of not causing the amounts of the memories 6 and 8 to overflow.
As the first effect of realizing this embodiment as described above as with the first embodiment, it is possible, when capturing the still image of a larger size than the moving image while taking the moving image, to deliver it on the network or record it without lowering the frame rate of the moving image at all.
As the second effect, continuous sensing of large-screen still images while taking the moving image becomes possible within the amount of the entire pixel memory 6. That is, continuous sensing by VD becomes possible so as to obtain the images continuously shot at the same speed as moving image frames.
As the third effect, it is not necessary to have multiple image processing circuit blocks, and so the control can be realized with no need to increase the circuit scale on rendering it as LSI.
As the fourth effect, it is possible to reduce power consumption of the circuits by preventing the increase in the circuit scale.
As the fifth effect, it is possible to save electric power on processing the moving image because a period for reducing the still image for the sake of configuring the moving image is limited to a VD period in which all the pixels of the still image are being read out.
In configuration order of
The configuration of reference numerals 2 to 15 of
The configuration is configured by one chip when rendering as LSI each of the blocks of the AD conversion portion 3, the timing generator 4, moving image and still image processing means 5, image processing portion 7, CPU 9, encode processing portion 10 and switching means 11. It is also possible, instead of rendering them one-chip, to configure each of the processing blocks separately or render them as an LSI configuration which is convenient for implementation of the devices.
Next,
Reference numeral 17 indicates reduction processing means for reducing the image data corresponding to all the pixels read out by the still image readout channel to the image size configuring the moving image. Reference numeral 15 indicates storing means for storing the entire pixel readout data corresponding to the still image mode of the image sensing device 1.
Reference numeral 18 indicates a buffer memory for holding the reduced image data from the reduction processing means 17 for a predetermined period and buffering the data. Reference numeral 19 indicates selecting means for selecting image processing of the moving image and the still image in response to control from the CPU 9 as control means. Reference numeral 20 indicates a transmitter for generating a clock necessary for operation of this system, and reference numeral 21 indicates a PLL circuit for multiplying a frequency of the transmitter 20 to set it at a fast frequency.
Reference numeral 31 indicates switching means for switching a flow of a data processing block of the imaging data AD converted by the AD conversion portion 3 correspondingly to readouts of the moving image readout channel and still image readout channel. Reference numeral 32 indicates a buffer memory for buffering the image read out in a moving image channel readout mode by the switching means 31.
Reference numeral 33 is corresponding to reference numeral 33 of
In lowering order of the signals of
(Moving Image Sensing Period)
First, in a data flow on sensing the moving image normally, the period up to the arrow portion below the point described as the still image capture in
Next, the data is inputted to the switching means 31 in order of the pieces of the data digitized by the AD conversion portion 3 read out according to the timing of the timing generator 4. The switching means 31 is switched to the moving image mode on sensing the moving image normally.
The image data for the moving image temporarily buffered in the buffer memory 32 has its moving image selected by the selecting means 19. After elapse of a predetermined time from the start of moving image buffering in
The contents to be image-processed in the description indicate a normal processing procedure, which perform a filtering process of the image and a correction process of luminance, color difference and the like thereof to create an optimal image. As details of the processing contents are techniques heretofore known, and are different depending on points of view of manufacturers and the like relating to the images and so a description thereof will be omitted.
As the image processing portion 7 performs various kinds of image processing, there is the memory 8 for temporarily buffering the image data on connecting the kinds of image processing sequentially in chronological order, which passes and receives the data to and from the image processing portion 7. As memory access and the like of the image processing portion is a technique heretofore known, and so a description thereof will be omitted.
Next, the data having completed the image processing configures one image within a frame period which is 1 VD period, and the data is passed to the encode processing portion 10 which is the next processing block. The encode processing portion 10 compresses the image-processed data in the JPEG format as a preset and predetermined image format, and the data is stored in the storage 13 inside the image sensing apparatus by the switching means 11 or communicated to an external destination via the network communication portion 12.
As the image sensing apparatus is in such a state, the CPU 9 operates in response to a control instruction from outside to be in the moving image sensing mode. The destination of the moving image data is set correspondingly to a control command controlled from outside in advance, and is in a state of either communicating the moving image to the external devices via the network communication portion 12 or storing the moving image data sequentially in the storage 13.
(Capture Still Image)
A description will be given as to the case where the CPU 9 receives a command for requesting a capture of a still image of a size larger than the image size configuring the moving image from any one of the network communication portion 12, infrared remote control receiving portion 14 and key input portion 15 during the aforementioned moving image sensing.
In the case of receiving the command at the point described as the still image capture shown in
The CCD as the image sensing device 1 can read out the image data in response to the next VD frame signal. Here, the mechanical shutter 33 opened during the exposure period is closed in synchronization with the VD signal. It starts reading out the data exposed 1 VD period before from a time point when a ½ image of the image data corresponding to the still image is synchronized with the VD signal of the part of (1) described in
In
The image data for the moving image temporarily buffered by the buffer 18 has its moving image selected by the selecting means 19. After elapse of a predetermined time from the start of moving image buffering in
Thereafter, the mechanical shutter 33 is opened in synchronization with immediate VD signal timing. At the same time, a switch is made from the VD frame to the above described moving image mode readout channel so as to perform the moving image processing sequentially in the image processing portion 7.
Still image storage data stored as the still image data in the memory 6 is passed to the image processing portion 7 to perform the image processing in periods other than the moving image processing period after counting a predetermined VD period (that is, including a next count) as shown in blanks in
When image-processing the still image not to influence the moving image processing time in the same image processing portion, it is not possible to perform data processing of the entire data of one still image of a size larger than the moving image. Therefore, the still image is processed by having each portion of the image divided correspondingly to the preset image areas divided over non-processing periods not performing the moving image processing as shown in
Here, a description will be given as to the mode for reading out all the pixels corresponding to the still image by exemplifying the case of the CCD of a primary-color filter and RGB pixel arrays of a Bayer array interlace readout method. When reading out the still image, it is arranged to sequentially read out R. Gr, R, Gr . . . which are signal components of pixel odd-numbered lines in a first field and Gb, B, Gb, B . . . which are signal components of pixel even-numbered lines in a second field.
As the image of only the first field is read in 1 VD period of the moving image frame period and the remaining image of the second field is read in the following VD period, only the R component and Gr component can be read in the 1 VD period. Therefore, it is arranged to move on to the next process after referring to the data after sequentially reading out Gb, B, Gb, B . . . from the start of readout of the second field and the data stored in the memory 6.
The processing flow and processing timing of each of the blocks 10 to 13 of
According to this embodiment, the frame configuring the moving image during a CCD exposure period and the first frame period on reading out the CCD are in a state not capable of updating the image data so that the moving image blacks out only in these periods. In the moving image blackout period, the images in the period immediately before the CCD exposure frame period are sequentially rendered as the moving images.
As the first effect of realizing this embodiment as described above, it is possible, when capturing the still image while taking the moving image with the image sensing device 1 requiring the mechanical shutter 33, to reduce the frames blacking out as the moving image so as to provide the image with little discomfort as the moving image.
As the second effect, it is not necessary to have multiple image processing circuit blocks, and so the control can be realized with no need to increase the circuit scale on rendering it as LSI.
As the third effect, it is possible to reduce power consumption of the circuits by preventing the increase in the circuit scale.
A description will be given by using a timing chart shown in
In lowering order of the signals of
(Moving Image Sensing Period)
First, in a data flow on sensing the moving image normally, the period up to the arrow portion below the point described as the still image capture in
Next, the data is inputted to the switching means 31 in order of the pieces of the data digitized by the AD conversion portion 3 read out according to the timing of the timing generator 4. The switching means 31 is switched to the moving image mode on sensing the moving image normally.
The image data for the moving image temporarily buffered in the buffer memory 32 has its moving image selected by the selecting means 19. After elapse of a predetermined time from the start of moving image buffering in
In this case, a high-speed clock is supplied by the PLL circuit 21 to have high-speed processing realized by the image processing portion 7. The contents to be image-processed in the description indicate a normal processing procedure, which perform a filtering process of the image and a correction process of luminance, color difference and the like thereof to create an optimal image. As details of the processing contents are techniques heretofore known, and are different depending on points of view of manufacturers and the like relating to the images and so a description thereof will be omitted.
As the image processing portion 7 performs various kinds of image processing, there is the memory 8 for temporarily buffering the image data on connecting the kinds of image processing sequentially in chronological order, which passes and receives the data to and from the image processing portion 7. As memory access and the like of the image processing portion is a technique heretofore known, and so a description thereof will be omitted.
Next, the data having completed the image processing configures one image within a frame period which is 1 VD period, and the data is passed to the encode processing portion 10 which is the next processing block. The encode processing portion 10 compresses the image-processed data in the JPEG format as a preset and predetermined image format, and the data is stored in the storage inside the image sensing apparatus by the switching means 11 or communicated to an external destination via the network communication portion 12.
As the image sensing apparatus is in such a state, the CPU 9 operates in response to a control instruction from outside to be in the moving image sensing mode. The destination of the moving image data is set correspondingly to a control command controlled from outside in advance, and is in a state of either communicating the moving image to the external devices via the network communication portion 12 or storing the moving image data sequentially in the storage 13.
(Capture Still Image)
A description will be given as to the case where the CPU 9 receives a command for requesting a capture of a still image of a size larger than the image size configuring the moving image from any one of the network communication portion 12, infrared remote control receiving portion 14 and key input portion 15 during the aforementioned moving image sensing.
In the case of receiving the command at the point described as the still image capture shown in
The CCD as the image sensing device 1 can read out the image data in response to the next VD frame signal. Here, the mechanical shutter 33 opened during the exposure period is closed in synchronization with the VD signal. It starts reading out the data exposed 1 VD period before from a time point when a ⅓ image of the image data corresponding to the still image is synchronized with the VD signal of the part of (1) described in
The pixel data of the ⅓ portion is read out in the VD period of the part of (2) described in the following
In
Thereafter, the mechanical shutter 33 is opened in synchronization with immediate VD signal timing. At the same time, a switch is made from the VD frame to the above described moving image mode readout channel so as to perform the moving image processing sequentially in the image processing portion 7.
Still image storage data stored as the still image data in the memory 6 is passed to the image processing portion 7 to perform the image processing in periods other than the moving image processing period after counting a predetermined VD period (that is, including a next count) as shown in blanks in
When image-processing the still image not to influence the moving image processing time in the same image processing portion, it is not possible to perform data processing of the entire data of one still image of a size larger than the moving image. Therefore, the still image is processed by having each portion of the image divided correspondingly to the preset image areas divided over non-processing periods not performing the moving image processing as shown in
Here, a description will be given as to the mode for reading out all the pixels corresponding to the still image by exemplifying the case of the CCD of a primary-color filter and RGB pixel arrays of a Bayer array interlace readout method. It is a method of, when reading out the still image, reading out the pixels across three fields, where a first field line, a second field line and a third field line are configured by signal components. A first line of the first field is read out in order of R, Gr, R, Gr . . . , and a second line of the first field is normally a readout of a fourth line of CCD pixels (1 (first line)+3 (fields)) which is in order of Gb, B, Gb, B.
A next line is inversely arranged to have different reference data in each of the lines of the same field, such as R, Gr, R, Gr. Similarly, the first line of the second field is configured in reverse readout order to the first field. Similarly, the third field is arranged to be read out in the same order as the first field, that is, in order of a third line of the CCD pixels to the signal components of the pixels displaced by +3 lines.
The image of only the first field is read in 1 VD period of the moving image frame period, only the image of the second field is read in the following Vb period, and the image of the third field is read in the following VD period. Thus, the pixels of the entire screen cannot be read out in 2 VD periods from the start of the readout. Therefore, it is arranged to move on to the next process after referring to the data after sequentially reading it out from the start of readout of the third field and the data stored in the memory 6.
The processing flow and processing timing of each of the blocks 10 to 13 of
According to this embodiment as with the fifth embodiment, a total of three frame periods of an exposure frame configuring the moving image during a CCD exposure period and the first frame and second frame periods configuring the moving image on reading out the CCD are in a state not capable of updating the image data so that the moving image blacks out only in these periods. In the moving image blackout period, the images in the period immediately before the CCD exposure frame period are sequentially rendered as the moving images.
As the first effect of realizing this embodiment as described above, it is possible, when capturing the still image while taking the moving image with the image sensing device 1 requiring the mechanical shutter 33, to reduce the frames blacking out as the moving image so as to provide the image with little discomfort as the moving image.
As the second effect, it is not necessary to have multiple image processing circuit blocks, and so the control can be realized with no need to increase the circuit scale on rendering it as LSI.
As the third effect, it is possible to reduce power consumption of the circuits by preventing the increase in the circuit scale.
As the fourth effect, it is possible to realize the process capable of dealing with any high-pixel image sensing device.
A description will be given by using a timing chart shown in
In lowering order of the signals of
(Moving Image Sensing Period)
First, in a data flow on sensing the moving image normally, the period up to an arrow portion below the point described as the still image capture in
Next, according to timing of the timing generator 4, the data digitized by the AD conversion portion 3 undergoes image reduction by the reduction processing means 17 and temporary buffering of the reduced image by the buffer 18 in order of pieces of the data read out so as to configure the processed image for the moving image.
The image data for the moving image temporarily buffered in the buffer 18 has its moving image selected by the selecting means 19. After elapse of a predetermined time from the start of moving image buffering in
The moving image processing is set in a time period not to overtake the data buffered in the buffer 18 so as to perform the moving image processing at high speed to an extent of keeping it within a moving image frame. As the high-speed clock of the PLL circuit 21 has a higher multiplication rate than that of the PLL circuit 21 circuit block of the first embodiment, the moving image can be processed at higher speed. The processing contents and signal flow of the other blocks indicated are the same as the contents according to the first embodiment.
(Capture Still Image)
According to this embodiment, however, the processing speed of the moving image is increased as indicated above. Therefore, the non-processing periods are extended when having frame pixel data configured as the still image divided for each of the areas and image-processed in the non-processing periods. As the non-processing periods are extended, divided amounts become smaller when divided into the blanks of
This embodiment described a configuration example of the first embodiment. However, the same is applicable to the second, third, fourth, fifth and sixth embodiments, where the moving image processing after the moving image buffering is sped up so as to reduce the periods divided by the still image processing. It is also arranged to process a large number of frames capable of continuous sensing on receiving a still image continuous sensing command.
As the first effect of realizing this embodiment as described above, it is possible, when capturing the still image of a larger size than the moving image while taking the moving image, to deliver it on the network or record it without lowering the frame rate of the moving image at all.
As the second effect, it is possible to reduce the number of divisions of the still image and reduce the still image processing period.
As the third effect, it is possible to increase the number of frames of large-screen still image continuous sensing.
As the fourth effect, it is possible to reduce the amount of the entire pixel memory 6 if the large-screen still image continuous sensing is within a prescribed number of frames.
[Embodiment of Moving Image and Still Image Processing Means]
(Example of the Structure)
In
Reference numeral 161 indicates a program memory for storing programs. The program memory 161 includes ROM, RAM, disc and so on in which preferable programs are stored. In
Reference numeral 162 indicates a data memory for storing data. The data memory 162 includes ROM, RAM, disc and so on in which preferable programs are stored. In
For example, the table 162d is formed so that division number 175 is decided corresponding to CD cycle time 171, delay time of moving image processing 172, moving image size 177, still image size 174 and so on. The table 162f is formed so that delay time 179 is decided corresponding to CD cycle time 176, moving image size 177, moving image processing rate (or clock rate) and so on.
(Control Sequence Program of the Moving Image and Still Image Processing Means)
Step S181 is a step for synchronizing the image processing with VD (vertical synchronizing signal). When detecting VD in step S181, CPU 160 judges whether there is still image capture operation between last VD and now VD in step S182. Since, at first VD in
When detecting next VD (second VD in
When detecting next VD (third VD in
For example in
It is apparent that flowcharts of the other embodiments can be also made by modifying
[Other Embodiments of the Present Invention]
Though the first to seventh embodiments are described independently in this specification, they can be combined to use preferably. Further, the intermediate embodiments which are made by modifying the typical embodiments described above or adding/deleting some elements to/from those embodiments are included in the present invention.
The means configuring the image sensing apparatus and the steps of the imaging method of the embodiments of the aforementioned present invention can be realized by operation of the programs stored in the RAM, ROM and the like of the computer. The present invention includes the programs and a computer-readable storing medium having the programs recorded therein.
The present invention can be implemented as a system, an apparatus, a method, a program or a storing medium for instance as the embodiment thereof. To be more precise, it is applicable either to a system configured by multiple devices or to an apparatus configured by one device.
The present invention also includes the case of accomplishing it by directly or remotely supplying the program (program corresponding to the flowcharts shown in FIGS. 1 to 15 of the embodiment) of software for realizing the aforementioned functions of the embodiments to the system or the apparatus so as to have the supplied program code read out and executed by the computer of the system or the apparatus.
Therefore, the present invention is also realized by the program code itself installed on the computer for the sake of realizing the functions and processes of the present invention on the computer. To be more specific, the present invention also includes the computer program itself for realizing the functions and processes of the present invention.
In that case, it may be in the form of an object code, a program executed by an interpreter, script data supplied to an OS (operating system) or the like if it has the functions of the program.
Examples of the storing medium for supplying the program code include a floppy (registered trademark) disk, a hard disk, an optical disk, a magneto-optical disk, an MO, a CD-ROM, a CD-R, a CD-RW, a magnetic tape, a nonvolatile memory card, a ROM and a DVD (a DVD-ROM, a DVD-R).
As for the method of supplying the program, it is also possible to connect to a home page on the Internet by using a browser of a client computer and download the computer program itself of the present invention or a compressed file including an auto-install function to the storing medium such as a hard disk so as to supply the program.
It is also realizable by dividing the program code configuring the program of the present invention into multiple files and downloading each of the files from a different home page. To be more specific, the present invention also includes a WWW server for downloading program files for realizing the functions and processes of the present invention on the computer to multiple users.
It is also possible to distribute the program of the present invention to the users by encrypting and storing it in the storing medium such as a CD-ROM, have the users having cleared predetermined conditions download key information for decrypting it from a home page via the Internet and have the encrypted program executed by using the key information and installed on the computer so as to realize it.
Further, it Is to be understood that the functions of the above described embodiments may be accomplished not only by executing the program read out by a computer, but also by causing an OS (operating system) or the like which operates on the computer to perform a part or all of the actual operations based on instructions of the program.
Further, it is to be understood that the functions of the above described embodiments may be accomplished by writing the program read out from the storing medium into a memory provided in an expansion board inserted into a computer or in an expansion unit connected to the computer and then causing a CPU or the like provided in the expansion board or the expansion unit to perform a part or all of the actual operations based on instructions of the program.
As many apparently widely different embodiments of the present invention can be made without departing from the spirit and scope thereof, it is to be understood that the invention is not limited to the specific embodiments thereof except as defined in the appended claims.
This application claims the benefit of Japanese Application No. 2005-133185, filed on Apr. 28, 2005, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2005-133185 | Apr 2005 | JP | national |