Author: Camillo Bosco (camillo.bosco@studenti.unict.it) Advisor: Prof. Sebastiano Battiato (battiato@dmi.unict.it) History: This plugin was implemented in July 2005 Works with:
8-bit images (grayscale and indexed) and RGB images ImageJ's version: 1.33u (used to develop this plugin) Source: Power_Law.java Installation: Download Power_Law.java to the plugins folder and compile it with the "Compile and Run" command. Restart ImageJ to add the "Power Law" command to the Plugins menu.
Description: This plugin implements the exponential transform operator for image enhancement in the spatial domain.
It is defined as follows:
s=c*(r^gamma)
where c and gamma are positive constants, r is the value of the input pixel and s is the corresponding value of the output pixel.
Changing the gamma parameter's value user can control the effects of this operator:
if gamma is less than 1 this transformation is similar to the logarithm operator;
if gamma is equal to 1 it is possible to obtain the identity transformation;
if gamma is greater than 1 the transformation curves have exactly the opposite effect as those generated with values of gamma less than 1;
Therefore this operator allows to define a family of possible transformation curves.
By varying the constant c other different transformation curves can be found.
Usage: Here is a brief description:
1) Choose your preferred float values for gamma (with 0 < gamma <=25) and c (scale factor) with c!=0 and c > 0;
2) Click on the button "Draw" to draw the graph for the chosen parameters values;
3) If you want, click on the button "List" to view the LUT values;
4) Also the possibility to save the graph in GIF format is provided by clicking on the button "Save";
5) Click on the button "Preview" to view as the image would be if it was processed according to the chosen transform curve;
6) Click on the button "Apply" to definitively apply the current transform to the image;
7) Click on the button "Help & Info" to view some information about this plugin;
You can also draw the chosen curve using the slider which allows to select the gamma value.
Downloads:
Bosco C., A presentation of this project provided by C.Bosco (in Italian); | ImageJ Plugins Page | ImageJ Home Page | IPLab@CT Home Page |