Marcel,
I assume you need the 3rd root of an image. This would be
run("Log");
run("Divide...", "value=3.000");
run("Exp");
If you need a function that computes the third root of number, it might be
print("The third root of 27 is "+thridRoot(27));
function thridRoot(x){
return exp(log(x)/3);
}
Bob
On Aug 15, 2011, at 2:23 PM, Marcel Krzan wrote:
> Hi,
>
> I have problem in my Macro,
> one of the necessary mathematical operations is 3th root of the number
> however I really don't know how to present those function in the ImageJ
> macro.
> Can You help me?
> Regards
> Marcel Krzan
>
>
>
> ___ The message was checked by EMS.___
Robert Dougherty, Ph.D.
President, OptiNav, Inc.
1414 127th Place NE #106
Bellevue, WA 98005
Tel. (425)891-4883
FAX (425)467-1119
www.optinav.com
[hidden email]