Ecludian Distance in Image J

plugin
macro
imagej
Tags: #<Tag:0x00007fd5474b9078> #<Tag:0x00007fd5474b8e48> #<Tag:0x00007fd5474b88d0>

#1

Hi Everyone,

I’m very new to image j but i’m trying to calculate the ecludian distance between two image in order to get a numerical answer for my macro.

Is there any way you can read a single pixel value off two images, do maths with those, then save the values?

Thanks for any help


#2

Good day!

Well you can, but you should better use the “Image Calculator” of ImageJ (for getting the difference image).

Use the macro recorder to get the macro commands and have a look at the commented list of macro commands available from:
https://imagej.nih.gov/ij/developer/macro/functions.html

Regards

Herbie