Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly x86 > Re: MMX speedup...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 4647 of 4825
Post > Topic >>

Re: MMX speedup for Floyd Steinberg error diffusion

by "Novosad, Stephan R." <spamtrap@[EMAIL PROTECTED] > May 13, 2008 at 07:15 AM

This is a multi-part message in MIME format.

------_=_NextPart_001_01C8B503.CC8C8DB0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Terje wrote:

> (It seems intuitively obvious that you must first determine the 3D =
outer
> boundary of the volume that surrounds all the true color pixels, then
> make sure that the surface described in the same space by your palette
> selection can cover the same volume: Any point outside the outside
> boundary is impossible to reach using any linear combination of the =
pal
> entries on the inside, right?)

   Right.  And as most palette reduction algorithms shrink
the number of colors by averaging a span of colors, the
gamut is reduced.  With 256 colors this usually is not too
bad.  But with 16 color images, the error diffusion can
cause some "amusing" results until you debug your code, as
large ****tions of the image are outside the reduced palette.
Implies that the palette reduction problem can change with
the final number of colors wanted.  The pairwise clustering
algorithm  that I use works nicely for 256 colors.  And it
sometimes works well with 16.  But it is slow.

Steve N.

------_=_NextPart_001_01C8B503.CC8C8DB0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7653.19">
<TITLE>Re: MMX speedup for Floyd Steinberg error diffusion</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>Terje wrote:<BR>
<BR>
&gt; (It seems intuitively obvious that you must first determine the 3D =
outer<BR>
&gt; boundary of the volume that surrounds all the true color pixels, =
then<BR>
&gt; make sure that the surface described in the same space by your =
palette<BR>
&gt; selection can cover the same volume: Any point outside the =
outside<BR>
&gt; boundary is impossible to reach using any linear combination of the =
pal<BR>
&gt; entries on the inside, right?)<BR>
<BR>
&nbsp;&nbsp; Right.&nbsp; And as most palette reduction algorithms =
shrink<BR>
the number of colors by averaging a span of colors, the<BR>
gamut is reduced.&nbsp; With 256 colors this usually is not too<BR>
bad.&nbsp; But with 16 color images, the error diffusion can<BR>
cause some &quot;amusing&quot; results until you debug your code, as<BR>
large ****tions of the image are outside the reduced palette.<BR>
Implies that the palette reduction problem can change with<BR>
the final number of colors wanted.&nbsp; The pairwise clustering<BR>
algorithm&nbsp; that I use works nicely for 256 colors.&nbsp; And it<BR>
sometimes works well with 16.&nbsp; But it is slow.<BR>
<BR>
Steve N.</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C8B503.CC8C8DB0--
 




 1 Posts in Topic:
Re: MMX speedup for Floyd Steinberg error diffusion
"Novosad, Stephan R.  2008-05-13 07:15:30 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 14 11:29:36 CDT 2008.