/image

An Image toolbox for Torch.

Primary LanguageCOtherNOASSERTION

image Package Reference Manual

Build Status

image is the Torch7 distribution package for processing images. It contains a wide variety of functions divided into the following categories:

Note that unless speficied otherwise, this package deals with images of size nChannel x height x width.

Install

The easiest way to install this package it by following the intructions to install Torch7, which includes image. Otherwise, to update or manually re-install it:

$ luarocks install image

You can test your install with:

$ luajit -limage -e "image.test()"

Usage

> require 'image'
> l = image.lena()
> image.display(l)
> f = image.fabio()
> image.display(f)