<?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[Negativfilter in c++]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich hab ein Problem. Und zwar soll ich einen Negativfilter als Übung in meinem Studium programmieren. Es soll von einem Bild ein Negativ erstellt werden.<br />
Kann mir jemand helfen? Ich hab keine Ahnung wie ich das machen soll.<br />
Danke.</p>
<p>Gruß<br />
schmitti81</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/158356/negativfilter-in-c</link><generator>RSS for Node</generator><lastBuildDate>Wed, 09 Sep 2026 18:42:43 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/158356.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 04 Sep 2006 17:06:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Negativfilter in c++ on Mon, 04 Sep 2006 17:06:34 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich hab ein Problem. Und zwar soll ich einen Negativfilter als Übung in meinem Studium programmieren. Es soll von einem Bild ein Negativ erstellt werden.<br />
Kann mir jemand helfen? Ich hab keine Ahnung wie ich das machen soll.<br />
Danke.</p>
<p>Gruß<br />
schmitti81</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130947</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130947</guid><dc:creator><![CDATA[schmitti81]]></dc:creator><pubDate>Mon, 04 Sep 2006 17:06:34 GMT</pubDate></item><item><title><![CDATA[Reply to Negativfilter in c++ on Mon, 04 Sep 2006 17:38:27 GMT]]></title><description><![CDATA[<p>Was sagt denn das www dazu?</p>
<p>Was sollst du genau machen? Ein Negativbild eines Schwarz-Weiß Bildes ist einfach. Von einem Graustufenbild auch.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130975</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130975</guid><dc:creator><![CDATA[DarthZiu]]></dc:creator><pubDate>Mon, 04 Sep 2006 17:38:27 GMT</pubDate></item><item><title><![CDATA[Reply to Negativfilter in c++ on Mon, 04 Sep 2006 17:43:18 GMT]]></title><description><![CDATA[<p>Im www hab ich nix passendes gefunden.</p>
<p>Aus einem s/w-Bild soll ein negativ gebildet werden. Ich muss doch irgendwie die Werte ändern, oder?<br />
Ein Code-Beispiel wär nicht schlecht.<br />
DANKE!</p>
<p>Gruß<br />
schmitti81</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130982</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130982</guid><dc:creator><![CDATA[schmitti81]]></dc:creator><pubDate>Mon, 04 Sep 2006 17:43:18 GMT</pubDate></item><item><title><![CDATA[Reply to Negativfilter in c++ on Mon, 04 Sep 2006 17:50:02 GMT]]></title><description><![CDATA[<p>schmitti81 schrieb:</p>
<blockquote>
<p>Ein Code-Beispiel wär nicht schlecht.</p>
</blockquote>
<p>Mehr Infos auch nicht ... in welchem Format liegt denn das Bild vor bzw. welche Eingabe erhält das Programm?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130990</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130990</guid><dc:creator><![CDATA[Konrad Rudolph]]></dc:creator><pubDate>Mon, 04 Sep 2006 17:50:02 GMT</pubDate></item><item><title><![CDATA[Reply to Negativfilter in c++ on Mon, 04 Sep 2006 17:50:31 GMT]]></title><description><![CDATA[<p>if(pixel == white) pixel = black;<br />
if(pixel == black) pixel = white;</p>
<p>bzw. wenn bool für S/W verwendet wird gehts noch einfacher mit pixel = !pixel.</p>
<p>Das solltest du aber selbst auch schon wissen, wie genau das abzuspeichern ist kommt ganz auf das verwendete Format (bmp, jpg, gif, png, etc.) an.</p>
<p>MfG SideWinder</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130991</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130991</guid><dc:creator><![CDATA[SideWinder]]></dc:creator><pubDate>Mon, 04 Sep 2006 17:50:31 GMT</pubDate></item><item><title><![CDATA[Reply to Negativfilter in c++ on Mon, 04 Sep 2006 17:52:17 GMT]]></title><description><![CDATA[<p>SideWinder schrieb:</p>
<blockquote>
<p>if(pixel == white) pixel = black;<br />
if(pixel == black) pixel = white;</p>
</blockquote>
<p>Das geht auch kürzer:</p>
<pre><code class="language-cpp">pixel = white;
</code></pre>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130994</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130994</guid><dc:creator><![CDATA[Konrad Rudolph]]></dc:creator><pubDate>Mon, 04 Sep 2006 17:52:17 GMT</pubDate></item><item><title><![CDATA[Reply to Negativfilter in c++ on Mon, 04 Sep 2006 17:54:38 GMT]]></title><description><![CDATA[<p>*rofl* <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f921.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--clown_face"
      title=":clown:"
      alt="🤡"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130999</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130999</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Mon, 04 Sep 2006 17:54:38 GMT</pubDate></item><item><title><![CDATA[Reply to Negativfilter in c++ on Mon, 04 Sep 2006 17:54:39 GMT]]></title><description><![CDATA[<p>Ok, else if :p</p>
<p>MfG SideWinder</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131000</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131000</guid><dc:creator><![CDATA[SideWinder]]></dc:creator><pubDate>Mon, 04 Sep 2006 17:54:39 GMT</pubDate></item><item><title><![CDATA[Reply to Negativfilter in c++ on Mon, 04 Sep 2006 18:04:47 GMT]]></title><description><![CDATA[<p>SideWinder schrieb:</p>
<blockquote>
<p>Ok, else if :p</p>
</blockquote>
<p>Ja, das dürfte <em>schneller</em> sein <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
<p>Aber ich denk mal dass die Aufgabenstellung eher nach</p>
<pre><code>pixel = pixelmax - pixel;
</code></pre>
<p>verlangt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131011</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131011</guid><dc:creator><![CDATA[finix]]></dc:creator><pubDate>Mon, 04 Sep 2006 18:04:47 GMT</pubDate></item><item><title><![CDATA[Reply to Negativfilter in c++ on Mon, 04 Sep 2006 18:31:55 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/4239">@finix</a>: Genau so sollte es sein.<br />
Danke auch dem Rest für die Hilfe.<br />
Ich werd das dann mal an einem konkreten Beispiel testen.</p>
<p>Gruß<br />
schmitti81</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131034</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131034</guid><dc:creator><![CDATA[schmitti81]]></dc:creator><pubDate>Mon, 04 Sep 2006 18:31:55 GMT</pubDate></item><item><title><![CDATA[Reply to Negativfilter in c++ on Mon, 04 Sep 2006 18:54:27 GMT]]></title><description><![CDATA[<p>Irgendwie klappt es innerhalb des Programms doch nicht. Ich muss das in eine vorhandenen Datei einbinden.<br />
Aber irgendwie komm ich nicht ganz klar.</p>
<p>Kann mal jemand ein Programm-Beispiel schreiben, das ein .tif- oder ein .bmp-Bild<br />
(s/w) invertiert, also ein Negativbild daraus macht.<br />
Das wär sehr nett. Dann könnt ich das einfach versuchen umzusetzen.<br />
Vielen , vielen Dank.</p>
<p>Gruß<br />
schmitti81</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131054</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131054</guid><dc:creator><![CDATA[schmitti81]]></dc:creator><pubDate>Mon, 04 Sep 2006 18:54:27 GMT</pubDate></item><item><title><![CDATA[Reply to Negativfilter in c++ on Mon, 04 Sep 2006 18:59:55 GMT]]></title><description><![CDATA[<p>Zeig mal deinen bisherigen Code, wir sidn hier nicht für Hausübungen zuständig sondern helfen bei bestimmten Problemen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>MfG SideWinder</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131059</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131059</guid><dc:creator><![CDATA[SideWinder]]></dc:creator><pubDate>Mon, 04 Sep 2006 18:59:55 GMT</pubDate></item><item><title><![CDATA[Reply to Negativfilter in c++ on Mon, 04 Sep 2006 19:03:02 GMT]]></title><description><![CDATA[<p>Ich habe jetzt keinen Code zur Hand, evtl. hilft Dir aber folgende Einführung: <a href="http://www.runicsoft.com/bmp.php" rel="nofollow">http://www.runicsoft.com/bmp.php</a></p>
<p>Ansonsten solltest Du mal in die (Online-)MSDN schauen, in der das BMP-Format detailliert beschrieben ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131064</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131064</guid><dc:creator><![CDATA[Konrad Rudolph]]></dc:creator><pubDate>Mon, 04 Sep 2006 19:03:02 GMT</pubDate></item><item><title><![CDATA[Reply to Negativfilter in c++ on Mon, 04 Sep 2006 19:08:04 GMT]]></title><description><![CDATA[<p>ByteImage.h:</p>
<pre><code>// ByteImage.h: Schnittstelle für die Klasse ByteImage.
//
//////////////////////////////////////////////////////////////////////

#if !defined(_BYTEIMAGE_H_)
#define _BYTEIMAGE_H_

#define MAX_COLOR 256

#include &lt;stdlib.h&gt;

class ByteImage  
{
public:

	ByteImage();
	ByteImage(unsigned int zeilen, unsigned int spalten);
	ByteImage::ByteImage(char* fName);
	virtual ~ByteImage();

	inline unsigned int GetNRows() { return _NRows; }
	inline unsigned int GetNCols() { return _NCols; }

	inline void SetPixel(unsigned int row, unsigned int col, unsigned char value)
	{
		if ((row&lt;_NRows) &amp;&amp; (col&lt;_NCols)) buffer[row*_NCols+col] = value;
	}

	inline void SetPixelFast(unsigned int row, unsigned int col, unsigned char value) 
	{ 
		buffer[row*_NCols+col] = value; 
	}

	inline unsigned char GetPixel(unsigned int row, unsigned int col)
	{
		if ((row&lt;_NRows) &amp;&amp; (col&lt;_NCols)) return buffer[row*_NCols+col];
		else 
		{ 
			// Fehler wird hier nicht abgefangen
			return 0;
		}
	}

	inline unsigned char GetPixelFast(unsigned int row, unsigned int col) 
	{ 
		return buffer[row*_NCols+col]; 
	}

	void Clear();
	void Clear(unsigned char value);
	bool Median(ByteImage*);
	bool invert(ByteImage*);
	void sortFeld(unsigned char*);

	int Save(char* name);

private:
	unsigned int _NRows;
	unsigned int _NCols;

	unsigned char* buffer;
};

#endif // !defined(_BYTEIMAGE_H_)
</code></pre>
<p>ByteImage.cpp:</p>
<pre><code>// ByteImage.cpp: Implementierung der Klasse ByteImage.
//
//////////////////////////////////////////////////////////////////////

#include &lt;math.h&gt;
#include &lt;string.h&gt;

#include &quot;ByteImage.h&quot;

#include &quot;FreeImage.h&quot;

//////////////////////////////////////////////////////////////////////
// Konstruktion/Destruktion
//////////////////////////////////////////////////////////////////////
unsigned char Grauwert[MAX_COLOR];  

ByteImage::ByteImage()
{
	buffer = NULL;
	_NRows = _NCols = 0;
}

ByteImage::ByteImage(unsigned int nRows, unsigned int nCols)
{
	buffer = new unsigned char[nRows*nCols];
	if (buffer != NULL)
	{
		_NRows = nRows;
		_NCols = nCols;
		this-&gt;Clear();
	}
	else
	{
		_NRows = _NCols = 0;
	}
}

ByteImage::ByteImage(char* fName)
{
	FIBITMAP *image = NULL;

	buffer = NULL;
	_NRows = _NCols = 0;

	FREE_IMAGE_FORMAT fif;

	fif = FreeImage_GetFIFFromFilename(fName);
	if (fif != FIF_UNKNOWN) image = FreeImage_Load(fif, fName, 0);

	if (image)
	{
		_NCols = FreeImage_GetWidth(image);
		_NRows = FreeImage_GetHeight(image);

		buffer = new unsigned char[_NRows*_NCols];
		if (buffer == NULL)
		{
			_NRows = _NCols = 0;
		}
		else
		{
			FreeImage_ConvertToRawBits(buffer, image, _NCols, 8,  0, 0, 0, FALSE);
		}
		FreeImage_Unload(image);
	}
}

ByteImage::~ByteImage()
{
	if (buffer) 
	{
		delete buffer;
		buffer = NULL;
		_NRows = _NCols = 0;
	}
}

void ByteImage::Clear()
{
	if (!buffer) return;

	unsigned char* p = buffer + _NRows*_NCols-1;

	while (p&gt;=buffer) *(p--) = 0;

}

void ByteImage::Clear(unsigned char value)
{
	if (!buffer) return;

	unsigned char* p = buffer + _NRows*_NCols-1;

	while (p&gt;=buffer) *(p--) = value;

}

int ByteImage::Save(char *name)
{
	FREE_IMAGE_FORMAT fif;

	FIBITMAP* bitmap = FreeImage_Allocate(_NRows, _NCols, 8);

	if (!bitmap) return -1;

	fif = FreeImage_GetFIFFromFilename(name);
	if (fif == FIF_UNKNOWN) 
	{
		FreeImage_Unload(bitmap);
		return -1;
	}

	bitmap = FreeImage_ConvertFromRawBits(buffer, _NCols, _NRows, _NCols, 8,  0, 0, 0, FALSE);
	RGBQUAD *lut = FreeImage_GetPalette(bitmap);

	for(int i=0; i&lt;256; i++)
	{
		lut[i].rgbRed   = i;
		lut[i].rgbGreen = i;
		lut[i].rgbBlue  = i;
	}

	FreeImage_Save(fif, bitmap, name, 0);
	FreeImage_Unload(bitmap);

	return 0;
}

bool ByteImage::Median(ByteImage* TMPImage){

	unsigned char GWA[9] = {0};

	for(unsigned int cols = 0; cols &lt; this-&gt;_NCols; cols++){
		for(unsigned int rows = 0; rows &lt; this-&gt;_NRows; rows++){

		//X**
		GWA[0] = this-&gt;GetPixel(rows - 1, cols - 1);
		GWA[3] = this-&gt;GetPixel(rows , cols - 1);
		GWA[6] = this-&gt;GetPixel(rows + 1, cols -1);

		//*X*
		GWA[1] = this-&gt;GetPixel(rows - 1, cols);
		GWA[4] = this-&gt;GetPixel(rows, cols);
		GWA[7] = this-&gt;GetPixel(rows + 1, cols);

		//**X
		GWA[2] = this-&gt;GetPixel(rows  -1 , cols + 1);
		GWA[5] = this-&gt;GetPixel(rows, cols + 1);
		GWA[8] = this-&gt;GetPixel(rows + 1, cols + 1);

		this-&gt;sortFeld(GWA);

		TMPImage-&gt;SetPixel(rows, cols, GWA[5]);

		}
	}

	return true;
}

/*------------------------------------------------------------------------------
Mein Programm
------------------------------------------------------------------------------*/

bool ByteImage::invert(ByteImage* TMPImage){

	SetPixel = MAX_COLOR - GetPixel;
}

void ByteImage::sortFeld(unsigned char* feld){
	int lauf, i;
	unsigned char dummy;

	for (lauf=1; lauf&lt; 9; lauf++) {
		for (i=0; i&lt; 8; i++)
			if (feld[i] &gt; feld[i+1]){ // Dreieckstausch
				dummy=feld[i];
				feld[i]=feld[i+1];
				feld[i+1]=dummy;
			}
    }
}
</code></pre>
<p>Test1.cpp:</p>
<pre><code>#include &lt;stdio.h&gt;

#include &quot;ByteImage.h&quot;

#define SIZE 256

void main(int arg, char** argc){

	ByteImage* Image1 = new ByteImage(&quot;monkewy.tif&quot;);

	unsigned int cols = Image1-&gt;GetNCols();
	unsigned int rows = Image1-&gt;GetNRows();

	ByteImage* Ausgabe = new ByteImage(rows ,cols);

	Image1-&gt;Median(Ausgabe);

	Ausgabe-&gt;Save(&quot;michi.bmp&quot;);

	unsigned char cocomo[SIZE][SIZE] = {0};
	ByteImage* CocoImg = new ByteImage(SIZE, SIZE);

	unsigned int Crows = 0, Ccols =0;

	for(Crows = 0; Crows &lt; rows; Crows++){
		for(Ccols = 0; Ccols &lt; cols; Ccols++){
			cocomo[Image1-&gt;GetPixel(Crows, Ccols)][Image1-&gt;GetPixel(Crows, Ccols +1)]++;
			}
		}

	for(Crows = 0; Crows &lt; 255; Crows++){
		for(Ccols = 0; Ccols &lt; 255; Ccols++){
			CocoImg-&gt;SetPixel(Crows, Ccols, cocomo[Crows][Ccols]);
			}
		}

	CocoImg-&gt;Save(&quot;coco.bmp&quot;);

	}
</code></pre>
<p>Ein Medianfilter ist schon implmentiert. Das hab ich aber mit Kommilitonen gemacht. Das ist aber schon ein Jahr her. Jetzt wollte ich zum Üben den Negativfilter implementieren. Aber irgendwie komm ich grad nicht weiter.</p>
<p>Verwendet wird die FreeImage-Bibliothek.</p>
<p>Danke für eure Hilfe.</p>
<p>Gruß<br />
schmitti81</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131072</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131072</guid><dc:creator><![CDATA[schmitti81]]></dc:creator><pubDate>Mon, 04 Sep 2006 19:08:04 GMT</pubDate></item><item><title><![CDATA[Reply to Negativfilter in c++ on Mon, 04 Sep 2006 19:29:16 GMT]]></title><description><![CDATA[<p>Na dann hast du es doch ...</p>
<p>Du hast ne Methode für GetPixel, womit du auf jeden Pixel zugreifen kannst.<br />
Wenn es nach dem Schema 'pixel = maxpixel - pixel' sein soll, gehst du halt mit einer (oder zwei verschachtelten) for-Schleife(n) über dein Bild und wandelst jeden Pixel nach obiger Formel ab.</p>
<p>Wo liegt da nun das Problem?</p>
<p>edit:<br />
Und da deine Klasse sowieso nur 8bit-Graustufenbild unterstützt, machst es mit dem Wert 255 für maxpixel:</p>
<pre><code class="language-cpp">pixel = 255 - pixel;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1131087</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131087</guid><dc:creator><![CDATA[DarthZiu]]></dc:creator><pubDate>Mon, 04 Sep 2006 19:29:16 GMT</pubDate></item><item><title><![CDATA[Reply to Negativfilter in c++ on Mon, 04 Sep 2006 19:30:16 GMT]]></title><description><![CDATA[<p>Ist das nicht einfach pixel = Weiß - pixel oder auch noch pixel ^= Weiß? (Weiß = 0xFF und 0x00 = Schwarz)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131092</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131092</guid><dc:creator><![CDATA[Ben04]]></dc:creator><pubDate>Mon, 04 Sep 2006 19:30:16 GMT</pubDate></item><item><title><![CDATA[Reply to Negativfilter in c++ on Mon, 04 Sep 2006 19:33:19 GMT]]></title><description><![CDATA[<p>Du musst <strong>jeden</strong> Pixel invertieren.</p>
<pre><code class="language-cpp">bool ByteImage::invert( ByteImage* TMPImage )
{
  // for each row
    // for each col
      SetPixel(row, col, MAX_COLOR - GetPixel(row, col);
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1131094</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131094</guid><dc:creator><![CDATA[finix]]></dc:creator><pubDate>Mon, 04 Sep 2006 19:33:19 GMT</pubDate></item><item><title><![CDATA[Reply to Negativfilter in c++ on Mon, 04 Sep 2006 19:34:47 GMT]]></title><description><![CDATA[<p>finix schrieb:</p>
<blockquote>
<p>Du musst <strong>jeden</strong> Pixel invertieren.</p>
</blockquote>
<p>Das ist jetzt aber nicht dein Ernst, darauf hinzuweisen? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131095</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131095</guid><dc:creator><![CDATA[DarthZiu]]></dc:creator><pubDate>Mon, 04 Sep 2006 19:34:47 GMT</pubDate></item><item><title><![CDATA[Reply to Negativfilter in c++ on Mon, 04 Sep 2006 19:36:19 GMT]]></title><description><![CDATA[<p>p.s. die Image-Klasse scheint kaputt zu sein. Wie stellst du schwarz dar?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131096</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131096</guid><dc:creator><![CDATA[finix]]></dc:creator><pubDate>Mon, 04 Sep 2006 19:36:19 GMT</pubDate></item><item><title><![CDATA[Reply to Negativfilter in c++ on Mon, 04 Sep 2006 21:25:48 GMT]]></title><description><![CDATA[<p>DarthZiu schrieb:</p>
<blockquote>
<p>finix schrieb:</p>
<blockquote>
<p>Du musst <strong>jeden</strong> Pixel invertieren.</p>
</blockquote>
<p>Das ist jetzt aber nicht dein Ernst, darauf hinzuweisen? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
</blockquote>
<p>Doch:</p>
<p>schmitti81 schrieb:</p>
<blockquote>
<pre><code class="language-cpp">// ByteImage.cpp, line 168
/*------------------------------------------------------------------------------
Mein Programm
------------------------------------------------------------------------------*/

bool ByteImage::invert(ByteImage* TMPImage){

    SetPixel = MAX_COLOR - GetPixel;
}
</code></pre>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1131100</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131100</guid><dc:creator><![CDATA[finix]]></dc:creator><pubDate>Mon, 04 Sep 2006 21:25:48 GMT</pubDate></item><item><title><![CDATA[Reply to Negativfilter in c++ on Mon, 04 Sep 2006 21:21:48 GMT]]></title><description><![CDATA[<p>Das hatte ich gar nicht gesehen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /><br />
Davon geht man eigentlich aus, dass das klar ist.</p>
<p>Aber das</p>
<p>finix schrieb:</p>
<blockquote>
<p>Doch:</p>
<p>DarthZiu schrieb:</p>
<blockquote>
<pre><code class="language-cpp">// ByteImage.cpp, line 168
/*------------------------------------------------------------------------------
Mein Programm
------------------------------------------------------------------------------*/

bool ByteImage::invert(ByteImage* TMPImage){

    SetPixel = MAX_COLOR - GetPixel;
}
</code></pre>
</blockquote>
</blockquote>
<p>hab ich nicht geschrieben <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131172</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131172</guid><dc:creator><![CDATA[DarthZiu]]></dc:creator><pubDate>Mon, 04 Sep 2006 21:21:48 GMT</pubDate></item><item><title><![CDATA[Reply to Negativfilter in c++ on Mon, 04 Sep 2006 21:27:37 GMT]]></title><description><![CDATA[<p>DarthZiu schrieb:</p>
<blockquote>
<p>Aber das</p>
<p>hab ich nicht geschrieben <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
</blockquote>
<p>Ja, sorry, C&amp;P-Fehler, meinte natürlich schmitti81.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131179</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131179</guid><dc:creator><![CDATA[finix]]></dc:creator><pubDate>Mon, 04 Sep 2006 21:27:37 GMT</pubDate></item><item><title><![CDATA[Reply to Negativfilter in c++ on Tue, 05 Sep 2006 11:40:27 GMT]]></title><description><![CDATA[<p>Vielen Dank für eure Hilfe.<br />
Ich hab's jetzt hingekriegt.</p>
<p>Gruß<br />
schmitti81</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131424</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131424</guid><dc:creator><![CDATA[schmitti81]]></dc:creator><pubDate>Tue, 05 Sep 2006 11:40:27 GMT</pubDate></item><item><title><![CDATA[Reply to Negativfilter in c++ on Tue, 05 Sep 2006 12:45:15 GMT]]></title><description><![CDATA[<p>&amp; ;meine mutter würde gerne mit euch allen SENFGLAß spielen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f60b.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_savoring_food"
      title=":yum:"
      alt="😋"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /> :: <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /> :livee]ωωωωωωω←μλΠΠΛ<a href="http://man.cx/" rel="nofollow">man:</a> [man]&amp;;&amp;[quote][code][cpp][isbn][wur][java][asm][php][html][gg][gg]site:msdn.microsoft.com [latex] [url] [h][t][b][i][u][e]pi; <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/26a0.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--warning"
      title=":warning:"
      alt="⚠"
    /> BESCHIßEn gelllelellee MUHAHA</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131484</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131484</guid><dc:creator><![CDATA[penis]]></dc:creator><pubDate>Tue, 05 Sep 2006 12:45:15 GMT</pubDate></item><item><title><![CDATA[Reply to Negativfilter in c++ on Tue, 05 Sep 2006 14:19:31 GMT]]></title><description><![CDATA[<p>ich hab ein anderes problem,den ich werde den test erst morgen schreiben und zwar java,also besorgt mit mal material sonst krachts!!! :p</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131572</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131572</guid><dc:creator><![CDATA[schmitti8l]]></dc:creator><pubDate>Tue, 05 Sep 2006 14:19:31 GMT</pubDate></item></channel></rss>