METHOD AND APPARATUS FOR STORING CAMERA-CAPTURED IMAGES

Information

  • Patent Application
  • 20130176459
  • Publication Number
    20130176459
  • Date Filed
    January 07, 2013
    12 years ago
  • Date Published
    July 11, 2013
    11 years ago
Abstract
A method and an apparatus are provided for storing camera-captured images. A preview image is displayed. An occurrence of a shutter event is checked for. A compressed image corresponding to the preview image is stored in a storage unit, when the shutter event has occurred.
Description
PRIORITY

This application claims priority under 35 U.S.C. §119(a) to a Korean patent application filed on Jan. 6, 2012 in the Korean Intellectual Property Office and assigned Serial No. 10-2012-0001827, the entire disclosure of which is incorporated herein by reference.


BACKGROUND OF THE INVENTION

1. Field of the Invention


The present invention relates generally to a method and an apparatus for storing camera-captured images and, more particularly, to a method and an apparatus that can store a camera-captured image that is identical to an image viewed by the user at the time a shutter is pressed without shutter lag.


2. Description of the Related Art


With technical advances, cameras and mobile terminals having a camera module have been popularized. A mobile terminal having a camera module may capture an image using the camera module, resize the captured image to fit a screen of the mobile terminal, and display the resized image as a preview image on the screen. In some case, preview images may be continuously displayed in the form of a video image. A user of the mobile terminal may manipulate the mobile terminal while viewing the preview image. When the user presses a shutter, for example after viewing a preview image, the mobile terminal may store a camera-captured image.


It is difficult for a mobile terminal having a camera to realize zero shutter lag due to various reasons, which include, for example, hardware limitations. A representative reason zero shutter lag is difficult to realize is the time that is required to change an operation mode of the camera module from a preview mode to a storage mode. For example, a user may wish to first view a preview image in the preview mode then store a captured image corresponding to a desired preview image in the storage mode, requiring an operation mode change between the preview mode and the storage mode. In the preview mode, a camera-captured image is resized and displayed as a preview image. In the storage mode, a camera-captured image is compressed in a given format, such as, for example, Joint Photographic Experts Group (JPEG), and stored. Specifically, when the user presses the shutter, the mobile terminal does not store a low-resolution preview image, but compresses a high-resolution image captured by the camera module and stores the compressed image. A preview image may be stored as well, and used as a thumbnail or the like. Because of the time delay due to the mode change, the image that is actually stored may be different from the image that the user wishes to store.


In a method for reducing shutter lag in a mobile terminal having a camera module, raw data may be processed into a preview image for display and may be processed into a compressed image for temporary storage in a buffer. When the shutter is pressed, the mobile terminal may extract a compressed image from the buffer and store the extracted image in a storage unit. In this method, preview mode operation and storage mode operation are simultaneously performed to reduce time lag. However, minimized or zero shutter lag is not sufficiently realized because the image stored in the storage unit may correspond to one of continuously displayed preview images, but may not correspond to the image that the user wishes to store.


SUMMARY OF THE INVENTION

The present invention has been made to address at least the above problems and/or disadvantages and to provide at least the advantages described below. Accordingly, an aspect of the present invention provides a method and apparatus that can store a camera-captured image identical to an image viewed by the user at the time the shutter is pressed. Specifically, embodiments of the present invention provide a method and apparatus that can ensure correspondence between the image viewed by the user at the time the shutter is pressed and the image stored in a storage unit.


According to one aspect of the present invention, a method for storing camera-captured images is provided. A preview image is displayed. An occurrence of a shutter event is checked for. A compressed image corresponding to the preview image is stored in a storage unit, when the shutter event has occurred. According to another aspect of the present invention, an apparatus is provided for storing camera-captured images. The apparatus includes a display unit for displaying a preview image, a storage unit for storing a compressed image, and an input unit for generating a shutter event. The apparatus also includes a control unit for controlling the display unit to display the preview image, checking for an occurrence of the shutter event, and controlling the storage unit to store the compressed image, which corresponds to the preview image.





BRIEF DESCRIPTION OF THE DRAWINGS

The above and other aspects, features and advantages of the present invention will be more apparent from the following detailed description when taken in conjunction with the accompanying drawings, in which:



FIG. 1 is a block diagram illustrating a mobile terminal, according to an embodiment of the present invention;



FIG. 2 is a diagram illustrating a configuration of a control unit in the mobile terminal of FIG. 1, according to an embodiment of the present invention;



FIG. 3 is a diagram illustrating another configuration of a control unit in the mobile terminal of FIG. 1, according to an embodiment of the present invention;



FIG. 4 is a diagram illustrating another configuration of a control unit in the mobile terminal of FIG. 1, according to an embodiment of the present invention;



FIG. 5 is a flowchart illustrating an image storage method, according to an embodiment of the present invention;



FIG. 6 is a flowchart illustrating an image storage method, according to another embodiment of the present invention;



FIG. 7 is a flowchart illustrating an image storage method, according to another embodiment of the present invention;



FIG. 8 illustrates formats for interleaved data composed of preview image data and compressed image data, according to an embodiment of the present invention; and



FIG. 9 is a diagram illustrating a software architecture for supporting the image storage method, according to an embodiment of the present invention.





DETAILED DESCRIPTION OF EMBODIMENTS OF THE PRESENT INVENTION

Embodiments of the present invention are described in detail with reference to the accompanying drawings. The same or similar components are designated by the same or similar reference numerals although they are illustrated in different drawings. In the drawings, some elements are exaggerated or only outlined in brief, and thus may be not drawn to scale. The present invention is not limited by relative sizes of objects and intervals between objects in the drawings


Particular terms may be defined to describe the invention in the best manner. Accordingly, the meaning of specific terms or words used in the specification and the claims should not be limited to the literal or commonly employed sense, but should be construed in accordance with the spirit of the invention. Detailed descriptions of constructions or processes known in the art may be omitted to avoid obscuring the subject matter of the present invention.


As referred to herein, “raw data” relates to data that is produced by a camera and corresponds to an unprocessed digital image.


A “preview image” refers to an image that is obtained by resizing raw data to fit a screen and that is displayed on the screen. A preview image may be a low-resolution version of high-resolution raw data. The camera module may have a function for processing raw data into a preview image. Preview images may be stored and used as thumbnails.


A “compressed image” refers to an image that is obtained by compressing raw data in a format, such as, for example, JPEG, for storage. The camera module may have a function for processing raw data into a compressed image.


“Interleaved data” refers to data that is obtained by combining preview image data and compressed image data. For example, when image data is processed in units of packets (or blocks or sub-blocks), interleaved data may be composed of preview image packets (or blocks or sub-blocks) and compressed image packets (or blocks or sub-blocks), for example arranged at random or in a non-random order. The packets, blocks or sub-blocks may be of varying size or the same size. It should be understood that the expression “interleaved data”, as used herein, may refer to any suitable way to combine two sets of data (whether maintained in contiguous form, or divided into packets, blocks or sub-blocks), and in particular, is not limited to an arrangement of two sets of data in multiple sets of alternate packets blocks or sub-blocks. FIGS. 8a and 8b illustrate two exemplary formats for interleaved data. The skilled person will appreciate that other formats are possible.


The image storage method and apparatus of the embodiments of the present invention may be applied to mobile terminals including, for example, a cellular phone, a smartphone, a tablet computer, a handheld computer, a Portable Multimedia Player (PMP), and a Personal Digital Assistant (PDA).


The image storage method and apparatus of the embodiments of the present invention aim to minimize shutter lag, and preferably realize zero shutter lag.



FIG. 1 is a block diagram illustrating a mobile terminal 100, according to an embodiment of the present invention. Referring to FIG. 1, the mobile terminal 100 includes a touchscreen 110, a key input unit 120, a display unit 130, a storage unit 140, a wireless communication unit 150, an audio processing unit 160 including a speaker SPK and a microphone MIC, a camera module 170, and a control unit 180. The touchscreen 110, disposed on the display unit 130, generates a touch event corresponding to a touch gesture made by the user on the touchscreen 110.


The touchscreen 110 sends the touch event to the control unit 180. The control unit 180 may control other components based on a touch event sent by the touchscreen 110. For example, the control unit 180 may store a compressed image in the storage unit 140 in response to a shutter press event. Touch gestures may include a touch, a tap, a long tap, a drag, and a sweep. A touch corresponds to single point contact with the screen. A tap corresponds to a touch and a release at the same point. A long tap corresponds to long touch and release at the same point. A drag corresponds to a touch and a movement in one direction. A sweep or a flick corresponds to touch, fast movement and release. The touchscreen 110 may be realized using a resistive type, a capacitive type, an electromagnetic induction type, or a pressure type technology.


The key input unit 120 may include a plurality of alphanumeric and function keys for inputting alphanumeric information and for setting various functions. The function keys may include direction, side, and shortcut keys associated with corresponding functions. The key input unit 120 transmits key signals from the user, for setting and controlling the mobile terminal 100, to the control unit 180. Key signals may be related to power on/off, volume adjustment, screen on/off, and shutter pressing. The control unit 180 may control the components according to the key signals. In other embodiments, the shutter key may be implemented as a physical key, for example a function key. In general, any virtual, or touch-based, key may be implemented as a corresponding physical key according to design considerations.


The display unit 130 converts digital data from the control unit 180 into analog data and displays the analog data under the control of the control unit 180. In particular, the display unit 130 converts preview image data from the control unit 180 into an analog signal and displays the analog signal. The display unit 130 may output a menu for controlling the camera module 170 together with the preview image. This menu includes a shutter key. The control unit 180 may control the camera module 170 according to a touch event detected on the menu. The display unit 130 may be realized using a flat display panel composed of Liquid Crystal Display (LCD) devices, Organic Light Emitting Diodes (OLED), or Active Matrix Organic Light Emitting Diodes (AMOLED).


The storage unit 140 may store an Operating System (OS) of the mobile terminal 100, various applications, and various data, such as, for example, text, audio and video. The storage unit 140 may include a program section and a data section. The program section may store a boot program, an operating system, middleware, and various applications. The middleware arbitrates data between the operating system and an application, or between different applications. In particular, the program section may store an application for minimizing shutter lag, and preferably realizing zero shutter lag, which may include a routine for processing raw data into a preview image, a routine for processing raw data into a compressed image, a routine for extracting preview image data from interleaved data, a routine for extracting compressed image data from interleaved data, a routine for detecting a shutter event, a routine for storing a compressed image corresponding to a preview image on the display unit 130 in the storage unit 140, and a routine for controlling buffer reading and writing.


The program section may store preinstalled applications and third party applications. Preinstalled applications, such as, for example, a browser, an email client, and an instant messaging client are installed in the mobile terminal 100 by default. Third party applications are various applications that may be downloaded from online markets. A third party application may be freely installed in or uninstalled from the mobile terminal 100. When the mobile terminal 100 is turned on, a boot program is loaded in the main memory (Random Access Memory (RAM)). The boot program loads the operating system and middleware in the main memory. The operating system loads an application to be executed upon request.


The data section of the storage unit 140 may store data generated in the course of using the mobile terminal 100, and data downloaded from outside of the mobile terminal 100. The data section may store preview images, compressed images and various setting values for terminal operation. The data section may also temporarily store clipboard data.


The wireless communication unit 150 may perform operations for voice calls, video calls, data calls and digital broadcast reception under the control of the control unit 180. The wireless communication unit 150 may include a mobile communication module (based on 3rd Generation (3G), 3.5 Generation (3.5G) or 4th Generation (4G) mobile communication), a local area communication module (such as a Wireless-Fidelity (Wi-Fi) module), and a digital broadcast receiving module (such as a Digital Multimedia Broadcasting (DMB) module).


The audio processing unit 160 may convert a digital audio signal from the control unit 180 into an analog audio signal, and may output the analog audio signal to the speaker SPK. The audio processing unit 160 may also convert an analog audio signal, such as, for example, a voice signal, from the microphone MIC into a digital audio signal, and may send the digital audio signal to the control unit 180.


The camera module 170 captures an image of a target object and outputs the image data to the control unit 180. The camera module 170 may include a lens for forming an image, an image sensor for converting an optical signal corresponding to the image into an electrical signal, and an Image Signal Processor (ISP) for converting the analog electrical signal from the image sensor into digital data and outputting the digital data as raw data to the control unit 180. The image signal processor may include an element for processing raw data into a preview image, an element for processing raw data into a compressed image, and an element for combining preview image data and compressed image data into interleaved data. Data or image data produced by the image signal processor is output to the control unit 180.


