Hi,
Looks like you would like to use the 'in-place import' feature, within OMERO.
The easiest option would be to use the command line tools (which are part of our regular release cycle),
https://www.openmicroscopy.org/site/support/omero5.1/users/cli/index.htmlThe advanced import features within OMERO (in-place import, etc) are documented in the following pages,
https://www.openmicroscopy.org/site/support/omero5.1/sysadmins/in-place-import.html#inplace-importand simple shell scripts should solve your problem.
Alternatively,
If you are specific about using Matlab in your workflow, please take a look at the following gist page:
https://gist.github.com/bramalingam/1d36f827add8f5342068 (upload_image.m script)
This uses the OMERO Java api to implement a few import features discussed in the documentation page mentioned above.
(***Please note that this is just a prototype/example and is not a production ready script.***)
Requirements :
1) OMERO Matlab Toolbox,
http://downloads.openmicroscopy.org/omero/5.1.2/--The toolbox comes with a libs folder , which carries the OMERO dependencies. Please add the following jars to it as well,
- bioformats_package.jar (
http://downloads.openmicroscopy.org/bio-formats/5.1.2/)
- ini4j.jar (
https://github.com/openmicroscopy/openmicroscopy/blob/develop/lib/repository/ini4j-0.3.2.jar)
(You will have to add these jars to your Matlab Classpath).
2) You will have to overwrite the (static) matlab google-collect.jar (packaged with matlab) with the guava.jar from the toolbox.
Please look into the following page for more details on the same,
http://stackoverflow.com/questions/1636 ... aclasspathThe above script is just an example, and we are streamlining the documentation for such examples. So any comments/feedback on this regard would be very valuable at our end.
Hope that helps,
Best,
Balaji