<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237008</link>
    <title>MATLAB Central Newsreader - Histogram Specification</title>
    <description>Feed for thread: Histogram Specification</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>Sat, 04 Oct 2008 17:14:02 -0400</pubDate>
      <title>Histogram Specification</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237008#603701</link>
      <author>David Doria</author>
      <description>In the doc for histeq(), it says you can specify a histogram with&lt;br&gt;
&lt;br&gt;
histeq(Original, hist);&lt;br&gt;
&lt;br&gt;
My question is, can you use the result of imhist() as this hist specification? It seems there are two outputs to imhist, [counts, x]. If you pass 'counts' as 'hist' to histeq(), it seems that it wont know about the position of the bins, as they are given in 'x'.&lt;br&gt;
&lt;br&gt;
What I'm trying to do is turn the histogram of image A into that of image B, rather than specifying a function (bimodal, etc) explicitly for the &quot;histogram specification&quot;.&lt;br&gt;
&lt;br&gt;
Thanks!&lt;br&gt;
Dave</description>
    </item>
    <item>
      <pubDate>Thu, 16 Oct 2008 15:02:01 -0400</pubDate>
      <title>Re: Histogram Specification</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237008#605713</link>
      <author>Mengxin SONG</author>
      <description>&quot;David Doria&quot; &amp;lt;daviddoria@gmail.com&amp;gt; wrote in message &amp;lt;gc888q$fuk$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; In the doc for histeq(), it says you can specify a histogram with&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; histeq(Original, hist);&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; My question is, can you use the result of imhist() as this hist specification? It seems there are two outputs to imhist, [counts, x]. If you pass 'counts' as 'hist' to histeq(), it seems that it wont know about the position of the bins, as they are given in 'x'.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; What I'm trying to do is turn the histogram of image A into that of image B, rather than specifying a function (bimodal, etc) explicitly for the &quot;histogram specification&quot;.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks!&lt;br&gt;
&amp;gt; Dave&lt;br&gt;
&lt;br&gt;
hello Deve:&lt;br&gt;
&amp;nbsp;&amp;nbsp;I have the same question.I tried to pass the result of imhist(I) to the histeq(I,hgram),because I found the result of imhist(I) is a vetor,which is needed by the parameter hgram.&lt;br&gt;
&amp;nbsp;&amp;nbsp;But I don't know whether it's right</description>
    </item>
  </channel>
</rss>

