<div dir="ltr">Hi Gerrit,<div><br></div><div><div><font face="arial, sans-serif">> Is there a way to downgrade Fiji, in order to test this with 1.47h?</font></div><div><font face="arial, sans-serif"><br></font></div><div>
<font face="arial, sans-serif">You can use Help > Update ImageJ... to switch the version of core ImageJ from 1.47i to older versions like 1.46. However, AFAIK it does not support intermediate versions like 1.47h. But you can also just delete ij-1.47i.jar out of the jars folder and put ij-1.47h.jar there instead, and that will do the trick.</font></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">> is Barry DeZonia right, does this question better fit on the regular</font></div><div><font face="arial, sans-serif">> list?</font></div>
</div><div><br></div><div>The following page describes the intended uses of the lists:</div><div> <a href="http://developer.imagej.net/mailing-lists" target="_blank">http://developer.imagej.net/mailing-lists</a><br></div>
<div>
<br></div><div>But it is not a big deal either way; most of the ImageJ developers read both lists anyway.</div><div><br></div><div>Regards,</div><div>Curtis</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Jan 28, 2013 at 3:41 PM, 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">
Wayne,<br>
<br>
thanks, the thing is I have a separate class cal, it's a class I wrote myself.<br>
This class implements the getCalibration functions which returns a Calibration object, in which I filled w,h and the unit.<br>
So I can imagine that you can't compile it. I did show this on the last developer conference, maybe you remember it.<br>
This class detects a blue area in the image and decodes the qrcode within this area and does a calibration based on a black disk with holes.<br>
The number of holes determines the size of the disk. I'm currently making a separate plugin for this calibration and decode.<br>
The idea is that the plugin gives a new image with only the blue area, the decoded qrcode as title and calibrated according to the disk.<br>
This way this information can be used in other plugins. I don't see other ways to get this information from the plugin.<br>
Or I need to return a resultstable which is little bit of overkill in my opinion.<br>
<br>
I don't see why IJ.log("1-> "+cal.getCalibration() + " - " + cal.getCalibration().scaled()); works,<br>
and overlay_im.setCalibration(cal.getCalibration()); not.<br>
Even more since it worked properly last week ????<br>
The only thing which was changed is the Fiji update this morning, I believe ij1.47h to 1.47i, along with other libraries.<br>
<br>
In the mean time I found another problem, I have implemented the run(ImageProcessor ip) in my plugin.<br>
I do a ip.setroi(roi of blue region) at the end and after running the plugin this roi was set on the input image.<br>
It is very handy to have this information for further processing of the input image.<br>
This behavior also stopped working this morning, the roi now is set to the whole image.<br>
<br>
Is there a way to downgrade Fiji, in order to test this with 1.47h?<br>
<br>
is Barry DeZonia right, does this question better fit on the regular list?<br>
<br>
I'm a little bit confused,<br>
thanks,<br>
Gerrit.<br>
<div><div><br>
<br>
<br>
On 28 jan. 2013, at 21:12, "Rasband, Wayne (NIH/NIMH) [E]" <<a href="mailto:rasbandw@mail.nih.gov" target="_blank">rasbandw@mail.nih.gov</a>> wrote:<br>
<br>
> On Jan 28, 2013, at 8:52 AM, Polder, Gerrit wrote:<br>
><br>
>> 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>
> Your code does not compile but this version works as expected:<br>
><br>
> ImagePlus imp = IJ.getImage();<br>
> ImagePlus imp2 = new Duplicator().run(imp);<br>
> IJ.log("1-> "+imp.getCalibration() + " - " + imp.getCalibration().scaled());<br>
> IJ.log("2-> " + imp2.getCalibration()+ " - " + imp2.getCalibration().scaled());<br>
><br>
> This is the output:<br>
><br>
> 1-> w=0.02, h=0.02, d=0.02, unit=mm, f=20, nc=null, table=null, vunit=Gray Value - true<br>
> 2-> w=0.02, h=0.02, d=0.02, unit=mm, f=20, nc=null, table=null, vunit=Gray Value - true<br>
><br>
><br>
> -wayne<br>
><br>
><br>
><br>
><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
ImageJ-devel mailing list<br>
<a href="mailto:ImageJ-devel@imagej.net" target="_blank">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>
</div></div></blockquote></div><br></div></div>