The present invention relates to a detachable processing device which is mounted and used in an image sensing apparatus, and an image sensing apparatus.
A conventional digital camera processes, within its main body, image information obtained from an image sensing element, converts the image information into image data, and saves the image data on a recording medium. As the recording medium, detachable recording media such as a rewritable flash memory card are often used.
A conventional digital camera of this type executes an image process in only its main body, and a large part of the image process is defined by hardware in the main body. Even if the user is not satisfied with the image performance of the camera, the hardware cannot be exchanged.
To solve this problem, there is proposed a method of implementing some of the functions of the hardware configuration by software (computer program) and after the user purchases a camera, separately updating the program into the camera (see, e.g., Japanese Patent Application Laid-Open No. 2000-324430).
However, when a new hardware process or image processing method is developed and the camera cannot deal with it by only altering the program in the main body, the user has to buy a new camera.
The present invention has been made in consideration of the above situation, and has as its object to easily improve the function of an image sensing apparatus without changing the image sensing apparatus itself.
According to the present invention, the foregoing object is attained by providing a processing device that is mounted in an image sensing apparatus, integrated, and used, comprising: a logic circuit that can be changed to a plurality of configurations which implement functions corresponding to a plurality of processes performed by the image sensing apparatus; a memory that stores configuration information indicative of possible configurations of the logic circuit; and a controller that controls a configuration of the logic circuit on the basis of the configuration information stored in the memory.
According to the present invention, the foregoing object is also attained by providing an image sensing apparatus comprising: a connection unit that can integrally mount the above processing device; and a display unit that displays that some of processes of the image sensing apparatus are executed by the processing device when the processing device is mounted.
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 an embodiment of the invention and, together with the description, serve to explain the principles of the invention.
A preferred embodiment of the present invention will be described in detail in accordance with the accompanying drawings. However, the dimensions, shapes and relative positions of the constituent parts shown in the embodiment should be changed as convenient depending on various conditions and on the structure of the apparatus adapted to the invention, and the invention is not limited to the embodiment described herein.
In using the camera, a memory card 111 or processor card 121 is inserted into a card slot 202 of a camera main body 101, as shown in
An image is not recorded by only the camera main body 101 in the embodiment, but may be recorded by only the main body 101.
<Camera Operation when Memory Card is Mounted>
An operation when the memory card 111 is mounted in the camera main body 101 will be explained.
When the user inserts the memory card 111 into the card slot 202 of the camera main body 101, a connector 109 of the camera main body 101 and a connector 112 of the memory card 111 are connected.
The camera main body 101 is controlled by a CPU 103; the CPU 103 performs control in accordance with an executable code written in advance in a non-volatile memory (FROM) 102. In control, the CPU 103 uses a rewritable memory (DRAM) 104 as a work area. The user executes image sensing operation with a keyboard (KEY) 108. The open/close sensor 203 in
When the user designates the start of image sensing with the KEY 108, the CPU 103 controls a CCD signal processing unit (DSP) 105 to expose an image sensing element (CCD) 106. Image data obtained by image sensing is temporarily saved in a specific area of the DRAM 104. This image data corresponds to the exposure amount of each pixel of the CCD 106, and will be called RAW data.
The CPU 103 reads out RAW data stored in the DRAM 104, sequentially converts them into a compression recording format, and transmits the compressed data to a controller (CTRL) 113 in the memory card 111 connected via the connector 109. The CTRL 113 stores the compressed data in a non-volatile memory (FROM) 114.
The above operation is executed by the camera main body 101 and memory card 111 in correspondence with one image sensing operation.
When the user designates playback of image data with the KEY 108, the CPU 103 controls the CTRL 113 in the memory card 111, reads out compressed image data obtained by image sensing from the FROM 114, and transfers the image data to the DRAM 104 while performing an expansion process corresponding to the compression. The CPU 103 then displays the expanded data in the DRAM 104 on the LCD 107. The user can see the image data displayed on the LCD 107.
<Camera Operation when Processor Card is Mounted>
An operation when the processor card 121 is inserted into the card slot 202 will be explained.
As shown in
The processor card 121 has a connector 122 which is identical in electrical characteristic and shape to the connector 112. The processor card 121 includes a reconfigurable logic circuit (RECONF) 123, a controller (CTRL) 124 for the RECONF 123, non-volatile memories (FROMs) 125 and 128, and rewritable memories (DRAMs) 126 and 127.
The RECONF 123 can freely change its logic circuit by the CTRL 124.
Data necessary for determine logical configuration of the RECONF 123 is saved in the FROM 128, and if necessary, the CTRL 124 reads out the data from the FROM 128 to determine logical configuration of the RECONF 123. The data of the FROM 128 can also be externally rewritten via the connector 122.
Operation of the processor card 121 will be described with reference to the flowchart of
The processor card 121 is inserted into the card slot 202 of the camera main body 101, and the connector 122 is connected to the connector 109 (step S301). Power is supplied from the camera main body 101 and the processor card 121 is initialized.
Immediately after activation, the RECONF 123 in the processor card 121 is initialized into a configuration as shown in
After the setting of the logical configuration, the CTRL 124 notifies the CPU 401 and CPU 103 of the end of setting of the logical configuration. At this time, the CPU 401 communicates with the CPU 103 to receive power data DPW suppliable from the camera main body 101.
If the control processor CPU 103 of the camera main body 101 detects by the open/close sensor 203 serving as part of the KEY 108 that any device has been connected to the connector 109, the CPU 103 transmits a model recognition code representing a camera model name to the connected device. In step S303, the processor card 121 determines whether the model recognition code has been received. If the processor card 121 corresponds to the model recognition code, the CPU 401 receives it and responds to it. The memory card 111 described above does not correspond to the model recognition code, and does not send back any response. By this response process, the CPU 103 can determine whether the connected device is the memory card 111 or processor card 121. At the same time, the CPU 401 can detect the model of the connected camera main body 101. Even if no model recognition code can be received after the lapse of a predetermined time since the card is inserted, the CPU 401 determines that the connected camera is an old model which does not correspond to the model recognition code, and the flow advances to step S320.
In step S304, it is determined whether the power data DPW received in step S302 is smaller than a predetermined value. If YES in step S304, the CPU 401 determines that processes in steps S305 to S311 to be described later cannot be performed, and the flow advances to step S320 for low-power operation.
If NO in step S304, the flow advances to step S305, and the CPU 401 communicates with the CPU 103. If the user designates image sensing with the KEY 108, the flow advances to step S306; if the user does not designate image sensing (in this case, playback is assumed to be designated), to step S330.
In step S306, the CPU 401 compares the model recognition code received in step S303 and information written in advance in the FROM 128 to recognize image sensing operation of the camera main body 101. In the embodiment, the camera main body 101 performs exposure, the RAW data process, conversion into a recording format, and write in the FROM, as described above. In correspondence with this flow, the CPU 401 reads out configuration data from the FROM 128 and sends it to the CTRL 124. Then, the CTRL 124 changes the logical configuration of the RECONF 123. The changed logical configuration is shown in
The configuration in
After the setting of logical configuration, the CTRL 124 notifies the CPU 501 and CPU 103 of the end of setting of the logical configuration.
The CPU 103 displays on the LCD 107 a message that the processor card 121 performs a RAW data process in step S307 to be described later. From this display, the user can recognize that a higher-speed signal process than a process by only the camera main body 101 is performed by the processor card 121. The user can also grasp the camera state and reflect it in image sensing operation.
If the user designates the start of image sensing by operating the KEY 108, the CPU 103 starts exposing the CCD 106, similar to the operation when the memory card 111 is mounted. When the memory card 111 is mounted, the DSP 105 executes the RAW data signal process. In this case, however, the DSP 105 does not perform any process, and RAW data is sent to the processor card 121 via the signal connectors and then to the DSP 502 via the signal bus 503. The DSP 502 executes the RAW data process (step S307), and saves RAW data in the DRAM 127. The DRAM 127 has a higher speed and larger capacity than those of the DRAM 104. At this time, part of the image process may be properly assisted by the CPU 103 and DSP 105 in accordance with the performance.
After the end of the RAW data process, the DSP 502 notifies the CPU 501, CTRL 124, and CPU 103 of the end of the process.
In response to the end of the RAW data process, the CPU 501 reads out configuration data from the FROM 128 and sends it to the CTRL 124. Then, the CTRL 124 changes the logical configuration of the RECONF 123 (step S308). The changed logical configuration is shown in
The configuration in
After the setting of logical configuration, the CTRL 124 notifies the CPU 601 and CPU 103 of the end of setting of the logical configuration.
The CPU 103 displays on the LCD 107 a message that the processor card 121 performs an image compression process in step S309 to be described later. From this display, the user can recognize that a higher-speed signal process than a process by only the camera main body 101 is performed by the processor card 121. The user can also grasp the camera state and reflect it in image sensing operation.
The DSP 602 reads out RAW data generated by the RAW data process in step S307 from the DRAM 127, sequentially performs a data compression process, and saves the compressed data in the DRAM 126 (step S309). The compression method is not particularly limited, and may be lossless compression or lossy compression. Part of the image process may be properly assisted by the CPU 103 in accordance with the performance.
After the end of the image compression process, the DSP 602 notifies the CPU 601, CTRL 124, and CPU 103 of the end of the process.
In response to the end of the image compression process, the CPU 601 reads out configuration data from the FROM 128 and sends it to the CTRL 124. Then, the CTRL 124 changes the logical configuration of the RECONF 123 (step S310). The changed logical configuration is shown in
The configuration in
After the setting of the logical configuration, the CTRL 124 notifies the CPU 701 and CPU 103 of the end of setting of the logical configuration.
The CPU 103 displays on the LCD 107 a message that the processor card 121 performs write in the FROM in step S311 to be described later. From this display, the user can recognize that a higher-speed signal process than a process by only the camera main body 101 is performed by the processor card 121. The user can also grasp the camera state and reflect it in image sensing operation.
The DSP 702 reads out image data compressed in step S309, sequentially performs a write data process, and saves the compressed data in the FROM 125 (step S311). Part of the data process may be properly assisted by the CPU 103 in accordance with the performance.
After the end of the data write process, the DSP 702 notifies the CPU 701, CTRL 124, and CPU 103 of the end of the process.
The CPU 103 determines whether the user tries to continue image sensing operation by using the KEY 108. In step S312, the CPU 701 communicates with the CPU 103. If image sensing is determined to end, the process ends; if image sensing is determined to continue, the process returns to step S306 to repeat the above process.
If it is determined in step S303 that no model recognition code can be received even upon the lapse of a predetermined time after the processor card 121 is inserted, or if it is determined in step S304 that the received power data DPW is smaller than a predetermined value, the CPU 401 of configuration 1 shown in
In step S321, similar to step S305, the CPU 401 communicates with the CPU 103 and determines whether the user designates image sensing with the KEY 108. If the user designates image sensing, the flow advances to step S322; if the user does not designate image sensing (in this case, playback is assumed to be designated), to step S330.
In step S322, the CPU 401 reads out configuration data from the FROM 128 and sends it to the CTRL 124. Then, the CTRL 124 changes the logical configuration of the RECONF 123. The changed logical configuration is shown in
The CTRL 801 is optimized for the read/write rate measured in step S320, and can write data at the maximum write rate of the FROM 125. Operation by the logic circuit changed in step S322 is the same as operation by the memory card 111 when viewed from the camera main body 101.
In step S324, similar to step S312, the CPU 801 communicates with the CPU 103, and determines whether to end image sensing. If image sensing is determined to end, the process ends; if image sensing is determined to continue, the process returns to step S323 to repeat the above process.
If it is determined in step S305 or S321 that no image sensing is designated (in this case, playback is designated), the process advances to step S330 to change the logical configuration into that of configuration 5 shown in
In step S331, the same operation as playback operation upon mounting the memory card 111 is performed.
The CPU 103 determines whether the user tries to continue playback operation by using the KEY 108. In step S332, the CPU 801 communicates with the CPU 103. If playback is determined to end, the process ends; if playback is determined to continue, the process returns to step S331 to repeat the above process.
As has been described above, according to the embodiment, a general-purpose digital camera which is widely used at present can be easily used as a high-grade convertible model by only inserting into the digital camera a processor card which can execute a process of the digital camera at a higher speed.
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 claims.
This application claims priority from Japanese Patent Application No. 2004-194297 filed on Jun. 30, 2004, which is hereby incorporated by reference herein.
Number | Date | Country | Kind |
---|---|---|---|
2004-194297 | Jun 2004 | JP | national |