setLineWidth question
Posted by Cammer, Michael on Dec 05, 2010; 5:56pm
URL: http://imagej.273.s1.nabble.com/setLineWidth-question-tp3686294.html
Dear Imagers,
We want to measure the intensities along the edges of a circle, polygon, or freehand drawn or extracted ROI. Getting the edge coordinates appears to work fine. However, when we try to change the linewidth (code below), it doesn't change from the value set by doubleclicking on the line tool and setting it there. Is there a different command we should be using? (Also, doublclicking on the line tool and entering a value is not recorded in the Recorder window.) We are using v1.44j and 1.44k with 32 bit Java 1.6.0_10 on a Vista PC.
linewidth = 5;
setLineWidth(linewidth);
makeSelection("freeline", xCoords, yCoords);
run("Plot Profile");
or
linewidth = 5;
makeSelection("freeline", xCoords, yCoords);
setLineWidth(linewidth);
run("Plot Profile");
Thank you.
_________________________________________
Michael Cammer, Assistant Research Scientist
Skirball Institute of Biomolecular Medicine
Lab: (212) 263-3208 Cell: (914) 309-3270
------------------------------------------------------------
This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is proprietary, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, disclosure, or distribution is prohibited. If you have received this email in error please notify the sender by return email and delete the original message. Please note, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email.
=================================