MAMEWorld >> The Loony Bin
View all threads Index   Flat Mode Flat  

Vas Crabb
BOFH
Reged: 12/13/05
Posts: 4464
Loc: Melbourne, Australia
Send PM
Re: Stupid trick to enlarge image
09/01/15 08:37 AM


> > You're talking about nearest-neighbour resampling. That will cause jagged edges, it
> > won't get you smooth enlargement.
>
>
> There's only two ways to "increase resolution":
>
> 1) double pixels - results in "jaggies" and is limited to certain size multiples
> 2) some other method that averages pixels to create new pixels - results in
> "blurries"
>
> The second method is what is most programs use along with some kind of filter like
> "Unsharp Mask"

What you're referring to in the second case is bilinear filtering. In general you don't pass the output of a bilinear filter through an unsharp mask. There are numerous enlargement algorithms, e.g. 2xSAI and its friends that are designed to preserve straight edges at various angles, and waifu2x that uses neural networks and is supposed to produce visually appealing results for anime. Of course none of them will work as well as enlarging a vector image, but there's more to image scaling than nearest neighbour and bilinear filtering.







Entire thread
Subject Posted by Posted on
* Stupid trick to enlarge image GatKong 08/31/15 05:28 AM
. * Re: Stupid trick to enlarge image krick  09/01/15 05:39 AM
. * Re: Stupid trick to enlarge image Vas Crabb  09/01/15 06:54 AM
. * Re: Stupid trick to enlarge image krick  09/01/15 08:08 AM
. * Re: Stupid trick to enlarge image Vas Crabb  09/01/15 08:37 AM
. * Re: Stupid trick to enlarge image Pi  08/31/15 03:53 PM
. * Check this out! A better fix! GatKongModerator  09/01/15 02:17 AM
. * Re: Check this out! A better fix! SmitdoggAdministrator  09/01/15 04:03 AM
. * Re: Check this out! A better fix! GatKongModerator  09/01/15 04:35 AM
. * Re: Check this out! A better fix! SmitdoggAdministrator  09/01/15 05:08 AM
. * Re: Check this out! A better fix! GatKongModerator  09/01/15 05:18 AM
. * Re: Check this out! A better fix! StilettoAdministrator  09/01/15 04:25 PM
. * Re: Check this out! A better fix! SmitdoggAdministrator  09/01/15 05:25 AM

Extra information Permissions
Moderator:  GatKong 
1 registered and 349 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1882