Page 1 of 1

What Is The Best Setting To Unblur?

Posted: Thu Nov 28, 2024 11:20 am
by vinylguy
I am having to enlarge a TON of images and love how XnView can do batches and even keep folder structure. However, i can't figure out which action is best to unblur the images, any help would be appreciated. I am enlarging from 450 to 600, and the images aren't the best to begin with, thanks.

Re: What Is The Best Setting To Unblur?

Posted: Thu Nov 28, 2024 2:57 pm
by cday
vinylguy wrote: Thu Nov 28, 2024 11:20 am I am having to enlarge a TON of images and love how XnView can do batches and even keep folder structure. However, i can't figure out which action is best to unblur the images, any help would be appreciated. I am enlarging from 450 to 600, and the images aren't the best to begin with, thanks.
You might take a look at some of the Effect > Filters options, such as Enhance focus, Restore focus and the sharpening options...

If your question concerns options to prevent blur rather than to remove blur that is present, the Image > Resize... function offers a fair number of options to test for your situation, all I can offer is that the default (?) Lanczos options I believe generally works well.

Re: What Is The Best Setting To Unblur?

Posted: Thu Nov 28, 2024 3:30 pm
by michel038
Original (100px)
OriginalCat.jpg
OriginalCat.jpg (4.26 KiB) Viewed 1761 times
.
.

Upscaled by XnViewMp 400%
I tried Image > Resize > 400% , Options = Resample, Keep ratio, Lanczos, Sharpen 60%
The result is better than Upscaling, and adding sharpen afterwards
OriginalCat_XnUpscaledCat.jpg
OriginalCat_XnUpscaledCat.jpg (21.68 KiB) Viewed 1761 times
.

Upscaled by Upscayl (freeware)
400% . Mode: General Photo Esrgan
OriginalCat_upscayl_4x_realesrgan-x4plus.jpg
OriginalCat_upscayl_4x_realesrgan-x4plus.jpg (110.91 KiB) Viewed 1761 times
But I had to wait for about 40s to get the result

Re: What Is The Best Setting To Unblur?

Posted: Thu Nov 28, 2024 4:08 pm
by vinylguy
Thanks Cday and michel038 for you answers.

Cday i will try the effect you mentioned.

michel038 i will also try your method, as it seems pretty good for going up 400%. Does the program upscayl have a batch processing? I wouldn't mind waiting for that result. I have a file structure i have to keep though. Ill look it up and see what i can find out.

Thanks To both of you!

Re: What Is The Best Setting To Unblur and upscale?

Posted: Thu Nov 28, 2024 4:35 pm
by michel038
After some other tests, Upscayl is VERY slow in my PC

But my old graphic card does not support this software, i had to backup vulkan-1.dll >vulkan-1.bkp and copy vk_swiftshader.dll > vulkan-1.dll
So I can't use gpu acceleration

... Yes Upscayl can process folders but I dont'know if subfolders structure will be preserved

Re: What Is The Best Setting To Unblur?

Posted: Thu Nov 28, 2024 4:55 pm
by vinylguy
I am downloading it now, and will run some tests. Thank you for the tip, i hope it will keep the folder structure. If it does, it sounds like it will probably have to run for about 2 days for all the images i have, hehe, but it will be worth it if it works. Thanks again.

Re: What Is The Best Setting To Unblur?

Posted: Thu Nov 28, 2024 5:28 pm
by vinylguy
I downloaded upscayl and it does a fantastic job, but it does not recognize sub folders. I see on github there is a thread to possibly getting this option in the future, so i guess ill just wait to do this and hope upscayl will get this done. Or even better if XnView could add an ai upscaler !! Hint Hint !! XmView is still a great program im sure ill use in future endeavors. Thanks everyone. Especially michel038

Re: Move files forward and back

Posted: Thu Nov 28, 2024 6:00 pm
by michel038
In XnViewMP there is a way to transfer folder names into a metadata such as IPTC Headline (Metadata > Transfer) for JPG pictures
Then copy all files in a temporary work folder
Then use a upscaler
Then , with an old version of xnviewmp , rename upscaled files as {IPTC:Headline}\{Filename}V2 (and jpg extension)
This renaming process moves files to their previous original folder (if folders are still existing) and adds "V2" in the name of modified photos ...
But with recent versions, backslash is no longer authorized in batch rename :( (replaced by -)

It's a bit tricky and risky :mrgreen: