[ImageJ-devel] strange behaviour using calibration object.

Barry DeZonia bdezonia at gmail.com
Mon Jan 28 13:05:02 CST 2013


Hi Gerrit,

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: http://rsbweb.nih.gov/ij/list.html


On Mon, Jan 28, 2013 at 7:52 AM, Polder, Gerrit <gerrit.polder at wur.nl>wrote:

> Since today my calibration software doesn't work anymore.
> After a little bit of debugging it looks like setCalibration in ImagePlus
> doesn't set the calibration.
>
> this code:
>         ImagePlus overlay_im = new Duplicator().run(imp);
>         IJ.log("1-> "+cal.getCalibration() + " - " +
> cal.getCalibration().scaled());
>         overlay_im.setCalibration(cal.getCalibration());
>         IJ.log("2-> " + overlay_im.getCalibration()+ " - " +
> overlay_im.getCalibration().scaled());
> produces this output:
> 1-> w=0.19120458891013384, h=0.19120458891013384, d=1.0, unit=mm, f=20,
> nc=null, table=null, vunit=Gray Value - true
> 2-> w=1.0, h=1.0, d=1.0, unit=pixel, f=20, nc=null, table=null, vunit=Gray
> Value - false
>
> any help?
>
> Gerrit.
>
>
>
>
>
>
>
> _______________________________________________
> ImageJ-devel mailing list
> ImageJ-devel at imagej.net
> http://imagej.net/mailman/listinfo/imagej-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20130128/3f4bb26c/attachment.html>


More information about the ImageJ-devel mailing list