imagej / imagej-omero

Server- and client-side communication between ImageJ and OMERO
GNU General Public License v2.0
11 stars 10 forks source link

Pass Image_ID from selected image in OMERO.web #24

Open ctrueden opened 10 years ago

ctrueden commented 10 years ago

The currently selected image in OMERO.web is supposed to be automatically populated as the script's Image_ID if that field exists. But for some reason it isn't. This means you have to manually type the image ID when running ImageJ commands through OMERO.web, which is too bad. Figure out what the problem is.

ctrueden commented 9 years ago

The issue is that the field on the OMERO side needs to be called Image_IDs (IIRC), not Image_ID, and it needs to be a list, not a single long. That way, scripts can support a list of images for situations such as multiple thumbnails selected in OMERO.web.

The tricky part is that handling multiple selected images across the ImageJ boundary is non-trivial. Suppose you have a common ImageJ command that operates on an input image. Just one, not multiple. This is the typical scenario. Now in OMERO.web, you select three images and say "Find Edges"!

ctrueden commented 9 years ago

Very related (duplicate-ish, actually) to #29.