image Package Reference Manual

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

Usage

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