Login  Register

how to create a macro for some data processing

Posted by Risa Ishida on Nov 08, 2013; 10:38pm
URL: http://imagej.273.s1.nabble.com/how-to-create-a-macro-for-some-data-processing-tp5005512.html

I’m beginner of Imagej and need to make a script, but I’m in trouble. I have one image data “A” as reference and each data “B”, more than 100 images, in a directory. I would like to find a total absolute difference value for all pixels between the A as reference and each data B in directory using the equation below. Could you tell me how to create a macro?

Σ{ | imageA - imageB | / imageA }
Both of A and B have same pixel size and same bit number.

Thank you in advance.
Risa