openmicroscopy/openmicroscopy — pull request #926 by sbesson (2013-03-20 13:38:21+00:00)
Title: OMERO.matlab: add raw data utility functions (see #10384) (rebased onto develop)

This is the same as gh-909 but rebased onto develop.

----

This PR adds a couple of utility functions to load raw data (getProjects, getDatasets,...)

To be tested:
```
plane = getPlane(session, image, z, c, t);
plane = getPlane(session, imageID, z, c, t);
stack = getStack(session, image, c, t);
stack = getStack(session, imageID, c, t);
stack = getTile(session, image, z, c, t, x, y, w, h);
stack = getTile(session, imageID, z, c, t, x, y, w, h);
```

The `toMatrix()` function has been refactored to allow the resizing of tiles (i.e. binary data with dimensions are less than the pixels dimensions). Corresponding unit test have been implemented in `TestToMatrix`.

/cc @imunro @yalexand