Image Processing toolbox

An image processing toolbox for Matlab.

This project is maintained by nirum

Image Processing toolbox

written by Niru Maheswaranathan (

This toolbox contains some useful scripts for generating and processing image ensembles in Matlab.


  1. This toolbox uses images from the van Hateren natural image database. Download the images from the Bethge lab. A mirror is also hosted by Paul Ivanov at his website.
  2. Specify the path to the image set you want to use (either the linearized .iml images or the deblurred, or calibrated, .imc images) in setupIPT.m
  3. Make sure to run setupIPT.m before using the toolbox. You can add the entire toolbox to your path using pathtool in Matlab.


To use the toolbox, you'll need a copy of Matlab. I haven't figured out exactly what versions are supported yet. It might also work with Octave.

List of functions

Secondary helper functions included in the helper_functions folder are not included in this list.


This code is provided for non-commercial research use only. There are no guarantees that anything works, but let me know if something doesn't work and I will fix it.