Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
APPARATUS, METHOD AND COMPUTER PROGRAM FOR CAPTURING IMAGES
Document Type and Number:
WIPO Patent Application WO/2014/140413
Kind Code:
A1
Abstract:
An apparatus (1), method and computer program wherein the apparatus (1) comprises: an image sensor (15), an optical arrangement (17) comprising at least one adjustable focusing element (53); wherein the adjustable focussing element (53) is configured to alternate between a first focus distance and a second focus distance as an image is captured by the image sensor (15).

Inventors:
KAKKORI HANNU (FI)
Application Number:
PCT/FI2013/050295
Publication Date:
September 18, 2014
Filing Date:
March 15, 2013
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
NOKIA CORP (FI)
International Classes:
G03B13/32; G02B7/04; G02B7/38; G03B3/00; G03B3/10; G06T7/00
Domestic Patent References:
WO2012117733A12012-09-07
WO2012117733A12012-09-07
Foreign References:
US20110292364A12011-12-01
US20120154668A12012-06-21
US20130010160A12013-01-10
US20100060748A12010-03-11
US20100026852A12010-02-04
US20110169985A12011-07-14
Other References:
CHANGYIN ZHOU ET AL.: "Technical Report, Department of Computer Science", 1 November 2012, COLUMBIA UNIVERSITY, article "Focal Sweep Camera for Space-Time Refocusing"
HAJIME NAGAHARA ET AL.: "Flexible Depth of Field Photography", 10TH EUROPEAN CONFERENCE ON COMPUTER VISION, 12 October 2008 (2008-10-12)
"Focal Stack Photography: High-Performance Photography with a Conventional Camera", IAPR CONFERENCE ON MACHINE VISION APPLICATIONS, 22 May 2009 (2009-05-22)
See also references of EP 2954371A4
Attorney, Agent or Firm:
JAATINEN, Jussi et al. (IPR DepartmentKarakaari 7, Espoo, FI)
Download PDF:
Claims:
CLAIMS

1 . An apparatus comprising:

an image sensor,

an optical arrangement comprising at least one adjustable focussing element; wherein the adjustable focussing element is configured to alternate between a first focus distance and a second focus distance as an image is captured by the image sensor. 2. An apparatus as claimed in claim 1 wherein the apparatus comprises a rolling shutter.

3. An apparatus as claimed in claim 2 wherein the adjustable focussing element is synchronised with the rolling shutter.

4. An apparatus as claimed in any preceding claim wherein the adjustable focussing element is configured to alternate between the first focus distance and the second focus distance a plurality of times as the image is captured by the image sensor.

5. An apparatus as claimed in any preceding claim wherein the adjustable focussing element is configured to provide a plurality of focus distances between the first focus distance and the second focus distance 6. An apparatus as claimed in any preceding claim wherein the first focus distance comprises a distance which is far away from the apparatus.

7. An apparatus as claimed in claim 6 wherein the first focus distance comprises infinity.

8. An apparatus as claimed in any preceding claim wherein the second focus distance comprises a distance close to the apparatus.

9. An apparatus as claimed in any preceding claim wherein the image captured by the image sensor comprises a plurality of regions where the regions have different focus distances. 10. An apparatus as claimed in claim 9 wherein the regions comprise a plurality of stripes across the image.

1 1 . An apparatus as claimed in any of claims 9 to 10 wherein the apparatus is further configured to obtain at least one focussed image from a subset of the plurality of regions of the image captured by the image sensor.

12. An apparatus as claimed in claim 1 1 wherein the processor is configured to identify a subset of the plurality of regions of the image captured by the image sensor where each of the regions in the identified subset have the same focus distance.

13. An apparatus as claimed in claim 12 wherein the processor is configured to obtain a focussed image by rescaling the identified subset of regions of the image captured by the image sensor.

14. A method comprising:

adjusting an adjustable focussing element of an optical arrangement between a first focus distance and a second focus distance; and

enabling an image to be captured by an image sensor as the adjustable focussing element is adjusted.

