Login  Register

Macro for subtracting values

Posted by Yasushi Sato on Oct 29, 2008; 12:55pm
URL: http://imagej.273.s1.nabble.com/Macro-for-subtracting-values-tp3694631.html

Dear ImageJ experts,

I would like to use a macro for subtracting background of light microscope
color image for measuring the gray value of interested area.

run("8-bit");
run("Invert");
run("Histogram");

Then I hope to subtract "mode" of histogram from the image.
Alternatively, I hope to subtract the minimum gray value in the peaks in
histogram from the image.

However I am a beginner of ImageJ macro.

Could anyone show me the example of the two macros?

Sincerely yours,

Yasushi Sato