Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: How to get coordinates of the centroid of an object tracked into a video through a ROI, and how to implement this ROI into the video?
Replies: 2   Last Post: Aug 9, 2012 3:46 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
ImageAnalyst

Posts: 12,880
Registered: 12/26/06
Re: How to get coordinates of the centroid of an object tracked into
a video through a ROI, and how to implement this ROI into the video?

Posted: Aug 8, 2012 10:19 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Olivier

I assume your ROI is a rectangle, correct? Then why don't you just crop it out of your original image? But why even do that when you say that you are already tracking the rodent, so why do you need to mess around with having an ROI anyway? What's the point, when you already tracked the rodent and know where it is? Secondly, the centroid of a rectangular ROI is obviously just the average of it's top and bottom row, and its left and right column. Am I missing something? I think you should know what the coordinates of its (meaning the ROI's) centroid is. You can't mean the centroid of the rodent because you said you tracked it so that means you know where it is (you know its pixels and centroid) - isn't that what tracking means after all?



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2013. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.