A Sharper Scaling

A Sharper Scaling is a high quality image scaling technology mainly developed for upscaling.

An implementation for Microsoft Windows is available as freeware from this site.

Examples

The following examples are most clear if the images are viewed in their original resolution. Otherwise, the browser does another image scaling on top, somewhat obfuscating the differences these examples are about.

It's usually easy to get the original resolution shown. On a Windows PC or Notebook, just hold down the Ctrl key and spin the mouse wheel up or down until the left side pattern of this test stripe looks exactly like a miniature version of the right side pattern (chessboard-like).

For comparison, all examples show the results of two conventional methods as well. Bicubic interpolation is what most image editors offer as the most appropriate method for image scaling. The interpolation results are a bit blurry, so another conventional action might be to sharpen them. (The sharpening method used for the examples is "unsharp masking".)

The 3rd alternative shown is a scaling method Adobe introduced in 2013 with Photoshop CC, called "Preserve Details". (I suppose it's also based on bicubic interpolation internally, but I may be wrong.) The function has a single adjustment "Reduce Noise" which was set to zero for the test because the pictures have very little noise only.

Example pictures to scale:

Scaling, 200% Bicubic interpolation Bicubic interpolation and sharpen Photoshop Preserve Details A Sharper Scaling

Scaling, around 150% Bicubic interpolation Bicubic interpolation and sharpen Photoshop Preserve Details A Sharper Scaling

Scaling, around 200% Bicubic interpolation Bicubic interpolation and sharpen Photoshop Preserve Details A Sharper Scaling

Scaling, around 250% Bicubic interpolation Bicubic interpolation and sharpen Photoshop Preserve Details A Sharper Scaling

Scaling, around 300% Bicubic interpolation Bicubic interpolation and sharpen Photoshop Preserve Details A Sharper Scaling

Digital Zoom

Small versions of whole pictures are probably not the most typical use case for image upscaling. Ideally, upscaling is the first geometric transformation, which means that the input still has the resolution of the camera. The next examples are details of pictures coming directly from the cam:

(These are critical details not random. Many other details don't show much difference between A.S.S. and a sharpened interpolation.)

Scaling, around 150% Bicubic interpolation Bicubic interpolation and sharpen Photoshop Preserve Details A Sharper Scaling

Scaling, around 200% Bicubic interpolation Bicubic interpolation and sharpen Photoshop Preserve Details A Sharper Scaling

Scaling, around 250% Bicubic interpolation Bicubic interpolation and sharpen Photoshop Preserve Details A Sharper Scaling

Scaling, around 300% Bicubic interpolation Bicubic interpolation and sharpen Photoshop Preserve Details A Sharper Scaling

Apart From Scaling

Although A Sharper Scaling does nothing but scaling images, it can also contribute to the quality of other geometric transformations like rotation, perspective correction, or lens distortion correction. Just upscale the image by a factor of x before the transformation and downscale it back by x after that. Whether this has a benefit or not depends on the image editor used and the type of transformation. (In the example, x was chosen to be 2. The image editor used was Adobe Photoshop CC 2015.)

Perspective Correction Image after perspective correction using an image editor The same operation with A.S.S. as an intermediate step Detail of the 1st enlarged Detail of the 2nd enlarged

Software

Specification Supported source formats JPEG, TIFF, PNG, BMP

(color images only, 8 bits per channel only) Supported output formats JPEG, TIFF, PNG Scaling factor 50% to 400% Max source image size

Max output image size The tool has limitations in this regard because of the limited 32 bit address space. It's a complex combined limitation involving all parameters. For many use cases, that limitation should be far from being a problem. For example, the tool can scale a quarter of a 50 Megapixels image by 200%, resulting in another 50 Megapixels image. Alpha channel support No. The alpha channel of the source image is ignored. Output is always without alpha channel. Bulk processing Yes Command line A command line tool is included in the download. Operating system Microsoft Windows Vista¹, 7, 8, and 10

¹For Windows Vista the .NET Framework 3.5 must be installed. License Creative Commons by-nd (binaries only)

Alternatively available: Mobile (zipped) version, no installation required

Version history:

1.2 (23-Apr-2017) Bug when overwriting the file fixed. Explanation of sizing modes. 1.1 (5-Nov-2016) Improved handling of large images. An additional (4th) sizing mode. Metadata of source image is copied to output. Bulk processing. Command line usage possible. Settings are remembered. Processing speed improved. 1.0 (1-Oct-2016) First version.

FAQ

When I try to run the installer, there's a malware alert from my security software or operating system. What does that mean? ››› Yes, that's because it's an obscure binary downloaded from the Internet. From the security point of view, such file is dangerous. You have to decide whether you trust me or not.

››› Yes, that's because it's an obscure binary downloaded from the Internet. From the security point of view, such file is dangerous. You have to decide whether you trust me or not. What further development is planned? ››› Quality improvement: maybe. Speed improvement: unlikely. Support for 16 bits per channel: unlikely. A 64 bit version: unlikely. A MacOS version: out of reach. This is not a professional software. It's not based on the right technologies for performing fast, handling large data, supporting multiple platforms. I have to compromise, it's just a spare time project.

Developer

A Sharper Scaling is developed by Steffen Gerlach

Lange Sträucher 39, 63743 Aschaffenburg, Germany



Legal Disclosure

See: legal disclosure.