|Tracking Spinning μT||Main project page|
Previous entry Next entry
Back to the old days
I wrote a color tracking software trying to keep track of the spinning microtubules, but that doesn't seem to work that well. There are some options to play with but none seem to get what i want. I can try to get creative, but for now i am gonna drop down and try to do this in black and white and see what happens. If that doesn't seem to get me anywhere, then i'll look online for help.
I was playing around with the color before but now i AM going to write a black and white search program. I did think of changing the range of angles that the .vi searches over -- this could help a bit.
There are some advanaced .vis for black and white. They have more options than the unadvanced versions. Right now i am programming with unadvanced but this can change when i get the structure down. or if the unadvanced doesn't work
<html> <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/ANWD8-u7-No&hl=en&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/ANWD8-u7-No&hl=en&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object> </html>
there's the link. I can't seem to embed it. I am looking for the id= part but it ain't there so i'll just put the link in. the black and white works a lot better than color. I still have some options left. like changing the angle range -- this might just make it faster which isn't a problem. I can also add in advanced stuff but i am not sure what that'll do exactly.
All of the advanced stuff seems to give more accuracy to the answers. So this is probably something i'll want to add. There are two .vis. IMAQ Advanced Setup Match Pattern 2 and IMAQ Advanced Setup Learn Pattern 2.
Also i might want to add the ability to track more than one at once
Steve Koch 00:49, 16 August 2009 (EDT): That's great! Looks like it's working really well...and I swear from the video that that circle moves (translationally). Is that true?
Improvements and Additions
Radius Figure Outting
I think the clamp sub.vi might be able to help me with this.
There is a sub.vi called IMAQ Rotation Detect. This might give better answers than the pattern match, but it needs a radius to work so i can add this in after i figure out the radius.
The clamp is annoying since i need to give it a rectangle input which is different from bounding box. so i gotta make a sub.vi that makes this
I am not sure why but it became important to me that i don't just find one radius but two since most of these look like ellipses.
Turning this bounding box into a rectangle is more annoying than i am ready for and i am a bit hungry. so i'll have to work on this tomorrow or later tonight. we'll see