<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[YUV als Histogramm]]></title><description><![CDATA[<p>Hi,</p>
<p>ich habe ein Problem.<br />
Und zwar will von einem Bild ein Histogramm für Y und eins für U erstellen und speichern.<br />
Wie mache ich das am Besten?</p>
<p>Vielen Dank<br />
Hilo</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/135310/yuv-als-histogramm</link><generator>RSS for Node</generator><lastBuildDate>Fri, 28 Aug 2026 22:11:57 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/135310.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 01 Feb 2006 09:46:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to YUV als Histogramm on Wed, 01 Feb 2006 09:46:29 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>ich habe ein Problem.<br />
Und zwar will von einem Bild ein Histogramm für Y und eins für U erstellen und speichern.<br />
Wie mache ich das am Besten?</p>
<p>Vielen Dank<br />
Hilo</p>
]]></description><link>https://www.c-plusplus.net/forum/post/982822</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/982822</guid><dc:creator><![CDATA[Hilo]]></dc:creator><pubDate>Wed, 01 Feb 2006 09:46:29 GMT</pubDate></item><item><title><![CDATA[Reply to YUV als Histogramm on Wed, 01 Feb 2006 10:02:57 GMT]]></title><description><![CDATA[<p>vector&lt;int&gt; mit 256 Werten deklarieren (oder int[256]) und dann in jedem Vektor-Element die Punkte mit dem entsprechenden Farbwert zusammenzählen:</p>
<pre><code class="language-cpp">vector&lt;int&gt; histY(256),histU(256);
for(x=0;x&lt;maxX;++x)for(y=0;y&lt;maxY;++y)
{
  histY[getY(x,y)]++;
  histU[getU(x,y)]++;
}
</code></pre>
<p>anschließend kannst du die Daten dann weiterverarbeiten, z.B. als Balkendiagramm anzeigen oder speichern.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/982835</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/982835</guid><dc:creator><![CDATA[CStoll (off)]]></dc:creator><pubDate>Wed, 01 Feb 2006 10:02:57 GMT</pubDate></item></channel></rss>