# Patent

## Title
Method for saving an image from a camera application of a portable electronic device

## Abstract

An image is saved to a contact record or set as a home screen directly from a camera application of a portable electronic device. The method includes: capturing an image using a camera that is integrated into the portable electronic device, selecting at least a portion of the image, selecting a contact record from an address book application or selecting a set as home screen option.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This application is a continuation of U.S. patent application Ser. No. 11/616,918, filed on Dec. 28, 2016, which is incorporated herein by reference.


FIELD
The present disclosure relates to portable electronic devices having cameras, in particular, a method for saving an image from a camera application of a portable electronic device.
BACKGROUND
As technology advances, electronic devices continue to become smaller and include more features. Today, electronic devices often include phone, email, media player and camera capabilities. For the most part, these features are integrated to provide a user-friendly interface when performing tasks that involve more than one feature. For example, a user is able to make a phone call or send an email by accessing a contact from a single address book. Similarly, the user is able to take and send a picture to a contact directly without performing an intermediate step of saving the picture on the device.
Although there is a great deal of integration between the different features of the electronic device, there are still areas where the user is required to navigate between different features and perform multiple steps in order to complete a simple operation. Integration of the camera with the other features of the device is one area, in particular, where efficiency and friendliness of the user interface could be improved.
It is therefore desirable to provide seamless integration between the camera and at least one other feature in an electronic device.



BRIEF DESCRIPTION OF THE DRAWINGS
The embodiments will be better understood with reference to the following Figures in which like numerals denote like parts and in which:
FIG. 1 is a schematic diagram of a wireless communication system;
FIG. 2 is a block diagram of components of a portable electronic device according to an embodiment;
FIG. 3 is a flow chart showing a method for saving an image captured using a camera of the portable electronic device of FIGS. 1 and 2 in an address book application.
FIGS. 4-8 are screen shots depicting the method of FIG. 3;
FIG. 9 is a screen shot of a contact record;
FIG. 10 is another flowchart showing the method for saving an image captured using a camera of the portable electronic device of FIGS. 1 and 2 in an address book application;
FIG. 11 is a flow chart showing a method for saving an image captured using a camera of the portable electronic device of FIGS. 1 and 2 as a home screen;
FIGS. 12-15 are screen shots depicting the method of FIG. 11; and
FIG. 16 is another flowchart showing a method for saving an image captured using a camera of the portable electronic device of FIGS. 1 and 2 as a home screen.



DETAILED DESCRIPTION
According to one aspect there is provided a method for saving an image in an address book application of a portable electronic device, the method including: capturing an image using a camera, the camera being integrated into the portable electronic device; selecting at least a portion of the image; selecting a contact name to be associated with the image from a list of contact names, each of the contact names corresponding to a contact record that is stored in the address book application; and saving the image in the contact record of the address book application.
According to another aspect there is provided a portable electronic device for saving an image in an address book application of the portable electronic device, the portable electronic device including: a camera for capturing an image, the camera being integrated into the portable electronic device; a camera application executable by a processor; a selection device for selecting at least a portion of the image and subsequently selecting a contact name to be associated with the image from a list of contact names, each of the contact names corresponding to a contact record that is stored in the address book application; wherein selection of the contact name associated with the image saves the image in the contact record.
By integrating the address book application and the camera, an image can be saved directly onto a contact record without requiring intermediate steps. Eliminating the intermediate steps including: saving the image on the device, retrieving the image and setting the image as the contact image makes the process more efficient and saves a significant amount of time for the user. In addition, by including the feature on the main camera menu, users are able to access it easily rather than having to navigate through multiple menus to find the feature.
According to another aspect there is provided a method for storing an image on a portable electronic device, the method including: capturing an image using a camera, the camera being integrated into the portable electronic device; selecting at least a portion of the image; saving the at least a portion of the image on the portable electronic device; identifying the at least a portion of the image as a new home screen image, the new home screen image replacing an existing home screen image; and displaying the new home screen image on the home screen of the portable electronic device.
According to yet another aspect there is provided a portable electronic device including: a camera for capturing an image, the camera being integrated into the portable electronic device; a camera application executable by a processor; a selection device for selecting at least a portion of the image; a processor for storing the at least a portion of the image on the portable electronic device, the at least a portion of the image being identified as a new home screen image and overwriting a previous home screen image; and a display for displaying the new home screen image.
Integrating the home screen setting function and the camera allows users to save a captured image as the new home screen image directly from the camera application without requiring intermediate steps. By including the feature on the main camera menu, users are able to access it easily rather than having to navigate through multiple menus to find the feature.
Referring now to FIG. 1, a communication system 10 for a portable electronic device 12 is generally shown. The portable electronic device 12 is operable to effect voice and data communications over a radio communications channel and communicates with a base station (not shown) while located within a coverage area that is defined by the base station. The base station is part of a wireless network that is in communication with the Internet 14. Data is delivered to the portable electronic device 12 via wireless transmission from the base station. Similarly, data is sent from the portable electronic device 12 via wireless transmission to the base station. A server 18 handles wireless client requests from the portable electronic device 12. A firewall, or proxy server, 16, is provided between the server 18 and the Internet 14.
It will be appreciated that the portable electronic device 12 is movable within the coverage area and can be moved to coverage areas defined by other base stations. Further, as will be understood by one skilled in the art, wireless networks include GSM/GPRS, CDPD, TDMA, iDEN, Mobitex, DataTAC networks, EDGE, EVDO or UMTS and broadband networks such as Bluetooth and variants of 802.11.
Referring now to FIG. 2, a block diagram of certain components, including internal components within the portable electronic device 12, is shown. The portable electronic device 12 is based on a microcomputer that includes a microprocessor 38 connected to a random access memory (RAM) unit 40 and a persistent storage device, which in the present embodiment is a flash memory 42 that is responsible for various non-volatile storage functions of the portable electronic device 12. Operating system software 20 executable by the microprocessor 38 is stored in the flash memory 42. It will be appreciated, however, that the operating system software 20 can be stored in other types of memory such as read-only memory (ROM). In the present embodiment, software applications 22 including Personal Information Manager (PIM) applications are stored in the persistent storage device 42 for execution by the microprocessor 38 for carrying out various functions. The microprocessor 38 receives input from various input devices including the trackball 30, the escape key 32, the keypad 34, and the camera hardware 44 and outputs to various output devices including the LCD display 24, the speaker 26 and the LED indicator 28.
As indicated above, the flash memory 42 stores a plurality of applications executable by the microprocessor 38 that enable the portable electronic device 12 to perform certain operations including the communication operations referred to above. Applications software is provided including, for example, PIM applications such as an email application, an address book application, a calendar application, a camera application and a tasks application, as well as other applications such as a Web browser application, an options application and a profiles application. The camera software is a Java application that interfaces with the camera hardware 44.
In a data communication mode, a received signal such as a text message or Web page download is processed by the communications subsystem 46 and input to the microprocessor 38 for further processing of the received signal for output to the LCD display 24. A user of the portable electronic device 12 can also compose data items within a software application such as an e-mail messaging application using the keypad 34, for example, in conjunction with the trackball 30 and the LCD display 24. Such composed items can then be transmitted over the communications network through the communications subsystem 46 and antenna 48.
A method for saving an image in an address book application of a portable electronic device 12 is generally shown in FIG. 3. The method is implemented by the portable electronic device 12 and will be described with reference FIGS. 4 through 9, which are screen shots of the display 46. The method is described using a trackball 30 as a selection device, however, it will be appreciated that other input devices may alternatively be used. For example, a pen device or trackwheel in combination with input keys may alternatively be used.
In order to enter a camera mode, which is shown in FIG. 4, a user clicks a convenience key 50 that is provided on the right side of the device 12 and is shown in FIG. 1 to launch a camera application. Alternatively, the user may highlight and click a camera mode icon from a main menu (not shown). Once the device 12 is operating in camera mode, the user is able to capture an image 54 by clicking the convenience key 50 or using the trackball 30 to select a camera icon 52 that is provided on the display 24.
At step 102, the user captures an image 54 and has the option to select from several icons that correspond to camera functions: a trash can icon 56, an envelope icon 58, a folder icon 60 and a crop icon 64. Selection of the trash can icon 56 deletes the image 54, selection of the envelope icon 58 emails the image 54 to a specified email address and selection of the folder icon 60 saves the image 54. When the folder icon 60 is selected, the user is able to rename the image by editing the filename in an editable filename bar 62 using the keypad 34.
The user selects the crop icon 64, as indicated at step 104, and is prompted to select a “Set As Caller ID” option 66, as shown in FIG. 5. At this stage, a “Set As Home Screen” option 68, which sets the image 54 as the user's home screen, is also available to the user.
The user selects the “Set As Caller ID” option 66 from menu 70, as indicated at step 106, and a “Set As Caller ID” window appears on the display 46, as shown in FIG. 6. A crop area 72, which covers a portion of the image 54, is shown in the “Set As Caller ID” window. The crop area 72 is defined by a rectangle 73 and portions of the image 54 that are located outside of the crop area 72 are grayed out. The shape of the crop area 72 corresponds to a caller ID image shape, which is defined by the address book application. The caller ID image shape is set based on the format required by the dialing/receiving display on the portable electronic device 12. It will be appreciated by a person skilled in the art that the crop area 72 is not limited to being rectangular. The crop area 72 could be square, oval or any other two dimensional shape.
The crop area 72 is movable horizontally on the display 46 to allow for selection of a portion of the image 54. Panning the crop area 72 in the left and right directions using the trackball 30 allows the user to centre the crop area 72 on a subject that is off-centre, for example.
At step 108, the user has the option to modify the image 54. Clicking the trackball 30 from the “Set As Caller ID” window launches the crop menu 74, which is shown in FIG. 7. The user may select a “Zoom” option 76, which zooms in or out on the image 54, a “Rotate” option 78, which rotates the image 54 ninety degrees in a clockwise direction, or a “Full Menu” option 80, which expands the crop menu 74 to include additional options. The additional options include: “Zoom All”, which resizes the image on the screen to fit the screen, “Zoom 1:1”, which resizes the image on the screen to actual resolution size (ie. the camera captures an image having 1280×1024 resolution and the screen resolution is 240×260), “Show Original”, which resets any changes made and returns the user to the “Set As Caller ID” window of FIG. 6. The user may also select a “Cancel” option, which allows the user to exit the “Set As Caller ID” option 66, without saving changes. When the image 54 has been zoomed, the pan function is selectable to move the image in the left, right, up and down directions.
By using any or all of the pan, zoom and rotate options, the user may manipulate the image 54 to create a cropped image that appears as desired. Once image has been modified and the user is satisfied with the appearance of the cropped image, the user clicks a “Crop and Save” option 82. Alternatively, the user may click the “Cancel” option and save the changes made, which has the same effect as selecting the “Crop and Save” option 82.
Clicking the “Crop and Save” option 82 launches a list of contact names 84, as shown in FIG. 8. Each contact name 86 corresponds to a contact record 88 that is stored in the address book application on the portable electronic device 12. The user scrolls through the list 84 and selects the contact name 86 that is to be associated with the cropped image, as indicated at step 110. Once the contact name 86 has been selected, the cropped image is saved in the corresponding contact record 88 and the user is returned to the main camera window of FIG. 4, as indicated at step 112. In the example of FIG. 8, “Office Supply House” is highlighted indicating that this contact name has been selected. By clicking the trackball 30 after highlighting the selected contact name, the cropped image is saved in the contact record 88 for “Office Supply House”. The “Office Supply House” contact record 88 with the saved cropped image is shown in FIG. 9.
In some cases, a previously saved image may be stored on the contact record 86. The previously saved image could be a cropped image captured using the “Set As Caller ID” option 66 or the image could have been saved on the record from another source, such as an imported file, for example. If the device 12 detects that a previously saved image is stored in the contact record, the device will prompt the user to either overwrite the existing image with the newly captured image or cancel the “Set As Caller ID” request.
FIGS. 4 to 9 show the method for saving a camera-captured image in the portable electronic device address book application from the user-interface point of view. With reference to FIG. 10, the method will now be described with reference to the components of the portable electronic device 12.
At step 102, the user captures the image 54 using the camera hardware 44. The image 54 is then displayed on the display 46 and the corresponding image file is stored in cache memory on the device 12, as indicated as step 114. At step 116, image modification options are enabled in response to the user selecting the “Set As Caller ID” option 66. Using the keypad 34 and/or trackball 30, the user navigates through the options of the camera application to modify the image 54, as desired. The image file is saved following each step of the modification process, as indicated at step 118. In order to conserve memory resources, the single image file that is stored in cache memory is continually overwritten. When image modification is complete, the microprocessor 38 launches the address book application in response to selection of the “Crop and Save” option 82 by the user, as indicated at step 120. Following user selection of a contact name 84, the microprocessor 38 saves the image file that is currently stored in cache memory in address book application storage on the corresponding contact record 86, as indicated at step 122. The image file is then cleared from the cache memory.
Referring to FIG. 11, a method for saving an image as a home screen of a portable electronic device 12 is generally shown. The method is implemented by the portable electronic device 12 and will be described with reference FIGS. 12 through 15, which are screen shots of the display 46. The method is described using a trackball 30 as a selection device, however, it will be appreciated that other input devices may alternatively be used. For example, a pen device or trackwheel in combination with input keys may alternatively be used.
At step 124, the user captures an image 54 and selects the crop icon 64, as indicated at step 126. The user is then prompted to select the “Set As Caller ID” option 66 or a “Set As Home Screen” option 68, as shown in FIG. 12. At step 128, the user selects the “Set As Home Screen” option 68.
At step 130, the user is able to modify the image 54 by performing zoom and rotation operations, which have been described in relation to the “Set As Caller ID” option 66. Image modification options that are available are shown in menu 148, which is shown in FIG. 9, and menu 150, which is shown in FIGS. 9 and 10. Menu 150 is accessed by selecting a “full menu” option 152 from menu 149. Once the image 54 has been modified as desired, the user saves the image 54 by selecting a “Set As Home Screen Image” option 154 from the menu 148, 150, as indicated at step 132. When the user exits the camera application, the image 54 appears as a home screen image on the portable electronic device 12, as indicated at step 134.
With reference to FIG. 16, the method for saving an image as a home screen of a portable electronic device 12 will now be described with reference to the components of the portable electronic device 12.
At step 136, the user captures the image 54 using the camera hardware 44. The image 54 is then displayed on the display 46 and the corresponding image file is stored in cache memory on the device 12, as indicated as step 138. At step 140, image modification options are enabled in response to the user selecting the “Set As Home Screen Image” option 68. Using the keypad 34 and/or trackball 30, the user navigates through the options of the camera application to modify the image 54, as desired. The image file is saved following each step of the modification process, as indicated at step 142. In order to conserve memory resources, the single image file that is stored in cache memory is continually overwritten. When image modification is complete, the microprocessor 38 saves the image on the device 12 in response to selection of the “Set As Home Screen Image” option 154 by the user, as indicated at step 144. The image is then displayed on the home screen of the device 12 when the user exits the camera application and the image file is cleared from the cache memory.
It will be appreciated that the zoom function is linked to the camera software and may be set to zoom in or out to any level. Further, the resolution of the image is dependent on the type of camera that is included in the device 12. The appearance of the image on the device is dependent on the resolution of the LCD display 46.
In another embodiment, the “Rotate” option 78 allows for free rotation of the image 54 so that the user is not limited to rotating the image 54 in ninety degree increments.
In the present embodiments, the portable electronic device 12 is based on the computing environment and functionality of a wireless personal digital assistant (PDA). It will be understood, however, that the portable electronic device 12 is not limited to wireless personal digital assistants. Other portable electronic devices are possible, such as smart telephones, and laptop computers.
All modifications and variations that may occur to those skilled in the art are believed to be within the sphere and scope of the present embodiments.