15. A method as claimed in claim 14 wherein the image is captured using a rolling shutter. 16. A method as claimed in claim 14 wherein the adjustable focussing element is synchronised with the rolling shutter.

17. A method as claimed in any of claims 14 to 16 wherein adjusting the adjustable focussing element comprises alternating between the first focus distance and the second focus distance a plurality of times as the image is captured by the image sensor.

18. A method as claimed in any of claims 14 to 17 wherein adjusting the adjustable focussing element comprises providing a plurality of focus distances between the first focus distance and the second focus distance

19. A method as claimed in any of claims 14 to 18 wherein the first focus distance comprises a distance which is far away from the apparatus.

20. A method as claimed in claim 19 wherein the first focus distance comprises infinity.

21 . A method as claimed in any of claims 14 to 20 wherein the second focus distance comprises a distance close to the apparatus.

22. A method as claimed in any of claims 14 to 21 wherein the image captured by the image sensor comprises a plurality of regions where the regions have different focus distances.

23. A method as claimed in claim 22 wherein the regions comprise a plurality of stripes across the image.

24. A method as claimed in any of claims 22 to 23 further comprising obtaining at least one focussed image from a subset of the plurality of regions of the image captured by the image sensor.

25. A method as claimed in claim 24 comprising identifying a subset of the plurality of regions of the image captured by the image sensor where each of the regions in the subset have the same focus distance.

26. A method as claimed in claim 25 wherein the focussed image is obtained by rescaling the identified subset of regions of the image captured by the image sensor.

27. A computer program comprising computer program instructions that, when executed by at least one processor, enable an apparatus at least to perform:

adjusting an adjustable focussing element of an optical arrangement between a first focus distance and a second focus distance; and

enabling an image to be captured by an image sensor as the adjustable focussing element is adjusted.

28. A computer program comprising program instructions for causing a computer to perform the method of any of claims 14 to 26.

29. A physical entity embodying the computer program as claimed in any of claims 28 to 29.

30. An electromagnetic carrier signal carrying the computer program as claimed in any of claims 27 to 28.

Description:
TITLE

Apparatus, Method and Computer Program for Capturing Images TECHNOLOGICAL FIELD

Examples of the present disclosure relate to an apparatus, method and computer program for capturing images. In particular, they relate to an apparatus, method and computer program for capturing images with different focus distances.

BACKGROUND

Apparatus which enable a user to capture images such as digital cameras are known. Such apparatus might only be able to capture an image at a single focus distance. This may lead to a number of problems. For example, if the image is captured using the wrong focus distance then important information may be lost or blurred in the obtained image.

It may be beneficial to provide an improved apparatus for capturing images.

BRIEF SUMMARY

According to various, but not necessarily all, examples of the disclosure, there may be provided an apparatus comprising: an image sensor, an optical arrangement comprising at least one adjustable focussing element; wherein the adjustable focussing element is configured to alternate between a first focus distance and a second focus distance as an image is captured by the image sensor.

In some examples the apparatus may comprise a rolling shutter. The adjustable focussing element may be synchronised with the rolling shutter.

In some examples the adjustable focussing element may be configured to alternate between the first focus distance and the second focus distance a plurality of times as the image is captured by the image sensor. In some examples the adjustable focussing element may be configured to provide a plurality of focus distances between the first focus distance and the second focus distance. In some examples the first focus distance may comprise a distance which is far away from the apparatus. The first focus distance may comprise infinity.

In some examples the second focus distance may comprise a distance close to the apparatus.

In some examples the image captured by the image sensor may comprise a plurality of regions where the regions have different focus distances. In some examples the regions may comprise a plurality of stripes across the image. The apparatus may be further configured to obtain at least one focussed image from a subset of the plurality of regions of the image captured by the image sensor.

In some examples the processor may be configured to identify a subset of the plurality of regions of the image captured by the image sensor where each of the regions in the identified subset have the same focus distance. In some examples the processor may be configured to obtain a focussed image by rescaling the identified subset of regions of the image captured by the image sensor.

