Thread: Weird gradient issues...

Reply to Thread
Results 1 to 10 of 10
  1. #1 Weird gradient issues... 
    I have been noticing this weird gradient issue when I export from REDrushes (or any other debayering program) to a prores 422 file (but it happens with all the other files as well except if I choose to use no codec when exporting).

    The two examples are below:

    This is the original (a big file as its not encoded in any way):
    http://mivid.net/tmp/original.png


    And this is the one transcoded into a Prores 422 file:
    http://mivid.net/tmp/prores422.png

    Notice how the color seems to flow into each other in the original, but jumps in the prores. It looks like the prores is only exporting a limited amount of colors...

    Also on a sidenote, the color is faded and off (gamma?) in all exports except the none codec...

    What is going on? I would appreciate any help!

    Thanks!
    ____________________________________________
    Michael Neborak
    http://mivid.net
    Reply With Quote  
     

  2. #2  
    Member ScottyC's Avatar
    Join Date
    Nov 2008
    Location
    Pittsburgh, PA
    Posts
    58
    This has to do with the bit-depth you are exporting into. RED footage is 12 bit so exporting the footage to, say 8 bit, will give you harsher gradients like you are showing in your example because the lower bits means less colors being used. For example, 8 bit has 256 colors and 16 bit has 65,536 colors. I would suggest a higher quality codec if you really want to get a better gradient but I believe Prores 422 is 10 bit... which is still high quality.
    By over-estimating your problems, you under-estimate your ability to overcome them.

    Reply With Quote  
     

  3. #3  
    Hey Michael, I have found that adding a little bit of noise, or a very slight gaussian blur (masked off in the problematic area) helps with that sort of banding.
    Reply With Quote  
     

  4. #4  
    Member ScottyC's Avatar
    Join Date
    Nov 2008
    Location
    Pittsburgh, PA
    Posts
    58
    Very true! You could also try to soften the image (similar to Raul suggestion of a gaussian blur). It would make the gradient seem much smoother.
    By over-estimating your problems, you under-estimate your ability to overcome them.

    Reply With Quote  
     

  5. #5  
    Senior Member Jim Hoffman's Avatar
    Join Date
    May 2007
    Posts
    589
    This issue drives me crazy too. I have a very difficult time getting out smooth images in many shots. B&W.... ugh. Prores 422 not the easiest to work with when it comes to gradients.
    Jim Hoffman
    Chicago, Illinois
    Reply With Quote  
     

  6. #6  
    Senior Member
    Join Date
    Apr 2007
    Location
    Braunschweig, Germany
    Posts
    2,295
    For critical footage you should work in uncompressed or DPX log. ProRes is not bad, but it's 10 bit an compressed.
    Regards,

    Uli

    My Red is called Vertov after a Russian avantgarde filmmaker, a pioneer in modern cinematography, a true revolutionary who later suffered under Stalin's bureaucracy.
    Reply With Quote  
     

  7. #7  
    Thanks for all the replies! I knew it had to do with the bit depth, but it is unfortunate that there is no solid workaround, just ways to mask it. However, the slight blur idea is a very good one and I will have to try it.

    Best Regards,
    MLN
    ____________________________________________
    Michael Neborak
    http://mivid.net
    Reply With Quote  
     

  8. #8 Tif 
    Senior Member Dan Hudgins's Avatar
    Join Date
    Feb 2007
    Location
    San Francisco, CA USA
    Posts
    1,370
    Thats why I am using uncompressed 48bpp TIF I/O, even DPX will show banding and posterization if you do extreem grading, the extra two bits helps.

    Dithering does not necessarily help if you are going to compression something like MPEG-2 (H.262) later since the grain will stand still for several video fields. I made my dithering on output to 24bpp BMP frames optional for that reason. Otherwise the DVDs can have blocks of "grain" that stand still then blink as fuzz.
    Dan Hudgins is developing "Freeish" 6K+ NLE/CC/DI/MIX File based Editing for uncompressed DI, multitrack sound mixing, integrated color correction, DIY Movie film scanning, and DIY Movie filmrecorder software for Digital Cinema. RED (tm) footage can be edited 6K, 5K, 4.5K, 4K, 3K, 2K, or 1080p etc. see http://www.DANCAD3D.com/S0620200.HTM (sm) for workflow steps.
    Reply With Quote  
     

  9. #9 Sharpen and banding 
    Senior Member Dan Hudgins's Avatar
    Join Date
    Feb 2007
    Location
    San Francisco, CA USA
    Posts
    1,370
    I was thinking that I should mention another issue in banding, you should not sharpen images that have undergone bit reduction.

    If you take a 12bit image and reduce it to 8bits per primary, then sharpen the boundry between tone bands is then exaggerated, that happens because sharpen makes the tone difference at a boundry between two tones greater than one tone step, so you then get a light and dark line along the tone bands. If there is noise or dithering in the edge of the tone bands you then get rings around the noise spots at the edge of the tone bands making the boundry between the tone bands even more obvious.

    When you go from 12bits to 10bits this can be less, but the more you sharpen, the larger the zig-zag that is added along the tone boundries. Its like this:

    Before sharpen:

    Line 400: 120
    Line 401: 120
    Line 402: 120
    Line 403: 121
    Line 404: 121
    Line 405: 121

    After sharpen:

    Line 400: 120
    Line 401: 119
    Line 402: 118
    Line 403: 123
    Line 404: 122
    Line 405: 121

    So you see that rather than a rise of one tone step at the boundry, you now get a rise of five! That sharpened rise is now closer to 6bits rather than 8bits as far as tone smoothness.

    If you blur after the sharpen has been introduced you can reduce the step, but you get more ringing so its best not to have any sharpen of reduced bit depth images at all.

    Adaptive sharpen can help, since it will not sharpen low contrast edges, but you can get a video look that way, since video equipment uses that kind of sharpen to reduce noise/blur pickup in video data.
    Dan Hudgins is developing "Freeish" 6K+ NLE/CC/DI/MIX File based Editing for uncompressed DI, multitrack sound mixing, integrated color correction, DIY Movie film scanning, and DIY Movie filmrecorder software for Digital Cinema. RED (tm) footage can be edited 6K, 5K, 4.5K, 4K, 3K, 2K, or 1080p etc. see http://www.DANCAD3D.com/S0620200.HTM (sm) for workflow steps.
    Reply With Quote  
     

  10. #10  
    This is a serious issue on all redline quicktime renders(All i've ever made anyways). Even when rendering uncompressed quicktimes. If I need full debayer quicktimes for online I usually use REDCINE or render out tiff's from redline and use quicktime pro to render uncompressed quicktimes.
    Beofilm Postproduction
    Reply With Quote  
     

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