<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169284</link>
    <title>MATLAB Central Newsreader - data compression</title>
    <description>Feed for thread: data compression</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>Thu, 15 May 2008 06:25:04 -0400</pubDate>
      <title>data compression</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169284#432149</link>
      <author>ahmed</author>
      <description>I have a large database that containing images.  Every &lt;br&gt;
image is described with a matrix (X) which has two vectors &lt;br&gt;
one vector is the horizontal projection and the other &lt;br&gt;
vector is vertical projection of the image. These vectors &lt;br&gt;
have the same length (d). For example let d=512, this &lt;br&gt;
means that the size of (X) = 512x2. All the values are &lt;br&gt;
positive floating point numbers.&lt;br&gt;
My problem is how I can simplify the matrix X in a new &lt;br&gt;
vector (Y) that also represents the image but with a &lt;br&gt;
little information? &lt;br&gt;
Can any one give me an idea?&lt;br&gt;
My idea is to make a code that represents the two vectors &lt;br&gt;
in the matrix and also to distinguish images from each &lt;br&gt;
other</description>
    </item>
    <item>
      <pubDate>Thu, 15 May 2008 10:29:02 -0400</pubDate>
      <title>Re: data compression</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169284#432200</link>
      <author>Dave Robinson</author>
      <description>&quot;Ahmed &quot; &amp;lt;mogwari2000@yahoo.com&amp;gt; wrote in message &amp;lt;g0gl00&lt;br&gt;
$nhs$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I have a large database that containing images.  Every &lt;br&gt;
&amp;gt; image is described with a matrix (X) which has two &lt;br&gt;
vectors &lt;br&gt;
&amp;gt; one vector is the horizontal projection and the other &lt;br&gt;
&amp;gt; vector is vertical projection of the image. These vectors &lt;br&gt;
&amp;gt; have the same length (d). For example let d=512, this &lt;br&gt;
&amp;gt; means that the size of (X) = 512x2. All the values are &lt;br&gt;
&amp;gt; positive floating point numbers.&lt;br&gt;
&amp;gt; My problem is how I can simplify the matrix X in a new &lt;br&gt;
&amp;gt; vector (Y) that also represents the image but with a &lt;br&gt;
&amp;gt; little information? &lt;br&gt;
&amp;gt; Can any one give me an idea?&lt;br&gt;
&amp;gt; My idea is to make a code that represents the two vectors &lt;br&gt;
&amp;gt; in the matrix and also to distinguish images from each &lt;br&gt;
&amp;gt; other&lt;br&gt;
&amp;gt; &lt;br&gt;
My original question still stands, do you need absolute or &lt;br&gt;
approximate compression?&lt;br&gt;
&lt;br&gt;
Check Wavelet compression, excellent demo in the Wavelet &lt;br&gt;
toolbox.&lt;br&gt;
&lt;br&gt;
Regards&lt;br&gt;
&lt;br&gt;
Dave Robinson</description>
    </item>
    <item>
      <pubDate>Fri, 16 May 2008 05:13:01 -0400</pubDate>
      <title>Re: data compression</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169284#432423</link>
      <author>ahmed</author>
      <description>let me tell you my idea in more detail:&lt;br&gt;
&lt;br&gt;
1.	I have a big database of signature images; to make &lt;br&gt;
an effective search in this database I solve to &lt;br&gt;
partitioned/clustered it into several bins.&lt;br&gt;
2.	To make these partitions I well use k-means &lt;br&gt;
clustering algorithm &lt;br&gt;
3.	When a new signature come it well be assigned to &lt;br&gt;
one of the bins and all of the signatures within this bin &lt;br&gt;
can be compared with the new one for final identification.&lt;br&gt;
4.	So that I need to represent every signature image &lt;br&gt;
in the database with a code that well be a point in the k-&lt;br&gt;
mean algorithm.&lt;br&gt;
5.	The code I well not use to decide weather the &lt;br&gt;
signature is genuine or forgery.&lt;br&gt;
6.	I need to make this code from the projections. </description>
    </item>
    <item>
      <pubDate>Fri, 16 May 2008 20:17:24 -0400</pubDate>
      <title>Re: data compression</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169284#432587</link>
      <author>roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)</author>
      <description>In article &amp;lt;g0gl00$nhs$1@fred.mathworks.com&amp;gt;,&lt;br&gt;