According to various, but not necessarily all, examples of the disclosure, there may be provided a method comprising: adjusting an adjustable focussing element of an optical arrangement between a first focus distance and a second focus distance; and enabling an image to be captured by an image sensor as the adjustable focussing element is adjusted.

In some examples the image may be captured using a rolling shutter. The adjustable focussing element may be synchronised with the rolling shutter.

In some examples adjusting the adjustable focussing element may comprise alternating between the first focus distance and the second focus distance a plurality of times as the image is captured by the image sensor. In some examples adjusting the adjustable focussing element comprises providing a plurality of focus distances between the first focus distance and the second focus distance. In some examples the first focus distance may comprise a distance which is far away from the apparatus. The first focus distance may comprise infinity.

In some examples the second focus distance may comprise a distance close to the apparatus.

In some examples the image captured by the image sensor may comprise a plurality of regions where the regions have different focus distances. The regions comprise a plurality of stripes across the image. In some examples the method may further comprise obtaining at least one focussed image from a subset of the plurality of regions of the image captured by the image sensor. In some examples the method may also comprise identifying a subset of the plurality of regions of the image captured by the image sensor where each of the regions in the subset have the same focus distance.

In some examples the focussed image may be obtained by rescaling the identified subset of regions of the image captured by the image sensor.

According to various, but not necessarily all, examples of the disclosure, there may be provided a computer program comprising computer program instructions that, when executed by at least one processor, enable an apparatus at least to perform: adjusting an adjustable focussing element of an optical arrangement between a first focus distance and a second focus distance; and enabling an image to be captured by an image sensor as the adjustable focussing element is adjusted.

In some examples there may also be provided a computer program comprising program instructions for causing a computer to perform the methods described above. In some examples there may also be provided a physical entity embodying the computer program as described above.

In some examples there may also be provided an electromagnetic carrier signal carrying the computer program as described above.

The apparatus may be for capturing images.

BRIEF DESCRIPTION

For a better understanding of various examples that are useful for understanding the detailed description, reference will now be made by way of example only to the accompanying drawings in which:

Fig. 1 illustrates an apparatus;

Fig. 2 illustrates an apparatus;

Fig. 3 illustrates a method;

Fig. 4 illustrates a method;

Figs. 5A to 5K are representative images obtained using the examples of the detailed description.

DETAILED DESCRIPTION

The Figures illustrate an apparatus 1 , method and computer program 9. In the examples the apparatus 1 comprises: an image sensor 15, an optical arrangement 17 comprising at least one adjustable focussing element; wherein the adjustable focussing element is configured to alternate between a first focus distance and a second focus distance as an image is captured by the image sensor 15.

Fig. 1 schematically illustrates an apparatus 1 according to an example of the disclosure. The apparatus 1 may be configured to enable images to be captured. The apparatus 1 may be an electronic apparatus such as a camera, a mobile cellular telephone, a tablet computer, a personal computer or any other apparatus which may be configured to enable images to be captured. The apparatus 1 may be a handheld apparatus 1 which can be carried in a user's hand, handbag or pocket of their clothing for example.

Only features referred to in the following description are illustrated in Fig. 1 . However, it should be appreciated that the apparatus 1 may comprise additional features that are not illustrated. For example, in embodiments of the invention where the apparatus 1 is a mobile cellular telephone or tablet computer, the apparatus 1 may also comprise components which enable wireless communications such as a transmitter and/or receiver.

The apparatus 1 schematically illustrated in Fig. 1 comprises: a controller 4 and an image capturing apparatus 13. The controller 4 and image capturing apparatus 13 may be operationally coupled. It is to be appreciated that any number or combination of intervening elements may be provided between the respective components of the apparatus 1 including no intervening elements.

