<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/264745</link>
    <title>MATLAB Central Newsreader - Xilinx System Generator - Video</title>
    <description>Feed for thread: Xilinx System Generator - Video</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Mon, 02 Nov 2009 12:29:03 -0500</pubDate>
      <title>Xilinx System Generator - Video</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/264745#691470</link>
      <author>Stephen Archer</author>
      <description>Hi, can anybody suggest how I can take an image source (.avi /.jpg / usb camera) and convert it from an array ( say of size 640/480) into a stream of pixel data (pixel 0 of line 0 followed by pixel 1 of line 0 etc) ready for input to my xsg model?</description>
    </item>
    <item>
      <pubDate>Mon, 02 Nov 2009 16:09:03 -0500</pubDate>
      <title>Re: Xilinx System Generator - Video</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/264745#691530</link>
      <author>witek@mathworks.com</author>
      <description>Stephen,&lt;br&gt;
&lt;br&gt;
Try the following procedure:&lt;br&gt;
1. transpose&lt;br&gt;
2. convert to vector U(:)&lt;br&gt;
3. turn on frame bit using splib block&lt;br&gt;
4. run through splib Unbuffer block&lt;br&gt;
&lt;br&gt;
This will produce a pixel stream.  Note though that a typical system will also include some&lt;br&gt;
video blanking periods (horizontal and vertical), so you may wish to pad your original 2d image first.&lt;br&gt;
Does this make sense to you?&lt;br&gt;
&lt;br&gt;
HTH,&lt;br&gt;
&lt;br&gt;
Witek&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Stephen Archer &amp;lt;stephen.archer@selexgalileo.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; Hi, can anybody suggest how I can take an image source (.avi /.jpg / usb camera) and convert it from an array ( say of size 640/480) into a stream of pixel data (pixel 0 of line 0 followed by pixel 1 of line 0 etc) ready for input to my xsg model?</description>
    </item>
  </channel>
</rss>