Ahmed  &amp;lt;mogwari2000@yahoo.com&amp;gt; wrote:&lt;br&gt;
&amp;gt;I have a large database that containing images.  Every &lt;br&gt;
&amp;gt;image is described with a matrix (X) which has two vectors &lt;br&gt;
&amp;gt;one vector is the horizontal projection and the other &lt;br&gt;
&amp;gt;vector is vertical projection of the image. These vectors &lt;br&gt;
&amp;gt;have the same length (d). For example let d=512, this &lt;br&gt;
&amp;gt;means that the size of (X) = 512x2.&lt;br&gt;
&lt;br&gt;
I am confused by your reference to &quot;horizontal&quot; and &quot;vertical&quot;&lt;br&gt;
&quot;projection&quot;. Your wording could mean that the images can be&lt;br&gt;
reconstructed perfectly by that dx2 vector, such as would be the&lt;br&gt;
case if the &quot;image&quot; was a simple X/Y plot and the two vectors&lt;br&gt;
were the X and Y coordinates.&lt;br&gt;
&lt;br&gt;
Looking at your later posting about signatures and so on, I am now&lt;br&gt;
wondering if the &quot;projections&quot; are some kind of signal analysis&lt;br&gt;
of the image, with the analysis applied once horizontally and&lt;br&gt;
once vertically, and the two vectors then contain the coefficients&lt;br&gt;
appropriate for each direction? Or do you mean &quot;horizontal projection&quot;&lt;br&gt;
in the linear algebra sense, sort of the &quot;shadow&quot; that would be&lt;br&gt;
cast by the image if you pretended it was solid and shone a light on it?&lt;br&gt;
-- &lt;br&gt;
&amp;nbsp;&amp;nbsp;&quot;All human knowledge takes the form of interpretation.&quot;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-- Walter Benjamin</description>
    </item>
    <item>
      <pubDate>Fri, 16 May 2008 21:11:02 -0400</pubDate>
      <title>Re: data compression</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169284#432600</link>
      <author>ahmed</author>
      <description>1. i compute radon transform of the signature image for &lt;br&gt;
angles 0 (horizontal projection) and 90 (vertical &lt;br&gt;
projection).&lt;br&gt;
it is deffinitly that the signature images can't be &lt;br&gt;
reconstructed from these two projections (it seems you &lt;br&gt;
like to tell me that these two projections not enough to &lt;br&gt;
classify signatures).&lt;br&gt;
&lt;br&gt;
2. projections here means horizontal and vertical &lt;br&gt;
projections.</description>
    </item>
    <item>
      <pubDate>Sat, 17 May 2008 14:56:02 -0400</pubDate>
      <title>Re: data compression</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169284#432661</link>
      <author>Dave Robinson</author>
      <description>&quot;Ahmed &quot; &amp;lt;mogwari2000@yahoo.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;g0kt96$hog$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; 1. i compute radon transform of the signature image for &lt;br&gt;
&amp;gt; angles 0 (horizontal projection) and 90 (vertical &lt;br&gt;
&amp;gt; projection).&lt;br&gt;
&amp;gt; it is deffinitly that the signature images can't be &lt;br&gt;
&amp;gt; reconstructed from these two projections (it seems you &lt;br&gt;
&amp;gt; like to tell me that these two projections not enough to &lt;br&gt;
&amp;gt; classify signatures).&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 2. projections here means horizontal and vertical &lt;br&gt;
&amp;gt; projections.&lt;br&gt;
&lt;br&gt;
I am surprised that you go to the extent of doing a Radon&lt;br&gt;
Transform, I would have thought a simple use of the Matlab&lt;br&gt;
function 'sum(A,Dim)' (see doc sum) would do what you&lt;br&gt;
require - I don't know, it may just be possible that the&lt;br&gt;
Radon transform is smart enough to check for this ,so you&lt;br&gt;
may not get any speed advantage, but my guess is that you&lt;br&gt;
will find it a lot faster.&lt;br&gt;
&lt;br&gt;
As you cannot reconstruct your signatures from the&lt;br&gt;
projections, it is clear you don't really need an absolute&lt;br&gt;
compression. I would also think that as you are integrating&lt;br&gt;
your signal across the rows/columns they would tend to be&lt;br&gt;
relatively slow functions, e.g. it would be rare to get a&lt;br&gt;
full scale transition occurring in 1 pixel (but I may be&lt;br&gt;
wrong here ;-) So I would think that some scale space&lt;br&gt;
compression techniques based upon Wavelets would perform&lt;br&gt;
very effectively (after all it is the basis of JPEG 2000&lt;br&gt;
compression). So to repeat my advice on a previous response,&lt;br&gt;
either have a look at the demo provided in the Wavelet&lt;br&gt;
toolbox, else have a Google for wavelet compression.&lt;br&gt;
&lt;br&gt;
When comparing the Signature 'signature's' check out dynamic&lt;br&gt;
programming techniques, which will allow you to compensate&lt;br&gt;
for variations in length and evenness of the original writing.&lt;br&gt;
&lt;br&gt;
Hope that helps&lt;br&gt;
&lt;br&gt;
Dave Robinson </description>
    </item>
  </channel>
</rss>

