shuffle

package
v0.0.0-...-6cd0f2a Latest Latest
Warning

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

Go to latest
Published: May 1, 2015 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package shuffle implements functions to randomly swap pixels in an image.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Horizontally

func Horizontally(img image.Image) image.Image

Horizontally shuffles the pixels in the Image along the horizontal axis only.

func Shuffle

func Shuffle(img image.Image) image.Image

Shuffle moves the pixels in the Image to new, randomly chosen positions.

func Vertically

func Vertically(img image.Image) image.Image

Vertically shuffles the pixels in the Image along the vertical axis only.

Types

This section is empty.

Jump to

Keyboard shortcuts

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