bug with HSV?

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

bug with HSV?

Cammer, Michael
Is there a bug with moving through HSV stacks via the macro language or do I need to use a different set of commands?

The following code does not work:

  for (i=1; i<=s; i++) {
    selectImage(original);
    setSlice(i);
    run("Duplicate...", "title=HSB"+i);
    run("HSB Stack");
    setSlice(3);

The error is "Argument must be >=1 and <=1 in line 15.
setSlice(3<)>;

Also, I tried run("Next Slice [>]") which returns the error "Stack Required."

Thank you.


_________________________________________
Michael Cammer, Assistant Research Scientist
Skirball Institute of Biomolecular Medicine
Lab: (212) 263-3208  Cell: (914) 309-3270

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html