image forgery. hank you

1 Comment

Image Analyst
Image Analyst on 11 Feb 2016
What was your edit today? It looks like you just got rid of almost all your post. Why?

Sign in to comment.

 Accepted Answer

Image Analyst
Image Analyst on 9 Feb 2016

0 votes

See my copy and paste demos, attached.

5 Comments

matlabgeek
matlabgeek on 9 Feb 2016
Thank you. I am studying your code
matlabgeek
matlabgeek on 9 Feb 2016
Every time, I ask question here, you will post your code quickly which seems like you wrote before. I was curious how many code/script you have in your repository : )
matlabgeek
matlabgeek on 9 Feb 2016
When I run your copy_paste_image_freehand, if I click "Gray scale cells", the output error: Error using imread (line 349) File "C:\Program Files\MATLAB\R2015b\bin\AT3_1m4_09.tif" does not exist. Error in copy_paste_image_freehand (line 64) targetImage = imread(fullFileName);
I use R20015b
The folder should be "C:\Program Files\MATLAB\R2015b\toolbox\images\imdata". Because, for you, it found ""C:\Program Files\MATLAB\R2015b\bin", it means that you must have a copy of cameraman.tif in that folder (for some strange reason). Because of that, you must hard code the folder at line 23 to be
folder='C:\Program Files\MATLAB\R2015b\toolbox\images\imdata';
matlabgeek
matlabgeek on 10 Feb 2016
Thanks. Yes, you are right, I have a copy of cameraman in bin directory. Now, after your debug, it works.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!