image forgery. hank you

1 Kommentar

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

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Image Analyst
Image Analyst am 9 Feb. 2016

0 Stimmen

See my copy and paste demos, attached.

5 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by