In the illustrated embodiment the controller 4 comprises at least one processor 3 and at least one memory 5. The controller 4 provides means for controlling the apparatus 1 . The controller 4 may be implemented using instructions that enable hardware functionality, for example, by using executable computer program instructions 1 1 in one or more general-purpose or special-purpose processors 3 that may be stored on a computer readable storage medium 29 (e.g. disk, memory etc) to be executed by such processors 3. The controller 4 may be configured to control the apparatus 1 to perform a plurality of different functions. For example the controller 4 may be configured to control the apparatus 1 to capture and store images. In some embodiments of the disclosure the controller 4 may also be configured to perform image processing on the captured images. The controller 4 may be configured to perform image processing as described below. In some examples the controller 4 may be configured to control the image capturing apparatus 13. For example, the controller 4 may be configured to control the shutter 19 and/or the configuration of the optical arrangement 17. The controller 4 may also be configured to enable the apparatus 1 to adjust an adjustable focussing element of the optical arrangement 17 between a first focus distance and a second focus distance; and enable an image to be captured by an image sensor 15 as the adjustable focussing element is adjusted.

The at least one memory 5 may be configured to store a computer program 9 comprising computer program instructions 1 1 that control the operation of the apparatus 1 when loaded into the at least one processor 3. The computer program instructions 1 1 provide the logic and routines that enable the apparatus 1 to perform the methods illustrated in Figs. 3 and 4 and described below. The at least one processor 3 by reading the at least one memory 5 is able to load and execute the computer program 9.

The computer program instructions 1 1 may provide computer readable program means configured to control the apparatus 1 . The program instructions 1 1 may provide, when loaded into the controller 4; means for adjusting an adjustable focussing element of an optical arrangement 17 between a first focus distance and a second focus distance; and enabling an image to be captured by an image sensor 15 as the adjustable focussing element is adjusted.

The computer program 9 may arrive at the apparatus 1 via any suitable delivery mechanism 31 . The delivery mechanism 31 may be, for example, a computer- readable storage medium 29, a computer program product, a memory device, a record medium such as a CD-ROM or DVD, or an article of manufacture that tangibly embodies the computer program 9. The delivery mechanism may be a signal configured to reliably transfer the computer program 9. The apparatus 1 may propagate or transmit the computer program 9 as a computer data signal.

Although the memory 5 is illustrated as a single component it may be implemented as one or more separate components some or all of which may be integrated/removable and/or may provide permanent/semi-permanent/ dynamic/cached storage. References to 'computer-readable storage medium', 'computer program product', 'tangibly embodied computer program' etc. or a 'controller', 'computer', 'processor' etc. should be understood to encompass not only computers having different architectures such as single/multi-processor architectures and sequential (e.g. Von Neumann)/parallel architectures but also specialized circuits such as field- programmable gate arrays (FPGA), application specific integration circuits (ASIC), signal processing devices and other devices. References to computer program, instructions, code etc. should be understood to encompass software for a programmable processor or firmware such as, for example, the programmable content of a hardware device whether instructions for a processor, or configuration settings for a fixed-function device, gate array or programmable logic device etc.

In the example illustrated in Fig. 1 the image capturing apparatus 13 comprises an optical arrangement 17, an image sensor 15 and a shutter 19. In some embodiments of the disclosure the image capturing apparatus 13 may also comprise one or more drives 21 .

The image sensor 15 may comprise any means which is configured to convert light incident on the image sensor 15 into an electrical signal to enable an image to be produced. The image sensor 15 may comprise, for example, a digital image sensor such as a charge-coupled-device (CCD) or a complementary metal-oxide- semiconductor (CMOS). The at least one processor 3 may be configured to receive inputs from the image sensor 15. For example, the at least one processor 3 may be configured to retrieve an electrical signal comprising image data from the image sensor 15 and store it in the at least one memory 5. The image data may be in the form of a still image or a video image.

The optical arrangement 17 may comprise any means configured to focus or deflect incident light from an object onto the image sensor 15. The optical arrangement 17 may receive the incident light from an object or scene external to the apparatus 1 through an aperture in a housing of the apparatus 1 . The optical arrangement 17 may comprise, for example, one or more optical devices such as one or more lenses. The optical arrangement 17 may comprise at least one adjustable focussing element. The adjustable focussing element may comprise, for example, one or more lenses or a light guide or any other means which may be configured to change the focus distance of the optical arrangement 17. The adjustable focussing element may be controlled by the controller 4.

The image capturing apparatus 13 may also comprise a shutter 19. The shutter 19 may comprise any means which enables the exposure of the image sensor 15 to incident light to be controlled. The shutter 19 may be electronic or mechanical or any other suitable type of shutter 19. In some examples the shutter 19 may comprise a rolling shutter. The shutter 19 may be controlled by the controller 4.

In some example the apparatus 1 may also comprise one or more drives 21 . The one or more drives 21 may comprise any means which enables movement of at least part of the optical arrangement 21 relative to the image sensor 15. In some examples the one or more drives 21 may comprise an electric motor. In embodiments of the disclosure, where the optical arrangement 17 comprises a plurality of components, the one or more drives may enable movement of some or all of the plurality of components.

Fig. 2 illustrates an apparatus V according to another example of the disclosure. The apparatus V illustrated in Fig. 2 may be a chip or a chip-set. The apparatus 1 ' comprises at least one processor 3 and at least one memory 5 as described above in relation to Fig. 1 .

Figs. 3 and 4 schematically illustrate methods according to examples of the disclosure. The embodiments may be implemented using the apparatus 1 , V of Figs. 1 and 2. Fig. 3 illustrates an example method. At block 41 of the method an adjustable focussing element is adjusted. The adjustable focussing element may be part of an optical arrangement 17 as described above. The adjustable focussing element may be adjusted to change the focus distance of the image capturing apparatus 13. Adjusting the adjustable focussing element may comprise alternating the focus distance of the image capturing apparatus 13 between a first focus distance and a second focus distance. A plurality of focus distances between the first focus distance and the second focus distance may also be provided. The adjustable focusing element may be alternated between the two focus distances a plurality of times. The adjustable focusing element may be alternated between the two focus distances repeatedly.

In some examples the first focus distance may comprise a distance which is far away from the apparatus 1 . For example the first focus distance may be infinity. In some examples the second focus distance may comprise a distance which is close to the apparatus 1 .

At block 43 an image is captured on the image sensor 15. The image may be captured using any suitable technique. In some examples the image may be captured using a rolling shutter 19 so that the shutter is gradually moved across the image sensor 15. In some examples the image sensor 15 may be configured to capture interleaved frames.

Blocks 41 and 43 may occur simultaneously so that the image may be captured by the image sensor 15 at the same time that the adjustable focussing element is adjusted. The controller 4 may be configured to control the adjustment of the adjustable focussing element so that it is simultaneous with the movement of the rolling shutter 19. In some examples the controller 4 may be configured to control the adjustment of the adjustable focussing element so that it is synchronised with the movement of the rolling shutter 19.

An example of an image which may be captured at block 43 is provided in Fig. 5A and described below. Fig. 4 schematically illustrates an example method in more detail. At block 61 an adjustable focussing element of an optical arrangement 17 is adjusted. An example configuration of the optical arrangement 17 is schematically illustrated in Fig. 4. In the example of Fig. 4 the optical arrangement 17 comprises a lens 51 and an adjustable focussing element 53. In the example of Fig. 4 the adjustable focussing element 53 is provided between the lens 51 and the image sensor 15. The adjustable focussing element 53 may be configured to adjust the focus distance between a first focus distance and a second focus distance.

In Fig. 4 the optical arrangement is illustrated in a first configuration in which it is arranged to provide a first focus distance and a second configuration in which it is arranged to provide a second focus distance.

In the first configuration the first focus distance comprises infinity. This may enable images of objects which are located far away from the apparatus 1 to be in focus. In the second configuration the focus distance comprises a distance close to the apparatus. This may allow objects which are located close to the apparatus 1 to be in focus.

In the schematic illustration of Fig. 4 the adjustable focussing element 53 is thicker in the first configuration than in the second configuration. It is to be appreciated that any means of changing the focus distance of the optical arrangement 17 may be used in examples of the disclosure. For example the adjustable focussing element 53 may be moved relative to lens 51 and/or image sensor 15.

In some examples the adjustable focussing element 53 may comprise means for moving the lens 51 and/or other optical components relative to the image sensor 15. The means for moving the lens 51 and/or other optical components relative to the image sensor 15 may comprise, for example, an electromagnetic mechanism such as a voice coil motor (VCM). The VCM may be controlled by the controller 4.

In some examples the adjustable focussing element 53 means for controlling the thickness and/or curvature of one or more lenses. For example piezoelectric crystals may be used to apply a bending force to one or more optical components.

At block 61 the adjustable focussing element may be adjusted by alternating the focus distance of the image capturing apparatus 13 between the first focus distance and the second focus distance. A plurality of focus distances between the first focus distance and the second focus distance may also be provided. The adjustable focusing element may be alternated between the two focus distances a plurality of times. The adjustable focusing element may be alternated between the two focus distances repeatedly.

At block 63 the shutter 19 is opened and an image is captured. The shutter 19 may be a rolling shutter which is gradually moved across the image sensor 15. In the example of Fig. 4 the shutter may be moved in a vertical direction across the image sensor 15. It is to be appreciated that in other examples the shutter 19 may be moved in a different direction.

Blocks 61 and 63 may be performed simultaneously so that the adjustable focussing element 53 is adjusted as the image is captured. This causes different focus distances to be provided as the image is captured. The resulting image which is obtained by the image sensor 15 may comprise a plurality of different regions where different regions have different focus distances.

At block 65 the raw image 55 is provided by the image sensor 15. The raw image 55 comprises the image which has been obtained by the image sensor 15. The raw image 55 may be provided to the processor 3 to enable image processing to be performed on the raw image 55.

The raw image 55 comprises a plurality of regions where the regions have different focus distances. In the example of Fig. 4 the shutter has been moved in a vertical direction across the image sensor 15 and so the regions comprise a plurality of stripes as illustrated in Fig. 4. In the example of Fig. 4 the stripes extend horizontally across the raw image 55. It is to be appreciated that in other examples the regions may have different shapes, for example if the shutter 19 were to move horizontally vertical stripes may be obtained.

At block 67 the processor 3 may perform image processing on the raw image 55 to enable focussed images to be obtained. At block 67 the processor may obtain a subset of regions of the raw image 55. The processor 3 may identify the regions of the raw image 55 which have the same or a similar focus distance and then isolate these regions for further processing.

In some examples a plurality of subsets of regions 57 may be obtained. In the particular example of Fig. 4 five subsets of regions are obtained where each subset has a slightly different focus distance that the previous subset.

At block 69 the processor 3 processes the obtained subset of regions 57 to obtain a full sized image 59. For example the processor 3 may rescale the subset of the regions to a full size image. In the example of Fig. 4 five subsets of regions where obtained and five full scale images 59 may be obtained from the subsets.

Figs. 5A to 5K illustrate images which may be obtained using the above mentioned examples. Fig. 5A comprises a raw image 55 which may be obtained from the image sensor 15. The different regions of the raw image 55 can be seen as horizontal stripes across the raw image.

Figs. 5B, 5D, 5F, 5H and 5J comprise compressed images comprising the subsets of regions 57. The compressed images may be obtained by processing the raw image 55 as described above in relation to Fig. 4.

Figs. 5C, 5E, 5G, 5I and 5K comprise full sized images 59 which may be obtained from the compressed images of Figs. 5B, 5D, 5F, 5H and 5J. The full sized images 59 may be obtained by processing the compressed image as described above in relation to Fig. 4.

Fig. 5B comprises the compressed image which is obtained from a first subset of regions 57 which have an infinite focus distance. Fig. 5C comprises the full size image which is obtained from the compressed image of Fig. 5B. These images may be obtained from the sections of the raw image 55 which were captured when the optical configuration 17 was in the first configuration illustrated in Fig. 4.

Fig. 5D comprises the compressed image which is obtained from a second subset of regions 57 which have a long range focus distances. Fig. 5E comprises the full size image which is obtained from the compressed image of Fig. 5D. These images may be obtained from a second subset of regions which have a long range focus distances. In this example the focus distance is not infinite but may still be far away from the apparatus 1 .

