Changing Cell Counter type name

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Changing Cell Counter type name

Ai Na
Hi,

I am new to ImageJ and have just discovered the cell counter plugin by Kurt
De Vos. I would like to change the name of cell counter type from Type 1 to
Spine and wonder if this is possible and has anyone tried it?

Also, I tried to paste the following macros to change the counter type at
the end of StartupMacros.txt and restart.

  macro "Type 1 [1]" {call("CellCounter.setType", "1");}
  macro "Type 2 [2]" {call("CellCounter.setType", "2");}
  macro "Type 3 [3]" {call("CellCounter.setType", "3");}
  macro "Type 4 [4]" {call("CellCounter.setType", "4");}
  macro "Type 5 [5]" {call("CellCounter.setType", "5");}
  macro "Type 6 [6]" {call("CellCounter.setType", "6");}
  macro "Type 7 [7]" {call("CellCounter.setType", "7");}
  macro "Type 8 [8]" {call("CellCounter.setType", "8");}

However, this error appeared when I pressed the number corresponding number:

"Could not find the method setType with 1 parameter(s) in class CellCounter
in line 247.
macro "Type 3[3]"{call("CellCounter.setType","3"<)>;}

Please advise.

Many thanks in advance,

Ai Na