SSIM family .java and .class
Plugin to calculate SSIM family
To install the plugin, download and unzip this file inside the folder "ImageJ -> plugins". It creates several files and one folder:
- All_indexes_14.java ("14" refers to the version) The plugin source code. Open it in ImageJ. You have to open two images in ImageJ, those you want to calculate the indexes. One is the Reference and the other one is the Test. Select "Compile and Run" and the plugin calculates the 16 indexes.
- Libreria_01_Gabriel It is a folder. There are some necessary functions in it
- fig.5(a).bmg and fig.5(e).jpg Two test images (these on the left).
- All indexes.txt or .csv The 16 index values for the previous test images in text and csv format.
If you need to process many images, you can use one of these macros inside ImageL:
- Batch_radiologia_ONE_FOLDER.ijm It automates the calculations in a batch job. You can compare one image open in ImageJ with a big amount of images in a specific folder.
- Batch_radiologia_TWO_FOLDERS.ijm It automates the calculations in a batch job. You can compare two folders with images in pairs, first one in the first folder to the first image in the second folder and so on.
Please, quote:
Gabriel Prieto Renieblas, Agustín Turrero Nogués, Alberto Muñoz González, Nieves Gómez León, Eduardo Guibelalde del Castillo,
"Structural similarity index family for image quality assessment in radiological images"
Journal of Medical Imaging 4(3), 035501 (26 July 2017). http://dx.doi.org/10.1117/1.JMI.4.3.035501
Java Code by:
Gabriel Prieto Renieblas. 01/11/2017. "Structural similarity index family as a Java plugin for ImageJ"
Departament of Statistics and Operations Research. Faculty of Medicine. Universidad Complutense. Madrid. SPAIN.
https://www.ucm.es/gabriel_prieto gprietor@ucm.es
Permission to use, copy, or modify this software and its documentation for educational and research purposes only and without fee is hereby granted, provided that this copyright notice and the original authors' names appear on all copies and supporting documentation. This program shall not be used, rewritten, or adapted as the basis of a commercial software or hardware product without first obtaining permission of the authors. The authors make no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
ImageJ by W. Rasband, U. S. National Institutes of Health, Bethesda, Maryland, USA,
http://rsb.info.nih.gov/ij/. 1997-2017. November 1st 2017