Skip to content

iviewer many ROIs #99

@will-moore

Description

@will-moore

We need to be able to handle & browse (and edit?) larger numbers of ROIs in iviewer.

Limitations on large numbers are:

  • Loading from server (current limit 500 - see below)
  • How many can the OpenLayers viewer handle?

Currently we don't support pagination so we are limited to the max for a single page specified by
$ bin/omero config set omero.web.api.max_limit which is 500 by default (see https://docs.openmicroscopy.org/omero/5.4.9/developers/json-api.html).

We could add pagination support to load more ROIs, but we probably want to keep all loaded ROIs in hand as much as possible instead of a single page at a time. This is similar to thumbnails on left panel - we load 10 at a time but don't discard any so it's possible to load ALL eventually.

  • How to request "next page"?

    • If the image is multi-T or multi-Z, we could request ROIs that have shapes on the current plane, but this may still be too large to be a single page. Do we load ALL shapes for an ROI at once (even if only 1 shape is on the current plane?)
    • Load by scrolling the ROI table (similar to loading thumbnails). But, if you pan around the image and don't see any shapes it could be confusing that you need to scroll the table to load more.
    • We just try to load ALL the ROIs at once, one page at a time, with a progress bar and Cancel option. This is probably the best option since we mostly want to work with all ROIs at once. But, what is the maximum number that we can support (OpenLayers and Aurelia can handle)?
  • What to do when:

    • We have more ROIs than OpenLayers can support? (need to know numbers)
    • User doesn't want to wait for loading of ALL the ROIs and they only want to load & view ROIs on the last time-point or at a small region of a Big image?

What does GS do with Pathviewer?

cc @jburel @joshmoore

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions