What Is The Best Setting To Unblur?

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, helmut, xnview

vinylguy
Posts: 4
Joined: Thu Nov 28, 2024 11:06 am

What Is The Best Setting To Unblur?

Post 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.
cday
XnThusiast
Posts: 4187
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: What Is The Best Setting To Unblur?

Post 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.
User avatar
michel038
XnThusiast
Posts: 1410
Joined: Tue Sep 27, 2016 8:18 am
Location: France

Re: What Is The Best Setting To Unblur?

Post by michel038 »

Original (100px)
OriginalCat.jpg
.
.

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
.

Upscaled by Upscayl (freeware)
400% . Mode: General Photo Esrgan
OriginalCat_upscayl_4x_realesrgan-x4plus.jpg
But I had to wait for about 40s to get the result
You do not have the required permissions to view the files attached to this post.
vinylguy
Posts: 4
Joined: Thu Nov 28, 2024 11:06 am

Re: What Is The Best Setting To Unblur?

Post 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!
User avatar
michel038
XnThusiast
Posts: 1410
Joined: Tue Sep 27, 2016 8:18 am
Location: France

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

Post 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
Last edited by michel038 on Thu Nov 28, 2024 6:10 pm, edited 1 time in total.
vinylguy
Posts: 4
Joined: Thu Nov 28, 2024 11:06 am

Re: What Is The Best Setting To Unblur?

Post 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.
vinylguy
Posts: 4
Joined: Thu Nov 28, 2024 11:06 am

Re: What Is The Best Setting To Unblur?

Post 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
User avatar
michel038
XnThusiast
Posts: 1410
Joined: Tue Sep 27, 2016 8:18 am
Location: France

Re: Move files forward and back

Post 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: