Heavy compression artifacts when creating a flat gigapixel panorama (solved)

  • Hi all,

    on my last vacation in Portugal I took a 3 gigapixel panorama

    Everything looks wonderful in Photoshop, including the sky.

    The image has a size of almost exactly 3 gigapixels, 113,104 x 26,553 pixels. Due to the size, the file also has 27.5 GB and I had to load the image directly from the .psb format with the krpano tools v1.21 using the flat.config.

    Now I have very strong compression artifacts in the sky that don't exist in the original Photoshop file. Can I do anything about it? I'm a little at a loss right now.

    Here's a link to the file, please look at the sky, it looks very bad.

    Ferragudo

    And here is the XML code if you need it.


    Thank you! *smile*

    Edited 3 times, last by Woiferl (January 3, 2024 at 4:13 PM).

  • Hi,

    that looks more like 'color banding' instead of compression artifacts...

    You wrote that doesn't exists in Photoshop - is the image there already a 8bit sRGB file?

    If not, try doing the 8bit sRGB conversion first in the Photoshop, then this don't need to be done by the krpano tools. And maybe you see/get the color banding already there.

    To avoid these artifacts to appear, you could try applying a bit noise to that sky region...

    Other approaches that might help could be avoiding the sRGB conversion and embedding the color profile (if that's the origin of the problem, but then the color results 'could' be different across different devices) and/or changing the JPEG compression settings (also only if that's the origin of the cause)...

    Best regards,
    Klaus

  • Many thanks Klaus,

    yes, you're right, that's color banding, unfortunately I said it wrong, sorry.

    It's of course a 16bit file, I'll try to see if it works, output the file to 8 bit in Photoshop and only then continue working with the KR Panotools.

    Thank you also for the tip about the color profile, if the colors on the internet differ a little, I honestly don't care. I work on a calibrated monitor, but what do I know what the rest of the world has or how they see my photos. The colors are important to me for prints, but for the internet it's not really extremely relevant. (my opinion!)

    I find the JPG quality really amazing! Is there actually anything that krpano can't do?

    Ich wünsche Dir ein frohes neues, und ich hoffe Du bist gut rüber gerutscht! *wink* (happy new Year!) *smile*

  • Woiferl January 5, 2024 at 7:03 AM

    Changed the title of the thread from “Heavy compression artifacts when creating a flat gigapixel panorama” to “Heavy compression artifacts when creating a flat gigapixel panorama (solved)”.
  • I have now edited the whole file again, starting with the raw data.

    Obviously I made a mistake somewhere in the image processing, with the new version I can load both the 16bit and 8 bit version into the KRpanoTools without banding.

    Many thanks for the help Klaus, I have learnt a lot again!
    I didn't even know about the options in the "flat.config!

    Now everything looks fine, I'm really happy!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!