image forgery. hank you

1 件のコメント

Image Analyst
Image Analyst 2016 年 2 月 11 日
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 件のコメント

matlabgeek
matlabgeek 2016 年 2 月 9 日
Thank you. I am studying your code
matlabgeek
matlabgeek 2016 年 2 月 9 日
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 2016 年 2 月 9 日
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
Image Analyst
Image Analyst 2016 年 2 月 9 日
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 2016 年 2 月 10 日
Thanks. Yes, you are right, I have a copy of cameraman in bin directory. Now, after your debug, it works.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by