tag:blogger.com,1999:blog-19303585.post6351920688180203252..comments2020-07-13T09:58:50.194+00:00Comments on John Graham-Cumming: Tonight, I'm going to write myself an Aston MartinUnknownnoreply@blogger.comBlogger77125tag:blogger.com,1999:blog-19303585.post-78795182611985123212017-07-16T23:57:30.982+00:002017-07-16T23:57:30.982+00:00hello John Graham-Cumming
plzz. can you help my m...hello John Graham-Cumming <br />plzz. can you help my my project is in copy move forgery detection using dwt the steps are<br /><br />first - Algorithm for Detection of Reference and Match Blocks:<br /><br />1. Read the image selected by the user as input.<br />2. If the input image is not a gray scale image then<br />convert it into a gray scale image.<br />3. Apply wavelet transform up to specified level ‘L’ to<br />the gray image.<br />4. For each overlapping b × b block in the LLL image<br />4.1. Form a matrix A of dimension b2 columns and<br />(M-b+1) × (N-b+1) rows by extracting the<br />resulting pixel values by rows into a row of A.<br />4.2. Form another matrix B same as A with two<br />additional columns for storing top-left coordinates.<br />5. End<br />6. Ignore blocks where contrast is minimum.<br />7. Sort matrix A lexicographically.<br />8. For each row of A<br />8.1.Compute the phase correlation for the block<br />corresponding to the current row with the blocks<br />corresponding to ‘p’ rows above and below the<br />current row.<br />8.2. If the computed maximum phase correlation value<br />exceeds a preset threshold value‘t’, then store the<br />top left coordinates of the corresponding reference<br />block and the matching block from B matrix in a<br />new row of a matrix.<br />9. End<br />second: Algorithm for Comparison of Reference and Matching<br />Blocks:<br /><br /><br />1. For LLL-1 level in the image pyramid<br />1.1. For each row of the matrix<br />1.1.1. Form a reference region by padding ‘m’<br />pixels on all the sides of the b × b<br />reference block.<br />1.1.2. Form a matching region by padding ‘m’<br />pixels on all the sides of the b × b matching<br />block.<br />1.1.3. For each b × b overlapping of the reference<br />region.<br />1.1.3.1. Find corresponding match in<br />matching region based on Phase<br />correlation but search process has to<br />be opted for selected part of matching<br />region.<br />1.1.3.2. If the computed maximum phase<br />correlation value exceeds a preset<br />threshold value, then the top left<br />coordinates of the corresponding<br />reference block and the matching<br />block are stored in a new row of a<br />matrix.<br />1.2. End<br />2. End<br />3. For LLL-2 level to original image in the image pyramid<br />3.1. For each row of the matrix<br />3.1.1. Form a reference region by padding ‘m’<br />pixels on all the sides of the b × b reference<br />block.<br />3.1.2. Form a matching region by padding ‘m’<br />pixels on all the sides of the b × b matching<br />block.<br />3.1.3. Compare them using Phase Correlation.<br />3.1.4. If the computed maximum phase correlation<br />value exceeds a preset threshold value, then<br />store the top left coordinates of the<br />corresponding reference block and the<br />matching block in a new row of a matrix.<br />3.2. End<br />4. End<br />5. Plot the blocks as copied and pasted regions on the<br />given input image<br /><br /><br /><br />i can do this step (Ignore blocks where contrast is minimum.)<br /><br />We remove all blocks with low<br />contrast. We tell that a block has<br />low contrast if the difference between<br />its maximum intensity pixel and its<br />minimum intensity pixel is lower than<br />some predefined threshold T.<br />This helps to prevent noisy results, such<br />as 2 identical blue patches of the sky<br /><br />how can I choose the optimal threshold T to preform this step plzz help me.<br />Anonymoushttps://www.blogger.com/profile/10439047847079571278noreply@blogger.comtag:blogger.com,1999:blog-19303585.post-29598271131720926192017-02-06T19:33:27.326+00:002017-02-06T19:33:27.326+00:00Good morning sir this is ashok nayak from hyderaba...Good morning sir this is ashok nayak from hyderabad ,india.i want mat lab code for block based processing technique of detection of digital image forgeries in copy move image and resampling <br />image. my mail id ashoka405@gmail.comAnonymoushttps://www.blogger.com/profile/03164891884538337205noreply@blogger.comtag:blogger.com,1999:blog-19303585.post-66784683537423361962016-11-07T08:02:29.331+00:002016-11-07T08:02:29.331+00:00Pointless exercise since (as John himself admitted...Pointless exercise since (as John himself admitted) the untampered ball position is irrelevant in this competition.mehttps://www.blogger.com/profile/17150881343244210666noreply@blogger.comtag:blogger.com,1999:blog-19303585.post-38436054216903984482016-03-19T13:44:22.754+00:002016-03-19T13:44:22.754+00:00What are you guys studying over in India? What are you guys studying over in India? Anonymoushttps://www.blogger.com/profile/07237997141918053882noreply@blogger.comtag:blogger.com,1999:blog-19303585.post-77865437838956490682015-04-08T06:32:24.000+00:002015-04-08T06:32:24.000+00:00Do u implement this code in matlab? I have find so...Do u implement this code in matlab? I have find some problem to run it in matlab.Can u help me?Anonymoushttps://www.blogger.com/profile/01236164367579886499noreply@blogger.comtag:blogger.com,1999:blog-19303585.post-35028298091388020512015-04-08T06:32:22.349+00:002015-04-08T06:32:22.349+00:00Do u implement this code in matlab? I have find so...Do u implement this code in matlab? I have find some problem to run it in matlab.Can u help me?Anonymoushttps://www.blogger.com/profile/01236164367579886499noreply@blogger.comtag:blogger.com,1999:blog-19303585.post-53252155430073048982015-02-24T06:47:27.567+00:002015-02-24T06:47:27.567+00:00Plz help me to detect the image forgery on matlab ...Plz help me to detect the image forgery on matlab platform using any block based method....<br /><br />harryarora6049@gmail.com<br /><br />thnks in advance..Anonymoushttps://www.blogger.com/profile/05298217132782767496noreply@blogger.comtag:blogger.com,1999:blog-19303585.post-57489769490725103572014-12-03T14:30:01.819+00:002014-12-03T14:30:01.819+00:00pls...send me a matlab code for cloning image dete...pls...send me a matlab code for cloning image detection, id- poonam5koundal@gmail.com<br />poonamhttps://www.blogger.com/profile/15972575256505292094noreply@blogger.comtag:blogger.com,1999:blog-19303585.post-57830412012724671882013-09-19T16:53:24.664+00:002013-09-19T16:53:24.664+00:00hey pls send me the code for digital image forgeri...hey pls send me the code for digital image forgeries using key point matchingAnonymoushttps://www.blogger.com/profile/01101074993047791576noreply@blogger.comtag:blogger.com,1999:blog-19303585.post-55397798793123254922013-03-13T22:35:34.220+00:002013-03-13T22:35:34.220+00:00Can any 1 help provide me this code in MATLAB. i h...Can any 1 help provide me this code in MATLAB. i have been trying to implement it since so many days and now i think i need some help. Please its really urgent my Thesis is on stake :(Anonymoushttps://www.blogger.com/profile/13134630901443834099noreply@blogger.comtag:blogger.com,1999:blog-19303585.post-68228377541065643692013-03-13T22:33:14.491+00:002013-03-13T22:33:14.491+00:00Can any one help me by providing this code in MATL...Can any one help me by providing this code in MATLAB. i have been implementing this since so many days and but now i think i need some help. Please its really urgent.Anonymoushttps://www.blogger.com/profile/13134630901443834099noreply@blogger.comtag:blogger.com,1999:blog-19303585.post-6859143766578294672013-02-02T20:32:06.302+00:002013-02-02T20:32:06.302+00:00can i get MATLAB code for copy-move forgery detect...can i get MATLAB code for copy-move forgery detection by using DCT....<br />Please any 1 help me....<br />Thanking u...<br />shivakmailid@gmail.comAnonymoushttps://www.blogger.com/profile/17365254969812266484noreply@blogger.comtag:blogger.com,1999:blog-19303585.post-64037344256416270722013-02-02T20:29:56.134+00:002013-02-02T20:29:56.134+00:00can i get matlab code for copy-move forgery detect...can i get matlab code for copy-move forgery detection by DCT....Please any one help me...<br />Thanking uAnonymoushttps://www.blogger.com/profile/17365254969812266484noreply@blogger.comtag:blogger.com,1999:blog-19303585.post-17181229667138980572012-12-08T21:33:32.939+00:002012-12-08T21:33:32.939+00:00please if possible can you send the images to veri...please if possible can you send the images to verify the code at kianiyasir@gmail.com<br /><br />I am using the images from website , but your code is not detecting any clone. the input image and cloned image are same, if there is something missing , please also guide.Yasir Javed Kianihttps://www.blogger.com/profile/15128833227913053646noreply@blogger.comtag:blogger.com,1999:blog-19303585.post-57839522671518749252012-12-08T21:32:47.557+00:002012-12-08T21:32:47.557+00:00please if possible can you send the images to veri...please if possible can you send the images to verify the code at kianiyasir@gmail.com<br /><br />I am using the images from website , but your code is not detecting any clone. the input image and cloned image are same, if there is something missing , please also guide.Yasir Javed Kianihttps://www.blogger.com/profile/15128833227913053646noreply@blogger.comtag:blogger.com,1999:blog-19303585.post-4732855223707225382012-03-30T06:05:03.801+00:002012-03-30T06:05:03.801+00:00Jay
if you have matlab code for detection copy p...Jay <br /><br />if you have matlab code for detection copy paste forgery of JPEG image then plz send me..Jayhttps://www.blogger.com/profile/00757879302553955464noreply@blogger.comtag:blogger.com,1999:blog-19303585.post-69454571019792367152012-02-23T20:07:52.748+00:002012-02-23T20:07:52.748+00:00@Jay The C source code is linked from the blog po...@Jay The C source code is linked from the blog post. I know very little about Java coding and cannot help you convert it.John Graham-Cumminghttps://www.blogger.com/profile/12998100764952319513noreply@blogger.comtag:blogger.com,1999:blog-19303585.post-15153071903817410512012-02-23T19:56:39.286+00:002012-02-23T19:56:39.286+00:00Hi
I am working on project(Detecting copy-paste f...Hi <br />I am working on project(Detecting copy-paste forgery of JPEG image).So which method or algorithm is best for this detecting forgery and also i want to get code in java/c/c++.<br /><br />please help me!!Jayhttps://www.blogger.com/profile/00757879302553955464noreply@blogger.comtag:blogger.com,1999:blog-19303585.post-26749565935333816472012-02-23T19:49:53.870+00:002012-02-23T19:49:53.870+00:00Hi
I want to get java code of Detecting copy-paste...Hi<br />I want to get java code of Detecting copy-paste forgery of JPEG image.or some basic idea to get solution of this problem.Jayhttps://www.blogger.com/profile/00757879302553955464noreply@blogger.comtag:blogger.com,1999:blog-19303585.post-72614061581612219952011-10-14T05:08:36.803+00:002011-10-14T05:08:36.803+00:00hi,Aston Martin please explain above code....plea...hi,Aston Martin please explain above code....please....ganesanhttps://www.blogger.com/profile/07948608980994345743noreply@blogger.comtag:blogger.com,1999:blog-19303585.post-40654580718052236702011-10-07T10:03:15.488+00:002011-10-07T10:03:15.488+00:00please explain the following code....
for ( u =...please explain the following code.... <br /><br /><br />for ( u = 0; u < 16; ++u ) {<br /> for ( v = 0; v < 16; ++v ) {<br /> for ( j = 0; j < 16; ++j ) {<br /> BYTE * bits = FreeImage_GetScanLine( color, j + d );<br /> bits += bpp * a;<br /> for ( i = 0; i < 16; ++i ) {<br /> double pixel = (double)bits[FI_RGBA_RED] * 0.299<br /> + (double)bits[FI_RGBA_GREEN] * 0.587<br /> + (double)bits[FI_RGBA_BLUE] * 0.114;<br /> pixel -= 128;<br /> pixel = round(pixel);<br /> <br /> dct[u][v] += pixel * pre[u][v][i][j];<br /> bits += bpp;<br /> }<br /> }<br /> }<br /> }<br /><br /><br />and<br /><br />if ( compare( &index[i], &index[i+1] ) == 0 ) {<br /> int sx = index[i].x - index[i+1].x;<br /> int sy = index[i].y - index[i+1].y;<br /> <br /> if ( sx < 0 ) {<br /> sx = -sx;<br /> sy = -sy;<br /> }<br /> <br /> sy += h;<br /> <br /> ++shift[sy * w + sx];<br /> }<br /> }ganesanhttps://www.blogger.com/profile/07948608980994345743noreply@blogger.comtag:blogger.com,1999:blog-19303585.post-27042259987785359882011-10-05T09:05:08.584+00:002011-10-05T09:05:08.584+00:00Please give me tips for how to convert this code t...Please give me tips for how to convert this code to MATLAB code...<br />please give details explanation...............ganesanhttps://www.blogger.com/profile/07948608980994345743noreply@blogger.comtag:blogger.com,1999:blog-19303585.post-14682812979262141112010-11-26T22:29:39.623+00:002010-11-26T22:29:39.623+00:00Hi, thanks for your great tools. Actually several ...Hi, thanks for your great tools. Actually several papers are based on this concept, they just change the features to change the approach (DCT, wavelet coefficient, SVD,...)<br /><br />However I ran your code, the output are 2 .png images and they're just images with 1 red strip at the top and 1 blue strip at the bottom. The rest are just black. I couldn't get the result like the given image here. What does it mean? I try to read the source code but maybe it's related to some routine of the 3rd party lib.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-19303585.post-39681446432802768652010-11-05T15:06:52.031+00:002010-11-05T15:06:52.031+00:00One possibility is that they took a larger picture...One possibility is that they took a larger picture, cropped it, and covered up the ball with a piece from the cropped-out section. Then the algorithm wouldn't work.Unknownhttps://www.blogger.com/profile/15433870936756639251noreply@blogger.comtag:blogger.com,1999:blog-19303585.post-27584119159627574512010-11-05T08:44:52.963+00:002010-11-05T08:44:52.963+00:00Hello, thanks or your detailed explanation, i have...Hello, thanks or your detailed explanation, i have run your code . would you please send me the images fridrich sent for you? I really need those images to test the code.<br /><br />rain10.raini@gmail.com<br /><br />Thank youUnknownhttps://www.blogger.com/profile/11885881326510749446noreply@blogger.com