Similarity calculation in copy move forgery detection
Información
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos
Hi everyone, i am having an cell array of 241x241. In that every cell is of 16x16 double. I want to find Euclidean distance between these cells only if abs[index(u)-index(v)] is less than or equal to Offset threshold. I am not getting how to code it in matlab. Any help in this will be greatly appreciated.
9 comentarios
TUSHAR MURATKAR
el 29 de Sept. de 2017
An array index is not necessarily a coordinate, which is why I asked the question. Your reply isn't really answering the question, but I think we can conclude from that that you mean the indices can be treated as coordinates.
As for my second question: can you give an example of what you mean with abs(index(u)-index(v))?
Another question: should all cells be compared with all other cells? That would need 241*241*240*240=3.3 million comparisons, so if that is the case, try finding a vectorized solution.
TUSHAR MURATKAR
el 29 de Sept. de 2017
Rik
el 2 de Oct. de 2017
You will need to provide an example of what you want. If u and v are both inside each cell, you might be able to use cellfun to generate a binary map of which cells to include in your distance measurement.
charu shree
el 2 de Oct. de 2017
@rik....Can you help me with coding.
Rik
el 2 de Oct. de 2017
@charu, I might, but why don't you post a question of your own? In the past you have received help when you explained your question clear enough.
PS I don't think it is very polite to ask help in this way on someone else's question.
Jan
el 2 de Oct. de 2017
The Euclid distance is defined between vectors. Your elements are matrices, therefore it is still not clear, what you want to calculate.
TUSHAR MURATKAR
el 2 de Oct. de 2017
Respuestas (0)
La pregunta está cerrada.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!