easydiffusion icon indicating copy to clipboard operation
easydiffusion copied to clipboard

Resizing artefacts / too much smoothing and contrast changes

Open AlphaRayReal opened this issue 2 years ago • 4 comments

The texture of the fabric was almost completly smoothed. Also the face and moss. This problem is sometimes done to blurred areas too (DoF) Rendered image: image

Part of the resized: image

The second problem is the change of white balance and contrast. THe highlights are always risen up and the shadows down, so details in darker areas disappear... The colors are shifted to blue/green and the increased contrast is good visible. Specially on the left top in the larger dark area image

AlphaRayReal avatar Sep 11 '22 17:09 AlphaRayReal

Hi @AlphaRayReal This uses the standard RealESRGAN model under the hood. Do you know which settings of RealESRGAN can help solve this? I can expose those settings in the UI if you'd like. Thanks

cmdr2 avatar Sep 12 '22 07:09 cmdr2

@cmdr2 https://discord.com/channels/1002292111942635562/1003034183716835418/1019169959718420530

And: Guizmus — heute um 11:12 Uhr did you try the goLatent option ? for faces, that was the best option for me, and even fixed lots of little details of the face. With low denoising, it keeps the composition. If you're going for the quality, I would try that.

AlphaRayReal avatar Sep 13 '22 09:09 AlphaRayReal

Comparision of models @ 400 % zoom

Original @ 400% zoom: pic1_400%_original

realsrgan-x4plus 4x_RealSR_DF2K_JPEG 4x_BSRGAN 4x_box 4x_fuzzybox

AlphaRayReal avatar Sep 13 '22 21:09 AlphaRayReal

Comparision of models @ 800 % zoom

Original @ 800% zoom: pic2_800%_original realsrgan-x4plus realsrgan-x4plus_PIC2 4x_RealSR_DF2K_JPEG 4x_RealSR_DF2K_JPEG_PIC2 4x_Nickelback_70000G 4x_Nickelback_70000G_PIC2 4x_box_PIC2 4x_fuzzybox_PIC2

AlphaRayReal avatar Sep 13 '22 21:09 AlphaRayReal

This is unfortunately a limitation of the RealESRGAN model that we use. Will investigate other models in the future.

cmdr2 avatar Apr 11 '23 12:04 cmdr2