## Claims

1. A method comprising:
while a device comprising a processor, a display and a camera is in a camera mode: capturing, using the camera, an image; and rendering, at the display, the captured image and an option to use the captured image to identify a caller; and,
when the option to use the captured image to identify a caller is selected: receiving, at the processor, while the device remains in the camera mode, a selection of at least a portion of the captured image; and, saving, using the processor, the at least a portion of the captured image as a caller identification image of a selected contact record stored at the device.

2. The method of claim 1, wherein the selection of the at least a portion of the captured image includes cropping the captured image.

3. The method of claim 1, further comprising zooming the captured image prior to the selection of the at least a portion of the captured image.

4. The method of claim 1, further comprising rotating the captured image prior to the selection of the at least a portion of the captured image.

5. The method of claim 1, further comprising temporarily storing, at a memory of the device, the at least a portion of the captured image following the selection of the at least a portion of the captured image.

6. The method of claim 1, further comprising selectively overwriting a previously stored image saved in the selected contact record with the at least a portion of the captured image.

7. The method of claim 1, further comprising, further rendering, on the captured image, an indication of a crop area, a shape of the cro area corresponding to a caller-ID image shape, and wherein the receiving the selection of at least a portion of the captured image includes cropping the captured image according to the indication of the crop area.

8. A device comprising:
a processor, a display and a camera, the processor configured to:
while the device is in a camera mode: capture, using the camera, an image;

