Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHODS FOR IDENTIFYING IMAGING DEVICES AND CLASSIFYING IMAGES ACQUIRED BY UNKNOWN IMAGING DEVICES
Document Type and Number:
WIPO Patent Application WO/2010/092407
Kind Code:
A1
Abstract:
A method of classifying an image taken by an image capture device, the method comprising the steps of: extracting an initial Sensor Noise Pattern (SNP) for the image; enhancing the initial SNP to create an enhanced SNP by applying a correcting model, wherein the correcting model scales the initial SNP by a factor inversely proportional to the signal intensity of the initial SNP; determining a similarity measure between the enhanced SNP for said image with one or more previously calculated enhanced SNPs for one or more different images; and classifying the image in a group of one or more images with similar or identical SNPs based on the determined similarity measure.

Inventors:
LEARY RICHARD (GB)
CHANG-TSUN LI (GB)
Application Number:
PCT/GB2010/050247
Publication Date:
August 19, 2010
Filing Date:
February 15, 2010
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
LEARY RICHARD (GB)
CHANG-TSUN LI (GB)
FORENSIC PATHWAYS
International Classes:
G06V10/30
Domestic Patent References:
WO2007094856A22007-08-23
Other References:
MCCLOSKEY S ED - SIVIC J ET AL: "Confidence weighting for sensor fingerprinting", COMPUTER VISION AND PATTERN RECOGNITION WORKSHOPS, 2008. CVPR WORKSHOPS 2008. IEEE COMPUTER SOCIETY CONFERENCE ON, IEEE, PISCATAWAY, NJ, USA, 23 June 2008 (2008-06-23), pages 1 - 6, XP031285542, ISBN: 978-1-4244-2339-2
DUDA R ET AL: "Pattern Classification, chapter 9: Algorithm-Independent Machine Learning", 1 January 2001, PATTERN CLASSIFICATION, NEW YORK, JOHN WILEY & SONS, US, PAGE(S) 453 - 515, ISBN: 978-0-471-05669-0, XP002472161
CHEN, M. AND FRIDRICH, J. AND GOLJAN, M.: "Digital imaging sensor identification (further study)", PROC. SPIE, ELECTRONIC IMAGING, SECURITY, STEGANOGRAPHY, AND WATERMARKING OF MULTIMEDIA CONTENTS IX, vol. 6505, January 2007 (2007-01-01), XP002587431, Retrieved from the Internet [retrieved on 20100615]
SENCAR, HT AND MEMON, N.: "Overview of state-of-the-art in digital image forensics", 2 May 2009 (2009-05-02), XP002587432, Retrieved from the Internet [retrieved on 20100610]
CHANG-TSUN LI: "Source Camera Identification Using Enhanced Sensor Pattern Noise", IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY, vol. 5, June 2010 (2010-06-01), pages 280 - 287, XP002587433, Retrieved from the Internet [retrieved on 20100615]
CHANG-TSUN LI: "Unsupervised Classification of Digital Images Using Enhanced Sensor pattern Noise", IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS'10), 30 May 2010 (2010-05-30), XP002587434, Retrieved from the Internet [retrieved on 20100515]
LI C-T: "An approach to reducing the labeling cost of Markov random fields within an infinite label space", SIGNAL PROCESSING, ELSEVIER SCIENCE PUBLISHERS B.V. AMSTERDAM, NL LNKD- DOI:10.1016/S0165-1684(00)00235-8, vol. 81, no. 3, 1 March 2001 (2001-03-01), pages 609 - 620, XP004230561, ISSN: 0165-1684
LUGHOFER ET AL: "Extensions of vector quantization for incremental clustering", PATTERN RECOGNITION, ELSEVIER, GB LNKD- DOI:10.1016/J.PATCOG.2007.07.019, vol. 41, no. 3, 27 October 2007 (2007-10-27), pages 995 - 1011, XP022317836, ISSN: 0031-3203
CHRIS DING AND XIAOFENG HE: "K-Nearest-Neighbor Consistency in Data Clustering: IncorporatingLocal Information into Global Optimization", 2004, XP002588983, Retrieved from the Internet [retrieved on 2010]
LUKAS ET AL.: "Digital Camera Identification from Sensor Pattern Noise", IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY, vol. 1, no. 2, June 2006 (2006-06-01), pages 205 - 214
See also references of EP 2396749A1
Attorney, Agent or Firm:
BARNFATHER, Karl (2 Hays Lane, London SE1 2HW, GB)
Download PDF:
Claims:
Claims

1. A method of classifying an image taken by an image capture device, the method comprising the steps of: extracting an initial Sensor Noise Pattern (SNP) for the image; enhancing the initial SNP to create an enhanced SNP by applying a correcting model, wherein the correcting model scales the initial SNP by a factor inversely proportional to the signal intensity of the initial SNP; determining a similarity measure between the enhanced SNP for said image with one or more previously calculated enhanced SNPs for one or more different images; and classifying the image in a group of one or more images with similar or identical SNPs based on the determined similarity measure.

2. A method of classifying a plurality images taken by one or more known or unknown image capture devices, the method comprising the steps of: for each image classifying the image based on the method of claim 1 identifying a subset of images from the plurality of images; forming an image classifier based on the images which have been classified as having identical or similar SNPs, classifying one or more of the remaining images that were not part of the initial subset by calculating a comparative measure between the remaining images and each cluster as identified in the image classifier, and determining if said remaining image belongs to an identified cluster based on the comparative measure.

3. The method of claims 2 wherein the identification of the clusters in the subset of images comprises the steps of for each image of the subset: calculating a similarity matrix to determine a comparative measure of the similarity of the enhanced SNPs for each image that forms the subset; identifying an initial set of intra-cluster members and inter-cluster members of the subset of images by means of a k-means algorithm; determining a reference similarity based on a measure of the difference between identified the intra and inter-clusters; identifying a membership committee and for each image in the membership committee: calculating a cost score based on their comparative measure and reference similarity, and updating the intra-cluster members based on the cost score, thereby identifying groups of images which have similar or identical enhanced SNPs.

4. The method of claim 3 further comprising: assigning each image in the subset a unique class label; and updating the class label for images which are identified as having similar or identical SNPs by the cost score with the same class label.

5. The method of any of claims 2 to 4 where images which have a similarity measure below a threshold are identified as not belonging to a predetermined cluster and are identified as being founding members of a new cluster.

6. The method of any preceding claim where the initial extraction SNP, and subsequent enhancement and comparison are performed on a subsection of the input and comparison images.

7. The method of any preceding claim wherein the initial SNP is identified with a wavelet based de-noising filter and the correcting model is one or more of the following functions:

Model 1 ,i£ 0 ≤ n(i,j) , otherwise

,if θ ≤ n(i,j) ≤ a

(l - e-a) - ea-n(l'j) ,n(i,j) > a

Model 3: ne(i,j) = - - l + en(l'j) ,if -α ≤ n(i,j) < 0

Model 4: ne(i,j) =

Model 5: ne(i,j) = where n(i,j) and ne(i,j) are the (i,j)th component of n and ne, respectively

8. The method of claim 7 wherein α =7

9. The method of any preceding claim wherein the similarity measurement is based on a comparative measure of the input and reference images.

10. The method of claim 9 wherein the comparative measure is a vector based.

11. The method of claim 10 wherein the comparative measure has the form:

12. The method of any of claims 2 to 11 wherein the identification of groups of images with identical or similar SNPs occurs by a k-means clustering algorithm based on the comparative measure

13. The method of any of claims 2 to 12 wherein the reference similarity is a measure of the distance between the centroids defined by the intra-cluster members and inter-cluster members

14. The method of any of claims 2 to 13 wherein the centroids are updated when the intra- cluster members are updated.

15. The method of any of claims 2 to 14 further comprising the step of identifying images taken from a given source image capture device by identifying images which have a similar or identical SNP to that of the source image capture device.

16. The method of claim 15 further comprising the steps of: creating a reference SNP for the source image capture device; determining a similarity measure between the reference SNP for the source image capture device and the identified clusters; identifying a cluster of images, if any, which originate from said source image capture device based on the similarity measure.

17. The method of any of claims 2 to 16 further comprising the steps of: identifying images that show similar or identical characteristics to create a reduced subset of images from the plurality of images; and performing the analysis on the reduced subset.

18. The method of claim 16 where the characteristics are based on one or more of the following: make of camera, model of camera, image size, time that the image was taken, and date that the image was taken as identified by some form of metadata associated with the image.

19. The method claims 17 and 18 wherein the characteristics are based on one or more of the following: keywords or tags associated with the image, said keywords or tags being indicative of the content of the image.

20. The method of claim 19 wherein the keywords or tags are assigned to a image by a user after inspection of the image.

21. A method of identifying a plurality of images as originating from the same image capture device the method comprising: classifying the image according to the method of any preceding claim; and further comprising the step of identifying a classified group of images as originating from the same image capture device.

22. The method of claim 22 wherein the similarity measure between the image i and the

comparison imagey i s d 1etermi -nedI 1 by

23. Apparatus for classifying an image taken by an imaging capturing device, the apparatus comprising: a processor enabled to extract an initial Sensor Noise Pattern (SNP) from the image; a enhancer enabled to enhancer the initial SNP to create an enhanced SNP by applying a correcting model, wherein the correcting model scales the initial SNP by a factor inversely proportional to the signal intensity of the initial SNP; a similarity measurer to determine the similarity between the enhanced SNP for said image with one or more previously calculated enhanced SNPs for one or more different images; and classifier to group of one or more images with similar or identical SNPs based on the determined similarity measure.

24. Apparatus of claim 23 to enable to the method of claims I to 22.

25. Computer program product comprising computer readable instructions encoded thereon to enable the steps of any of method claims I to 22.

Description:
Methods for identifying imaging devices and classifying images acquired by unknown imaging devices

Technical field of invention

The invention relates to a method of extracting and enhancing a Sensor Noise Pattern (SNP) or fingerprint from an image, the SNP being an intrinsic characteristic of the camera which took the image, and comparing the extracted SNP with other SNPs in order to identify other images that contain an identical or similar SNP. In particular, but not exclusively, the present invention is used in the fields of digital forensics in order to identify images taken by the same camera.

Background to the invention

It is known, and desirable, in the field of digital forensics to identify images taken from a particular camera. This is of particular importance, in fields such as criminal investigation, where an investigator wishes to prove that an individual image, or images, were taken using a specific camera. The classification of images from one or more devices also has applications in commercial sectors, such as, classifying of images, cataloguing, managing image processing etc. For example, if the photo is of an indecent nature, e.g. child pornography, being able to prove that the camera was used to take a given photo may be used as evidence against the owner of the camera. In particular, if a link between an individual and a particular camera can be established, e.g. the camera may be recovered in a raid, being able to prove that a specific photo, or photos, originates from that camera allows investigators to determine a causal link between the owner and the images.

A method of identifying a camera is via information contained in the metadata of a digital photo. Such metadata may often contain information such as the time and date a photo was taken, as well as a device identifier such as a camera name. However, criminals taking indecent photos will often remove such data in order to subvert the identification process. Some types of camera will automatically embed a watermark or hash mark into the photos taken with the camera. However, not all cameras have this ability and therefore this identification method is limited to those images taken with those particular makes and models. It is therefore desirable to be able to extract a signal that is present in all makes and models of devices that this is not easily subvertible. In particular it is desirable, given a set of digital imaging devices such as cameras and scanners, to identify one of the devices that have been used in the acquisition of an image under investigation or return a negative report indicating that the image is taken by an unknown device.

It is known that each camera will have a unique intrinsic sensor noise pattern (SNP) which results from the inhomogeneities of sensor of the camera. The inhomogeneities are specific to a particular sensor and therefore allow for the unique identification of a camera via its sensor or CCD. The term fingerprint and SNP will be used interchangeably in this specification. This SNP is present in every images taken by a device, though without processing of the image it is often indistinguishable from the detail of an image.

WO/2007/094856 identifies a method of extracting the SNP present in an image, and comparing the extracted SNP with a set of reference SNPs. These reference SNPs are constructed from imaging devices that are accessible by the investigator. Each reference SNP is constructed by taking the averaged version of the SNPs extracted from a number (of the order of several tens) of low- variation images (e.g., blue sky images) taken by the same device.

A disadvantage of WO/2007/094856 is that the SNPs extracted from images may be highly contaminated by the details from the scene and as a result the misclassification rate is high. To compensate for the influence from the details of the scene, the whole image has to be analysed in order to achieve an acceptable identification rate. This may result in unacceptably high demands of computational resources. A further disadvantage is the construction of the reference SNP requires several low-variation images, which without possession of the originating device may not be possible to obtain.

Additionally, during a digital forensic investigation the image set that needs to be analysed may contain several thousand images taken by an unknown number of unknown devices. The method of comparison in WO/2007/094856 is a pair-wise comparison method which becomes prohibitively expensive for large data sets.

Typically, a forensic investigator will want to identify, or cluster, images that have been taken by the same device. Some of the many challenges in such a scenario are: the forensic investigator does not have the imaging devices that have taken the images to generate clean reference device fingerprints (such as the reference SNP) for comparison; there is no prior knowledge about the number and types of the imaging devices; the similarity comparison is pair-wise. With a large dataset, exhaustive comparison is computationally prohibitive; and given the shear number of images, analysing each image in its full size is computationally infeasible.

WO/2007/094856 may seem like a candidate method for the first and simpler task of fingerprint extraction. However, the influence from the details of the scene and the absence of the imaging devices, prevents the investigator from acquiring a clean reference SNP, therefore unless the investigator has a number of "clean" images from which to extract a SNP (which unless they are in possession of the originating device would be incredibly unlikely) this document has limited applications. Additionally, this document is unable to perform the clustering task to identify images taken from the same, possibly unknown, device.

Furthermore, it is desirable to be able to determine if two images from a data set have been taken with the same device. In particular, if neither the originating camera nor the SNP are within the possession of an investigator. Without the originating camera, nor the SNP such a determination is challenging.

Summary of the invention

To mitigate at least some of the above problems in the prior art, there is provided a method of extracting a SNP from a single image and removing the containments from said image to allow identification of other images that have the same or similar SNP.

According to an aspect of the invention there is provided a method of classifying an image taken by an image capture device, the method comprising the steps of: extracting an initial Sensor Noise Pattern (SNP) for the image; enhancing the initial SNP to create an enhanced SNP by applying a correcting model, wherein the correcting model scales the initial SNP by a factor inversely proportional to the signal intensity of the initial SNP; determining a similarity measure between the enhanced SNP for said image with one or more previously calculated enhanced SNPs for one or more different images; and classifying the image in a group of one or more images with similar or identical SNPs based on the determined similarity measure.

There is also provided a method of classifying a plurality images taken by one or more known or unknown image capture devices, the method comprising the steps of: for each image extracting an initial Sensor Noise Pattern (SNP) for the image; enhancing the initial SNP to create an enhanced SNP by applying a correcting model; identifying a subset of images from the plurality of images and; forming an image classifier based on the subset of images by identifying one or more clusters of images which have identical or similar SNPs, wherein the identification is based on a similarity measure between the enhanced SNP for a given image with one or more different images in the subset of images classifying one or more of the remaining images that were not part of the initial subset by calculating a comparative measure between the remaining images and each cluster as identified in the image classifier, and determining if said remaining image belongs to an identified cluster based on the comparative measure. Optionally wherein the correcting model scales the initial SNP by a factor inversely proportional to the signal intensity of the initial SNP

There is also provided a method for classifying a large number of images based on their SNP, where the number of originating devices is unknown.

Further aspects, features and advantages of the present invention will be apparent from the following description and appended claims.

Brief description of the drawings

An embodiment of the invention will now be described by way of example only, with reference to the following drawings, in which:

Figure 1 is a schematic of the apparatus used in the present invention;

Figure 2 is a flow chart of the processes of extracting a SNP and identifying a potential match involved according to an aspect of the invention;

Figure 3 shows an example of the extraction of an image fingerprint; Figure 4 the functions of the models;

Figure 5 is a flow chart of the processes of classifying a large number of images according to their SNP according to another aspect of the invention;

Figure 6 shows an example of a population of unclassified fingerprints; and

Figure 7 shows the classified fingerprints of Figure 6.

Detailed description of an embodiment of the invention

Figure 1 shows a schematic of the apparatus used in the present invention, there is shown, a image source 2, database 4, a Sensor Noise Pattern (SNP) extractor 6, a SNP enhancer 8, a similarity calculator 10, a classifier trainer 12 and a classifier 14.

The image source 2 is any known source e.g. an image capture device such as a digital camera, the internet, a mobile telephone etc. The present invention is able to work with any images taken with a device that has a sensor to detect an image, as the SNP is an intrinsic property of the imaging device.

Images from the image store 2, are downloaded to a database 4. The term database 4 is used as a generic term to describe any memory store for a computer. A stored image is passed from the database 4 to the SNP extractor 6 where an initial SNP is extracted from the image. This process is discussed in further detail with respect to Figure 2 and its corresponding text. The initial SNP is then passed from the SNP extractor 6 to the SNP enhancer 8. Optionally, the initial SNP may be stored on a form of writeable memory or database 4 for reference. The SNP enhancer 8 enhances the initial SNP. This process is described in detail with reference to Figures 2, 3 and 4 and their associated text. This enhanced SNP is also stored in the database 4. The enhanced SNPs for individual images are compared by the similarity calculator 10. The similarity calculator 10 is described further with reference to Figure 2 and Equations 7 and 8 and their associated text.

The classifier 14 and the classifier trainer 12 contain suitable processing means to group images according to criteria based on their SNP. The function of the classifier trainer 12 and the classifier 14 are described in detail with reference to Figure 5. Once a group of images has been identified based on their SNP characteristics these are preferentially stored in the database 4, with some means e.g. metadata, to identify the groups.

The present invention may be performed on a suitable computing device such as a desktop or personal computer, which is enabled to analyse and perform the calculations described herein. The skilled man would understand that the present invention may be implemented on a single computer, a network of computers or over the internet without deviating from the inventive concepts.

Figure 2 describes the overall process of extracting a SNP for a given image and identifying the originating device of the image or other images that originate from the same device according to an aspect of the invention.

There is shown the step of collecting the images at step S 102, initial SNP extraction at step S 104, enhancing the SNP at step S 106, and calculating a similarity measure at step S 108.

The collecting of images at step S 102 may occur by any known method of image collection. In the field of Forensic analysis this may involve the downloading of images of a hard drive of seized personal computer or images found on a website.

Once an image has been collected at S 102 an initial SNP is extracted at step S 104. The method used to extract the initial SNP is that as described in WO/2007/094856. The strength of the SNP is dependent on the sensor itself and the conditions in which the image was taken, and the contribution of the SNP for each individual image varies for each image and therefore needs to be determined for each image. The model used to extract the SNP, n, from an image / is

H = I- F(I) (1)

where F is a denoising function which filters out the sensor noise pattern. The choice of the denoising function F is critical in the extraction of the SNP.

Various denoising filters may be used as F, and in the preferred embodiment, the wavelet- based denoising filter described in Appendix A of Lukas et al. "Digital Camera Identification from Sensor Pattern Noise," IEEE Transactions on Information Forensics and Security, vol. 1, no. 2, pp. 205 - 214, June 2006, is used. This filter has been found to be an effective filter, though other denoising filters may be used. This wavelet based denoising filter filters the images in the frequency domain of the image. Other frequency based or spatial denoising filters may also be used. A key limitation of Eq. (1) is that the SNP is highly contaminated by the details from the scene. The extent of this limitation is apparent in Figures 3 (a), (b) and (C).

Figure 3 (a) shows the reference SNP taken from a camera using the average SNP of 50 images taken of a blue sky, Figure 3(b) shows a natural scene taken using the same camera and Figure 3 (c), the SNP extracted from Figure 3 (b) using the method of WO/2007/094856. Figure 3(d) shows the enhanced SNP extracted from Figure 3(b).

Multiple images of blue sky, or any other sets images of flat featureless surfaces, are ideal as they provide flat images with low signal variation, making SNP extraction a relatively trivial task. However, most images contain detail which is more difficult to extract. In Figure 3(b) this detail is present in the form of a building. It is immediately apparent in Figure 3 (c) that the extracted SNP is highly contaminated by the original signal in the relatively banal image shown in Figure 3 (b). Therefore, it is clear that the initial extraction of the SNP at step S 104 does not provide a sufficiently "clean" SNP from which an accurate comparative measure may be made.

Therefore, unless the image only contains a featureless low noise variation e.g. a blue sky or a white wall, the initial SNP is of limited use as the contaminants from the scene dominate the SNP. Additionally, even for featureless images several images are required to be averaged to produce an uncontaminated SNP. This is of limited practical value as such images are not routinely taken.

Therefore, it is necessary to manipulate the initial SNP to obtain an enhanced SNP which occurs at step S 106. The key factor of this process is the realisation that in the vast majority of images where there is some form of detail present, the stronger a SNP component in n is, the less trustworthy the component should be. An enhanced fingerprint n e can therefore be obtained by assigning weighting factors that are inversely proportional to the magnitude of the initially extracted SNP component. The invention can use a number of different models to filter the image, whose functions are based on the above premise. In the preferred embodiment in conjunction with the wavelet based denoising filter, the following five models are used as these are found to be the most effective:

05" 1 ^'

Model 1: n e (x,y) = - e ,i£0≤n(x,y)

(2)

-e , otherwise

1 n(x,y)

1 a ,if 0≤n(x,y)≤a

Model 2: n e (x,y) = 1 n(x,y)

1 a ,if -α ≤n(x,y)<0 (3)

0 , otherwise

,if 0≤n(x,y)≤a

(l-e^)-e a~n(x ' y) ,n(x,y)>a

Model 3: n e (x,y) = (4)

-l + e n(x ' y) ,if -α ≤n(x,y)<0

(_l + e ^).g «+»( ^ ) ,ifn(x,y)<-a

n(x,y) a ,i£0≤n(x,y)≤a e ,if n(x,y)>a

Model 4: n e (x,y) = n(x,y) (5) a ,if -α ≤n(x,y)<0

,if n(x,y)<-a

-e n(x,y) a ,ifθ≤n(x,y)≤a a-n(x,y) ,if n(x,y)>a

Model 5: n e {x,y) = n(x,y) (6) a ,if -α ≤n(x,y)<0

_ e a+n(x,y) ,if n(x, y)<-CL

where n(x,y) and n e (x,y) are the (x,j)th component of/? and n e , respectively and a is a scaling factor which determines the scaling rate as the models are not linear. It is empirically observed that α = 7 is the optimal value for all the five models. In the preferred embodiment the default setting is for Model 1 (as defined by Eq. T) with α = 7, though other models, including those not listed, and other values of α may also be used. The function of the five models are shown graphically in Figure 4 (a) to (e) which shows Models 1 to 5 respectively. The horizontal and vertical axes represent the contaminated fingerprint n and the enhanced fingerprint n e , respectively. All five models follow the basic premise that the initial SNP is weighted by an inverse function.

Models 1 and 2 allow the magnitude of n e , (i.e., | n e |) to decrease monotonically with respect to the magnitude of n. Models 3, 4 and 5 allow the magnitude of n e , (i.e., | n e ) to grow monotonically in accordance with the magnitude of n (i.e., \n\) if \n\ < a and to decrease monotonically and rapidly with respect to \n\ if \n\ > a. From Eq. (2) - (3) and Figure 4(a) - (b) we can see that α determines the decreasing rate. In Eq. (3) - (6) and Figure 4(c) - (e) α determines the point where the magnitude of n e (i,j) start decreasing and the increasing and decreasing rate before and after α.

Figure 3(d) shows the enhanced SNP extracted from Figure 3(b) by applying model 1 with α = 7 to the initial SNP as shown in Figure 3(c). It is immediately apparent that the contamination seen in Figure 3(c) has been removed. A further advantage of the use of a model to enhance the SNP is that an uncontaminated SNP can be extracted from a single image.

The implementation of the wavelet denoising filter and enhancing the SNP by the use of the models is performed using known computing methods for image manipulation.

In an embodiment of the invention, the initial SNP and an enhanced SNP for a given image are stored, preferably in a database 4, with metadata detailing the parent image from which they were extracted so that the parent image may be identified.

In an embodiment of the invention the SNP for each image is compared so that identical or similar SNPs may be identified.

The SNP for a given device, say a digital camera, is stable and therefore will not change significantly over time. Therefore, all images taken with the same device will have substantially the same SNP, thereby allowing images taken with the same device to be identified via their SNP. In order to identify images with the same SNP a similarity measure is required. A similarity measure is measured by a similarity metric as defined in Equation 7 to quantify the difference in an extracted enhanced SNP against a given reference SNP. A single SNP, or multiple SNPs, may be used as the reference SNPs, with a similarity measure for each SNP would be obtained. This score is preferably stored in a database 4 with metadata associating it with the originating image and enhanced SNPs.

To identify the source imaging device that has taken image / under investigation from D devices, we use the correlation pd, as formulated in Equation 7, between the enhanced sensor noise pattern n e of image / and the reference SNP, Pd, of device d, d e {1, 2, ..., D), as a similarity metric.

where n e and Pd are the means of n e and Pd, respectively. The larger the value of pd the higher the likelihood that a given image / was taken by a given device d. In the case where d>\, the device d that yields highest correlation pd is identified as the device that has taken image /, if pd is greater than a threshold t set by the user i.e., d" = argmax(p rf \ d e {1,2,...,/)}) • d

Otherwise, the identifier should report that the image is taken by an unknown device. It is noted that a value of t = 0.01 is found to produce an accurate match. The similarity metric may be performed by comparing the entire image or the same subsection of two or more images.

In an embodiment of the invention, the above described technique is used to determine if two or more images originated from the same camera, where neither the host camera, nor the host camera's SNP are available. The enhance sensor noise pattern n for the images to be compared are extracted using the methods described above. Once extracted the similarity of the enhanced sensor noise patterns is determined. If two images i, j are being compared, then the similarity p(i,j) may he expressed a-;.

(8) where m and YIJ are the means of enhanced sensor noise patterns γij and n, respectively. If the similarity p(i,j) \ the n.sos Ov usor o tn conckκl % that ?hv ;o iho same ^ ibmul ibat a \ tU»o >n * O »M is siα>V icn*k tv.s. iaaio

The time taken for the similarity metric to be calculated is clearly dependent on the size of the image used, and the number of reference devices D for which there is an SNP, or the number of photos against which an initial photo is compared in order to determine if the photos originate from the same device. This can quickly become prohibitively expensive in terms of number of computations for large images and or a large reference data set D. The size of the similarity metric is also dependent on the dimensions of the images used, e.g. 1024 * 2048 pixels, and therefore can rapidly become unacceptably large in terms of memory and storage requirements.

In Forensic analysis the numbers of images that form a dataset may be many thousand and therefore performing the similarity calculation for all reference devices may become unfeasible.

Therefore, it is not desirable to obtain a similarity measure for all images, nor is it desirable to use the whole of the image. The present invention therefore also provides an optimised method of classifying images according to their SNP.

There is provided a method of overcoming this problem with an unsupervised digital image classification method.

Additionally, images may be cropped or rotated before they are released. The similarity metric as described above requires the same subsection of two or images to be compared or else a match will not be returned even if they have identical SNPs (as the comparison would be between different areas of an SNP which are unlikely to be the same).

Therefore, there is also a need to be able to compensate for potential manipulation of the image. Figure 5 shows a flow process of the invention including the steps of classifying the images according to the preferred embodiment.

There is shown the step of initialisation of the dataset at step S200, extraction and enhancement of the SNP at step S202, establishing a similarity matrix for a training set at step S204, assigning a random class label at step S206, calculating a reference similarity at step S208, establishing membership criteria at step S210, updating class labels at step S212, determining if stop criteria has been met at step S214, classifying the remaining images in a dataset using the trained classifier at step S216 and classifying any abnormal photos at step S218.

The above steps may be broadly classified as four separate modules: digital fingerprint extraction and enhancement, similarity measurement of the images of the training set, classifier training and image clustering. The purposes of each module are described as follows.

Digital fingerprint extraction and enhancement: This is as described above.

Similarity measurement of the images of the training set: Given the unacceptably large costs in terms of computation and storage that would occur when using the full dataset (potentially containing thousands or millions of images), a training set is established which is representative of the total set. Analysis is performed on this training set to provide the ensuing classifier training module an M x M similarity matrix p, with element p(i, j) indicating the similarity between SNPs i and j. Where M is the number of images used to form the training set.

Classifier training: The training set is used to determine potential membership classes and the criteria for these classes. Once determined, the similarity comparison need only be performed against each class and not all the images. This allows for the reduction of the number of comparisons that need to be made in order to identify the originating device.

The classifier training module, in the preferred embodiment, takes a small sub-set of the images of the entire dataset at random and assigns them a number of classes according to the similarity provided by the previous sub-task. Each class corresponds to one imaging device (known or unknown), and a centroid of each class is then calculated. The centroid is equivalent to the "average" SNP for that class.

In the preferred embodiment the number of classes is inferred and the class assignments is made adaptively without the user providing a threshold. This allows for the unsupervised classification of the images. In further embodiments the user sets thresholds to classify images. This may occur, for example, where the user is aware of the originating device and can cluster a number of images taken from that device, thereby avoiding the need to define a class or device assignment. However, in practice such a situation is rare and therefore an unsupervised definition of the classes is preferred as it also removes any user biases, which are often unquantifiable, that occur.

The entire dataset can be provided to this module so that the next image clustering module can be excluded. However, doing so incurs unacceptable memory space for storing the similarity matrix and computational cost when the dataset is large. The size of the training set depends on the size of and the anticipated diversity of the entire dataset. Therefore no theoretical backing for determining the size of the training set is available, though it is found that a training set of 300 regardless of size of the actual set (assuming naturally the data set is larger than 300) is sufficient.

Image clustering: Given the class centroids provided by the classifier trainer, this module is to assign each image's SNP i in the non-training set to a class with the centroid most similar to z's SNP. As discussed previously it is immediately apparent that by training the classifier with a sample of the entire image dataset the number of calculations required, and therefore computational requirements, are greatly reduced.

In order to compensate for the potentially random orientation of the images, the following embodiment describes a method to overcome this problem. The system is initialised at step S200 where the parameters of the system are determined.

It is known for most photos to be taken with detectors that contain dimensions of 2 n pixels e.g. 256, 512, 1024 etc. or produce images known image dimensions e.g. 4288 x 2848, 2544 x 1696, 1728 x 1152 pixels etc. This dimensions change between make and model of camera, but cameras of the same make and model (sometimes several models) have the same image dimensions. In an embodiment of the invention images that do not conform to these known dimensions or are of a different size are flagged and removed from the dataset. Due to their non-standard features, and in order to increase the efficiency of the invention these are considered separately, at the end of the process at step S218.

Optionally, the user of the invention may specify information to reduce the data set of images to be processed or potentially increase the likely matches. If in an investigation it was known that pictures were taken at a particular time and/or date, then in order to reduce the size of the data set to be processed the metadata that is present in images may be used appropriately to find associated data within the data set. Metadata on a typical photo will comprise information such as a time, date and camera identifiers, though this information is not always present or may be subverted. By reading this metadata, it is possible to filter photos by such information stored in the metadata. This may include, the time, date, camera make or model or combinations of this data.

In another embodiment, the photos may be tagged with one or more keywords to describe the content of the photo. This information is preferably stored in the database 4 along with a reference to the originating photo. This key words may be for example "building", "aeroplane", "crowd", "bus station", "child", "football match" etc. During the initialising stage, the images to be identified may be selected by these keywords. The tags used need not be general terms but may also be specific e.g. a car license plate, an individual person etc.

In a further embodiment, the images may be identified using known scene or facial recognition software to automatically assign tags that relate to the scene.

Clearly, such filtering is advantageous to reduce the data set and therefore the computer time required to analysis the data set.

Preferably, images from cameras that are identified as being of the same make and model are processed together as it is more likely to matches from these subsets than say a match for an image taken with by two different brands of camera. Further reductions in the data set may occur by only searching for image sizes supported a camera, e.g. only analysing images that are 4288 x 2848 which are typical of say a Sony TM digital camera and ignoring images that are say 3872 x 2592 pixels, as may be found on say a Pentax TM camera..

However, as the metadata may be changed with relative ease, it is possible that images that have identical metadata, purporting to originate from the same device may in fact originate from different devices. The present invention is able to identify such cases as the SNPs for these images would not match.

As digital images, in general, are rectangular in dimension the degeneracy in the number of possible relative orientations of the SNP is two (i.e. it is impossible to tell if the SNP of an image is the "right way up" or "upside down" for a given orientation). An initialising step is therefore, to orientate all images so that horizontal axis is the longest. Horizontally oriented images are left intact and the vertically oriented images are turned 90 degree clockwise. This set is called DATASET 1 , including those which are left intact. DATASET 2 is then created by rotating each image in DATASET 1 by 180 degree. Whilst this increases the number of images in the dataset it also ensures that images with the same SNP will be guaranteed to have an SNP that is orientated in the same relative direction.

Once the two datasets are created the fingerprint extraction can begin. However, as mentioned previously it is undesirable to perform this extraction of the whole image and on the whole dataset. Therefore, a small subsection of each image is used in the classification process. The subsection to be sampled is taken from the same place in each picture, for ease this is taken to be the centre of the image, as it is found that the centre of the image is less likely to be saturated thereby allowing the extraction of the SNP, though any subsection may be sampled. It is found that a block size of greater than or equal to 256 x 512 pixels (or 512 x 256) is large enough to provide a sufficient sample of a given SNP to be able to determine if a match is present to a high degree of confidence. Larger block sizes are indeed preferable but also result in an increase in the computational requirements.

Further initialising steps include the selection of the enhancing model and the value of α used. As discussed with respect to Figure 2 the preferred model is model 1 as defined by equation 2 and a value of α =7. The step of selecting the subset of images from the dataset to be used as the training set is also performed at this stage. The size of the training set is M images, where M may be specified by the user or taken as a pre-set number. The value of M depends on the size of and the anticipated diversity of the entire dataset. Therefore, no theoretical backing for determining the size of the training set is available. If M is set by the user the computing resource and time constraints should be considered. Moreover, since there is no ground truth in real forensic cases, therefore a good practice to ensure that the classifier provides "accurate" result is to execute the classifier multiple times and verify the consistency of the results. It is found that approximately 300 images forms a sufficiently diverse sample for a given image set.

Once the system is initialised at step S200, the SNP for the all M images of the training set is extracted at step S202. The extraction and enhancing of the SNP occurs as described previously with reference to Figure 2. The extraction only occurs for the subsection of the images as defined in step S200 (e.g. the 256 x 512 block in the top left corner of all images). This reduces the number of calculations required to extract and enhance the SNP, thereby reducing computational requirements.

Once all the enhanced SNPs have been extracted for all M images of the training set, the similarity of the SNPs in the training set is determined at step S204. The similarity between any two enhanced digital fingerprints i andy is calculated using a slightly modified version of Equation (7).

p(i,./) = i,J€ {\,2X..,M} (8)

As the value is frequently reused and during the ensuing classifier training stage, to reduce computational cost, an M x M similarity matrix p, is established. Element p(i, j) therefore indicates the similarity between fingerprints i andy. This matrix is stored and thus the matrix p can be queried at element p(i, y) for future references of the similarity between SNPs i andy thereby avoiding the need for repeated calculation.

In order to overcome the random orientation problem to calculate the similarity between two images i andy, four combinations need to be taken into account (i.e. (i of DATASET 1, j of DATASET 1), (i of DATASET 1, j of DATASET 2), (i of DATASET 2, j of DATASET 1) and (i of DATASET 2, j of DATASET 2)). Therefore the invention calculates the similarity for each combination and takes the maximum (i.e. the most likely match) of the four similarity values as the (z,y)th and (j, z)th element of the similarity matrix.

Once the matrix p has been calculated the invention commences the classifier training module. The purpose of the classifier is to assign each image of the training set into an optimal class based on the similarity measurement as calculated in step S204. Formally this may be expressed as if there are K classes of images in the training set, with the value of K unknown. Denote D = {<4| k = 1 , 2, ... , K) as the set of class labels and/, J 1 ε D , as the class label/class membership of SNP i. The objective of the classifier trainer is to assign an optimal class label <4 to each SNP i, in an iterative manner until a set of stop criteria are met.

The first step is to assign a unique class label for each SNP at step S206. For example, if the training set consists of 300 images 300 different class labels would be required. Formally, K, is unknown, and therefore each fingerprint i is treated as a singleton class (i.e., assume that K = M), with each assigned a unique class label (i.e., / = d t , ie {1,2,3,...,M } ). Thus, the starting condition is that there a M singleton clusters, where M is the size of the training set.

At step S208 a reference similarity is calculated for each SNP. Whilst there are K unknown classes (or devices) in a set it is possible to determine the probable number of devices, or value of AT using the following premise. The similarity between fingerprints of the same class (the intra-class similarity) is expected to be greater than the similarity between fingerprints of different classes (the inter-class similarity). For each SNP i, using a known k-means algorithm the M-I similarity values between i and the rest of the training set are clustered into two groups, an intra-class and inter-class group. The separation of the average centroids for the two clusters, as defined by the k-means algorithm, is calculated and stored as the reference similarity, r l . Although the similarity values are both scene- and device-dependent, the step of enhancing the SNP S202, reduces this dependency. For a given SNP i, its reference similarity r t may be used to distinguish between intra and inter class members. It is found that most intra-class similarity values are greater than r t while most inter-class similarity values are less than r t . At step S210 a membership committee C 1 for each SNP i in the training set is established. The membership committee contains the SNPs that are the most similar i.e. have the highest similarity measure as calculated at step S204, to an SNP i. The size of the committee, i.e. the number of similar SNPs that are chosen, can be M-I or a subset of the training set. In the preferred embodiment a subset of the training set is chosen i.e. C 1 < M-I, though a value of C 1 = M-I may be used.

During the first iteration each SNP i, is still assigned with the unique class label from step S206. The class labels of the membership committee C 1 are used to define a new label for the committee. Therefore a high value of C 1 is potentially computationally expensive and therefore a subset is preferred.

Once the committee C 1 for each SNP i, has been established the class label/ is updated at step S212. The following process will allow groups that have similar SNPs to be identified and assigned the same class label.

For each SNP i, a cost, P 1 (I) (defined below) is calculated for each committee member 7, of C 1 (i.e.j≡ C 1 ). The cost is the cost of each class label/ for each member j. Therefore, if C 1 is large the computation cost is high and thus in the preferred embodiment C 1 < M at step S210. Once all costs for the class labels f have been calculated the class label with the lowest associated cost fφ wes t cost) for the committee is determined. The originally assigned class label / is then updated with the value of ' fφwest cost)- This process is repeated for all SNPs that is to say ally.

Let L denote the number of class labels currently assigned to the members of C 1 and i itself (i.e., L = {l \ l≡ {{/} u {/, | ye C,}}} . The cost, pit), is defined as

pXO = ∑s(l,j) - [p(i,J) - U (9) j where p(z,y) is the similarity (as defined in Equation (8)) between i and the 7th member of C 1 , V 1 is the reference similarity (as calculated at step S208), c is the number of members of C 1 and s(l,j) is a sign function define as r+ i , if / ≠ /.

*H- i . if / =/ ' <10)

where / is an arbitrary class label in L with its cost being calculated and ^ is the class label of the 7th member in C 1 . From Eq. (9) and (10) we can see that

• When p (/ ' ,/) > r u p (/ ' ,/) is an intra-class similarity value and fingerprints i and j are expected to belong to the same class and represents the case where it might be expected that the SNPs originate from the same device. In this case a) If class label / ≠f j , which is inconsistent with the expectation, the value of s(l,j) = 1 would result in a positive value (i.e., penalty) added to the cost /?,(/). b) If class label / =f p which is consistent with the expectation, the value of s(l,j) =-1 would result in a negative value (i.e., gain) added to the cost pKJ).

• When p (/ ' ,/) < r u p (/ ' ,/) is an inter-class similarity value and fingerprints i and j are expected to belong to different classes. In this case c) If class label / ≠f j , which is consistent with the expectation, the value of s(l,j) = 1 would result in a negative value (i.e., gain) added to the cost pKJ). d)If class label / = f, which is inconsistent with the expectation, the value of s(l,j) = -1 would result in a positive value (i.e., penalty) added to the cost /?,(/).

