<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
p.banner-container, li.banner-container, div.banner-container
{mso-style-name:banner-container;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple" style="word-wrap: break-word;-webkit-nbsp-mode: space;-webkit-line-break: after-white-space">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Hi Christophe<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">I’m not 100% sure, since I’ve never used it for this, but if you want to get a tags in a user/system centric way rather than an image-centric
way, you need to get the metadataService from the session object (<a href="http://www.openmicroscopy.org/site/support/omero5.2/developers/Modules/Api.html">http://www.openmicroscopy.org/site/support/omero5.2/developers/Modules/Api.html</a> ) . I think from
here you can use the loadAnnotations method (<a href="http://downloads.openmicroscopy.org/omero/5.2.1/api/ome/api/IMetadata.html#loadAnnotations-java.lang.Class-java.util.Set-java.util.Set-java.util.Set-ome.parameters.Parameters-">http://downloads.openmicroscopy.org/omero/5.2.1/api/ome/api/IMetadata.html#loadAnnotations-java.lang.Class-java.util.Set-java.util.Set-java.util.Set-ome.parameters.Parameters-</a>)
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Michael.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> ome-devel [mailto:ome-devel-bounces@lists.openmicroscopy.org.uk]
<b>On Behalf Of </b>Christophe TREFOIS<br>
<b>Sent:</b> 07 January 2016 13:38<br>
<b>To:</b> OME External Developer List <ome-devel@lists.openmicroscopy.org.uk><br>
<b>Subject:</b> [ome-devel] Get list of Tags in Matlab<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi all, <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I have been trying to get a list of all tags using MATLAB and OMERO 5, and I’m sort of struggling.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I saw that Will posted some code for Python on the mailing a while back, but those functions are not available in Matlab.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Does anybody have any pointers how to do this without looping over all images?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Kind regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">—<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Christophe<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:12.0pt">
<b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#3D3B3B">Dr Christophe Trefois, Dipl.-Ing.</span></b><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#212121"> </span></span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#212121"><br>
</span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#3D3B3B">Technical Specialist / Post-Doc</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:12.0pt">
<b><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#3D3B3B">UNIVERSITÉ DU LUXEMBOURG</span></b><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black"><br>
<br>
</span><b><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#3D3B3B">LUXEMBOURG CENTRE FOR SYSTEMS BIOMEDICINE</span></b><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black"><br>
</span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#3D3B3B">Campus Belval | House of Biomedicine<span class="apple-converted-space"> </span><br>
<span class="apple-converted-space">6, avenue du Swing </span><br>
L-4367 Belvaux<span class="apple-converted-space"> </span></span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black"><br>
</span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#3D3B3B">T:<span class="apple-converted-space"> </span>+352 46 66 44 6124</span><span class="apple-converted-space"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black"> </span></span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black"><br>
</span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#3D3B3B">F:<span class="apple-converted-space"> </span>+352 46 66 44 6949</span><span class="apple-converted-space"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black"> </span></span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black"><br>
<a href="http://www.uni.lu/lcsb"><span style="color:#006DBD">http://www.uni.lu/lcsb</span></a><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:12.0pt">
<span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><a href="https://www.facebook.com/trefex"><span style="border:solid windowtext 1.0pt;padding:0cm;text-decoration:none"><img border="0" width="24" height="24" id="_x0000_i1025" src="cid:image001.jpg@01D1495C.BB8A0AA0" alt="Image removed by sender. Facebook"></span></a><span class="apple-converted-space"> </span><a href="https://twitter.com/Trefex"><span style="border:solid windowtext 1.0pt;padding:0cm;text-decoration:none"><img border="0" width="24" height="24" id="_x0000_i1026" src="cid:image001.jpg@01D1495C.BB8A0AA0" alt="Image removed by sender. Twitter"></span></a><span class="apple-converted-space"> </span><a href="https://plus.google.com/+ChristopheTrefois/"><span style="border:solid windowtext 1.0pt;padding:0cm;text-decoration:none"><img border="0" width="24" height="24" id="_x0000_i1027" src="cid:image001.jpg@01D1495C.BB8A0AA0" alt="Image removed by sender. Google Plus"></span></a><span class="apple-converted-space"> </span><a href="https://www.linkedin.com/in/trefoischristophe"><span style="border:solid windowtext 1.0pt;padding:0cm;text-decoration:none"><img border="0" width="24" height="24" id="_x0000_i1028" src="cid:image001.jpg@01D1495C.BB8A0AA0" alt="Image removed by sender. Linkedin"></span></a><span class="apple-converted-space"> </span><a href="http://skype:Trefex?call"><span style="border:solid windowtext 1.0pt;padding:0cm;text-decoration:none"><img border="0" width="24" height="24" id="_x0000_i1029" src="cid:image001.jpg@01D1495C.BB8A0AA0" alt="Image removed by sender. skype"></span></a><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:12.0pt">
<span style="font-size:7.0pt;font-family:"Arial",sans-serif;color:#3D3B3B">----<br>
This message is confidential and may contain privileged information.<span class="apple-converted-space"> </span><br>
It is intended for the named recipient only.<span class="apple-converted-space"> </span><br>
If you receive it in error please notify me and permanently delete the original message and any copies.<span class="apple-converted-space"> </span><br>
----<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> <span class="apple-converted-space"> </span><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<br>
<span style="font-size:10pt;">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</body>
</html>