<?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[Pixel zählen]]></title><description><![CDATA[<p>Hallo.</p>
<p>Wie kann ich in einem Image alle nicht weißen Pixel zählen?</p>
<p>Danke schon mal.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/182878/pixel-zählen</link><generator>RSS for Node</generator><lastBuildDate>Sat, 15 Aug 2026 22:52:38 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/182878.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 30 May 2007 10:23:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Pixel zählen on Wed, 30 May 2007 10:23:30 GMT]]></title><description><![CDATA[<p>Hallo.</p>
<p>Wie kann ich in einem Image alle nicht weißen Pixel zählen?</p>
<p>Danke schon mal.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1295042</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1295042</guid><dc:creator><![CDATA[horst1]]></dc:creator><pubDate>Wed, 30 May 2007 10:23:30 GMT</pubDate></item><item><title><![CDATA[Reply to Pixel zählen on Wed, 30 May 2007 11:09:46 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Über die Eigenschaft TBitmap::Pixels iterieren und die einzelnen Pixel mit clWhite vergleichen.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1295069</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1295069</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 30 May 2007 11:09:46 GMT</pubDate></item><item><title><![CDATA[Reply to Pixel zählen on Wed, 30 May 2007 13:12:54 GMT]]></title><description><![CDATA[<p>Nur der Vollständigkeit halber: Pixels ist eine Eigenschaft von Canvas, also wäre es: TBitmap::Canvas::Pixels.</p>
<p>Es sollte aber eine deutliche Performancesteigerung zu erzielen sein, wenn die Auswertung über TBitmap::ScanLine durchgeführt wird. Der Zugriff auf Canvas::Pixels ist recht langsam...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1295206</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1295206</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Wed, 30 May 2007 13:12:54 GMT</pubDate></item><item><title><![CDATA[Reply to Pixel zählen on Wed, 30 May 2007 14:05:45 GMT]]></title><description><![CDATA[<p>Hi,<br />
ich habe es so gemacht aber es wirklich sehr langsam</p>
<pre><code class="language-cpp">int count=0;
  for (int i = 0; i &lt; 800; i++)
   {
   for (int j = 0; j &lt; 600; j++)
       {
        if(Form1-&gt;Image1-&gt;Canvas-&gt;Pixels[i][j] != clWhite)
             {
                  count=count+1;
             }
       }
    }
</code></pre>
<p>Wie würde das mit ScanLine funktionieren?<br />
Danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1295250</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1295250</guid><dc:creator><![CDATA[horst1]]></dc:creator><pubDate>Wed, 30 May 2007 14:05:45 GMT</pubDate></item></channel></rss>