Filter löschen
Filter löschen

How to use specific position in binary image

2 Ansichten (letzte 30 Tage)
Felix
Felix am 17 Okt. 2013
Kommentiert: Felix am 18 Okt. 2013
Hello, i have bw image with some objects on it, i have detected an object and give him a number,
Now I want to track it from frame to frame,so how can i check if my object at a new frame appears nearby his old location (to give him the same number)? I know a coordinates of my object at present frame and i want to check if i have some objects at next frame around this coordinates. I want to check my image only in this area:
-Top, Left corner: (cog_x - 100, cog_y - 100)
-Top, Right corner: (cog_x + 100, cog_y - 100)
-Bottom, Left corner: (cog_x - 100, cog_y + 100)
-Bottom, Right corner: (cog_x + 100, cog_y + 100)
How can i do it in matlab? Sorry for my English

Antworten (1)

Image Analyst
Image Analyst am 18 Okt. 2013
You ask "how can i check if my object at a new frame appears nearby his old location (to give him the same number)? " Answer - use the Pythagorean Theorem to calculate the distance.
  1 Kommentar
Felix
Felix am 18 Okt. 2013
Bearbeitet: Felix am 18 Okt. 2013
No, I mean, how can I approach only to specific place on binary image because I want to check if I have some objects on this area. Thnx

Melden Sie sich an, um zu kommentieren.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by