imaging

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: MIT Imports: 3 Imported by: 2

README

imaging

A little image processing library written in Go

Overview

imaging is a small image processing library written in Go. You can use this library in your code by importing it as a package, or you can use the CLI directly by cloning this repo and compiling the program. There is also a template for deploying the code to AWS, which allows you to use the functions in a web browser.

Dist

dist generates a "distance image" which is a grayscale image where each pixel's luminance is relative the center of the image. These types of images can be useful anytime you need a quick test image as a placeholder.

Try this in your browser imaging.micahwalter.com/dist?width=800&height=400. You can adjust the width and height.

Steps

steps generates a "step wedge" test image. These types of test images can be useful when calibrating a camera system.

Try this in your browser imaging.micahwalter.com/steps?width=800&height=400. You can adjust the width and height.

Documentation

Overview

Package imaging exports a few tools for image processing

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dist

func Dist(width, height int) image.Image

Dist returns a "distance image" where each pixel's luminance is based on its distance to the center of the image

func Steps

func Steps(width, height int) image.Image

Steps returns a grayscale image divided into 10 equal steps https://varis.com/PDFs/DigitalZoneSystem-Part-1.pdf

Types

This section is empty.

Jump to

Keyboard shortcuts

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