WPF - World Photography Forum
Home Gallery Register FAQ Calendar Search Today's Posts Mark Forums Read

Welcome to World Photography Forum!
Welcome!

Thank you for finding your way to World Photography Forum, a dedicated community for photographers and enthusiasts. There's a variety of forums, a wonderful gallery, and what's more, we are absolutely FREE. You are very welcome to join, take part in the discussion, and post your pictures!

Click here to go to the forums home page and find out more.
Click here to join.


Go Back   World Photography Forum > Photography Technique > General Photography Technique


General Photography Technique Discussion on General Photography Technique

Data Compression

Reply
 
Thread Tools
  #41  
Old 05-09-07, 11:55
Chris
Guest
 
Posts: n/a
Default

Hi Robert

for me and any others who are more interested in the answer to a problem than capable of following the maths in the middle, are you able to improve on my empirical blundering (obviously taking an image where there is some detail worth keeping) -

Taking an image that has to be scaled down to about 33% for forum display, I find Lanczos 3 compression has a marginal edge on the image reduced to 768H over Bicubic or Mitchell. Comparing original at 67% & reductions at 200%, Lanczos still has an edge. Comparing the original at its full size and the reductions at 300%, there is virtually nothing to choose between the compressed images.

But there is still a little to be gained on going back over the Lanczos reduced image using 'Local contrast enhancement'. LCE, being done with controlled values, seems much more successful than 'bicubic with sharpen'.

I suspect that there is then no universal answer to the last bit, ie whether in general it is best to use the more subtle sharpening techniques before or after compression? (getting a better camera, better lens and always using a tripod not being a realistic option)
Reply With Quote
  #42  
Old 05-09-07, 13:16
robski robski is offline
Senior Member
 
Join Date: Dec 2005
Location: Kent UK
Posts: 3,739
Default

Chris

Re-sampling is more than slightly off topic for this thread.

The main problem with up or down sampling is which bits do you throw away or expand. The problem is made worse if the re-sizing is not a multiple of the original. i.e your scaling by 1.4567 %. Beat patterns can occur in the image due to pixels within image information changing in position or being added or dropped. After rescaling some techniques apply a dithering to hide regular beat patterns.

I am afraid I don't have a great deal of experience of re-sampling images. A lot of my postings are 100% crops or down-sampled using bi-linear.

Maybe Nigel Blake can offer some input on this topic.
__________________
Rob

-----------------------------------------------------
Solar powered Box Brownie Mk2

Captain Sunshine, to be such a man as he, and walk so pure between the earth and the sea.

WPF Gallery
Birdforum Gallery
http://www.robertstocker.co.uk updated
Reply With Quote
  #43  
Old 05-09-07, 23:38
robski robski is offline
Senior Member
 
Join Date: Dec 2005
Location: Kent UK
Posts: 3,739
Default

Just in case a few of you were wondering what beat patterns are about I thought I would illustrate the effect.

I made an image with alternate black and white 10 pixel wide bars. I then scaled the image by 5.2% using nearest neighbour method ( upper half of attachment) and a method that looks at it's surrounding pixels and dithers (lower half of attachment). If you look in the upper half you will notice that every so often one of the white or black bars is slightly wider. From a distance the eye will pick this up as an interference pattern. In the lower half the dithering has reduced this effect.
__________________
Rob

-----------------------------------------------------
Solar powered Box Brownie Mk2

Captain Sunshine, to be such a man as he, and walk so pure between the earth and the sea.

WPF Gallery
Birdforum Gallery
http://www.robertstocker.co.uk updated

Last edited by robski; 26-07-11 at 22:34.
Reply With Quote
  #44  
Old 26-03-09, 23:09
robski robski is offline
Senior Member
 
Join Date: Dec 2005
Location: Kent UK
Posts: 3,739
Default

I have taken the trouble to tidy most of this information up and posted here

Any feedback, comments or corrections gratefully received.
__________________
Rob

-----------------------------------------------------
Solar powered Box Brownie Mk2

Captain Sunshine, to be such a man as he, and walk so pure between the earth and the sea.

WPF Gallery
Birdforum Gallery
http://www.robertstocker.co.uk updated

Last edited by robski; 26-03-09 at 23:16.
Reply With Quote
Reply

Tags
jpeg compression


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 13:22.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.