Compression
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives FAQs Compression

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old June 12th, 2008, 01:01 PM
jacko
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Improving the quality of a blocky image

<snip>
Does anyone have any idea how I could go about converting jacko's
method using Photoshop into a format I could perform using Matlab?:

Some idea but don't know how exact this is

1) scale to twice size x and y, with the interpolated value depending
on the weighted sums of the four by four grid of pixels surrounding it
(i think this is bicubic).
2) quantize each pixel to 1 bit black or white and diffuse the
risidual error of the quantization into surrounding pixels at 1/12 for
a corner and 1/6 for a side. then see if any pixels changed their
final 1 bit quantization and repeat risidual diffusion. look up floyd
steinberg for the absolute best on this. This process diffuses the
block boundries which have been smoothed into each other but the image
looks VERY pixelated. but the noise is all above 4 pixels in
frequency, well most of it.
3) then blur it by bleeding pixels into each other, via a low pass
filter set to use only closest neighbours (i think thats what happens)
this is done twice as a third time has not much percievable
improvement (not any).
4) all the noise is in the high frequencies and so a weighted SNR
would benefit my methods.

hope this helped.


Reply With Quote
  #2  
Old June 14th, 2008, 05:00 PM
jacko
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Improving the quality of a blocky image

Sorry to industrial one for making this a fourth post in a row, but I
should point out that if floyd-steinberg dithering is used to
preprocess an image to reduce the colour plane, then maybe a walsh
transform would suite the process better than a DCT.

just a thought.

cheers

Reply With Quote
  #3  
Old June 14th, 2008, 05:00 PM
jacko
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Improving the quality of a blocky image

And my final word on the matter is that I guess the phase of the walsh
functions at high frequencies (in the oversample range particularly)
do not matter as much as single pixel errors in location are less
objectionable than multi pixel mis location errors of the lower
frequencies. Also the huffmann overhead of variable length symbols is
avoided. A slight noise bleed is tolerable.

Maybe constraining dithering to horizontal scan lines helps with the
amount of oversampling needed, but maybe it doesn't. Work with 1 bit
DACs suggests a 4 * oversample is sufficient.

cheers.

p.s. I say no more.

Reply With Quote
Reply

Viewing: Web Development Archives FAQs Compression > Improving the quality of a blocky image


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway