| » Stats |
Members: 103,662
Threads: 85,025
Posts: 1,031,308
Top Poster: Karky (9,548) | | Welcome to our newest member, sheedy | |
If you register for free, you will be able to post threads, vote on polls and lots more. If you have problems with the registration or logging in, please contact the administrator.
 | |
07-07-2002, 11:26 PM
|
Succesfully removing banding Post #1 | | Guest | Succesfully removing banding
I get frustrated when I upload Photoshop's jpeg files to the internet to discover a lot of ?banding? in areas that contain a lot of gradients, like for example a large blue sky. This problem is still one that amazes me, because even if these files look ok in Photoshop or ACDsee, they still show banding when you look at them in a web-browser. This banding problem is not noticeable when the viewer of this webpage is using 32 bit colors. I wanted to find a solution where the same file can be viewed without too much loss in quality, independently if the user is using 16 or 32 bit colors.
Anyway, after reading some articles dealing with this problem it became clear that the best way to solve this problem was by adding some slight noise to the affected areas. Although my problems went away by using a small value of 1, I wasn?t satisfied with the visible noise that was introduced. What nobody really seemed to mention in all these articles, was the idea to add noise to a channel, an idea I was thinking about after reading an article about an old KPT 3 filter, called ?Hue Protected Noise?.
In my case I selecting the red channel of the blue sky and adding a noise value of 3 (yes, even 3 times higher than the original 1 for the RGB layer) really solved my problem. It's now very hard to notice any noise, even by pressing undo/redo a couple of times. The effects in the final jpeg are also really astonishing! I experimented with several other colored gradients in combination with different channels and I achieved very good results!
I have included two files to show you the difference. REMARK! Look at these files with a 16 bit color setting for your graphics card.
You might need to refresh your web-page after you've done that.
| |
| |
07-07-2002, 11:28 PM
|
Succesfully removing banding Post #2 | | Guest | Corrected version
By adding noise to red channel
| |
| |
07-07-2002, 11:41 PM
|
Succesfully removing banding Post #3 | | Spammers, FEAR ME!
Join Date: Jul 2003
Posts: 727
Rep Power: 30 | Succesfully removing banding
wow that is great Gaussian....... for so long I have been crying out how to get rid of the banding without adjusting my video card looks to me like you found a way
I wouldn't have believed it if I hadn't seen it with my own two eyes
well done infact double and tripple well done! [righton] [righton] [righton]
sfm
|
| |
07-08-2002, 12:35 PM
|
Succesfully removing banding Post #4 | | Newb
Join Date: Jul 2003
Posts: 12
Rep Power: 0 | Succesfully removing banding
Great thread Gauss, well done.
Make sure you also try applying the noise to the other channels as well. And try using both types of noise -- uniform & gaussian. See what happens to the image/photo in each case.
Good stuff. [righton]
|
| |
07-08-2002, 06:23 PM
|
Succesfully removing banding Post #5 | | Joe Blow
Join Date: Jul 2003
Posts: 4
Rep Power: 0 | Succesfully removing banding
Me too I appreciate it a lot. Just like most damage in an old photograph can usually be found in the blue channel...
Still, I don't like to manipulate the original material like that. Agreed that you win (less banding) but you also lose because you're stuck with noise everywhere, even where it is not necessary. I suppose that a selective mask, style edge mask must be good to ameliorate this technique.
Let's think about this and come up with a real super solution.
Problem: how can we make a selection/mask that allows us to apply noise only to the banding area's?[:I
|
| |
07-08-2002, 10:51 PM
|
Succesfully removing banding Post #6 | | Guest | Succesfully removing banding
Sorry, but I absolutely don't agree with you on this one Erik.
This gradient problem has frustrated me for a long time and every time I kept reading or hearing that adding noise is the only good way to go, except those suggestions focused on the RGB channel only and not on one or more particular color channels. Sometimes it?s better to work with an acceptable solution then to search a lifetime for that golden egg and I went on a very extensive search in the Photoshop community and never found anything that comes even close to that golden egg.
You have to understand Erik, this technique is focused on WEB graphics and a lot of web designers will be quite happy to get rid of banding even if noise is added, especially knowing that it?s almost impossible to notice, even by doing a continuous undo/redo of the effect in Photoshop.Also, the noise is never added and then saved in the original file, so the original always stays intact.
All the graphics shown on the internet are for viewing purposes only. Every original camera TIFF shot I make is always archived and never touched. I always do my retouching on duplicates. This banding problem is only visible in files viewed on the internet, never in the original. Even if I have a banding problem, it will only really show up if I use ?save for web? and look at the preview window.
I agree it?s always advisable to create a mask first and that?s what I forgot to mention in my first post. Banding is particular visible in large areas that contain gradients of the same color, so in general there will be more cases that it does work rather then that it?s unusable. Create for example a circular rainbow gradient in a 200*200 pixels square and then create the same square and fill it with a circular gradient going from white to any color. You won?t notice any banding in the first example, but you will in the second one, but not so much in the original file but rather in the web preview.
If everyone who browses the internet is using 32 bit color, then most of our banding problems would be history, but since that?s not the case, this seems to be good solution for this particular problem and until now I have found only one serious drawback; the file size increases, but I guess that's the general story with web graphics, it's give and take.
| |
| |
07-09-2002, 09:58 AM
|
Succesfully removing banding Post #7 | | Joe Blow
Join Date: Jul 2003
Posts: 4
Rep Power: 0 | Succesfully removing banding
You are right, Gaussian. It was not my intention to minimise this method to get rid of banding, far from that. But I was not talking about CMYK here. In the link to Margulis' article I was, but only because Margulis himself and the whole article is about CMYK problems.
My idea about the mask is sheer creativity, nothing else. I only learn new things by attacking problems like this. That is one of the advantages of this modsquad thing Mark invented: I have to try to find solutions for problems I can't foresee, so I need to enlarge my knowledge every time.
OK, I did try to "kindle the fire" to get some other people brainstorming with me. But if no one is interested, I'll search for myself. The idea was, in fact, to use some kind of edge mask, like I also use for Unsharp Masking because there's no use to sharpen soft areas and losing hues when it's only the edges that need sharpening. I did not read that you were talking about gifs. I must have overread this. For the web there is indeed no problem as monitors are generally not calibrated and display colours in awful ways. (even monitors of so-called webdesigners.) Indeed, to get rid of banding here can be done by adding noise to a colour channel.
|
| |
07-09-2002, 03:08 PM
|
Succesfully removing banding Post #8 | | Guest | Succesfully removing banding
Good luck with your golden egg Erik [bustagut]
| |
| |
07-09-2002, 03:52 PM
|
Succesfully removing banding Post #9 | | Newb
Join Date: Jul 2003
Posts: 12
Rep Power: 0 | Succesfully removing banding
Good points guys, each of you.
But as for the "golden egg" thingy... perhaps give this idea a shot...
-> Create a large circle of white.
-> Fill it with noise. Then scale it down to a small size.
-> Select the circle, and Feather the selection by about 1/3 it's size. Invert the selection and Delete. This'll give you a soft edged noise dot.
-> Define it as a Pattern/Brush.
-> Use a softedged Airbrush to apply the noise only to the problem areas of the image/photo. If you have a pressure sensitive tablet even better. And this can also be tweaked further with PS 7 and the new brush engine capabilities.
See if that works for ya. |
| |
07-09-2002, 04:45 PM
|
Succesfully removing banding Post #10 | | Guest | Succesfully removing banding
Nice one Mark, didn't think of that one [righton]
| |
| |  | | | Thread Tools | | | | Display Modes | Linear Mode | | » Online Users: 29 | | 0 members and 29 guests | | No Members online | | Most users ever online was 2,128, 07-21-2008 at 08:27 PM. | |