Fig. 5F comprises the compressed image which is obtained from a third subset of the regions 57 which have a shorter focus distance that the second subset. Fig. 5G comprises the full size image which is obtained from the compressed image of Fig. 5F.

Fig. 5H comprises the compressed image which is obtained from a fourth subset of the regions 57 which have a shorter focus distance that the third subset. Fig. 5I comprises the full size image which is obtained from the compressed image of Fig. 5H.

The images of Figs. 5D to 5I may have been obtained from the sections of the raw image 55 which were captured when the optical configuration 17 was between the first configuration and the second configuration as illustrated in Fig. 4.

Fig. 5J comprises the compressed image which is obtained from a fifth subset of the regions 57 which have a shorter focus distance that the fourth subset. The focus distance of the fifth subset of regions may be close to the apparatus 1 . Fig. 5K comprises the full size image which is obtained from the compressed image of Fig. 5J. The image of Figs. 5J and 5K may be obtained from the sections of the raw image 55 which were captured when the optical configuration 17 was in the second configuration illustrated in Fig. 4.

In the particular examples of Figs. 5C, 5E, 5G, 5I and 5K the subsets are scaled up by a factor of five to obtain a full sized image.

The above described examples relate to an apparatus 1 which may enable a plurality of images to be obtained from a single captured image where the obtained images have different focus distances. As the images are obtained from a single captured image this may reduce effects such as blurring of the image due to movement of the objects or the apparatus 1 . This may enable a user to obtain multiple representations of the same scene with different objects in the scene in focus.

In the examples the focussing of the image may be achieved through the processing of the raw image 55. This may allow the user to select which object they wish to be in focus after the raw image 55 has been captured. For example the apparatus 1 may comprise a user input device such as a touch screen which may allow a user to select an object in the raw image 55 which they wish to focus. The processor 3 may then be configured to select the subset of regions with the appropriate focus distance which enable the selected object to be focussed and use these to recreate a full sized image.

The raw image 55 may comprise information using a range of focus distances and may be used to generate depth maps. The depth map may then have uses such as enabling filtering of the image, focussing across the image and generating 3D images and video with refocusing

The blocks illustrated in Figs. 3 and 4 may represent steps in a method and/or sections of code in the computer program 9. The illustration of a particular order to the blocks does not necessarily imply that there is a required or preferred order for the blocks and the order and arrangement of the block may be varied. Furthermore, it may be possible for some blocks to be omitted.

The term "comprise" is used in this document with an inclusive not an exclusive meaning. That is any reference to X comprising Y indicates that X may comprise only one Y or may comprise more than one Y. If it is intended to use "comprise" with an exclusive meaning then it will be made clear in the context by referring to "comprising only one..." or by using "consisting". In the detailed description, reference has been made to various examples. The description of features or functions in relation to an example indicates that those features or functions are present in that example. The use of the term "example" or "for example" or "may"' in the text denotes, whether explicitly stated or not, that such features or functions are present in at least the described example, whether described as an example or not, and that they can be, but are not necessarily, present in some of or all other examples. Thus "example", "for example" or "may" refers to a particular instance in a class of examples. A property of the instance can be a property of only that instance or a property of the class or a property of a sub- class of the class that includes some but not all of the instances in the class.

Although embodiments of the present invention have been described in the preceding paragraphs with reference to various examples, it should be appreciated that modifications to the examples given can be made without departing from the scope of the invention as claimed.

Features described in the preceding description may be used in combinations other than the combinations explicitly described. Although functions have been described with reference to certain features, those functions may be performable by other features whether described or not.

Although features have been described with reference to certain embodiments, those features may also be present in other embodiments whether described or not.

Whilst endeavoring in the foregoing specification to draw attention to those features of the invention believed to be of particular importance it should be understood that the Applicant claims protection in respect of any patentable feature or combination of features hereinbefore referred to and/or shown in the drawings whether or not particular emphasis has been placed thereon.

I/we claim: