HUE Modification Detection and Estimation using Photo Response Non-Uniformity

Page 1

IJSTE - International Journal of Science Technology & Engineering | Volume 3 | Issue 09 | March 2017 ISSN (online): 2349-784X

HUE Modification Detection and Estimation using Photo Response Non-Uniformity Chitra R R PG Student Department of Electronics & Communication Engineering Marian Engineering College, Trivandrum, India

Minnu Jayan C Assistant Professor Department of Electronics & Communication Engineering Marian Engineering College, Trivandrum, India

Abstract This paper presents a hue modification detection method to identify the true meaning of a digital image. To detect an image forgery, we proposed a robust forensics scheme for detecting hue modification. First, separate the photo response non-uniformity (PRNU) by a color filter array forms a pattern independent of others, the position of each PRNU pixel will do not overlap. We designed a forensic scheme for estimating the hue modification by using PRNU from each color channel of an image. We also proposed an efficient estimation scheme and an algorithm for detection and partial manipulation the results defines that the proposed method distinguishes the hue modification of an image and it estimates the degree of change. This paper improves the saturation modification of the image and achieves the purity of the image. Keywords: Digital image forensics, Photo response non-uniformity(PRNU),Sensor Pattern Noise, Hue, Color Filter Array(CFA) ________________________________________________________________________________________________________ I.

INTRODUCTION

Digital images can be easily modified not only by highly trained professionals, but also by most average digital camera users. One of the common strategies image pirates use with digital images is hue modification. Hue is the actual color of the image. Digital images can be easily falsified by non-professional users. Since the advent of high-quality image editing tools such as Adobe Photoshop, Paintshop,etc. With an image-editing tool, a person can severely distort the actual meanings of images by modifying the hue of the images. To cope with image forgeries, a number of forensic schemes were proposed. Most schemes are based on detectiong local inconsistencies such as resampling artifact [1],color filter array interpolation [2],JPEG compression [3] or lighting condition [4].The pixel photo response non-uniformity (PRNU) is widely used for detecting digital image forgeries [5]-[9].There are also some methods for detecting identical regions are based on detecting the local inconsistencies of the image such as caused by copy move forgery [2].Only two of these methods are able to detect hue forgery, because this does not change any other aspect of an image such as edges, shapes, gradations and PRNU. Choi et al. [2] first proposed an algorithm for estimating the hue modification using a m e t h o d o f neighbouring correlation [15] induced by color filter array (CFA) in a digital camera. They proposed a simple measure of changes in the CFA patterns based on counting the number of pixels whose neighbors were satisfied with an interpolation condition. However, this algorithm loses its accuracy after using common image processing techniques such as resizing or JPEG compression that completely breaks down the demosaicing trace of an original image. Moreover, Choi’s algorithm only works with the image data processed using a CFA Bayer pattern [16]. This paper succeeds the previous idea [14] which describes a naive forensics scheme for estimating the degree of hue modification based on PRNU. The advanced methods of this paper are as follows. First, we propose an efficient estimation scheme that avoids some unnecessary intervals based on our hue modification modeling. Second, we proposed a partial manipulation technique in which a particular threshold value are adopted to determine the forged regions. Finally, we display the distribution of the test results. II. METHODOLOGY We described a separated PRNU technique created by CFA that forms a pattern independent of the others. Based on the previous method [14], we proposed an enhanced algorithm for detection and estimation of hue modification using separated PRNU. we also proposed an algorithm for partial manipulation. Two threshold values are adopted for estimation and partial manipulation of hue modification. The output of the image sensor was separated into three color components by a color filter array [17].The PRNU is the unique fingerprint of camera. This method is robust and is and reliable in image integrity verification as well as tampered region detection for introduced camera models. The raw images were taken directly using the camera models listed in Table I. All raw images are interpolated by dcraw, the most widely used raw image decoder using adaptive homogeneity directed (AHD) interpolation algorithms [21]-[22]. The PRNU pattern is a kind of Sensor Pattern Noise. It is a constant pattern that identifies the non-uniformity noises in an imaging device/camera. Many modern digital cameras can save images in a raw format and then allow the user to demosaic them. We proposed an enhanced scheme for efďŹ ciently estimating the hue modiďŹ cation

All rights reserved by www.ijste.org

155


HUE Modification Detection and Estimation using Photo Response Non-Uniformity (IJSTE/ Volume 3 / Issue 09 / 032)

Table – 1 Digital Camera Models ID D200 D70 D70s D90 E420

Model Nikon D200 Nikon D70 Nikon D70s Nikon D90 Olympus E420

Images 200 200 200 200 200

Resolution 3904Ă—2616 3040Ă—2014 3040Ă—2014 4352Ă—2868 3720Ă—2800

Hue Modification on PRNU: RGB pixel value of an image is represented as a vector with three-dimensional Cartesian coordinates. A hue modiďŹ cation process can be deďŹ ned as a rotation of RGB pixel vector. Its magnitude is a unit vector đ?‘˘Ěƒ = (đ?‘˘đ?‘&#x; , đ?‘˘đ?‘” , đ?‘˘đ?‘? ),where đ?‘˘đ?‘&#x; = đ?‘˘đ?‘” = đ?‘˘đ?‘? = 1 √3

.The matrix đ?‘…(đ?œƒ) for a rotation by an angle of đ?œƒ about an axis in the direction of đ?‘˘Ěƒ is given by,

1

1

Where đ?›ź = đ?‘?đ?‘œđ?‘ đ?œƒ, đ?›˝ = (1 − đ?‘?đ?‘œđ?‘ đ?œƒ) and đ?›ž = đ?‘ đ?‘–đ?‘›đ?œƒ. Multiplying this matrix to the original pixel vector đ?‘Łâƒ— = (đ?‘&#x;, đ?‘”, đ?‘?)đ?‘‡ . 3 √3 It will give a hue modiďŹ ed pixel vector đ?‘‰â€™ = (đ?‘&#x;’đ?‘œ , đ?‘”’đ?‘œ , đ?‘?’đ?‘œ )đ?‘‡ . ,which is obtained by multiplying original pixel vector and RGB pivel vector.Fig.1 shows the sample image for partial manipulation detection experiment and estimation. Fig 1 shows the input image and its hue modification.

Fig. 1: (a) Input image (b) Hue modified image

To find the hue modiďŹ cation effect on the separated PRNU, we can analyze this modiďŹ cation of hue rotations in the RGB color space. Three pixel vectors of the color are given by, đ?‘Łđ?‘&#x; = [đ?‘?đ?‘&#x; , đ?‘?Ěƒđ?‘” , đ?‘?Ěƒđ?‘? ]đ?‘‡ ,đ?‘Łđ?‘” = [đ?‘?Ěƒđ?‘&#x; , đ?‘?đ?‘” , đ?‘?Ěƒđ?‘? ] đ?‘‡ and đ?‘Łđ?‘? = [ Ěƒ đ?‘?đ?‘&#x; , Ěƒđ?‘?đ?‘” , đ?‘?đ?‘? ].đ?‘‡ It is deďŹ ned within the RGB colorspace,which represent pixels from the red, green and blue positions of the CFA. To represent the PRNU components, remove the interpolated value of đ?‘?Ěƒđ?‘? which has a propagation error by demosaicing [19] and obtained normalized PRNU noise pixels as follows:

đ?œƒ is defined as the degree of hue modiďŹ cation. Using these pixel vectors, generated a 1Ă—3 synthetic noise within the image is đ??źđ?‘? = [ Ě…Ě…Ě…Ě…, đ?œ‚đ?‘&#x; Ě…Ě…Ě…, đ?œ‚đ?‘” Ě…Ě…Ě…] đ?œ‚đ?‘? and a hue modiďŹ ed image is given by đ??ź ′ đ?‘?(đ?œƒ) = [ Ě…Ě…Ě…Ě…(đ?œƒ), đ?œ‚đ?‘&#x; Ě…Ě…Ě…Ě…(đ?œƒ), đ?œ‚đ?‘” đ?œ‚đ?‘? Ě…Ě…Ě…(đ?œƒ)]. A demosaicing algorithm is a digital image process used to reconstruct a full color image from the incomplete color samples from a image sensor overlaid with a color filter array(CFA). Non-professional users. Since the advent of high-quality image editing tools such as Adobe Photoshop, Paintshop, etc. With an image-editing tool, a person can severely distort the actual meanings of images by modifying the hue of the images. To cope with image forgeries, a number of forensic schemes were proposed. Most schemes are based on detectiong local inconsistencies such as resampling artifact [1],color filter array interpolation [2],JPEG compression [3] or lighting condition [4].The pixel photo response non-uniformity (PRNU) is widely used for detecting digital image forgeries [5][9].There are also some methods for detecting identical regions are based on detecting the local inconsistencies of the image such as caused by copy move forgery [2].Only two of these methods are able to detect hue forgery, because this does not change any other aspect of an image such as edges, shapes, gradations and PRNU. Fig 2 shows the demosaiced image with a hue modified pixel vector. Then calculate the correlation đ?œŒâ€˛đ?‘? (θ) as follows:

All rights reserved by www.ijste.org

156


HUE Modification Detection and Estimation using Photo Response Non-Uniformity (IJSTE/ Volume 3 / Issue 09 / 032)

Ď c ′ (θ) = corr(Ic (θ), Ic ′ (θ) (3) The correlation plot of the hue modified image and the demosaiced image with a hue modified pixel vector is interest points, symmetric, with maximum point on the hue. Fig 3 shows the correlation plot between the hue modified image and the Demosaiced image.

Fig. 2: Demosaiced image

Fig. 3: Correlation plot

Design a Hue Modification Algorithm: Number equations consecutively with equation numbers in parentheses flush with the right margin, as in (1). First use the equation Editor to create the equation. The ďŹ rst step reduces computation time by removing unnecessary search intervals. This method is based on a small number of samples. The range of the sample is divided by the regular interval ∆i. First,select the samples,đ?‘›đ?‘ = 360 ⌊ ⌋ samples at regular interval ∆i in the range of hue value (0,360] and create a set of selected hue values đ?›Š = ∆i {đ?œƒ1 , đ?œƒ2 , . . . , đ?œƒđ?‘›đ?‘ }.The hue value of the suspicious image đ??źđ?‘ đ?‘˘đ?‘ is modiďŹ ed with the values in Θ and then obtained a hue modiďŹ ed image set is given by đ??źđ?‘ đ?‘˘đ?‘ = {đ??źđ?‘ đ?‘˘đ?‘ (đ?œƒ1 ), đ??źđ?‘ đ?‘˘đ?‘ (đ?œƒ2 ), . . . , đ??źđ?‘ đ?‘˘đ?‘ (đ?œƒđ?‘›đ?‘ )}. Then we apply a denoising ďŹ lter F into đ??ź Θ đ?‘ đ?‘˘đ?‘ , then the equation becomes đ??ź Θ đ?‘ đ?‘˘đ?‘ = {đ?‘›đ?‘? (đ?œƒ1 ), đ?‘›đ?‘? (đ?œƒ2 ), . . . , đ?‘›đ?‘? (đ?œƒđ?‘›đ?‘ )} of noise residuals in the image.we calculated the cross correlation between noise residuals đ??źđ?‘ đ?‘˘đ?‘ and đ??ź Θ đ?‘ đ?‘˘đ?‘ , and then choose đ?œƒâ€˛ with the largest value as an intermediate candidate of modiďŹ ed hue degree. đ?œƒâ€™ = đ?‘Žđ?‘&#x;đ?‘” max(∑ đ?‘?đ?‘œđ?‘&#x;đ?‘&#x;(đ?‘›đ?‘? (đ?œƒ), đ?‘ƒđ?‘? )) đ?‘¤â„Žđ?‘’đ?‘&#x;đ?‘’ đ?œƒ ∈ đ?›Š. đ?œƒ

(4)

In this step set [đ?‘€đ?‘–đ?‘›đ?‘‘ , đ?‘€đ?‘Žđ?‘Ľđ?‘‘ ] for the candidate range, đ?‘€đ?‘–đ?‘›đ?‘‘ â†? đ?œƒâ€˛ − ∆đ?‘–/2 and đ?‘€đ?‘Žđ?‘Ľđ?‘‘ â†? đ?œƒâ€˛ + ∆đ?‘–/2. If there is a global maximum đ?œƒĚ‚ is in the range [đ?‘€đ?‘–đ?‘›đ?‘‘ , đ?‘€đ?‘Žđ?‘Ľđ?‘‘ ],we can ďŹ nd đ?œƒĚ‚ using an algorithm based on a hill climbing search since the slopes around the maximum point converge towards it. The design of Algorithm 1 comes from the concept of a binary search tree with hill climbing optimization technique. It is a mathematical optimization technique which belongs to the family of local search. It is an iterative algorithm that starts with an arbitrary solution to a problem, then it changes a single element in the solution.

If the change produces a better solution and incremental change is made to the new solution, repeated until no further improvements can be made. First to calculate the correlation values in the intermediate angles to the left and right sides of

All rights reserved by www.ijste.org

157


HUE Modification Detection and Estimation using Photo Response Non-Uniformity (IJSTE/ Volume 3 / Issue 09 / 032)

candidates. Second, a narrow search range toward the direction of greater value and reduced the interval by half. These iterations were repeated until intervals smaller. The estimated degree đ?œƒĚ‚ was calculated based on the ďŹ nal candidate range [đ?‘€đ?‘–đ?‘›đ?‘‘ , đ?‘€đ?‘Žđ?‘Ľđ?‘‘ ].

đ?œƒĚ‚â†? đ?‘šđ?‘œđ?‘‘(360−

���� + ����

,360)

(5)

Fig 4 shows the tabulation details of hue modification with expected hue degree(đ?œƒâ€™) and estimated hue degree(đ?œƒĚ‚).The estimated degree đ?œƒĚ‚ indicates that the degree of the modiďŹ ed hue. If đ?œƒĚ‚ is zero,then the suspicious image đ??źđ?‘ đ?‘˘đ?‘ did not undergo any hue manipulation. In contrast, if đ?œƒĚ‚ is not zero, then hue of the Isus was modiďŹ ed.

Fig. 4: Hue modification and angular estimation

Partial Manipulation Detection and Estimation: To detect the hue modiďŹ ed areas, we deďŹ ned a wĂ—w pixel sliding window that moved across the reference pattern P and suspicious image Isus. Using this window, we obtain the block đ??ź(đ?‘–, đ?‘—) to be investigated and its corresponding reference pattern đ?‘ƒ(đ?‘–, đ?‘—) via the following equations đ?‘ƒ(đ?‘–, đ?‘—) = đ?‘ƒ[đ?‘›][đ?‘š],

(6)

đ??źđ?‘ đ?‘˘đ?‘ (đ?‘–, đ?‘—) = đ??źđ?‘ đ?‘˘đ?‘ [đ?‘›][đ?‘š],

(7)

�

where đ?‘– − ≤ đ?‘›, đ?‘š ≤ đ?‘– + đ?‘¤ 2 , and [đ?‘›][đ?‘š] denotes the image pixel from the n-th row and the m-th column. Using the 2 proposed estimator đ??š(đ?‘ƒ, đ??ź), we obtained an estimation map đ?‘€đ?œƒ of đ??źđ?‘ đ?‘˘đ?‘ .Fig 5 shows the estimation and detection map.In the estimation map, the forged regions are mapped to the estimated hue value. đ?‘€đ?œƒ (đ?‘–, đ?‘—) = đ??š(đ?‘ƒ (đ?‘–,đ?‘—) , đ??źđ?‘ đ?‘˘đ?‘ (đ?‘–, đ?‘—)).

(8)

Fig. 5: Estimation map

If the inspected image has been partially tampered, the estimation degree of the tampered region will not have a value of zero. Calculate the correlation map by using đ?‘€đ?œƒ(đ?‘–, đ?‘—) using a particular threshold factor đ?‘Ąâ„Žđ?‘&#x;.The threshold values defined by the hue pixel values (0:360).The estimation result đ?‘€đ?œƒ(đ?‘–, đ?‘—) will not be accurate. Then determine whether the pixel (đ?‘–, đ?‘—) was modiďŹ ed using:

Where đ?‘?(đ?‘–, đ?‘—) indicates whether the hue of each pixel is modiďŹ ed or not. The operator |¡| denotes an absolute value in the range ( 0, 360], and đ?œƒ0 indicates the un modiďŹ ed degree value, ‘0’.Fig.7 shows the estimation and detection map.In the estimation map, the forged regions are mapped to the estimated hue value.

All rights reserved by www.ijste.org

158


HUE Modification Detection and Estimation using Photo Response Non-Uniformity (IJSTE/ Volume 3 / Issue 09 / 032)

Saturation Modification: Color saturation refers to the intensity of color in image. The hue refers to the color of the image itself, while saturation describes the intensity (purity) of that hue. Saturation is the colorfulness of a color relative to its own brightness. The color saturation method is applied to the image to improve purity of the image. This method can improve image quality and have good visual effect.Fig 6 shows the saturated modification of the image. Then the histogram equalization method is applied to the image. It enhances the contrast of images by transforming the values in an intensity image or the values in the color map of an indexed image. Histogram equalization technique is usually used to increases the global contrast of many images. This is obtained by grouping certain adjacent grey values. Thus the number of grey levels in the enhanced image is less than that of number of grey levels in the original image. When applying the histogram equalization method on the colors like Red, Green, and Blue components of an RGB image may yield changes in the images color balance since the relative distributions of the color channels change. Fig 7 shows the hue modified raw image.

Fig. 6: Saturation Modified Image

Fig. 7: Hue Modified Image

III. CONCLUSION In this paper, we discusses about a family of photo response non-uniformity (PRNU) based on image manipulation techniques as well as to localize the hue modification regions and to estimate the modified degree. We proposed an efficient estimation scheme for partial manipulation detection experiment and its estimation. We plan to extend the method to estimation of other types of image property modification such as white balancing. ACKNOWLEDGMENT I also acknowledge my gratitude to all other faculty members of the Department of Electronics and Communication. REFERENCES [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]

A.Popescu and H.Farid,“Exposing digital forgeries by detecting traces of resampling”, Signal Processing, IEEE Transactions on, vol. 53, no. 2, pp. 758– 767, Feb 2005. C.H.Choi, H.Y.Lee, and H.K.Lee, “Estimation of color modification in digital images by CFA pattern change,” Forensic Science International, vol. 226, pp. 94–105,2013. H.Farid,“Exposing digital forgeries from jpeg ghosts,” Information Forensics and Security, IEEE Transactions on, vol. 4, no. 1, pp. 154– 160, March 2009. M.Johnson and H.Farid,“Exposing digital forgeries in the complex lighting environments ,”Information Forensics and Security, IEEE Transactions on, vol. 2, no. 3, pp. 450–461, Sept 2007. J.Lukas, J.Fridrich, and M. Goljan, “Detecting digital image forgeries using sensor pattern noise,” ser. SPIE Conference Series, vol. 6072, Feb. 2006, pp. 362–372. M.Chen, J.Fridrich, M.Golijan and J.Lukas, “Determining image origin and integrity using sensor noise,” Information Forensics and Security, IEEE Transactions on, vol. 3, no. 1, pp. 74–90, March 2008. G.Chierchia, S.Parrilli, G.Poggi, C.Sansone, and L. Verdoliva, “On the influence of denoising in prnu based forgery detection,” in Proceedings of the 2Nd ACM Workshop on Multimedia in Forensics, Security and Intelligence,’10. New York, NY, USA: ACM, 2010, pp. 117–122. G.Chierchia, G.Poggi, C.Sansone and L. Verdoliva, “A bayesian-mrf approach for prnu based image forgery detection,” Information Forensics and Security, IEEE Transactions on, vol. 9, no. 4, pp. 554–567, April 2014. C.T. Li and R.Satta, “On the location-dependent quality of the sensor pattern noise and its implication in multimedia forensics,” in Imaging for Crime Detection and Prevention 2011 (ICDP 2011), 4th International Conference on, Nov 2011, pp. 1–6. X.Pan and S.Lyu, “Region duplication detection using image feature matching,” Information Forensics and Security, IEEE Transactions on, vol. 5, no. 4, pp. 857–867, 2010. V.Christlein, C.Riess, J.Jordan, C.Riess, and E. Angelo poulou, “An evaluation of popular copy-move forgery detection approaches,” Information Forensics and Security, IEEE Transactions on, vol. 7, no. 6, pp. 1841–1854, 2012. S.J. Ryu, M. Kirchner, M.J. Lee and H.-K. Lee, “Rotation invariant localization of duplicated image regions based on zernike moments,” Information Forensics and Security, IEEE Transactions on, vol. 8, no. 8, pp. 1355–1370, Aug 2013. D.Cozzolino,G.Poggi and L.Verdoliva, “Efficient dense-field copy– move forgery detection,” Information Forensics and Security, IEEE Transactions on, vol. 10, no. 11, pp. 2284–2297, 2015.

All rights reserved by www.ijste.org

159


HUE Modification Detection and Estimation using Photo Response Non-Uniformity (IJSTE/ Volume 3 / Issue 09 / 032) [14] J.U.Hou ,H.U.Jang and H.K.Lee, “Hue modification estimation using sensor pattern noise,” in Image Processing (ICIP), 2014 IEEE International Conference on,Oct 2014, pp. 5287–5291. [15] C.H.Choi, J.H.Choi, and H.K. Lee,“Cfa pattern identification of digital cameras using intermediate value counting,” in Proceedings of the thirteenth ACM multimedia workshop on Multimedia and security, ser. MM&Sec ’11. New York, NY, USA: ACM, 2011, pp. 21–26. [16] B.E.Bayer,“Color imaging array.” U.S Patent 3971065, 1976. [17] J.Nakumura, Image Sensors and Signal Processing for Digital Still Cameras,Boca Raton,FL,USA:CRC Press,Inc,2005. [18] J.Lukas, J.Fridrich, and M.Goljan, “Digital camera identification from sensor pattern noise,” Information Forensics and Security, IEEE Transactions on, vol. 1,no. 2, pp. 205–214, 2006. [19] C.-T. Li and Y. Li, “Color-decoupled photo response non- Uniformity for digital image forensics,” Circuits and Systems for Video Technology, IEEE Transactions on, vol. 22, no. 2, pp 260-271,2012 [20] C. J. Taylor, C. J. Taylor, D. J. Kriegman, and D. J. Kriegman, “Minimization on the lie group so and related manifolds,” Tech. Rep., 1994 [21] T. Gloe, A. Winkler, and K. Borowka, “Efficient estimation and large scale evaluation of lateral chromatic aberration for digital image forensics,” in SPIE Conference on Media Forensics and Security, 2010. [22] C.-K. Lin, “Pixel grouping for color filter array demosaicing,” http:// sites.google.com/site/chklin/demosaic, Apr. 2003.

All rights reserved by www.ijste.org

160


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.