Contrast Enhancer (Filter Rank)

Authors: Jean-Francois Leveque (software at artenum dot com)
G. Landini G.Landini@bham dot ac dot uk
History: 2001/06/19: (version 1.0.3)
2003/12/09: Renamed Filter_Rank and modified by G. Landini
Installation: Download Filter_Rank.class to the plugins folder and restart ImageJ.
Description: This is a contrast-enhancing ImageJ plugin for 8 bit greyscale images. It creates a new contrast-enhanced image from the processed image. It asks for the geometric half length (halfLength) of the contrast-enhancing square. More information is available at

The contrast-enhancing algorithm was proposed by Didier Pelat (Paris Observatory and implemented by Artenum (

Filter_Rank version 1.1.0 based on Contrast_Enhancer_ version 1.0.3

Modified by G. Landini on 23/Nov/2003:

  • Changed "half-length" for "filter window size" (more intuitive)
  • Added option to do (or rather "not to do") rank randomisation, so please be aware of this change in the algorithm
  • Added option for (not to) rescale to 8 bit range (to keep the real rank value)
  • Added option to overwrite the image data (no new image is created)
  • Added capability to filter stacks and to be recordable (for macro creation)
  • Moved dialog to setup()
  • Added "About..."

Pending issues / bugs: When a stack is processed and "Create new image" is checked, it creates individual images rather than a new stack. As a temporary measure do run("Convert Images to Stack"); to merge result into a stack.

Copyright (C) 2001 ARTENUM SARL.

This program is a free software; you can redistribute it and/or modify it under the terms of the GNU General Public license as published by the Free Software Foundation; either version 2 of license, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

|Plugins | Home |