The control unit 180 may control the overall operation of the mobile terminal 100, control signal exchange between internal components thereof, and perform data processing. The control unit 180 may control supply of power from a battery to the internal components. The control unit 180 may execute various applications stored in the program section of the storage unit 140. In particular, the control unit 180 receives image data from the camera module 170, temporarily stores the image data in a buffer, and controls the display unit 130 to display the image data temporarily stored in the buffer. The control unit 180 determines whether a shutter event occurs after image display. The control unit 180, when the shutter event occurs after image display, transfers the image data in the buffer to the storage unit 140.



FIG. 2 is a diagram illustrating a configuration of the control unit 180, according to an embodiment of the present invention. Referring to FIG. 2, the control unit 180 includes a buffer 210, a first processor 220, a display controller 230, a shutter event detector 240, a storage controller 250, and a second processor 260. Raw data from the camera module 170 is temporarily stored in the buffer 210. Raw data stored in the buffer 210 is sent to the first processor 220. The first processor 220 resizes the raw data into a preview image that fits in the screen, and sends the preview image to the display controller 230. After receiving a preview image from the first processor 220, the display controller 230 controls the display unit 130 to display the received preview image. Thereafter, the display controller 230 notifies the storage controller 250 of a display completion event indicating the completion of the display of the preview image. The shutter event detector 240 is connected to the touchscreen 110 and the key input unit 120. When a shutter event is detected, the shutter event detector 240 notifies the storage controller 250 of the occurrence of the shutter event. When a display completion event is detected, the storage controller 250 checks whether a shutter event notification is received from the shutter event detector 240. When a shutter event notification is not received, the storage controller 250 controls the buffer 210 to empty data, so that new raw data may be temporarily stored in the buffer 210. Hence, the buffer 210 may store new raw data from the camera module 170. When a shutter event notification is received, the storage controller 250 controls the second processor 260 to process the raw data in the buffer 210 into a compressed image, and to store the compressed image in the storage unit 140. Specifically, under the control of the storage controller 250, the second processor 260 processes the raw data in the buffer 210 into a compressed image, and outputs the compressed image to the storage unit 140. The storage controller 250 empties the buffer 210, so that new raw data may be temporarily stored in the buffer 210. Meanwhile, the control unit 180 may include a plurality of buffers to store raw data from the camera module 170. When a plurality of buffers are utilized, identifiers may be assigned to the buffers and pieces of raw data stored in the buffers for distinction. The storage controller 250 and the display controller 230 may share such identifiers. Specifically, the display controller 230 may send a preview image identifier together with a preview image notification to the storage controller 250. The storage controller 250 may control the multiple buffers and the second processor 260 on the basis of these identifiers.



FIG. 3 is a diagram illustrating another configuration of the control unit 180, according to an embodiment of the present invention. Referring to FIG. 3, the control unit 180 includes a buffer 310, a display controller 320, a shutter event detector 330, and a storage controller 340. A preview image and a compressed image from the camera module 170 are temporarily stored in the buffer 310. The preview image in the buffer 310 is sent to the display controller 320. After receiving a preview image, the display controller 320 controls the display unit 130 to display the received preview image. Thereafter, the display controller 320 notifies the storage controller 340 of a display completion event indicating the completion of the display of the preview image. The shutter event detector 330 is connected to the touchscreen 110 and key input unit 120. When a shutter event is detected, the shutter event detector 330 notifies the storage controller 340 of the occurrence of the shutter event. When the display completion event is detected, the storage controller 340 checks whether a shutter event notification is received from the shutter event detector 330. When a shutter event notification is not received, the storage controller 340 controls the buffer 310 to empty data, so that a new preview image and compressed image may be temporarily stored in the buffer 310. When a shutter event notification is received, the storage controller 340 extracts the compressed image from the buffer 310 and stores the compressed image in the storage unit 140. The storage controller 340 controls the buffer 310 to empty data, so that a new preview image and compressed image may be temporarily stored in the buffer 310.



