<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Duplicate Video Analyser</title>
	<atom:link href="http://dezco.co.uk/DVA/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://dezco.co.uk/DVA</link>
	<description>Part II Project Updates</description>
	<lastBuildDate>Thu, 15 Apr 2010 09:49:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Easter Progress</title>
		<link>http://dezco.co.uk/DVA/?p=84</link>
		<comments>http://dezco.co.uk/DVA/?p=84#comments</comments>
		<pubDate>Thu, 15 Apr 2010 09:49:58 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Project]]></category>

		<guid isPermaLink="false">http://dezco.co.uk/DVA/?p=84</guid>
		<description><![CDATA[Throughout the Easter vac I have been working hard at the project to complete all of the implementation that I had not yet done.
Now I have a program that vaguely works to a poor level of accuracy when it comes to differently encoded video.
Currently it can scan a new video with 4 different parameters &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>Throughout the Easter vac I have been working hard at the project to complete all of the implementation that I had not yet done.</p>
<p>Now I have a program that vaguely works to a poor level of accuracy when it comes to differently encoded video.</p>
<p>Currently it can scan a new video with 4 different parameters &#8211; the number of buckets used in the histogram, the number of blocks of histograms that will be compared, the percentage difference that a bucket needs to change by for the block histogram to be considered different and the percentage of the histograms that need to be different for there to be a cut perceived.</p>
<p>This uses either all three RGB colour spaces &#8211; or just the Y (which decreases the level of accuracy).</p>
<p>After this, the shot information is put into the database and then when a new shot is scanned in then it is compared to previously scanned video and hence compared to other shots.</p>
<p>The program then spits out all of the shots that it believes are similar enough, and then checks the next one to see if there is a chain of shots that are similar in which case they are put together into a clip.</p>
<p>There are a fair few bugs with this application so far but I am trying to iron them out, as well as gather all of my data to generate some decent output.</p>
]]></content:encoded>
			<wfw:commentRss>http://dezco.co.uk/DVA/?feed=rss2&amp;p=84</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Things to do</title>
		<link>http://dezco.co.uk/DVA/?p=82</link>
		<comments>http://dezco.co.uk/DVA/?p=82#comments</comments>
		<pubDate>Wed, 17 Feb 2010 20:34:29 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[feature vector]]></category>
		<category><![CDATA[specification]]></category>
		<category><![CDATA[speedups]]></category>
		<category><![CDATA[user interface]]></category>

		<guid isPermaLink="false">http://dezco.co.uk/DVA/?p=82</guid>
		<description><![CDATA[Over the coming weeks I would like to set up full integration with the database. Both with the testing algorithm and the manual input interface.
Do so analysis of spatial locality with respect to the speedup unsafe block that I have been using.
Generate more test data to fill the database with.
]]></description>
			<content:encoded><![CDATA[<p>Over the coming weeks I would like to set up full integration with the database. Both with the testing algorithm and the manual input interface.</p>
<p>Do so analysis of spatial locality with respect to the speedup unsafe block that I have been using.</p>
<p>Generate more test data to fill the database with.</p>
]]></content:encoded>
			<wfw:commentRss>http://dezco.co.uk/DVA/?feed=rss2&amp;p=82</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backup!</title>
		<link>http://dezco.co.uk/DVA/?p=80</link>
		<comments>http://dezco.co.uk/DVA/?p=80#comments</comments>
		<pubDate>Wed, 03 Feb 2010 18:15:52 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[backup]]></category>

		<guid isPermaLink="false">http://dezco.co.uk/DVA/?p=80</guid>
		<description><![CDATA[So my external HDD died yesterday, which lost me a days worth of work (not too bad since I can remember exactly what I did and how), but I did lose all of the video test data which is backed up &#8211; but in London so I will have to make a journey down one [...]]]></description>
			<content:encoded><![CDATA[<p>So my external HDD died yesterday, which lost me a days worth of work (not too bad since I can remember exactly what I did and how), but I did lose all of the video test data which is backed up &#8211; but in London so I will have to make a journey down one night to grab it and then bring it back up to work on it!</p>
<p>Still &#8211; could have been a lot worse!</p>
]]></content:encoded>
			<wfw:commentRss>http://dezco.co.uk/DVA/?feed=rss2&amp;p=80</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Images of my application so far</title>
		<link>http://dezco.co.uk/DVA/?p=68</link>
		<comments>http://dezco.co.uk/DVA/?p=68#comments</comments>
		<pubDate>Wed, 27 Jan 2010 23:37:45 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[images]]></category>

		<guid isPermaLink="false">http://dezco.co.uk/DVA/?p=68</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[
<a href='http://dezco.co.uk/DVA/?attachment_id=69' title='Two videos linked and playing simultaneously'><img width="150" height="150" src="http://dezco.co.uk/DVA/wp-content/uploads/2010/01/1-150x150.jpg" class="attachment-thumbnail" alt="" title="Two videos linked and playing simultaneously" /></a>
<a href='http://dezco.co.uk/DVA/?attachment_id=70' title='Frames are turned into images'><img width="150" height="150" src="http://dezco.co.uk/DVA/wp-content/uploads/2010/01/2-150x150.jpg" class="attachment-thumbnail" alt="" title="Frames are turned into images" /></a>
<a href='http://dezco.co.uk/DVA/?attachment_id=71' title='Videos can be played independently'><img width="150" height="150" src="http://dezco.co.uk/DVA/wp-content/uploads/2010/01/3-150x150.jpg" class="attachment-thumbnail" alt="" title="Videos can be played independently" /></a>
<a href='http://dezco.co.uk/DVA/?attachment_id=72' title='You can generate manipulation on the left hand image'><img width="150" height="150" src="http://dezco.co.uk/DVA/wp-content/uploads/2010/01/4-150x150.jpg" class="attachment-thumbnail" alt="" title="You can generate manipulation on the left hand image" /></a>
<a href='http://dezco.co.uk/DVA/?attachment_id=73' title='Compare edges'><img width="150" height="150" src="http://dezco.co.uk/DVA/wp-content/uploads/2010/01/5-150x150.jpg" class="attachment-thumbnail" alt="" title="Compare edges" /></a>
<a href='http://dezco.co.uk/DVA/?attachment_id=74' title='Subtraction'><img width="150" height="150" src="http://dezco.co.uk/DVA/wp-content/uploads/2010/01/6-150x150.jpg" class="attachment-thumbnail" alt="" title="Subtraction" /></a>
<a href='http://dezco.co.uk/DVA/?attachment_id=75' title='Subtraction - modulus'><img width="150" height="150" src="http://dezco.co.uk/DVA/wp-content/uploads/2010/01/7-150x150.jpg" class="attachment-thumbnail" alt="" title="Subtraction - modulus" /></a>
<a href='http://dezco.co.uk/DVA/?attachment_id=76' title='Scanning through the clip'><img width="150" height="150" src="http://dezco.co.uk/DVA/wp-content/uploads/2010/01/8-150x150.jpg" class="attachment-thumbnail" alt="" title="Scanning through the clip" /></a>

]]></content:encoded>
			<wfw:commentRss>http://dezco.co.uk/DVA/?feed=rss2&amp;p=68</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More speedups</title>
		<link>http://dezco.co.uk/DVA/?p=63</link>
		<comments>http://dezco.co.uk/DVA/?p=63#comments</comments>
		<pubDate>Wed, 27 Jan 2010 17:42:23 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[speedups]]></category>

		<guid isPermaLink="false">http://dezco.co.uk/DVA/?p=63</guid>
		<description><![CDATA[Currently it is taking about 2 seconds (on average 1998 milliseconds) to complete a comparison of two adjacent frames using their histograms with the getPixel() method.
I am going to rewrite the code to access the bitmap data and more quickly come to this result and will note of any speedups.


Comparison for 1 frame : 00:00:01.9610000
1961


Comparison [...]]]></description>
			<content:encoded><![CDATA[<p>Currently it is taking about 2 seconds (on average 1998 milliseconds) to complete a comparison of two adjacent frames using their histograms with the getPixel() method.</p>
<p>I am going to rewrite the code to access the bitmap data and more quickly come to this result and will note of any speedups.</p>
<col span="6" width="64"></col>
<tr height="20">
<td colspan="5" width="320" height="20">Comparison for 1 frame : 00:00:01.9610000</td>
<td width="64" align="right">1961</td>
</tr>
<tr height="20">
<td colspan="5" height="20">Comparison   for 1 frame : 00:00:01.9880000</td>
<td align="right">1988</td>
</tr>
<tr height="20">
<td colspan="5" height="20">Comparison   for 1 frame : 00:00:01.9790000</td>
<td align="right">1979</td>
</tr>
<tr height="20">
<td colspan="5" height="20">Comparison   for 1 frame : 00:00:01.9770000</td>
<td align="right">1977</td>
</tr>
<tr height="20">
<td colspan="5" height="20">Comparison   for 1 frame : 00:00:02.0370000</td>
<td align="right">2037</td>
</tr>
<tr height="20">
<td colspan="5" height="20">Comparison   for 1 frame : 00:00:01.9990000</td>
<td align="right">1999</td>
</tr>
<tr height="20">
<td colspan="5" height="20">Comparison   for 1 frame : 00:00:01.9720000</td>
<td align="right">1972</td>
</tr>
<tr height="20">
<td colspan="5" height="20">Comparison   for 1 frame : 00:00:02.0270000</td>
<td align="right">2027</td>
</tr>
<tr height="20">
<td colspan="5" height="20">Comparison   for 1 frame : 00:00:01.9720000</td>
<td align="right">1972</td>
</tr>
<tr height="20">
<td colspan="5" height="20">Comparison   for 1 frame : 00:00:02.0410000</td>
<td align="right">2041</td>
</tr>
<tr height="20">
<td colspan="5" height="20">Comparison   for 1 frame : 00:00:02.0280000</td>
<td align="right">2028</p>
<p>EDIT</td>
</tr>
<p>Speedup was increased to just 438 ms which is about a 4.6 times speedup!</p>
<td style="height: 15.0pt; width: 48pt;" width="64" height="20" align="right"></td>
<col width="64"></col>
<tr height="20">
<td width="64" height="20">Comparison for 1   frame : 00:00:00.4230000</td>
</tr>
<tr height="20">
<td height="20">Comparison for 1 frame :   00:00:00.4310000</td>
</tr>
<tr height="20">
<td height="20">Comparison for 1 frame :   00:00:00.4420000</td>
</tr>
<tr height="20">
<td height="20">Comparison for 1 frame :   00:00:00.4460000</td>
</tr>
<tr height="20">
<td height="20">Comparison for 1 frame :   00:00:00.4620000</td>
</tr>
<tr height="20">
<td height="20">Comparison for 1 frame :   00:00:00.4580000</td>
</tr>
<tr height="20">
<td height="20">Comparison for 1 frame :   00:00:00.4550000</td>
</tr>
<tr height="20">
<td height="20">Comparison for 1 frame :   00:00:00.4160000</td>
</tr>
<tr height="20">
<td height="20">Comparison for 1 frame :   00:00:00.4320000</td>
</tr>
<tr height="20">
<td height="20">Comparison for 1 frame :   00:00:00.4300000</td>
</tr>
<tr height="20">
<td height="20">Comparison for 1 frame :   00:00:00.4250000</td>
</tr>
]]></content:encoded>
			<wfw:commentRss>http://dezco.co.uk/DVA/?feed=rss2&amp;p=63</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SIFT &#8211; Scale-invariant feature transform</title>
		<link>http://dezco.co.uk/DVA/?p=59</link>
		<comments>http://dezco.co.uk/DVA/?p=59#comments</comments>
		<pubDate>Tue, 26 Jan 2010 23:28:13 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[comparison]]></category>
		<category><![CDATA[feature vector]]></category>
		<category><![CDATA[lookup]]></category>
		<category><![CDATA[SIFT]]></category>

		<guid isPermaLink="false">http://dezco.co.uk/DVA/?p=59</guid>
		<description><![CDATA[SIFT may be appropriate for my project &#8211; or at least parts of it may be transferrable.
http://en.wikipedia.org/wiki/Scale-invariant_feature_transform has a lot of very useful information
This technique is used to compare the same object in many different images, which is perhaps something that I could use, however I am looking for almost perfect video matching and so [...]]]></description>
			<content:encoded><![CDATA[<p>SIFT may be appropriate for my project &#8211; or at least parts of it may be transferrable.</p>
<p>http://en.wikipedia.org/wiki/Scale-invariant_feature_transform has a lot of very useful information</p>
<p>This technique is used to compare the same object in many different images, which is perhaps something that I could use, however I am looking for almost perfect video matching and so it may not be that useful as it seems very advanced and I am not sure whether I will have enough time to look at implementing this.</p>
<p>For example, I am not really caring that much about scaling and that much geometric distortion since the main motivation is advertisment detection &#8211; which shouldn&#8217;t be altered, however should this extend to using copyrighted material then people could simply scale the video to prevent this program from working!</p>
<p>So it might be worth looking into this &#8211; or at least considering it.</p>
<p>SIFT uses feature vectors and compares them to vectors in a database looking for the smallest euclidean distance away (taken from the image retrieval course) where I could create a basis which is dependent on features of the images/video &#8211; e.g. colour information/edges/length/average pixel colour change value etc&#8230;</p>
<p>However then we need to look into how we will compare or index this data as if we are looking over several thousand video clips, it might be worth doing a recursive ordered search &#8211; especially as there will be a lot of clips that don&#8217;t match! &#8211; which brings me onto another point &#8211; when scanning a video &#8211; we need to break it up into shots &#8211; should we add these shots to a database or not? How do we add clips/adverts to the database? Is it all done manually? Right now it is, should it be automatic and have a lot of shots that are irrelevant?!</p>
<blockquote><p>Lowe used a modification of the <a title="K-d tree" href="http://en.wikipedia.org/wiki/K-d_tree">k-d tree</a> algorithm called the <strong>Best-bin-first search</strong> method <sup id="cite_ref-6"><a href="http://en.wikipedia.org/wiki/Scale-invariant_feature_transform#cite_note-6"><span>[</span>7<span>]</span></a></sup> that can identify the <a title="Nearest neighbor" href="http://en.wikipedia.org/wiki/Nearest_neighbor">nearest neighbors</a> with high probability using only a limited amount of computation</p></blockquote>
<p>Lowe used a ratio of distance from the closest neighbor to the distance of the second closest to determine if they were matching &#8211; but I think that would be inappropriate here &#8211; perhaps?! I will have to do some analysis on this as he found that a ratio of greater than 0.8 discarded 90% of false positives and only lost 5% of true negatives.</p>
<p>So now I have to work out how to classify the bins and what characteristics to use for the bins. I am thinking possibly use the length of the individual shots of a clip and see if they match &#8211; provided the shot algorithm is accurate across different video streams, another feature could be histogram and edge data, and perhaps number of pixels differing by more than a threashold after each frame change.</p>
<p>http://ieeexplore.ieee.org/search/wrapper.jsp?arnumber=790410</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="8%" valign="top"></td>
<td width="3%" valign="top"><strong>1.</strong></td>
<td width="89%"><strong>Object recognition from local scale-invariant features</strong><br />
Lowe, D.G.;<br />
Computer Vision, 1999.</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://dezco.co.uk/DVA/?feed=rss2&amp;p=59</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speeding up pixel accessing and image processing</title>
		<link>http://dezco.co.uk/DVA/?p=54</link>
		<comments>http://dezco.co.uk/DVA/?p=54#comments</comments>
		<pubDate>Mon, 25 Jan 2010 16:59:10 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[accessing data]]></category>

		<guid isPermaLink="false">http://dezco.co.uk/DVA/?p=54</guid>
		<description><![CDATA[Using the standard GetPixel function with C#&#8217;s Bitmap structures it takes a long time to process individual images which is extremely annoying when trying to quickly scan just a short 30 second clip with approx 900 frames, and each pixel takes a while to get access to it:
This is due to GetPixel locking, then unlocking [...]]]></description>
			<content:encoded><![CDATA[<p>Using the standard GetPixel function with C#&#8217;s Bitmap structures it takes a long time to process individual images which is extremely annoying when trying to quickly scan just a short 30 second clip with approx 900 frames, and each pixel takes a while to get access to it:</p>
<p><span style="font-size: 11px;"><span style="font-family: verdana;">This is due to </span></span><span style="font-style: italic; font-family: verdana; font-size: 11px;">GetPixel </span><span style="font-size: 11px;"><span style="font-family: verdana;">locking, then unlocking the bitmap into system memory every time </span></span><span style="font-style: italic; font-family: verdana; font-size: 11px;">GetPixel </span><span style="font-size: 11px;"><span style="font-family: verdana;">is called. The process of locking and unlocking the bitmap itself is what takes the time.</span></span></p>
<p><span style="font-size: 11px;"><span style="font-family: verdana;">(<a href="http://www.improperargument.com/2009/03/speeding-up-getpixel-with-unsafe-code.html">http://www.improperargument.com/2009/03/speeding-up-getpixel-with-unsafe-code.html</a>)</span></span></p>
<p><span style="font-family: verdana; font-size: small;"><span><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: small;"><span> </span></span></span></span></p>
<p><span style="font-family: verdana; font-size: small;"><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: small;"> </span></span></p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">GetAllPixelsSafe  : 00:00:00.6670000</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">GetAllPixelsUnsafe: 00:00:00.1490000</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">GetAllPixelsSafe  : 00:00:00.6710000</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">GetAllPixelsUnsafe: 00:00:00.1520000</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">GetAllPixelsSafe  : 00:00:00.6750000</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">GetAllPixelsUnsafe: 00:00:00.1550000</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">GetAllPixelsSafe  : 00:00:00.6620000</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">GetAllPixelsUnsafe: 00:00:00.1540000</div>
<p>I managed to get an average speed up of</p>
<td style="height: 15.0pt; width: 48pt;" width="64" height="20" align="right">4.386131</p>
<p>just by using the unsafe code</td>
<p>GetAllPixelsSafe  : 00:00:00.6670000</p>
<p>GetAllPixelsUnsafe: 00:00:00.1490000</p>
<p>GetAllPixelsSafe  : 00:00:00.6710000</p>
<p>GetAllPixelsUnsafe: 00:00:00.1520000</p>
<p>GetAllPixelsSafe  : 00:00:00.6750000</p>
<p>GetAllPixelsUnsafe: 00:00:00.1550000</p>
<p>GetAllPixelsSafe  : 00:00:00.6620000</p>
<p>GetAllPixelsUnsafe: 00:00:00.1540000</p>
<p>Reducing the average time to get pixel data for a 720&#215;480 image from 669 milliseconds to just 153 milliseconds (on average from my sample above)</p>
<p>This means re-writing all code that accesses image data! YAY! <img src='http://dezco.co.uk/DVA/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.bobpowell.net/lockingbits.htm">http://www.bobpowell.net/lockingbits.htm</a> helps too!</p>
<p><span style="font-family: 'Times New Roman'; line-height: normal; font-size: small; border-collapse: collapse;"><img src="http://www.bobpowell.net/images/lockin1.gif" border="0" alt="" width="379" height="349" /></span></p>
<p><span style="font-family: 'Times New Roman'; line-height: normal; font-size: small; border-collapse: collapse;">I also introduced some setpixel calls which increase the speed from an average of 670ms to 296 which is a speed up of over 2.2 times</span></p>
<p><span style="font-family: 'Times New Roman'; line-height: normal; font-size: small; border-collapse: collapse;"><br />
<col style="width: 48pt;" width="64"></col>
<tr style="height: 15.0pt;" height="20">
<td style="height: 15.0pt; width: 48pt;" width="64" height="20">SetAllPixelsSafe<span style="mso-spacerun: yes;"> </span>: 00:00:00.6560000<span style="mso-spacerun: yes;"> </span></td>
</tr>
<tr style="height: 15.0pt;" height="20">
<td style="height: 15.0pt;" height="20">SetAllPixelsUnsafe: 00:00:00.3000000<span style="mso-spacerun: yes;"> </span></td>
</tr>
<tr style="height: 15.0pt;" height="20">
<td style="height: 15.0pt;" height="20"></td>
</tr>
<tr style="height: 15.0pt;" height="20">
<td style="height: 15.0pt;" height="20">SetAllPixelsSafe<span style="mso-spacerun: yes;"> </span>: 00:00:00.6550000<span style="mso-spacerun: yes;"> </span></td>
</tr>
<tr style="height: 15.0pt;" height="20">
<td style="height: 15.0pt;" height="20">SetAllPixelsUnsafe: 00:00:00.2940000<span style="mso-spacerun: yes;"> </span></td>
</tr>
<tr style="height: 15.0pt;" height="20">
<td style="height: 15.0pt;" height="20"></td>
</tr>
<tr style="height: 15.0pt;" height="20">
<td style="height: 15.0pt;" height="20">SetAllPixelsSafe<span style="mso-spacerun: yes;"> </span>: 00:00:00.6540000<span style="mso-spacerun: yes;"> </span></td>
</tr>
<tr style="height: 15.0pt;" height="20">
<td style="height: 15.0pt;" height="20">SetAllPixelsUnsafe: 00:00:00.2930000<span style="mso-spacerun: yes;"> </span></td>
</tr>
<tr style="height: 15.0pt;" height="20">
<td style="height: 15.0pt;" height="20"></td>
</tr>
<tr style="height: 15.0pt;" height="20">
<td style="height: 15.0pt;" height="20">SetAllPixelsSafe<span style="mso-spacerun: yes;"> </span>: 00:00:00.6550000<span style="mso-spacerun: yes;"> </span></td>
</tr>
<tr style="height: 15.0pt;" height="20">
<td style="height: 15.0pt;" height="20">SetAllPixelsUnsafe: 00:00:00.2920000<span style="mso-spacerun: yes;"> </span></td>
</tr>
<tr style="height: 15.0pt;" height="20">
<td style="height: 15.0pt;" height="20"></td>
</tr>
<tr style="height: 15.0pt;" height="20">
<td style="height: 15.0pt;" height="20">SetAllPixelsSafe<span style="mso-spacerun: yes;"> </span>: 00:00:00.6760000<span style="mso-spacerun: yes;"> </span></td>
</tr>
<tr style="height: 15.0pt;" height="20">
<td style="height: 15.0pt;" height="20">SetAllPixelsUnsafe: 00:00:00.2940000<span style="mso-spacerun: yes;"> </span></td>
</tr>
<tr style="height: 15.0pt;" height="20">
<td style="height: 15.0pt;" height="20"></td>
</tr>
<tr style="height: 15.0pt;" height="20">
<td style="height: 15.0pt;" height="20">SetAllPixelsSafe<span style="mso-spacerun: yes;"> </span>: 00:00:00.6600000<span style="mso-spacerun: yes;"> </span></td>
</tr>
<tr style="height: 15.0pt;" height="20">
<td style="height: 15.0pt;" height="20">SetAllPixelsUnsafe: 00:00:00.2940000<span style="mso-spacerun: yes;"> </span></td>
</tr>
<tr style="height: 15.0pt;" height="20">
<td style="height: 15.0pt;" height="20"></td>
</tr>
<tr style="height: 15.0pt;" height="20">
<td style="height: 15.0pt;" height="20">SetAllPixelsSafe<span style="mso-spacerun: yes;"> </span>: 00:00:00.6580000<span style="mso-spacerun: yes;"> </span></td>
</tr>
<tr style="height: 15.0pt;" height="20">
<td style="height: 15.0pt;" height="20">SetAllPixelsUnsafe: 00:00:00.2990000<span style="mso-spacerun: yes;"> </span></td>
</tr>
<tr style="height: 15.0pt;" height="20">
<td style="height: 15.0pt;" height="20"></td>
</tr>
<tr style="height: 15.0pt;" height="20">
<td style="height: 15.0pt;" height="20">SetAllPixelsSafe<span style="mso-spacerun: yes;"> </span>: 00:00:00.6630000<span style="mso-spacerun: yes;"> </span></td>
</tr>
<tr style="height: 15.0pt;" height="20">
<td style="height: 15.0pt;" height="20">SetAllPixelsUnsafe: 00:00:00.3020000<span style="mso-spacerun: yes;"> </span></td>
</tr>
<p></span></p>
<col style="width: 48pt;" width="64"></col>
]]></content:encoded>
			<wfw:commentRss>http://dezco.co.uk/DVA/?feed=rss2&amp;p=54</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Length of an advertisement</title>
		<link>http://dezco.co.uk/DVA/?p=52</link>
		<comments>http://dezco.co.uk/DVA/?p=52#comments</comments>
		<pubDate>Mon, 25 Jan 2010 16:18:57 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Project]]></category>

		<guid isPermaLink="false">http://dezco.co.uk/DVA/?p=52</guid>
		<description><![CDATA[ISCI Code &#8211; for spot &#8211; letters &#38; numbers -
ISCI Code: http://en.wikipedia.org/wiki/ISCI &#124;
ISCI codes are usually printed on the video cassette label of a commercial
An ISCI code is usually a set of 8 digits, with the first four being alphabetic, and
the remaining four being numerical, in the format of XXXX1111.
Adverts are characterised with an ISCI code [...]]]></description>
			<content:encoded><![CDATA[<p><strong><span style="font-size: medium;">ISCI Code &#8211; for spot &#8211; letters &amp; numbers -</span></strong><br />
<strong><span style="font-size: medium;">ISCI Code: <a href="http://en.wikipedia.org/wiki/ISCI" target="_new">http://en.wikipedia.org/wiki/ISCI</a> |</span></strong><br />
<strong><span style="font-size: medium;">ISCI codes are usually printed on the video cassette label of a commercial</span></strong><br />
<strong><span style="font-size: medium;">An ISCI code is usually a set of 8 digits, with the first four being alphabetic, and</span></strong><br />
<strong><span style="font-size: medium;">the remaining four being numerical, in the format of XXXX1111.</span></strong></p>
<p><strong><span style="font-size: medium;">Adverts are characterised with an ISCI code that could perhaps be loaded into my database used for scanning over new TV footage.</span></strong></p>
<p><span style="font-size: medium;"><strong><span style="font-size: small;"><span style="font-weight: normal;">Most sources online seem to believe that TV advertisement is typically between 10 and 60 seconds today. Therefore I am going to take the minimum of 10 second clips to be the minimum match for now. I can always extend this for arbitrary length clips &#8211; however it makes more sense to define this rather relaxed condition early on to ensure I get a working project!</span></span></strong></span></p>
]]></content:encoded>
			<wfw:commentRss>http://dezco.co.uk/DVA/?feed=rss2&amp;p=52</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Database + Search Space</title>
		<link>http://dezco.co.uk/DVA/?p=49</link>
		<comments>http://dezco.co.uk/DVA/?p=49#comments</comments>
		<pubDate>Mon, 25 Jan 2010 15:07:42 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[characteristics]]></category>
		<category><![CDATA[database]]></category>

		<guid isPermaLink="false">http://dezco.co.uk/DVA/?p=49</guid>
		<description><![CDATA[The database need not hold all of the video data, however perhaps just pointers to it.
I also need to determine how the data is going to be stored and searched across &#8211; perhaps using some sort of feature vector of the image/clip (length/rgb colour info/edges info stored in some easily comparable manner for a whole [...]]]></description>
			<content:encoded><![CDATA[<p>The database need not hold all of the video data, however perhaps just pointers to it.</p>
<p>I also need to determine how the data is going to be stored and searched across &#8211; perhaps using some sort of feature vector of the image/clip (length/rgb colour info/edges info stored in some easily comparable manner for a whole clip).</p>
<p>This means that when a clip is added to the database perhaps there can be a CLIPS table and it will need a Name(String), ID(int), Type(String &#8211; advert/movie/tv show), the VideoFileLocation(String) where it is in the storage, the TimeIntoVideo(int) of milliseconds or frame number of the start of the clip, the Length(int) of the number of frames or milliseconds the clip is and some sort of reference to duplicate clips &#8211; which could be constructed in a (doubly) linked list format whereby there is a NextDuplicate (and PreviousDuplicate) pointer to the ID of the duplicate clip so that it can easily be found.</p>
<p>There could also be a CHARACTERISTICS table which has such information to search over (e.g. length, histogram information (e.g. percentages of red in bucket 1,2,3,4 &#8211; which can easily be compared i.e. value is between a certain range), edge information, audio peaks?) with pointers to the IDs of the clips in the clips table.</p>
]]></content:encoded>
			<wfw:commentRss>http://dezco.co.uk/DVA/?feed=rss2&amp;p=49</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Edge Detection Techniques</title>
		<link>http://dezco.co.uk/DVA/?p=45</link>
		<comments>http://dezco.co.uk/DVA/?p=45#comments</comments>
		<pubDate>Mon, 25 Jan 2010 14:49:43 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[analysis]]></category>
		<category><![CDATA[edge detection]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[image comparison]]></category>
		<category><![CDATA[MPEG]]></category>
		<category><![CDATA[shot]]></category>
		<category><![CDATA[shots]]></category>

		<guid isPermaLink="false">http://dezco.co.uk/DVA/?p=45</guid>
		<description><![CDATA[Potentially I could convert the images to a grayscale and then use a binary bitmap to do the edge detection and use that data to characterise the frame and then see if there is a huge difference between this and the next frame&#8230;
Alternatively I could also do shot detection in a sort of binary search [...]]]></description>
			<content:encoded><![CDATA[<p>Potentially I could convert the images to a grayscale and then use a binary bitmap to do the edge detection and use that data to characterise the frame and then see if there is a huge difference between this and the next frame&#8230;</p>
<p>Alternatively I could also do shot detection in a sort of binary search which would speed things up as opposed to looking at all frames &#8211; but it might miss some shot changes!</p>
]]></content:encoded>
			<wfw:commentRss>http://dezco.co.uk/DVA/?feed=rss2&amp;p=45</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

