saving an ROI to a file
Posted by
Aryeh Weiss on
Feb 01, 2014; 8:46pm
URL: http://imagej.273.s1.nabble.com/saving-an-ROI-to-a-file-tp5006367.html
I am writing a Python script in which I want to save an ROI.
I thought that RoiWriter ought to do this, with the following method:
|*saveRoi
<
http://imagej.nih.gov/ij/developer/api/ij/plugin/filter/RoiWriter.html#saveRoi%28ij.ImagePlus%29>*(ImagePlus
<
http://imagej.nih.gov/ij/developer/api/ij/ImagePlus.html> imp)|
However, I do not see how to specify the path. RoiReader takes the path
as an argument, but not RoiWriter.
So, tried saving with the Roi manager, while recording the command.
However, the save command did nto record anything. Open form a file
recorded, as did everything else I tried, but not Save...
So I am apparently missing something really obvious, but I must ask --
how does one save an Roi to a file, similar to what the Roi manager does?
Thanks is advance,
--aryeh
--
Aryeh Weiss
Faculty of Engineering
Bar Ilan University
Ramat Gan 52900 Israel
Ph: 972-3-5317638
FAX: 972-3-7384051
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html