Skip to main content
edited tags
Link
edited title
Link
Cetin Sert
  • 416
  • 5
  • 14

What is the fastest way to locate the location of an image inside a larger image?

added 172 characters in body
Source Link
Cetin Sert
  • 416
  • 5
  • 14

let b =

enter image description here


let c =

enter image description here


How to do:

find[c,b] 

that returns the bounding box of c in b?

Notes

  • Original b is not scaled, this is only the case in this post.
  • (Update: this may actually not be the case.) Because b contains an exact copy of c, this can be thought of as a problem of finding a submatrix in a larger matrix.

Links to original images

Update

Here are the results so far:

enter image description here

Final Result (using Heike's answer)

enter image description here

let b =

enter image description here


let c =

enter image description here


How to do:

find[c,b] 

that returns the bounding box of c in b?

Notes

  • Original b is not scaled, this is only the case in this post.
  • (Update: this may actually not be the case.) Because b contains an exact copy of c, this can be thought of as a problem of finding a submatrix in a larger matrix.

Links to original images

Update

Here are the results so far:

enter image description here

let b =

enter image description here


let c =

enter image description here


How to do:

find[c,b] 

that returns the bounding box of c in b?

Notes

  • Original b is not scaled, this is only the case in this post.
  • (Update: this may actually not be the case.) Because b contains an exact copy of c, this can be thought of as a problem of finding a submatrix in a larger matrix.

Links to original images

Update

Here are the results so far:

enter image description here

Final Result (using Heike's answer)

enter image description here

added 176 characters in body
Source Link
Cetin Sert
  • 416
  • 5
  • 14
Loading
edited body
Source Link
Cetin Sert
  • 416
  • 5
  • 14
Loading
added 130 characters in body
Source Link
Cetin Sert
  • 416
  • 5
  • 14
Loading
added 47 characters in body
Source Link
Cetin Sert
  • 416
  • 5
  • 14
Loading
Source Link
Cetin Sert
  • 416
  • 5
  • 14
Loading