Image-sensing apparatus, control method therefor and storage medium

Abstract: An image sensing apparatus improves operability in transmission of image data to a computer or the like. An image sensing apparatus 12 has an image sensing device 2 which image-senses an object and outputs an image signal, signal processing circuits 3 and 4 which convert the image signal outputted from the image sensing device 2 into digital image data, a USB I/F circuit 9 which transmits/receives data with a computer 13 as an information processing apparatus connected to the image sensing apparatus via a cable or wireless communication, and a switch 10 as a signal generation unit which generates a trigger signal to perform image-sensing related operation. If the image sensing apparatus 12 and the computer 13 are connected to each other and the computer 13 is in a suspended status, the image sensing apparatus 12 transmits a resume signal via the USB I/F circuit 9 to the computer 13.

Description: The present invention relates to an image sensing apparatus, that can be connected to an information processing apparatus via a data transmission/reception unit based on the USB (Universal Serial Bus) specification, and that has a function to release a suspended status of the information processing apparatus by transmitting a resume signal, a control method for the apparatus, and a storage medium. In an image sensing apparatus such as a digital camera, an image signal obtained by an image sensing device such as a CCD is converted into a digital image signal by an A/D converter and a signal processing unit. Then compression using the JPEG (Joint Photographic Expert Group) method or the like is performed on the digital image signal by a compression unit. The compressed data is stored as an image file into a recording unit such as a memory card. In some cases, the image sensing apparatus is connected to a computer via a transmission/reception unit such as a USB unit, and the image file stored in the memory card is transmitted from the image sensing apparatus to the computer. However, when the computer enters a suspended status as a low electric consumption mode, the data transmission/reception unit of the computer is not operative, therefore the image file cannot be transmitted from the image sensing apparatus to the computer. Once the computer has entered the suspended status, to transmit the image file again from the image sensing apparatus to the computer, it is conventionally necessary to bring the transmission/reception unit such as a USB unit into operative status to release the suspended status, by e.g. depressing a particular switch of the computer. However, in the above-described image sensing apparatus, to restore the computer from the suspended status as a low electric consumption mode and bring the transmission/reception unit such as a USB unit into the operative status, a user, who is even operating the image sensing apparatus, must move the hands off the apparatus and operate the computer. This is troublesome, and further, the user might miss a shutter chance while he/she operates the computer. Prior art document EP 0 848 548 A2 discloses a camera being connected to a connecting device in the form of a personal computer and providing a corresponding data transmission between the camera and the personal computer. When the camera is connected to the computer, the function of a release switch of the camera is changed by the computer. When the release button of the camera is operated, a release flag is set and an interrupt request is issued to the computer side. The microprocessor of the computer after receiving the interrupt request performs a process for data communication and data evaluation of the image data transmitted from the camera to the computer. The operation of the release button of the camera is interpreted in view of its function by the application software stored and performed in the computer. The user of the camera can additionally request a freeze process and the user can use the release request of the camera and the freeze request of the application software of the computer as release buttons of the same function. Furthermore, document EP 0 860 978 A2 discloses a system having an information processing apparatus and a data input apparatus, wherein an application execution signal is transmitted from the camera to a computer which is removably connected to the camera. If the camera is operated to carry out a predetermined process, a corresponding predetermined signal is generated and used for requesting to execute the predetermined application in the computer connected to the camera in response to an operation of an operation means. The predetermined signal is sent to the computer via a communication means. When the release button of the camera is operated by the user, this operation is detected and in turn the control means of the camera transmits the application execution request signal to the computer to start the execution of a predetermined application program. The present invention has, thus, been made in consideration of the above problem, and has its object to provide an image sensing apparatus which improves operability in transmission of image data to a computer or the like, a control method and a storage medium. According to the present invention this object is achieved by an image sensing apparatus, an image sensing method for an image sensing apparatus as well as a storage medium containing a control program for controlling an image sensing apparatus as defined in the appended claims. In more detail, the present invention provides an image sensing apparatus which comprises image sensing means for image-sensing an object and outputting an image signal; signal processing means for converting the image signal outputted from the image sensing means into digital image data; transmission/reception means for transmitting/receiving data with an information processing apparatus connected to the image sensing apparatus via a cable or wireless communication; signal generation means for generating a trigger signal to perform image-sensing related operation; and a control means for controlling the image sensing apparatus, wherein if said image sensing apparatus and the information processing apparatus are connected to each other it is examined whether the information processing apparatus is in a suspended state, the transmission/reception means transmits a resume signal to the information processing apparatus under control by the control means in accordance with the trigger signal of the signal generation means. The present invention further provides a control method for an image sensing apparatus comprising image sensing means for image-sensing an object and outputting an image signal, signal processing means for converting the image signal outputted from the image sensing means into digital image data, transmission/reception means for transmitting/receiving data with an information processing apparatus connected to the image sensing apparatus via a cable or wireless communication, signal generation means for generating a trigger signal to perform image-sensing related operation, and a control means for controlling the image sensing apparatus, the method further comprising the steps of examining, if the image sensing apparatus and the information processing apparatus are connected to each other, whether the information processing apparatus is in a suspended state, and transmitting by the transmission/reception means a resume signal to the information processing apparatus under control by the control means in accordance with the trigger signal of the signal generation means. The present invention, moreover, provides a storage medium containing a control program for controlling an image sensing apparatus comprising image sensing means for image-sensing an object and outputting an image signal, signal processing means for converting the image signal outputted from the image sensing means into digital image data, transmission/reception means for transmitting/receiving data with an information processing apparatus connected to the image sensing apparatus via a cable or wireless communication, signal generation means for generating a trigger signal to perform image-sensing related operation, and a control means for controlling the image sensing apparatus, said control program to be performed by the control means having code for, if said image sensing apparatus and the information processing apparatus are connected to each other, examining whether the information processing apparatus is in a suspended state, and for transmitting by the transmission/reception means a resume signal to the information processing apparatus under control by the control means in accordance with the trigger signal of the signal generation means. Other objects and advantages besides those discussed above shall be apparent to those skilled in the art from the description of a preferred embodiment of the invention which follows. In the description, reference is made to accompanying drawings, which form a part thereof, and which illustrate an example of the invention. Such example, however, is not exhaustive of the various embodiments of the invention, and therefore reference is made to the claims which follow the description for determining the scope of the invention. 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. Fig. 1 is a block diagram showing a schematic construction of an image sensing apparatus according to a first embodiment of the present invention; Fig. 2 is a flowchart showing image sensing operation and image file transmission to a computer by the image sensing apparatus according to the first embodiment; Fig. 3 is a flowchart showing the image sensing operation and the image file transmission to the computer by the image sensing apparatus according to a second embodiment; and Fig. 4 is a flowchart showing the image sensing operation and the image file transmission to the computer by the image sensing apparatus according to a third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will now be described in detail in accordance with the accompanying drawings. (First Embodiment) Fig. 1 is a block diagram showing the construction of the image sensing apparatus according to a first embodiment of the present invention. As shown in Fig. 1, an image sensing apparatus 12 of the present embodiment photoelectric-converts an object image formed via an optical system 1 into an electric signal by an image sensing device 2 such as a CCD, and further converts the signal into a digital image signal by an A/D converter 3 and a signal processing unit 4. The digital image signal is inputted into a memory 5. The digital image signal inputted in the memory 5 is subjected to compression processing using the JPEG method or the like by a compression unit 8, and is stored as a file into the memory 5. The image sensing apparatus 12 of the present embodiment has a control unit 6 and a CPU 7 to control the above-described respective units, a release switch 10 connected to the control unit 6, and a display unit 11. Further, the image sensing apparatus 12 of the present embodiment has a USB I/F circuit 9. Note that the optical system 1, comprising a lens, an aperture, an optical filter, a shutter and the like, forms an object image on the image sensing device. Further, the image sensing device 2 is a CCD or the like which converts the object image formed by the optical system 1 into an electric signal. The A/D converter 3 converts continuous electric signals outputted from the image sensing device 2 into digital signals. The signal processing unit 4 generates a digital image signal by performing signal processing on the digitized signal. The memory 5 is used for temporarily storing the digital image signal outputted from the signal processing unit 4 or storing a file-format digital image signal. The memory 5 comprises an internal memory or an external memory card such as a compact flash memory. Further, the control unit 6 and the CPU 7 control the overall image sensing apparatus 12. The compression unit 8 performs compression processing by the JPEG method or the like on the digital image signal outputted from the signal processing unit 4 and temporarily stored in the memory 5. The USB I/F circuit 9 transmits/receives a digital image signal, transmits/receives control commands, and performs transmission/reception to notify statuses of the computer and the image sensing apparatus, with the computer 13 by a data transmission/reception method based on the USB specification. According to the USB specification, when the computer enters the suspended status as a low electric consumption mode, any data cannot be transmitted/received between the computer and a device connected to the computer via a USB transmission/reception unit. In the USB, data transmission/reception is performed upon reception of command from the computer, therefore, if the computer is in the suspended status, any data cannot be transmitted from the device side to the computer. Once the computer has entered the suspended status, to transmit/receive data again in the USB, it is necessary to operate the computer to release the suspended status or transmit a resume signal from the device side to the computer by using a remote wake-up function defined in the USB specification, to release the suspended status of the computer. In the image sensing apparatus 12 of the present embodiment, the USB I/F circuit 9 transmits a resume signal under the control of the control unit 6 and the CPU 7. The release switch 10, having at least two contacts, enters any one of two-stepped statuses in accordance with e.g. the amount of depression of the switch. In this embodiment, if the release switch 10 is depressed in part way, a first contact represented as SW1 is selected, and if the release switch 10 is fully depressed, a second contact represented as SW2 is selected. When the first contact is selected, image-sensing preparation operation such as AF or AE is performed, while when the second contact is selected, image-sensing operation, and digital image-data formation and recording are performed. Further, in the image sensing apparatus 12 of the present embodiment, as described later, when the first contact of the release switch 10 is selected, the USB I/F circuit 9 transmits a resume signal. The display unit 11 displays various statuses of the image sensing apparatus under the control of the control unit 6 and the CPU 7, or sequentially displays stored image files in accordance with the user's instruction. The display unit 11 comprises an LCD, a TFT liquid-crystal display or the like. Next, the operation of the image sensing apparatus having the above construction will be described in a case where the image sensing apparatus, connected with the computer via the USB transmission/reception unit, sequentially forms digital images, stores the images into the memory, and at the same time, transfers the image files in the memory to the computer. Fig. 2 is a flowchart showing the operation according to the present embodiment. First, the image sensing apparatus and the computer are connected via the USB I/F circuit 9 (S11). Next, when the user depresses the switch 10 to select the SW1 (S12), the image sensing apparatus performs an image-sensing preparation operation (S13). Next, in preparation for image file transfer to the computer after image sensing, it is examined whether or not the computer is in the suspended status (S14). If the computer is in the suspended status, a resume signal is transmitted via the USB I/F circuit 9 (S15). If the computer is not in the suspended status, the step of transmitting the resume signal is skipped. Next, it is examined whether or not the contact SW2 has been selected by the user (S16). The checking as to whether or not the contact SW2 has been selected is performed for a predetermined period. If the SW2 has not been depressed after the predetermined period, there is a possibility that the user has stopped image sensing operation. The process returns to step S12 to check whether or not the contact SW1 has been selected. If it is determined at step S16 that the contact SW2 has been selected, image sensing for formation of one digital image is performed, and the image is stored in the memory (S17). Finally, the digital image stored in the memory is transmitted to the computer by using the USB I/F circuit 9 (S18). Thus, the sequence by the image sensing apparatus to form one digital image, store the image into the memory, and transfer the image stored in the memory to the computer, is completed. Then, the user's instruction for image-sensing preparation is waited again at step S12. That is, in the image sensing apparatus of the present embodiment, when an obtained image is transmitted to the computer at the same time of image sensing by the image sensing apparatus, if the user has depressed the switch to select the contact SW1, the image sensing apparatus automatically transmits the resume signal to the computer if the computer is in the suspended status. Accordingly, it is unnecessary for the user to operate the computer to release the suspended status. This user's labor can be removed, and the user can avoid missing a shutter chance. (Second Embodiment) In the first embodiment, the image sensing apparatus transmits the resume signal to the computer, triggered by the user's depression of the switch to select the contact SW1. However, the user does not always depresses the switch to select the contact SW2 to perform image sensing after the depression of the switch to select the contact SW1. In cases other than image sensing, the suspended status of the computer is released even though image file is not transferred to the computer. In a second embodiment, the image sensing apparatus transmits a resume signal to the computer, triggered by the user's depression of the switch to select the contact SW2. The construction of the image sensing apparatus of the second embodiment is the same as that in Fig. 1. Fig. 3 is a flowchart showing the operation of the present embodiment. First, the image sensing apparatus and the computer are connected by the USB I/F circuit 9 (S21). Next, when the user depresses the switch to select the contact SW1 (S22), the image sensing apparatus performs image-sensing preparation operation (S23). Next, it is examined whether or not the user has depressed the switch to select the contact SW2 (S24). The checking as to whether or not the contact SW2 has been selected is performed for a predetermined period. If the contact SW2 has not been selected after the predetermined period, there is a possibility that the user has stopped image sensing operation. The process returns to step S22, to check whether or not the contact SW1 has been selected. If it is determined at step S24 that the contact SW2 has been selected, in preparation for image file transfer to the computer after image sensing, it is examined whether or not the computer is in the suspended status (step S25). If the computer is in the suspended status, a resume signal is transmitted via the USB I/F circuit (step S26). If the computer is not in the suspended status, the step of transmitting the resume signal is skipped. Then image sensing has performed to form one digital image, the image is stored into the memory (S27). Finally, the digital image stored in the memory is transmitted to the computer by using the USB I/F circuit 9 (S28). Thus, the sequence by the image sensing apparatus to form one digital image, store the image into the memory, and at the same time, transfer the image file stored in the memory to the computer is completed. Then, the user's instruction for image sensing preparation is waited again at step S22. That is, in the image sensing apparatus of the present embodiment, when an obtained image is transmitted to the computer at the same time of image sensing by the image sensing apparatus, if the user has depressed the switch to select the contact SW2, the image sensing apparatus automatically transmits the resume signal to the computer if the computer is in the suspended status. Accordingly, as in the case of the first embodiment, it is unnecessary for the user to operate the computer to release the suspended status. This user's labor can be removed, and the user can avoid missing a shutter chance. (Third Embodiment) In a third embodiment, the image sensing apparatus transmits a resume signal to the computer when the user has depressed the switch to select the contact SW2 then formed and stored digital image data. The construction of the image sensing apparatus according to the third embodiment is the same as that in Fig. 1. Fig. 4 is a flowchart showing the operation according to the third embodiment. First, the image sensing apparatus and the computer are connected by the USB I/F circuit (S31). Next, if the user has depressed the switch to select the contact SW1 (S32), the image sensing apparatus performs image-sensing preparation operation (S33). Next, it is examined whether or not the user has depressed the switch to select the contact SW2 (S34). The checking as to whether or not the contact SW2 has been selected is performed for a predetermined period. If the contact SW2 has not been selected after the predetermined period, there is a possibility that the user has stopped image sensing operation. The process returns to step S32, to check whether or not the contact SW1 has been selected. If it is determined at step S34 that the contact SW2 has been selected, image sensing is performed to form one digital image, and store the image into the memory (S35). Next, in preparation for image file transfer to the computer, it is examined whether or not the computer is in the suspended status (S36). If the computer is in the suspended status, the resume signal is transmitted via the USB I/F circuit (S37). If the computer is not in the suspended status, the step of transmitting the resume signal is skipped. Finally, the digital image stored in the memory is transmitted to the computer by using the USB I/F circuit 9 (S38). Thus the sequence by the image sensing apparatus to form one digital image, store the image into the memory, and at the same time, to transfer the image file stored in the memory to the computer is completed. Then, the user's instruction for image sensing preparation is waited again at step S32. That is, in the image sensing apparatus of the present embodiment, when an obtained image is transmitted to the computer at the same time of image sensing by the image sensing apparatus, if the user has depressed the switch to select the contact SW2 and performed image sensing to form and store digital image data, the image sensing apparatus automatically transmits the resume signal to the computer if the computer is in the suspended status. Accordingly, as in the case of the first and second embodiments, it is unnecessary for the user to operate the computer to release the suspended status. This user's labor can be removed, and the user can avoid missing a shutter chance. Note that in addition to the above-described three embodiments, if it is arranged such that the image sensing apparatus automatically transmits a resume signal to the computer if it is in the suspend status when the user depresses an arbitrary switch of the image sensing apparatus, as in the case of the above embodiments, it is unnecessary for the user to operate the computer to release the suspended status. This user's labor can be removed, and the user can avoid missing a shutter chance. Further, in any of the above embodiments, as information as to whether or not the USB-connected computer is in the suspended status is displayed on the display unit 11 in Fig. 1, the user obtains information on the suspended status of the computer while operating the image sensing apparatus. Further, in the above embodiments, the resume signal is transmitted in accordance with manipulation on the shutter button by the user, however, the present invention is not limited to this arrangement. For example, in a case where automatic image sensing is performed intermittently at predetermined intervals, it may be arranged such that the resume signal is automatically transmitted upon each image sensing without the user's manual switch operation. Further, the image sensing apparatus according to the present invention is not limited to a camera but may be any device to pick up an image and transmits an image signal. Further, in the present invention, the image-sensing unit and the control device may be provided in one casing or may be provided in separate casings and connected with each other via a cable or wireless communication. (Other Embodiment) The present invention can be applied to a system constituted by a plurality of devices (e.g., a host computer, an interface, a reader and a printer) or to an apparatus comprising a single device (e.g., a copy machine or a facsimile apparatus). Further, the object of the present invention can be also achieved by providing a storage medium storing program code for performing the aforesaid processes to a system or an apparatus, reading the program code with a computer (e.g., CPU, MPU) of the system or apparatus from the storage medium, then executing the program. In this case, the program code read from the storage medium realizes the functions according to the embodiments, and the storage medium storing the program code constitutes the invention. Furthermore, besides aforesaid functions according to the above embodiments are realized by executing the program code which is read by a computer, the present invention includes a case where an OS (operating system) or the like working on the computer performs a part or entire processes in accordance with designations of the program code and realizes functions according to the above embodiments. Furthermore, the present invention also includes a case where, after the program code read from the storage medium is written in a function expansion card which is inserted into the computer or in a memory provided in a function expansion unit which is connected to the computer, CPU or the like contained in the function expansion card or unit performs a part or entire process in accordance with designations of the program code and realizes functions of the above embodiments. In a case where the present invention is applied to the aforesaid storage medium, the storage medium stores program code corresponding to the flowcharts (Figs. 2 to 4) described in the embodiments. As described above, according to the present invention, it is unnecessary for the user to operate the computer to release the suspended status. This user's labor can be removed, and the user can avoid missing a shutter chance by operating the computer. The present invention is not limited to the above embodiments and various changes and modifications can be made within the scope of the present invention. Therefore, to appraise the public of the scope of the present invention, the following claims are made. An image sensing apparatus improves operability in transmission of image data to a computer or the like. An image sensing apparatus 12 has an image sensing device 2 which image-senses an object and outputs an image signal, signal processing circuits 3 and 4 which convert the image signal outputted from the image sensing device 2 into digital image data, a USB I/F circuit 9 which transmits/receives data with a computer 13 as an information processing apparatus connected to the image sensing apparatus via a cable or wireless communication, and a switch 10 as a signal generation unit which generates a trigger signal to perform image-sensing related operation. If the image sensing apparatus 12 and the computer 13 are connected to each other and the computer 13 is in a suspended status, the image sensing apparatus 12 transmits a resume signal via the USB I/F circuit 9 to the computer 13.

