<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7925690539944233580</id><updated>2011-07-28T11:37:14.515-07:00</updated><title type='text'>Behavior Recognition using Cuboids</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://miceinaction.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://miceinaction.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anton Escobedo</name><uri>http://www.blogger.com/profile/05724527631594573426</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7925690539944233580.post-1180033671580221140</id><published>2007-03-05T11:24:00.000-08:00</published><updated>2007-03-05T12:47:24.655-08:00</updated><title type='text'>Bad Results</title><content type='html'>We finished implementing our behavior descriptor based solely on Displacement lines. We used cross-validation to test it out by testing on one set at a time and training on the other sets. Unfortunately, our descriptor hasn't performed as expected, with most of our sleep dataset being mislabeled as exploring. We're thinking it's due to some bug in our code, but we still haven't found exactly where that bug is. Intuitively, sleeping clips don't produce cuboids. There's no movement taking place during those video clips so the response function doesn't pick up anything. Since there's no movement, our displacement graph is basically all zeros for that type of clip. Conversely, there's no reason why an exploring clip would have a displacement graph consisting of all zeros.&lt;br /&gt;&lt;br /&gt;Meanwhile, we've also been looking at different metrics to use besides Euclidean distance.&lt;br /&gt;We're currently considering chi-squared and Mahalanobis in addition to Euclidean.&lt;br /&gt;The reason we're inclined towards using the Mahalanobis distance is that it takes into account the covariance among the variables in calculating distances. Doing this solves problems related to scale and correlation in Euclidean distances. When using Euclidean distance, the set of points equidistant from a given location is a sphere. The Mahalanobis distance stretches this sphere to correct for the respective scales of the different variables, and to account for correlation among variables.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_bzibQGeO0sA/Rex47JRaG4I/AAAAAAAAAAw/KuonJjGroE0/s1600-h/Mahalanobis.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_bzibQGeO0sA/Rex47JRaG4I/AAAAAAAAAAw/KuonJjGroE0/s320/Mahalanobis.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5038535040617290626" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;from http://matlabdatamining.blogspot.com/2006/11/mahalanobis-distance.html&lt;br /&gt;&lt;br /&gt;We'll be testing other distance metrics once we've fixed this bug.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Update: currently implementing k-nn to do line comparisons, hopefully this will solve the problem.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7925690539944233580-1180033671580221140?l=miceinaction.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://miceinaction.blogspot.com/feeds/1180033671580221140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7925690539944233580&amp;postID=1180033671580221140' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default/1180033671580221140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default/1180033671580221140'/><link rel='alternate' type='text/html' href='http://miceinaction.blogspot.com/2007/03/bad-results.html' title='Bad Results'/><author><name>Anton Escobedo</name><uri>http://www.blogger.com/profile/05724527631594573426</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_bzibQGeO0sA/Rex47JRaG4I/AAAAAAAAAAw/KuonJjGroE0/s72-c/Mahalanobis.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7925690539944233580.post-4538924368765049310</id><published>2007-02-21T11:27:00.000-08:00</published><updated>2007-02-21T13:27:56.900-08:00</updated><title type='text'>Detecting Movement cont.</title><content type='html'>We tried to use blob detection in order to approximate the movement of the mouse. We took the centroid of the blobs to represent the center mass of the mouse, and the change in position of the centroid would approximate the change in the mouse position. However, using blobs this way turned out to be a chaos, we detected more noise than the actual movement of the mouse.&lt;br /&gt;&lt;br /&gt;To resolve this issue, we tried using the cuboids. We computed a binary image of the cuboids that appear, and then calculate a centroid from the image. The centroid serves the same purpose as before: to approximate the center mass of the mouse. Here is the unfiltered graph of the mouse movement:&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;Unfiltered x and y displacement for exploring&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_d66TcAqgGPI/RdygXrTppqI/AAAAAAAAAAM/SYm0IsKtr-g/s1600-h/unfiltered.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_d66TcAqgGPI/RdygXrTppqI/AAAAAAAAAAM/SYm0IsKtr-g/s320/unfiltered.jpg" alt="" id="BLOGGER_PHOTO_ID_5034074812115953314" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Unfiltered x and y displacement for grooming&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_d66TcAqgGPI/Rdyg07TpprI/AAAAAAAAAAU/YhGqN_UOIT8/s1600-h/unfilteredGroom.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_d66TcAqgGPI/Rdyg07TpprI/AAAAAAAAAAU/YhGqN_UOIT8/s320/unfilteredGroom.jpg" alt="" id="BLOGGER_PHOTO_ID_5034075314627126962" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;We noted that there is a distinctive pattern between exploring and grooming. The x and y displacement while the mouse is exploring is greater than when the mouse is grooming. Furthermore, the x and y displacement when the mouse is grooming tend to be around zero. This is intuitive because the mouse does not move as much when it is grooming than when it is exploring. We want to add this result as a feature to Piotr's cuboids, but we need to filter out more noise. We used median and average filtering to obtain the following results:&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;Filtered x displacement for exploring&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_d66TcAqgGPI/RdyjKLTppsI/AAAAAAAAAAc/YsFtiT8eFHc/s1600-h/filteredX.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_d66TcAqgGPI/RdyjKLTppsI/AAAAAAAAAAc/YsFtiT8eFHc/s320/filteredX.jpg" alt="" id="BLOGGER_PHOTO_ID_5034077878722602690" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Filtered y displacement for exploring&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_d66TcAqgGPI/Rdyjn7TpptI/AAAAAAAAAAk/eGuKwXotagQ/s1600-h/filteredY.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_d66TcAqgGPI/Rdyjn7TpptI/AAAAAAAAAAk/eGuKwXotagQ/s320/filteredY.jpg" alt="" id="BLOGGER_PHOTO_ID_5034078389823710930" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Filtered x displacement for grooming&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_d66TcAqgGPI/RdykUbTppuI/AAAAAAAAAAs/1FA6K2yQ-tg/s1600-h/filteredGroomX.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_d66TcAqgGPI/RdykUbTppuI/AAAAAAAAAAs/1FA6K2yQ-tg/s320/filteredGroomX.jpg" alt="" id="BLOGGER_PHOTO_ID_5034079154327889634" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Filtered y displacement for grooming&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_d66TcAqgGPI/RdymvbTppwI/AAAAAAAAABU/51fHALGfg9k/s1600-h/filteredGroomY.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_d66TcAqgGPI/RdymvbTppwI/AAAAAAAAABU/51fHALGfg9k/s320/filteredGroomY.jpg" alt="" id="BLOGGER_PHOTO_ID_5034081817207613186" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;Next step:&lt;br /&gt;- Create displacement graphs for all training set&lt;br /&gt;- Scale the graphs to 100 frames for consistency&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7925690539944233580-4538924368765049310?l=miceinaction.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://miceinaction.blogspot.com/feeds/4538924368765049310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7925690539944233580&amp;postID=4538924368765049310' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default/4538924368765049310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default/4538924368765049310'/><link rel='alternate' type='text/html' href='http://miceinaction.blogspot.com/2007/02/detecting-movement-cont.html' title='Detecting Movement cont.'/><author><name>Reinaldo</name><uri>http://www.blogger.com/profile/06541553093899844460</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_d66TcAqgGPI/RdygXrTppqI/AAAAAAAAAAM/SYm0IsKtr-g/s72-c/unfiltered.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7925690539944233580.post-6092180184930152812</id><published>2007-02-12T12:17:00.000-08:00</published><updated>2007-02-14T16:23:08.128-08:00</updated><title type='text'>Detecting movement</title><content type='html'>After last week's class, we've implemented a way of detecting movement suggested by Serge. By subtracting the average background for each frame and binarizing the image, we can get a representation of movement.&lt;br /&gt;We still need to work on the threshold used and clean up the blobs a bit, but it looks promising.&lt;br /&gt;&lt;br /&gt;Here is the clip of blobs obtained from explore001 from set00:&lt;br /&gt;&lt;embed style="width:400px; height:326px;" id="VideoPlayback" align="middle" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=8146767759895860377&amp;hl=en" quality="best" bgcolor="#ffffff" scale="noScale" salign="TL"  FlashVars="playerMode=embedded"&gt; &lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;Here are the blobs from groom001 from set00:&lt;br /&gt;&lt;embed style="width:400px; height:326px;" id="VideoPlayback" align="middle" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=-6459514059228440031&amp;hl=en" quality="best" bgcolor="#ffffff" scale="noScale" salign="TL"  FlashVars="playerMode=embedded"&gt; &lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;Current work:&lt;br /&gt;1. Clean up our binary images, adjust the threshold to keep the number of blobs small.&lt;br /&gt;2. Use each blob's centroid to create a displacement graph with respect to time in X and Y directions.&lt;br /&gt;3. Create displacement prototypes based on these graphs by clustering them together.&lt;br /&gt;4. Add this information to our behavior descriptor.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7925690539944233580-6092180184930152812?l=miceinaction.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://miceinaction.blogspot.com/feeds/6092180184930152812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7925690539944233580&amp;postID=6092180184930152812' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default/6092180184930152812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default/6092180184930152812'/><link rel='alternate' type='text/html' href='http://miceinaction.blogspot.com/2007/02/detecting-movement.html' title='Detecting movement'/><author><name>Anton Escobedo</name><uri>http://www.blogger.com/profile/05724527631594573426</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7925690539944233580.post-1744788153152794829</id><published>2007-02-05T09:54:00.000-08:00</published><updated>2007-02-05T17:56:37.070-08:00</updated><title type='text'>Most commonly mislabeled behavior</title><content type='html'>The memory problem was solved by saving and clearing the workspace after work on a specific clip is done, unfortunately this makes the code run a bit slower (5+ hrs). For now, we'll only be using a subset of the whole data set; set00-set003. One of the most commonly mislabeled behaviors using the cuboids code is grooming, it's most often labeled as exploring. Grooming is characterized by the movement of the mouse's paws across its face or its face across its legs while the mouse stays in the same place. Drinking is also commonly mislabeled as exploring. We believe the main difference between these two behaviors is the movement of the mouse from one place to another. By keeping track of where cuboids are detected and incorporating that data into the behavior descriptor, we believe we can increase the accuracy of these behaviors.&lt;br /&gt;&lt;br /&gt;The following videos show the cuboids as they're detected by the response function.&lt;br /&gt;(still waiting for processing by google video)&lt;br /&gt;&lt;br /&gt;Here we have a sample clip for grooming where the mouse stays in the same spot and mostly just moves his paws and face:&lt;br /&gt;&lt;embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=8048067315919078563&amp;hl=en" flashvars=""&gt; &lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;A grooming clip where the mouse moves around a bit:&lt;br /&gt;&lt;embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=7468826681758205851&amp;hl=en" flashvars=""&gt; &lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A sample clip for drinking:&lt;br /&gt;&lt;embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=-2933742909318527345&amp;hl=en" flashvars=""&gt; &lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;A clip for exploring:&lt;br /&gt;&lt;embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=1633000378326162649&amp;hl=en" flashvars=""&gt; &lt;/embed&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7925690539944233580-1744788153152794829?l=miceinaction.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://miceinaction.blogspot.com/feeds/1744788153152794829/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7925690539944233580&amp;postID=1744788153152794829' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default/1744788153152794829'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default/1744788153152794829'/><link rel='alternate' type='text/html' href='http://miceinaction.blogspot.com/2007/02/most-commonly-mislabeled-behavior.html' title='Most commonly mislabeled behavior'/><author><name>Anton Escobedo</name><uri>http://www.blogger.com/profile/05724527631594573426</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7925690539944233580.post-6261028328745854984</id><published>2007-01-29T14:32:00.000-08:00</published><updated>2007-01-29T15:30:13.251-08:00</updated><title type='text'>Current work</title><content type='html'>Now that we've gotten familiar with Piotr's code, our next step is to run it using the entire smart vivarium dataset. We'll look at the results to find which video clips were labeled incorrectly and figure out how positional information can help prevent those errors.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7925690539944233580-6261028328745854984?l=miceinaction.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://miceinaction.blogspot.com/feeds/6261028328745854984/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7925690539944233580&amp;postID=6261028328745854984' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default/6261028328745854984'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default/6261028328745854984'/><link rel='alternate' type='text/html' href='http://miceinaction.blogspot.com/2007/01/current-work.html' title='Current work'/><author><name>Anton Escobedo</name><uri>http://www.blogger.com/profile/05724527631594573426</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7925690539944233580.post-68995819901195947</id><published>2007-01-29T10:05:00.000-08:00</published><updated>2007-01-29T14:35:20.635-08:00</updated><title type='text'>cuboids!</title><content type='html'>We've been going over Piotr's matlab code for cuboids and feel comfortable using it now. We first ran the recognition demo on the face dataset, afterwards, we modified the demo to run on mice behavior dataset. Due to memory constraints, we couldn't finish running it, but we'll fix this by tonight.&lt;br /&gt;&lt;br /&gt;Here's a sample clip from the smart vivarium dataset, drink02.avi from set00:&lt;br /&gt;&lt;br /&gt;&lt;embed style="width: 400px; height: 326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=-5983675895295937855&amp;hl=en" quality="best" bgcolor="#ffffff" scale="noScale" salign="TL" flashvars="playerMode=embedded" align="middle"&gt; &lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;Here are the cuboids obtained from that video clip set to loop 10 times, each cuboid lasts approximately 1 second:&lt;br /&gt;&lt;embed style="width:400px; height:326px;" id="VideoPlayback" align="middle" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=-7406567158088610486&amp;hl=en" quality="best" bgcolor="#ffffff" scale="noScale" salign="TL"  FlashVars="playerMode=embedded"&gt; &lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;Here we have a sample clip of the cuboids clustered together by prototypes from the smart vivarium dataset:&lt;br /&gt;&lt;embed style="width: 400px; height: 326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=8189098360062807968&amp;amp;hl=en" quality="best" bgcolor="#ffffff" scale="noScale" salign="TL" flashvars="playerMode=embedded" align="middle" &gt; &lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;copyright info:&lt;br /&gt;&lt;span style="font-size:78%;"&gt;This database is Copyright © 2005 The Regents of the University of California. All Rights Reserved. Permission to use, copy, modify, and distribute this database and its documentation for educational, research and non-profit purposes, without fee, and without a written agreement is hereby granted, provided that the above copyright notice, this paragraph and the following three paragraphs appear in all copies. Permission to incorporate this database into commercial products may be obtained by contacting:&lt;br /&gt;&lt;br /&gt;Technology Transfer Office&lt;br /&gt;9500 Gilman Drive,&lt;br /&gt;Mail Code 0910&lt;br /&gt;University of California La Jolla,&lt;br /&gt;CA 92093-0910&lt;br /&gt;(858) 534-5815&lt;br /&gt;invent@ucsd.edu&lt;br /&gt;&lt;br /&gt;This database and documentation are copyrighted by The Regents of the University of California. The database and documentation are supplied "as is", without any accompanying services from The Regents.&lt;br /&gt;&lt;br /&gt;IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS DATABASE AND ITS DOCUMENTATION,&lt;br /&gt;&lt;br /&gt;EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE DATABASE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7925690539944233580-68995819901195947?l=miceinaction.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://miceinaction.blogspot.com/feeds/68995819901195947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7925690539944233580&amp;postID=68995819901195947' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default/68995819901195947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default/68995819901195947'/><link rel='alternate' type='text/html' href='http://miceinaction.blogspot.com/2007/01/cuboids.html' title='cuboids!'/><author><name>Anton Escobedo</name><uri>http://www.blogger.com/profile/05724527631594573426</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7925690539944233580.post-8585297804259485034</id><published>2007-01-24T20:55:00.000-08:00</published><updated>2007-01-24T20:56:55.277-08:00</updated><title type='text'>Cuboids Code</title><content type='html'>Piotr gave us the access to his cuboids package. We will start learning how the code works and will show the cuboids on Monday.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7925690539944233580-8585297804259485034?l=miceinaction.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://miceinaction.blogspot.com/feeds/8585297804259485034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7925690539944233580&amp;postID=8585297804259485034' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default/8585297804259485034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default/8585297804259485034'/><link rel='alternate' type='text/html' href='http://miceinaction.blogspot.com/2007/01/cuboids-code.html' title='Cuboids Code'/><author><name>Reinaldo</name><uri>http://www.blogger.com/profile/06541553093899844460</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7925690539944233580.post-4499648784342890439</id><published>2007-01-22T11:59:00.000-08:00</published><updated>2007-01-22T13:02:56.516-08:00</updated><title type='text'>Our Behavior Descriptor</title><content type='html'>E-mailed Piotr last week asking for his implementation of cuboids. Since we'll be going through his code, we've decided to start working on our behavior descriptor. Specifically, how we'll represent the spatial relationships between cuboids.&lt;br /&gt;Agarwal et al. keep track of spatial relationships between detected parts by dividing the angle between each pair into bins of 45 degrees and measuring the distance between parts by window size. They represent this information in the feature vector of each training image. Their feature vector is set up as a series of binary features, indicating whether or not a part or relationship is present.&lt;br /&gt;Our task is to extend this into the spatio-temporal domain. &lt;br /&gt;Possible ways to do this are:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Calculate distance and angle between each pair of cuboids in x, y coordinates, store time difference in a separate field.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Calculate euclidean distance between each pair of cuboids in 3d using x, y, and t coordinates.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;Once we have the relationships between parts, we include them in our final behavior descriptor.&lt;br /&gt;We'll most likely be using a histogram of the cuboid types present and the relationships between these.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7925690539944233580-4499648784342890439?l=miceinaction.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://miceinaction.blogspot.com/feeds/4499648784342890439/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7925690539944233580&amp;postID=4499648784342890439' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default/4499648784342890439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default/4499648784342890439'/><link rel='alternate' type='text/html' href='http://miceinaction.blogspot.com/2007/01/our-behavior-descriptor.html' title='Our Behavior Descriptor'/><author><name>Anton Escobedo</name><uri>http://www.blogger.com/profile/05724527631594573426</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7925690539944233580.post-3144642082531031392</id><published>2007-01-22T11:36:00.000-08:00</published><updated>2007-01-22T11:58:43.789-08:00</updated><title type='text'>Last week's presentation</title><content type='html'>Uploaded last week's presentation at:&lt;br /&gt;&lt;a id="downloadhref" href="http://www.sharebigfile.com/file/66521/cuboidsIntro-ppt.html" target="_blank"&gt;http://www.sharebigfile.com/file/66521/cuboidsIntro-ppt.html&lt;/a&gt;&lt;br /&gt;it's based on the presentations we've linked to below in the previous post.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7925690539944233580-3144642082531031392?l=miceinaction.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://miceinaction.blogspot.com/feeds/3144642082531031392/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7925690539944233580&amp;postID=3144642082531031392' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default/3144642082531031392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default/3144642082531031392'/><link rel='alternate' type='text/html' href='http://miceinaction.blogspot.com/2007/01/last-weeks-presentation.html' title='Last week&apos;s presentation'/><author><name>Anton Escobedo</name><uri>http://www.blogger.com/profile/05724527631594573426</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7925690539944233580.post-2701622392119859011</id><published>2007-01-10T09:12:00.000-08:00</published><updated>2007-01-17T13:02:03.399-08:00</updated><title type='text'>Useful Links</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Here are a few links and brief summaries for some of the papers we'll &lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_bzibQGeO0sA/RaVYntvhy1I/AAAAAAAAAAY/Mw80pFIpyeI/s1600-h/cuboids.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 219px; height: 233px;" src="http://3.bp.blogspot.com/_bzibQGeO0sA/RaVYntvhy1I/AAAAAAAAAAY/Mw80pFIpyeI/s320/cuboids.jpg" alt="" id="BLOGGER_PHOTO_ID_5018514799091370834" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;be working from:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://vision.ucsd.edu/%7Epdollar/research/dollarVSPETS05cuboids.pdf"&gt;Behavior Recognition via Sparse Spatio-Temporal Features&lt;/a&gt; by Dollár et al.&lt;br /&gt;The main paper we'll be using for this project. This paper introduces the use of a response function based on a quadrature pair of gabor filters applied temporally and a 2d Gaussian applied along the spatial dimension. Cuboids (small spatio-temporal video clips) are then extracted at each local maxima given by the response function applied to a clip of video. A transformation is then applied to the cuboid (the paper tests several) and a feature vector is then created. Since the amount of cuboids possible is large, but only a few types are possible, similar cuboids are then clustered together to form cuboid prototypes. Each behavior is then described as a video clip in which a given set of cuboid prototypes is present.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_bzibQGeO0sA/RaVWydvhy0I/AAAAAAAAAAM/0dPbCLuW_aA/s1600-h/AgarwalPic.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://2.bp.blogspot.com/_bzibQGeO0sA/RaVWydvhy0I/AAAAAAAAAAM/0dPbCLuW_aA/s320/AgarwalPic.jpg" alt="" id="BLOGGER_PHOTO_ID_5018512784751708994" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://web.mit.edu/shivani/www/Papers/2004/pami04.pdf"&gt;Learning to Detect Objects in Images via a Sparse, Part-Based Representation&lt;/a&gt; by Agarwal et al.&lt;br /&gt;One of the first papers to use sparse features for object detection. Agarwal et al. use the Föstner corner detector to find interest points. They then use 2d windows around the interest points to create a vocabulary of parts. Objects are described by the presence and relative positioning of each part wrt other parts. SNoW is used to train a classifier based on those features.&lt;br /&gt;&lt;br /&gt;&lt;span class="w"&gt;&lt;a href="http://www.bmva.ac.uk/bmvc/2006/papers/283.pdf"&gt;Unsupervised Learning of Human Action Categories Using Spatial-Temporal Words&lt;/a&gt; by Niebles et al.&lt;br /&gt;Based on Dollár et al. this paper uses the same response function, however, they use a probabilistic Latent Semantic Analysis (not quite sure how this works yet) model to determine behavior.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Some useful tutorials and manuals:&lt;/span&gt;&lt;br /&gt;&lt;a href="http://mplab.ucsd.edu/tutorials/pdfs/gabor.pdf"&gt;Gabor Filters&lt;br /&gt;&lt;/a&gt;Fairly complex tutorial, still having a hard time completely understanding Gabor filters.&lt;br /&gt;&lt;a href="http://l2r.cs.uiuc.edu/%7Ecogcomp/software/snow-userguide/node6.html"&gt;SNoW&lt;/a&gt; (Sparse Network of Winnows)&lt;br /&gt;Described by Roth as a "multi-class classifier", the executable is available on their website. We might use this to include relative cuboid positioning in our project.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Presentations: &lt;/span&gt;&lt;br /&gt;&lt;a href="http://www-cse.ucsd.edu/classes/fa06/cse252c/aescobed2.ppt"&gt;Object Recognition using sparse features&lt;/a&gt;&lt;br /&gt;Presentation for Agarwal et al.'s paper. Includes a short demo on SNoW.&lt;br /&gt;&lt;a href="http://www-cse.ucsd.edu/classes/fa06/cse252c/aescobed1.ppt"&gt;Behavior Recognition using Cuboids&lt;/a&gt;&lt;br /&gt;Presentation for Dollár et al.'s paper.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Datasets:&lt;/span&gt;&lt;br /&gt;&lt;a href="http://vision.ucsd.edu/%7Epdollar/research/research.html"&gt;Mouse behavior dataset&lt;/a&gt;&lt;br /&gt;sets of clips obtained from the smart vivarium&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7925690539944233580-2701622392119859011?l=miceinaction.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://miceinaction.blogspot.com/feeds/2701622392119859011/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7925690539944233580&amp;postID=2701622392119859011' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default/2701622392119859011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default/2701622392119859011'/><link rel='alternate' type='text/html' href='http://miceinaction.blogspot.com/2007/01/useful-links.html' title='Useful Links'/><author><name>Anton Escobedo</name><uri>http://www.blogger.com/profile/05724527631594573426</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_bzibQGeO0sA/RaVYntvhy1I/AAAAAAAAAAY/Mw80pFIpyeI/s72-c/cuboids.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7925690539944233580.post-6075042368523548386</id><published>2006-12-08T03:48:00.000-08:00</published><updated>2007-01-08T17:14:28.044-08:00</updated><title type='text'>Matlab R2006b</title><content type='html'>Borrowed and installed Matlab R2006b for our project.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7925690539944233580-6075042368523548386?l=miceinaction.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://miceinaction.blogspot.com/feeds/6075042368523548386/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7925690539944233580&amp;postID=6075042368523548386' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default/6075042368523548386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default/6075042368523548386'/><link rel='alternate' type='text/html' href='http://miceinaction.blogspot.com/2006/12/matlab-r2006b.html' title='Matlab R2006b'/><author><name>Reinaldo</name><uri>http://www.blogger.com/profile/06541553093899844460</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7925690539944233580.post-5594182157678418363</id><published>2006-11-30T23:27:00.000-08:00</published><updated>2006-11-30T23:34:23.077-08:00</updated><title type='text'>Welcome!</title><content type='html'>As a start, here's the abstract from our proposal:&lt;br /&gt;(might still change a bit)&lt;br /&gt;&lt;br /&gt;Behavior Recognition is a challenge central to computer vision. With the increase of video data that has been seen over the past years, methods to automatically interpret this data and recognize behavior are of great importance. The Smart Vivarium provides an ideal environment for the development of automated behavior recognition. Although it doesn’t face some of the issues commonly seen in outside situations, it does provide a starting point from which to develop behavior recognition techniques. We propose an algorithm based on Dollar et al.'s behavior recognition. We modify this algorithm to incorporate relative positioning for each cuboid in a manner similar to that presented by Aagarwal et al. We also propose including displacement as an indication of behavior. Finally, we will use a multi-class classifier to label each instance of behavior.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7925690539944233580-5594182157678418363?l=miceinaction.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://miceinaction.blogspot.com/feeds/5594182157678418363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7925690539944233580&amp;postID=5594182157678418363' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default/5594182157678418363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7925690539944233580/posts/default/5594182157678418363'/><link rel='alternate' type='text/html' href='http://miceinaction.blogspot.com/2006/11/welcome.html' title='Welcome!'/><author><name>Anton Escobedo</name><uri>http://www.blogger.com/profile/05724527631594573426</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
