Resize filtering/interpolation

Eric-Weichhart wrote on 6/29/2022, 6:11 PM

Hello,

I'm currently editing some videos where I'm struggling with the interpolation.
When resizing, regardless if I do a perfect scale or not (so it shows properly in the preview), rendering leaves a blur effect from the interpolation effect. This is specially problematic when using pixel art for example.

For those who use PhotoShop or VirtualDub (for example), what I want to enable is nearest neighbor to avoid the blur artifacts

Comments

Musicvid wrote on 6/29/2022, 6:36 PM

In order to answer your question, one would need to know whether you are describing field interpolation of interlaced source, or frame interpolation of progressive source, or something else. Also, a description of your rescaling method.

At the minimum, please provide the MediaInfo, your Project Properties, your Render Properties, and visual examples, either screenshot or a sample render uploaded to Drive or Dropbox, thanks.

https://www.vegascreativesoftware.info/us/forum/important-information-required-to-help-you--110457/

Eric-Weichhart wrote on 6/29/2022, 7:51 PM

In order to answer your question, one would need to know whether you are describing field interpolation of interlaced source, or frame interpolation of progressive source, or something else.

I apology that I can't explain properly what I mean, as English being my second language and myself not being an expert in the topic doesn't help.

I did a quick example here if that helps to describe better the issue.

Also, a description of your rescaling method.

Most of the times I use the pan/crop feature, but I calculate in advance a common multiplier to make it pixel perfect.

At the minimum, please provide the MediaInfo, your Project Properties, your Render Properties, and visual examples, either screenshot or a sample render uploaded to Drive or Dropbox, thanks

I currently don't have access to the PC, I will write all the details tomorrow and also prepare an example project as I can't share the original assets.

But I get the blur even if my input and output sources are basically lossless (Pro Res 4444)
Usually when the input and output resolutions are different (Example rendering at 1080p but source is 4k)

Musicvid wrote on 6/29/2022, 9:07 PM

Resizing, either upscaling or downscaling, will always result in some form of image dithering. You are probably used to working with vector graphics; unfortunately video does not work this way, but in a raster graphics environment.

The obvious solution, if you need such precise edges, is to not upscale and not downscale, but create your image exactly the same resolution and dimensions as your project and rendered output, and don't use scaling or pan/crop inside the project. Nonetheless, there will still be some encoding losses at the delivery end; those are unavoidable.

Eric-Weichhart wrote on 6/29/2022, 9:17 PM

I see. In that case I will change the way I work these type of projects, and just use VirtualDub's resize filter for video sources with this specific scenario.

Thank you so much.

Musicvid wrote on 6/29/2022, 9:22 PM