Login  Register

Re: Not so easy ROIs determinations

Posted by Michael Schmid on Jul 31, 2014; 8:09am
URL: http://imagej.273.s1.nabble.com/Not-so-easy-ROIs-determinations-tp5008966p5008991.html

Hi Philippe,

by convention, Java class names should start with an uppercase character. Also ImageJ commands have names with uppercase first characters.

That's why I wrote in the Usage/Installation instructions on the documentation wiki:

Copy Versatile_Wand.java into the ImageJ plugins folder or a subfolder thereof. Make sure that you name the downloaded file ”Versatile_Wand.java”; uppercase/lowercase matters.

---

On Jul 30, 2014, at 20:38, Curtis Rueden wrote:
> Another option would be to migrate the documentation to the ImageJ Wiki
> instead (http://imagej.net/), which uses MediaWiki and has no such issues.

Hi Curtis,

yes, we have a lot of ImageJ sites. Would be nice to have things in fewer places, and imagej.net might be a good one. Unfortunately it would be a lot of work to move everything there, unless this can be done by some automated process...

Apart from the technical issues, I am not sure whether everyone will be happy about such a migration. These days, users in some countries might be unhappy having their account migrated from a European server to a server in the US (imagej.net seems to be hosted by the University of Wisconsin).


Michael
________________________________________________________________
On Jul 31, 2014, at 09:12, Philippe CARL wrote:

> Dear Michael,
> For me to rename the file name is absolutely not an issue at all since I was
> able to figure out the problem.
> Nevertheless the question I asked yesterday was not for me but for a
> colleague to whom I had then forwarded all the answers I had received. And
> when he tried to compile your plugin he wasn't able to understand where the
> problem comes from and how to fix it.
> Thus if you are only able to save lowercase filenames within the DokuWiki
> system, a solution to the problem could be to rename the class name to the
> lowercase version within the plugin...
> My best regards,
> Philippe
>
> -----Message d'origine-----
> De : ImageJ Interest Group [mailto:[hidden email]] De la part de
> Michael Schmid
> Envoyé : mercredi 30 juillet 2014 17:40
> À : [hidden email]
> Objet : Re: Not so easy ROIs determinations
>
> Hi Philippe,
>
> unfortunately, there is a limitation of the DokuWiki system used for the
> ImageJ Information and Documentation Portal (http://imagejdocu.tudor.lu/),
> where also the Versatile Wand is accessible:
> The names of uploaded files are always converted to lowercase.
>
> So I can't fix it, you have to rename it yourself.
>
> Michael
> ________________________________________________________________
> On Jul 30, 2014, at 16:52, Philippe CARL wrote:
>
>> Dear Michael,
>> Your proposed solution is indeed working, thanks a lot!!!
>> Just a small remark about your plugin Website: the name of the macro
>> on the Website should be "Versatile_Wand.java" and not
>> "versatile_wand.java" which is giving a compilation error.
>> I'm still in the process of studying all the other proposed solutions
>> and thanks a lot for all the contributors.
>> My best regards,
>> Philippe
>>
>> -----Message d'origine-----
>> De : ImageJ Interest Group [mailto:[hidden email]] De la part de
>> Michael Schmid Envoyé : mercredi 30 juillet 2014 15:58 À :
>> [hidden email] Objet : Re: Not so easy ROIs determinations
>>
>> Hi Philippe,
>>
>> one possible solution might be a macro like the following:
>>
>> Threshold, Analyze particles, recording XStart, YStart to the Results
> table.
>> run("Analyze Particles...", "display clear record");
>>
>> Then iterate over the results Table. For each entry, call the
>> Versatile Wand plugin with default options (i.e., 'record holes'
>> should be unchecked) at XStart, YStart, and add to the ROI Manager.
>>
>> http://imagejdocu.tudor.lu/doku.php?id=plugin:segmentation:versatile_w
>> and:st
>> art
>>
>>
>> Michael
>> ________________________________________________________________
>> On Jul 30, 2014, at 15:21, Philippe CARL wrote:
>>
>>> Dear all,
>>>
>>> From the following picture :
>>>
>>> http://punias.free.fr/ImageJ/ring.tif
>>>
>>> I would like to extract automatically (i.e. by means of the use of a
>>> macro and/or plugin) the following ROI set:
>>>
>>> http://punias.free.fr/ImageJ/RoiSet.zip
>>>
>>> Does somebody have an idea on the best strategy to perform this?
>>>
>>> I thank you very much in advance for your help.
>>>
>>> My best regards,
>>>
>>> Philippe
>>>
>>>
>>>
>>> Philippe CARL
>>>
>>> Laboratoire de Biophotonique et Pharmacologie
>>>
>>> UMR 7213 CNRS - Université de Strasbourg
>>>
>>> Faculté de Pharmacie
>>>
>>> 74 route du Rhin
>>>
>>> 67401 ILLKIRCH
>>>
>>> Tel : +33(0)3 68 85 41 84
>>>
>>>
>>>
>>>
>>> --
>>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>>
>> --
>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>>
>> --
>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html