smooth_shape

command
v0.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2024 License: BSD-2-Clause Imports: 10 Imported by: 0

README

smooth_shape

This program uses the model2d package to read a raster image of a shape, vectorize it, smooth it out, and save a higher-resolution version of the same image.

Results

I've included a test image for reference. Run this command to reproduce this result:

$ go run . input.png output.png
``` to reproduce these results.

In this example, we take a blurry raster image like so:

![input pickle](input.png)

and produce a much crisper image in 2x the original resolution:

![output pickle](output.png)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL