Login  Register

The acceptance of variable names by ImageJ Commands

Posted by Dan McDonald on Jun 24, 2011; 4:31pm
URL: http://imagej.273.s1.nabble.com/The-acceptance-of-variable-names-by-ImageJ-Commands-tp3684137.html

Hi List,

 

I am running ImageJ 1.45i under Linux Ubuntu11.04.

 

Some ImageJ Commands which are run in macros with the "Run ( )" commands
accept variables for parameter assignments.  For instance opening a raw
image file Run("Raw." requires passing the width and the height of the file
in pixels.  You can specify the width and height explicitly with integers or
you can use variable names such as "pwidth" and "pheight."  Both work just
fine.

 

Other ImageJ commands such as Run("Scale." only accept explicit numbers and
not variables for the pixel size of the requested width and height of the
scaled image.  Is there a summary of which commands accept what type of
argument?  Other than Java source code?  Will any ImageJ commands accept
array variable values?

 

Regards,

 

Dan

 

Daniel W. McDonald, President

Phenotype Screening Corporation

4028 Papermill Rd, Suite 10

Knoxville, TN 37909

(865) 385-8641

 

Our product, RootViz FS, was a 2007 R&D100 Award Winner. Rated as one of the
100 most technologically significant products introduced into the
marketplace in the prior year.