FIG. 4 illustrates another configuration of the control unit 180, according to an embodiment of the present invention. Referring to FIG. 4, the control unit 180 includes a buffer 410, a preview image extractor 420, a display controller 430, a shutter event detector 440, and a storage controller 450, and a compressed image extractor 460. Interleaved data from the camera module 170 is temporarily stored in the buffer 410. The interleaved data stored in the buffer 410 is sent to the preview image extractor 420. The preview image extractor 420 extracts preview image data from the received interleaved data, and sends the preview image data to the display controller 430. After receiving preview image data, the display controller 430 controls the display unit 130 to display the received preview image data. Thereafter, the display controller 430 notifies the storage controller 450 of a display completion event indicating the completion of the display of the preview image. The shutter event detector 440 is connected to the touchscreen 110 and the key input unit 120. When a shutter event is detected, the shutter event detector 440 notifies the storage controller 450 of the occurrence of the shutter event. When the display completion event is detected, the storage controller 450 checks whether a shutter event notification is received from the shutter event detector 440. When a shutter event notification is not received, the storage controller 450 controls the buffer 410 to empty data, so that new interleaved data may be temporarily stored in the buffer 410. When a shutter event notification is received, the storage controller 450 controls the compressed image extractor 460 to extract compressed image data from the interleaved data in the buffer 410, and store the compressed image data in the storage unit 140. The storage controller 450 empties the buffer 410, so that new interleaved data may be temporarily stored in the buffer 410.


As described above, embodiments of the present invention can ensure that the preview image viewed by the user at the time of pressing the shutter is the same as the stored compressed image.


It should be apparent to those skilled in the art that the mobile terminal 100 may further include a unit comparable to the above-described units (such as a Global Positioning System (GPS) module), and one unit thereof may be removed or replaced with another unit. In addition to the touchscreen 110 and the key input unit 120, a touch pad, a track ball and a keyboard may also be used as input means.



FIGS. 5 to 7 are flowcharts illustrating embodiments of an image storage method performed by the control unit 180. FIG. 8 illustrates formats for interleaved data composed of preview image data and compressed image data, according to an embodiment of the present invention.



FIG. 5 is a flowchart illustrating an image storage method, according to an embodiment of the present invention. Referring to FIG. 5, the control unit 180 receives raw data from the camera module 170, and temporarily stores the raw data in a buffer, in step 501. Only one buffer may be used for raw data in this embodiment of the present invention. The control unit 180 extracts raw data from the buffer in an order of storage, and processes the raw data into a preview image, in step 502. The control unit 180 outputs the preview image to the display unit 130, in step 503. After displaying the preview image, the control unit 180 checks occurrence of a shutter event, in step 504. When a shutter event is not detected, the control unit 180 empties the buffer corresponding to the currently displayed preview image, so that new raw data may be stored in the buffer, in step 505. When a shutter event is detected, the control unit 180 processes the raw data in the corresponding buffer into a compressed image, and stores the compressed image in the storage unit 140, in step 506. The control unit 180 then empties the corresponding buffer, so that new raw data may be stored in the buffer, in step 505.



FIG. 6 is a flowchart illustrating an image storage method, according to another embodiment of the present invention. Referring to FIG. 6, the control unit 180 receives a preview image 801 and a compressed image 802, as shown in (a) of FIG. 8, from the camera module 170, and temporarily stores the same in the buffer, in step 601. The control unit 180 extracts the preview image 801 from the buffer, and outputs the preview image 801 to the display unit 130, in step 602. After displaying the preview image, the control unit 180 checks occurrence of a shutter event, in step 603. When a shutter event is not detected, the control unit 180 empties the buffer, so that new preview and compressed images may be stored in the buffer, in step 604. When a shutter event is detected, the control unit 180 extracts the compressed image 802 and stores the compressed image 802 in the storage unit 140, in step 605. The control unit 180 then empties the buffer, so that new preview and compressed images may be stored in the buffer, in step 604.



