GUI support for Key-Value Pairs (MapAnnotation) metadata?
Posted: Mon Apr 01, 2019 11:11 am
Hello,
One of the major drawbacks I found in OMERO in terms of sharing images within a lab/institute was that the difficulty in handling metadata. The metadata embedded within images are fine, but adding Key-Value Pairs (MapAnnotation objects) to images takes rather complicated Java or Python programming. I can't ask everybody in the lab to understand a dozen of JAVA objects just for this purpose.
I wrote a MALTAB function (https://github.com/kouichi-c-nakamura/o ... notation.m) to simplify this process. It takes a string array with 2 columns as an input argument and turns it into MapAnnotation object. But this still takes accessing OMERO via JAVA API from within MATLAB.
To extend this idea further, how about providing GUI support for Key-Value Pairs assignment? This can be implemented in OMERO.insight or as a plugin for OMERO.insight, or even in web client (this is probably the most user-friendly option).
1. A user is prompted to choose a .csv, .tsv, .xls, or .xlsx file that contains data in 2 columns.
2. The user is then prompted to choose an object or multiple objects (project, dataset, or image etc) to which he/she wants to link the new MapAnnotation data, by either clicking the objects in web client or typing the ID numbers.
3. If the input file contains more than two columns, issues an error.
Also, I can think of GUI support for exporting MapAnnotations into a .csv, .tsv, or Excel file.
I hope that you like the idea.
Best,
Kouichi
One of the major drawbacks I found in OMERO in terms of sharing images within a lab/institute was that the difficulty in handling metadata. The metadata embedded within images are fine, but adding Key-Value Pairs (MapAnnotation objects) to images takes rather complicated Java or Python programming. I can't ask everybody in the lab to understand a dozen of JAVA objects just for this purpose.
I wrote a MALTAB function (https://github.com/kouichi-c-nakamura/o ... notation.m) to simplify this process. It takes a string array with 2 columns as an input argument and turns it into MapAnnotation object. But this still takes accessing OMERO via JAVA API from within MATLAB.
To extend this idea further, how about providing GUI support for Key-Value Pairs assignment? This can be implemented in OMERO.insight or as a plugin for OMERO.insight, or even in web client (this is probably the most user-friendly option).
1. A user is prompted to choose a .csv, .tsv, .xls, or .xlsx file that contains data in 2 columns.
2. The user is then prompted to choose an object or multiple objects (project, dataset, or image etc) to which he/she wants to link the new MapAnnotation data, by either clicking the objects in web client or typing the ID numbers.
3. If the input file contains more than two columns, issues an error.
Also, I can think of GUI support for exporting MapAnnotations into a .csv, .tsv, or Excel file.
I hope that you like the idea.
Best,
Kouichi