Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
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
|
|
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?
|
|
|
|