FIG. 7 is a flowchart illustrating an image storage method, according to another embodiment of the present invention. Referring to FIG. 7, the control unit 180 receives interleaved data 803, as shown in (b) of FIG. 8, from the camera module 170, and temporarily stores the same in the buffer, in step 701. The control unit 180 extracts a preview image from the interleaved data 803 in the buffer, and outputs the preview image to the display unit 130, in step 702. After displaying the preview image, the control unit 180 checks for occurrence of a shutter event, in step 703. When a shutter event is not detected, the control unit 180 empties the buffer, so that new interleaved data may be stored in the buffer, in step 704. When a shutter event is detected, the control unit 180 extracts a compressed image from the interleaved data 803 in the buffer and stores the compressed image in the storage unit 140, in step 705. The control unit 180 then empties the buffer, so that new interleaved data may be stored in the buffer, in step 704.



FIG. 9 is a diagram illustrating a software architecture for supporting the image storage method, according to an embodiment of the present invention.


Referring to FIG. 9, the control unit 180 executes a camera application 910, GStreamer 920, Xserver 930, a camera driver 940, and a display driver 950. GStreamer 920 and Xserver 930 are Linux-based middleware. At step 1, a camerasrc 921 (a plug-in) of the GStreamer 920 receives interleaved data from the camera driver 940 of the kernel. At step 2, the camerasrc 921 extracts a preview image (for example, YUV data) from the interleaved data and sends the preview image to a videosink 922 (a plug-in). At step 3, the videosink 922 sends the preview image to the Xserver 930. At step 4, the Xserver 930 forwards the preview image to the display driver 950. The Xserver 930 may process the preview image (for example, YUV-to-RGB transform and resizing) before forwarding. The display driver 950 renders the preview image on the display unit 130.


At step 5, after sending the preview image to the Xserver 930, the videosink 922 sends a notification of “preview image output” to the camerasrc 921. The camerasrc 921 checks whether a shutter event corresponding to a capture command is received from the camera application 910. At step 5-1, when a capture command is received, the camerasrc 921 extracts a compressed image (for example, JPEG data) from the interleaved data and sends the compressed image to the camera application 910. The camera application 910 stores the compressed image in the storage unit 140. At step 6, after sending the compressed image to the camera application 910, the camerasrc 921 sends a buffer release command to the camera driver 940. In response to the buffer release command, the camera driver 940 empties the buffer, so that new interleaved data may be stored in the buffer. When a capture command is not received, step 5-1 is skipped and only step 6 is performed.


As described above, the image storage method of the embodiments of the present invention can ensure that the preview image viewed by the user at the time of pressing the shutter is the same as the stored compressed image.


The image storage method of the embodiments of the present invention may be implemented as computer programs and may be stored in various computer readable storage media. The computer readable storage media may store program instructions, data files, data structures and combinations thereof. The program instructions may include instructions developed specifically for the present invention and existing general-purpose instructions. The computer readable storage media may include magnetic media such as, for example, a hard disk and a floppy disk, optical media such as, for example, a Compact Disc-Read Only Memory (CD-ROM) and a Digital Versatile Disc (DVD), magneto-optical media such as, for example, a floptical disk, and memory devices such as, for example, a ROM and RAM. The program instructions may include machine codes produced by compilers and high-level language codes executable through interpreters. Each hardware device may be replaced with one or more software modules to perform operations according to the embodiments of the present invention, and vice versa.


While the present invention has been shown and described with reference to certain embodiments thereof, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the present invention as defined by the appended claims.

