Login  Register

how to put argument in adjust contrast/brightness macro

Posted by Chris Clarin on Feb 15, 2008; 9:25am
URL: http://imagej.273.s1.nabble.com/how-to-put-argument-in-adjust-contrast-brightness-macro-tp3697190.html

Good day,

just another question, I have a macro using run("Brightness/Contrast...");
such that it shows the B&C window and then I have run("Apply LUT..."); but
before I can do this, I am having an error such that according to the
prompt, i have to adjust my B&C table first before I can apply LUT which I
understand perfectly. My question is, how can I put in my macro (as an
argument) the value that I want to adjust my contrast/brightness with? such
that it won't be a user input anymore. for example, I want to increase it to
30% more or to 255, etc...how can i do that?

thank you very much!!!

chris
-------------------------------------------------------------------
Christine T. Clarin
UP Department of Computer Science
Work/Fax: (02) 434-3877
Mobile: (+63917) 482-3606
Email: [hidden email]