The skilled man would understand that step S212 for each SNP i, identifies the SNPs as determined by their similarity score. Step 212 therefore clusters similar SNPs together, eventually allowing for the identification of images that originated from the same device by virtue of each member of the cluster having the same class label.

Once step S212 has been performed all SNP i, the invention checks to see if the stop criterion has been met at step S214. The stop criterion in the preferred embodiment is when there are no changes of class labels to any fingerprint in x consecutive iterations. It is found that when using a training set of M = 300 fingerprints setting x = 1 is enough. Clearly on the first pass of step S212 this criterion will not be met and therefore step S212 is performed.

Those skilled in the art will understand that upon each successive pass of step S212 that clusters of similar SNPs will form and will be given identified as having the same class label (which would befφwest cost))- A visual representation of the clustering and classifying step is shown in Figures 6 and 7.

Figure 6 shows a synthetic dataset of 150 data points. There is shown the synthetic data points plotted on an arbitrary three dimensional axis.

The data dimensions of the similarity metric are determined by the size of the data block used to extract the SNP as defined in the initialising step S200 e.g. 256 x 512 which cannot be represented in 2-D. Therefore, a synthetic plot is used to illustrate the clustering techniques used. As can be seen from Figure 6 there are some clusters of data points which may be identified by eye. However, such identification results in undesirable and unquantifiable biases. Steps S212 and S214 provide an unbiased method of identifying clusters.

Figure 7 shows the same data set as in Figure 6 where the invention has classified the data and assigned class labels to the clusters according to the method described above. Points which share the same class labels are circled.

Once the iterative process of steps S212 and S214 have met the desired criteria, the stage of training the classifier has been completed. With the trained classifier the remaining images that did not form part of the training set may be classified using the trained classifier at step S216.

The centroids of the clusters (as identified as having the same class label) are calculated and these centroids are used to classify the remaining images that did not form the training set. The enhanced SNP for these images has already been extracted at step S202. Each image will have two SNPs to overcome the orientation problem described earlier. To classify an SNP i, we compare the similarity of its two fingerprints (one associate with DATASET 1 and the other with DATASET 2) to each centroid of the clusters as identified in the trained classifier. The similarity is calculated as described previously according to Equation (8). This returns two similarity values for each SNP (one for each orientation), the greater of the two values (i.e. the most similar) is retained. Once the similarity measure for each cluster has been determined the SNP i, is assigned to the cluster with the highest similarity measure. During the image clustering process, the centroids of the classifier can either be fixed throughout the entire process or updated when new images are assigned the corresponding classes. The update is accomplished by recalculating the average fingerprint of the classes which take in new members. The update operation has a negative impact on the efficiency of the classifier without necessarily improving classification accuracy. It is found that there is no need to update the centroid of classes with more than 20 members.

The invention is advantageously able to identify new clusters in the preferred embodiment. If the similarity between a fingerprint and most similar centroid is less than a threshold set by the user, a new class with the fingerprint as the founding member is created and allowed to attract new members just like the classes identified by the trainer. Therefore, even if the training set does not contain images which originate from the device of the new founding member it will be identified as a new device. This adaptability therefore allows the present invention to work successfully without knowledge of the devices of indeed the number of devices that are present. This is particularly advantageous in the application of digital forensics where little or no knowledge of the devices is known.

Those skilled in the art will also realise that the above process allows for the unsupervised classification without the user specifying/guessing the similarity threshold T 1 and the number of classes AT as:

• The fact that, for each fingerprint, the similarity values between it and the rest of the training set can be grouped into intra-class and inter-class as described in Step S208 facilitates adaptive determination of V 1 automatically by the trainer. This adaptivity also makes the classifier applicable to new databases without tuning any parameters.

• The trainer starts with a class label space/set as big as the training set (i.e., the worse case with each fingerprint as a singleton class) and the most similar fingerprints are always kept in z's membership committee C 1 , so the classes can merge and converge quickly to a certain number of final clusters in a few iterations. The term p (i, j) - η in

Eq. (9) also provides adaptivity and helps the trainer to converge because it gives the fingerprints with the similarity value p (/,/) farther away from the reference similarity r t more say in determining the class label for the fingerprint in question. That is to say Eq. (9) allows the trainer to exploit the power of the discriminative/influential fingerprints and maintain high degree of immunity to errors due to the less discriminative ones.

Once the remaining images have classified using the trained classifier at step S216 the invention considers the images that were considered "abnormal" during the initilisation step S200.

These special cases are advantageously considered at step S218 as it allows for all the clusters identified during steps S212 and S216 to be used to determine their likely origin. Additionally, due to the high computational costs associated with these step it is desirable to be able to avoid performing this step as few times as possible. Therefore, whilst analysis for the abnormal photos may occur alongside analysis of all other photos it is more efficient to do so only after all, or the majority, of photos have been analysed.

As the objective is to determine which class these abnormal cases belong to it is clearly more efficient to perform this step once all the classes have been identified. However, a problem is that as these abnormal images are often cropped there is no guarantee that the area sampled for the SNP will be present in the image. Therefore, the entire SNP for each cluster (which is equivalent to a device) must be extracted. This may be taken as the average SNP for all SNPs that form a cluster, or for a sample of each cluster e.g. a maximum of 20 SNPs per cluster may be used to determine the average SNP for the cluster.

The SNP for the abnormal image is extracted using the previously explained method. As the image has been in someway manipulated it is unknown which part of the image is present e.g. has the image been cut from the centre, the top left edge, the bottom right edge etc. The invention samples the SNP of the averaged cluster SNP in blocks the size of the abnormal image across a number of different parts of the image. These samples of the average SNP and the extracted SNP for the abnormal image are compared as described for the standard images at step S204 using the similarity matrix. The highest similarity score represents the closest match, and therefore the most likely overlap. If desired the coordinates of the block with the highest similarity score are used as the starting point to further sample the average SNP to try and improve the overlap match. This process is repeated for the average SNP for each cluster. The cluster with the highest similarity score would therefore represent the best match or if the match level is below a threshold represent a potential new cluster as described in step S216. Clearly, these special cases require many more calculations as the similarity measurements must be performed for each cluster and a number of positions for each individual cluster.

As scaling an image e.g. the magnification or shrinking of an image, will affect the SNP, images that originate from the same device, and have been scaled in some way, will not be present in the same cluster as images from the same device that have not been scaled due to the differences in their SNPs. Images from the same device, which have been scaled in the same way, will be identified as a cluster as they will have similar SNPs.

Whilst the preferred embodiment has been described with particular reference to Equations 1 to 9, it should be noted that equations that of a similar function but of a different form may also be used without deviating from the concept of the invention.

It is immediately apparent to the skilled man, that whilst this invention has been described as a method that is able to identify images that were taken by the same device were there are an unknown number of originating devices, that the present invention is able to identify which device an image came from if the SNP for that device was available.