image forgery. hank you

1 个评论

What was your edit today? It looks like you just got rid of almost all your post. Why?

请先登录,再进行评论。

 采纳的回答

Image Analyst
Image Analyst 2016-2-9

0 个投票

See my copy and paste demos, attached.

5 个评论

Thank you. I am studying your code
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 : )
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';
Thanks. Yes, you are right, I have a copy of cameraman in bin directory. Now, after your debug, it works.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Get Started with Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by