and render, at the display, the image and an option to use the captured image to identify a caller; and, when the option to use the captured image to identify a caller is selected: receive, while the device remains in the camera mode, a selection of at least a portion of the captured image; and, save the at least a portion of the captured image as a caller identification image of a selected contact record stored at the device.

9. The device of claim 8, wherein the selection of the at least a portion of the captured image includes cropping the captured image.

10. The device of claim 8, wherein the processor is further configured to zoom the captured image prior to the selection of the at least a portion of the captured image.

11. The device of claim 8, wherein the processor is further configured to rotate the captured image prior to the selection of the at least a portion of the captured image.

12. The device of claim 8, wherein the processor is further configured to temporarily store, at a memory of the device, the at least a portion of the captured image following the selection of the at least a portion of the captured image.

13. The device of claim 8, wherein the processor is further configured to selectively overwrite a previously stored image saved in the selected contact record with the at least a portion of the captured image.

14. The device of claim 8, wherein the processor is further configured to, further render, on the captured image, an indication of a crop area, a shape of the crop area corresponding to a caller-ID image shape, and wherein receiving the selection of at least a portion of the captured image includes cropping the captured image according to the indication of the crop area.

15. A non-transitory computer-readable medium storing a computer program, wherein execution of the computer program is for:
while a device comprising a processor, a display and a camera is in a camera mode: capturing, using the camera, an image; and rendering, at the display, the captured image and an option to use the captured image to identify a caller is selected; and, saving, using the processor, the at least a portion of the captured image as a caller identification image of a selected contact record stored at the device.

16. The non-transitory computer-readable medium of claim 15, wherein the selection of the at least a portion of the captured image includes cropping the captured image.

17. The non-transitory computer-readable medium of claim 15, wherein execution of the computer program is for one or more of: zooming the captured image prior to the selection of the at least a portion of the captured image; and rotating the captured image prior to the selection of the at least a portion of the captured image.

18. The non-transitory computer-readable medium of claim 15, wherein execution of the computer program is for: temporarily storing, at a memory of the device, the at least a portion of the captured image following the selection of the at least a portion of the captured image.

19. The non-transitory computer-readable medium of claim 15, wherein execution of the computer program is for: selectively overwriting a previously stored image saved in the selected contact record with the at least a portion of the captured image.

20. The non-transitory computer-readable medium of claim 15, wherein execution of the computer program is for: further rendering, on the captured image, an indication of a crop area, a shape of the crop area corresponding to a caller-ID image shape, and wherein the receiving the selection of at least a portion of the captured image includes cropping the captured image according to the indication of the crop area.