Claims
  • 1. A method for storing camera-captured images, the method comprising the steps of: displaying a preview image;checking for an occurrence of a shutter event; andstoring a compressed image corresponding to the preview image in a storage unit, when the shutter event has occurred.
  • 2. The method of claim 1, wherein checking for the occurrence of the shutter event is performed after the preview image is displayed.
  • 3. The method of claim 2, wherein displaying the preview image comprises: receiving raw data from a camera module and storing the raw data in a buffer;processing the raw data from the buffer into the preview image; andoutputting the preview image to a display unit.
  • 4. The method of claim 3, wherein storing the compressed image comprises: processing the raw data from the buffer into a compressed image, when the shutter event has occurred;outputting the compressed image to the storage unit; andemptying the buffer so that the buffer is able to store new raw data.
  • 5. The method of claim 4, wherein storing the compressed image further comprises emptying the buffer so that the buffer is able to store the new raw data, when the shutter event has not occurred.
  • 6. The method of claim 2, wherein displaying the preview image comprises: receiving the preview image and the compressed image from a camera module, and storing the preview image and the compressed image in a buffer; andextracting the preview image from the buffer, and outputting the preview image to a display unit.
  • 7. The method of claim 6, wherein storing the compressed image comprises: extracting the compressed image and outputting the compressed image to the storage unit, when the shutter event has occurred; andemptying the buffer so that the buffer is able to store a new preview image and a new compressed image.
  • 8. The method of claim 2, wherein displaying the preview image comprises: receiving interleaved data composed of the preview image and the compressed image from a camera module, and storing the interleaved data in a buffer;extracting the preview image from the interleaved data in the buffer; andoutputting the preview image to a display unit.
  • 9. The method of claim 8, wherein storing the compressed image comprises: extracting the compressed image from the interleaved data in the buffer and outputting the compressed image to the storage unit, when the shutter event has occurred; andemptying the buffer so that the buffer is able to store new interleaved data.
  • 10. An apparatus for storing camera-captured images, the apparatus comprising: a display unit for displaying a preview image;a storage unit for storing a compressed image;an input unit for generating a shutter event; anda control unit for controlling the display unit to display the preview image, checking for an occurrence of the shutter event, and controlling the storage unit to store the compressed image, which corresponds to the preview image.
  • 11. The apparatus of claim 10, wherein the control unit checks for the occurrence of the shutter event after the preview image is displayed on the display unit.
  • 12. The apparatus of claim 11, wherein the control unit comprises: a buffer for storing raw data received from a camera module;a first processor for processing the raw data from the buffer into the preview image;a display controller for receiving the preview image from the first processor and controlling the display unit to display the preview image;a shutter event detector, connected to the input unit, for detecting the shutter event;a storage controller for checking whether a shutter event notification is received from the shutter event detector after a display completion notification is received from the display controller, controlling an operation to process the raw data in the buffer into the compressed image when the shutter event notification is received, and emptying the buffer so that the buffer is able to store new raw data; anda second processor for processing the raw data from the buffer into the compressed image under control of the storage controller.
  • 13. The apparatus of claim 12, wherein the storage controller empties the buffer so that the buffer is able to store new raw data, when the shutter event notification is not received.
  • 14. The apparatus of claim 11, wherein the control unit comprises: a buffer for storing the preview image and the compressed image from a camera module;a display controller for extracting the preview image from the buffer and controlling the display unit to display the preview image;a shutter event detector, connected to the input unit, for detecting the shutter event;a storage controller for checking whether a shutter event notification is received from the shutter event detector after a display completion notification is received from the display controller, extracting the compressed image from the buffer and outputting the compressed image to the storage unit when the shutter event notification is received, and emptying the buffer so that the buffer is able to store a new preview image and a new compressed image.
  • 15. The apparatus of claim 11, wherein the control unit comprises: a buffer for storing interleaved data from a camera module;a preview image extractor for extracting the preview image from the interleaved data in the buffer;a display controller for receiving the preview image from the preview image extractor and controlling the display unit to display the preview image;a shutter event detector, connected to the input unit, for detecting a shutter event;a storage controller for checking whether a shutter event notification is received from the shutter event detector after a display completion notification is received from the display controller, controlling an operation to extract the compressed image from the interleaved data in the buffer when the shutter event notification is received, and emptying the buffer so that the buffer is able to store new interleaved data; anda compressed image extractor for extracting the compressed image from the interleaved data in the buffer.
  • 16. The apparatus of claim 11, further comprising a camera module that comprises a lens to form an image, an image sensor to convert an optical signal corresponding to the image into an electrical signal, and an image signal processor to convert the electrical signal from the image sensor into raw data.
  • 17. The apparatus of claim 16, wherein the image signal processor comprises: a first component for processing the raw data into the preview image and outputting the preview image to a buffer of the control unit; anda second component for processing the raw data into the compressed image and outputting the compressed image to the buffer.
  • 18. The apparatus of claim 17, wherein the image signal processor further comprises a third component that combines the preview image and the compressed image into interleaved data and outputs the interleaved data to the buffer of the control unit.
Priority Claims (1)
Number Date Country Kind
10-2012-0001827 Jan 2012 KR national