openmicroscopy/openmicroscopy — pull request #2377 by sbesson (2014-04-28 08:39:27+00:00)
Title: OMERO.matlab: add utility function to load channels (rebased onto develop)

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

----

This PR was initiated from a discussion with @bramalingam and another user of the toolbox in Edinburgh. Changes included are:
- adds a `loadChannels()` function to retrieve the channels from an image
- extends the `LoadMetadataAdvanced.m` training script to use this method
- extend the `CreateImage.m` training script to use this method and show how to populate channel metadata

To test it:
- check the training examples work
- check the following signatures work and return the loaded Channel objects

```
channels = loadChannels(session, image);
channels = loadChannels(session, imageID);
```

/cc @imunro