<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi Gerrit,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">This email list is for discussing issues relevant to the development of ImageJ2. I think you want to post your question to the ImageJ mailing list. You can learn more about the list here: <a href="http://rsbweb.nih.gov/ij/list.html" target="_blank">http://rsbweb.nih.gov/ij/list.html</a></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 28, 2013 at 7:52 AM, Polder, Gerrit <span dir="ltr"><<a href="mailto:gerrit.polder@wur.nl" target="_blank">gerrit.polder@wur.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Since today my calibration software doesn't work anymore.<br>
After a little bit of debugging it looks like setCalibration in ImagePlus doesn't set the calibration.<br>
<br>
this code:<br>
        ImagePlus overlay_im = new Duplicator().run(imp);<br>
        IJ.log("1-> "+cal.getCalibration() + " - " + cal.getCalibration().scaled());<br>
        overlay_im.setCalibration(cal.getCalibration());<br>
        IJ.log("2-> " + overlay_im.getCalibration()+ " - " + overlay_im.getCalibration().scaled());<br>
produces this output:<br>
1-> w=0.19120458891013384, h=0.19120458891013384, d=1.0, unit=mm, f=20, nc=null, table=null, vunit=Gray Value - true<br>
2-> w=1.0, h=1.0, d=1.0, unit=pixel, f=20, nc=null, table=null, vunit=Gray Value - false<br>
<br>
any help?<br>
<br>
Gerrit.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
ImageJ-devel mailing list<br>
<a href="mailto:ImageJ-devel@imagej.net">ImageJ-devel@imagej.net</a><br>
<a href="http://imagej.net/mailman/listinfo/imagej-devel" target="_blank">http://imagej.net/mailman/listinfo/imagej-devel</a><br>
</blockquote></div><br></div>