Claims: An image sensing apparatus comprising: image sensing means (2) for sensing an object and outputting an image signal; signal processing means (3, 4) for converting the image signal outputted from the image sensing means (2) into digital image data; transmission/reception means (9) for transmitting/receiving data with an information processing apparatus (13) connected to said image sensing apparatus (12) via a cable or wireless communication; signal generation means (10) for generating a trigger signal to start an image sensing preparation operation or an image sensing operation; and control means (6, 7) for controlling the image sensing apparatus (12), wherein if said image sensing apparatus (12) and said information processing apparatus (13) are connected to each other it is examined by said control means (6,7) whether the information processing apparatus (13) is in a suspended state, i. e. in a low electric consumption mode (S14; S25; S36), and if said information processing apparatus (13) is in said suspended state then said control means (6, 7) controls said transmission/reception means (9) to transmit a resume signal (S15; S26; S37) for causing said information processing apparatus (13) to change to an operative state to said information processing apparatus (13) after said signal generation means (10) generates said trigger signal. The image sensing apparatus according to claim 1, further comprising recording means (S7; S27; S35) for recording said digital image data. The image sensing apparatus according to claim 1 or 2, wherein said signal generation means (10) comprises a switch having at least a first contact (SW1) to start the image sensing preparation operation and a second contact (SW2) to start the image sensing operation and a digital image data recording, and wherein when said first contact (SW1) is turned on, said image sensing apparatus (12) transmits said resume signal to said information processing apparatus (13). The image sensing apparatus according to claim 1 or 2, wherein said signal generation means (10) comprises a switch having at least a first contact (SW1) to start the image sensing preparation operation and a second contact (SW2) to start the image sensing operation and a digital image data recording, and wherein when said second contact (SW2) is turned on, said image sensing apparatus (12) transmits said resume signal to said information processing apparatus (13). The image sensing apparatus according to claim 1 or 2, wherein said signal generation means (10) comprises a switch having at least a first contact (SW1) to start the image sensing preparation operation and a second contact (SW2) to start the image sensing operation and a digital image data recording, and wherein when said second contact (SW2) has been turned on and said image sensing operation and said digital image data recording have been completed, said image sensing apparatus (12) transmits said resume signal to said information processing apparatus (13). The image sensing apparatus according to any one of claims 1 to 5, wherein said signal generating means (10) is a particular switch provided in said image sensing apparatus (12). The image sensing apparatus according to any one of claims 1 to 6, further comprising display means (11) for displaying predetermined information, wherein if said image sensing apparatus (12) and said information processing apparatus (13) are connected to each other and said information processing apparatus (13) is in the suspended state, said display means (11) displays information indicating that said information processing apparatus (13) is in the suspended state. The image sensing apparatus according to any one of claims 1 to 7, wherein said transmission/reception means (9) is based on the USB (Universal Serial Bus) specification. A control method for an image sensing apparatus comprising image sensing means (2) for sensing an object and outputting an image signal, signal processing means (3, 4) for converting the image signal outputted from the image sensing means (2) into digital image data, transmission/reception means (9) for transmitting/receiving data with an information processing apparatus (13) connected to said image sensing apparatus (12) via a cable or wireless communication, signal generating means (10) for generating a trigger signal to start an image sensing preparation operation or an image sensing operation, and control means (6, 7) for controlling the image sensing apparatus (12), said method comprising: a step of examining by said control means (6, 7), if said image sensing apparatus (12) and said information processing apparatus (13) are connected to each other, whether the information processing apparatus (13) is in a suspended state, i. e. in a low electric consumption mode (S14; S25; S36), and a step of controlling, if said information processing apparatus (13) is in the suspended state, said transmission/reception means (9) to transmit a resume signal (S15; S26; S37) for causing said information processing apparatus (13) to change to an operative state to said information processing apparatus (13) after said signal generation means (10) generates said trigger signal. A storage medium containing a control program for controlling an image sensing apparatus as claimed in claim 1 to perform the method of claim 9.

Inventors: KOIDE YUJI, KOIDE, YUJI, Koide, Yuji, c/o CANON KABUSHIKI KAISHA
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 2000
Main classification: H04N5
IPC codes: H04N5