image forgery. hank you

1 comentario

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

Iniciar sesión para comentar.

 Respuesta aceptada

Image Analyst
Image Analyst el 9 de Feb. de 2016

0 votos

See my copy and paste demos, attached.

5 comentarios

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Preguntada:

el 9 de Feb. de 2016

Comentada:

el 11 de Feb. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by