Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 4 bit example pictures  
12 comments  




2 Frequency domain  





3 Sound files need explanation  
2 comments  




4 Audio Spectra wrong  
2 comments  













Talk:Dither




Page contents not supported in other languages.  









Article
Talk
 

















Read
Edit
Add topic
View history
 








Tools
   


Actions  



Read
Edit
Add topic
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


4 bit example pictures

[edit]

Would be interesting to see not dithered and dithered pictures with an unoptimized 16 colour vga standard palette. Sure, the first one will look terrible and the second on not really good, but they'll serve as good comparisons to the other pictures and show what's possible with very few colours.

i have several implementations of several dithering algorithms on my end, i would be happy to do this but can you please show me the "unoptimized 16 colour vga standard palette" ? google isn't being helpful lol
Marbelynrye (talk) 08:02, 28 June 2024 (UTC)[reply]
I think the 16-colour VGA palette only makes sense on an old-fashioned colour display that, compared to modern ones, emitted light much more like a lamp, and much less like a piece of paper.
They had the 8 basic colours that may be represented as 000000 (black), 0000FF (blue), 00FF00 (green), FF0000 (red), 00FFFF (cyan), FF00FF (magenta), FFFF00 (yellow) and FFFFFF (white). The other 8 colours were the same with extra highlight.
Now, in modern colour models you cannot add highlight to e.g. FFFFFF (white).
One could instead say that the 8 colour codes I listed are the highlighted ones, and the non-highlighted are the ones where you replace each FF by half (80, say). But that would not be quite right either, as the colours black-without-highlight, black-with-highlight, white-witout-highlight and white-with-highlight in fact formed a sort of greyscale.
The following is something I just made up, but it at least it seems consistent: The non-highlighted colours could be represented as 000000, 0000AA, 00AA00, AA0000, 00AAAA, AA00AA, AAAA00, AAAAAA, and the highlighted as 555555, 5555FF, 55FF55, FF5555, 55FFFF, FF55FF, FFFF55, FFFFFF. (Here, 55 is one third of FF, and AA is two thirds.) (talk) 12:01, 28 June 2024 (UTC)[reply]
so like,
RGB(0 0 0 255)
RGB(0 0 255 1)
RGB(0 128 0 1)
RGB(255 0 0 1)
RGB(0 255 255 1)
RGB(255 0 255 1)
RGB(255 255 0 1)
RGB(255 255 255 1)
RGB(0 0 0 255)
RGB(0 0 127.5 255)
RGB(0 64 0 255)
RGB(127.5 0 0 255)
RGB(0 127.5 127.5 255)
RGB(127.5 0 127.5 255)
RGB(127.5 127.5 0 255)
RGB(127.5 127.5 127.5 255)
?
did 50% color mixes in RGB with black Marbelynrye (talk) 12:18, 28 June 2024 (UTC)[reply]
oops sorry for the tall reply, and ignore the alpha value Marbelynrye (talk) 12:20, 28 June 2024 (UTC)[reply]
here's how that looks like with floyd steinberg error diffusion and basic rgb euclidean distance
dithered
saul goodman (undithered)
Marbelynrye (talk) 12:26, 28 June 2024 (UTC)[reply]
oh shit i think i broke the layout of this page lmao Marbelynrye (talk) 12:26, 28 June 2024 (UTC)[reply]
No, as shown in my last paragraph I would go with the values 00, 55, AA, FF (hex) equal to 0, 85, 170, 255 (decimal), rather than 0, 127.5 and 255 (decimal) (talk) 08:01, 1 July 2024 (UTC)[reply]
ah sorry i don't really understand hexes, i'll try to convert them Marbelynrye (talk) 11:00, 1 July 2024 (UTC)[reply]
is this right?
RGB(0, 0, 0),
RGB(0, 0, 170),
RGB(0, 170, 0),
RGB(170, 0, 0),
RGB(0, 170, 170),
RGB(170, 0, 170),
RGB(170, 170, 0),
RGB(170, 170, 170),
RGB(85, 85, 85),
RGB(85, 85, 255),
RGB(85, 255, 85),
RGB(255, 85, 85),
RGB(85, 255, 255),
RGB(255, 85, 255),
RGB(255, 255, 85),
RGB(255, 255, 255) Marbelynrye (talk) 11:10, 1 July 2024 (UTC)[reply]
Yes. As you said, there are no sources (or we haven't found them) giving such RGB codes for the standard 16-colour VGA palette, so it is based my recollection (which I am sure is fairly accurate) and then devising a scheme that is consistent with this. The exact values 85 and 170 could be different, and my assumption that highlighting adds a fixed values to each channel (R, G and B), irrespective of which colour we are considerng, could be different too; e.g., one could instead let the highlighted values be double the un-highlighted ones, except that would make "highlighted black" still black, and I am sure that would be incorrect. -- By the way, you may want to check out List of monochrome and RGB color formats, which, however, doesn't mention the 16-colour palette. (talk) 13:16, 1 July 2024 (UTC)[reply]
one thing about dithering on wikipedia is that it's never mentioned how much impact the color difference formula might have on the output image, i would add examples of the differences but i have yet to implement all of them haha Marbelynrye (talk) 17:08, 1 July 2024 (UTC)[reply]
The black and white pictures are far more instructive, don't add this Spitzak (talk) 20:32, 1 July 2024 (UTC)[reply]

Frequency domain

[edit]

I deleted the sentence about the ear being more sensitive in the frequency domain. I'm an electrical engineer and this statement makes no sense. Frequency and time domain are two ways of representing the SAME signal. — (unsigned comment by 195.243.189.189, 2005-12-21 01:41:21)

Sound files need explanation

[edit]

The two sample sound files are an excellent addition but need more explanatory text. Has dithering been added to the second sample? If so, what kind of dithering? It would be ideal if there were three samples: 16 bit original, 6 bit without dithering, 6 bit with dithering. Ross Fraser (talk) 21:32, 21 July 2010 (UTC)[reply]

These sound files are not particularly illustrative. It sounds like the dithered version has more than 1 LSB of noise. It is hard to hear the difference between 16-bit and 6-bit truncated. Perhaps we should redo with 3 or 4 bit truncation and best practice for level and shape for the dithered version. ~Kvng (talk) 19:01, 22 December 2022 (UTC)[reply]

Audio Spectra wrong

[edit]

Sorry, but the Audio spectrum is wrong, if the 500 Hz sine would be correctly dithered, no harmonics will be seen. Nothing. Only the added noise will remain. — Preceding unsigned comment added by 91.51.96.47 (talk) 16:51, 21 July 2012 (UTC)[reply]

I agree. There seems to be issues with these 6-bit examples. See my comments above. ~Kvng (talk) 19:04, 22 December 2022 (UTC)[reply]

Retrieved from "https://en.wikipedia.org/w/index.php?title=Talk:Dither&oldid=1232076040"

Categories: 
C-Class computer graphics articles
Mid-importance computer graphics articles
WikiProject Computer graphics articles
C-Class Professional sound production articles
Mid-importance Professional sound production articles
WikiProject Professional sound production articles
 



This page was last edited on 1 July 2024, at 20:32 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki