Login  Register

Re: Rename ROIs lose Z position

Posted by Chad McCormick on Mar 15, 2011; 3:06pm
URL: http://imagej.273.s1.nabble.com/Rename-ROIs-lose-Z-position-tp3685300p3685301.html

Johannes,

Thanks for your input.  Given your suggestion, I've updated my code so that when I rename the ROIs, I preserve the existing (4digit)-(4digit)-something architecture by appending a delimiter with my specific name.  This way ImageJ can still use the method getSliceNumber properly and I can still manage the names of ROIs as I see fit.  Any sorting or calls to specific ROIs based on name can be done by splitting the name at the delimiter.

Example:
Before zzzz-yyyy-xxxx
After zzzz-yyyy-xxxx#cellName_subCellularName

Again, this is only a workaround as it would be nice if ImageJ did not store the Z position in the ROI name as it already does not store the XY position in the ROI name.

Thanks again for your help.

-- Chad McCormick