setting names/values for Z, C, T
Posted: Fri Jan 10, 2014 12:17 pm
Hi All,
I wonder - in Omero image, what is the easiest (and maybe uniform?) way of setting the values/names for ZCT.
Meaning, Z (e.g. something in microns), C (.. wavelengths), and T(.. minutes).
Here is the code that sets up channels' names; it is quite involved
There is also this RawPixelStore -> SetTimepoint function that might be useful but I am not sure.
http://users.openmicroscopy.org.uk/~spl ... tTimepoint
Basically the question is, is it possible to set it up at once, in a cheapest way.
Best,
Y.
I wonder - in Omero image, what is the easiest (and maybe uniform?) way of setting the values/names for ZCT.
Meaning, Z (e.g. something in microns), C (.. wavelengths), and T(.. minutes).
Here is the code that sets up channels' names; it is quite involved
- Code: Select all
pixelsDesc = pixelsService.retrievePixDescription(pixels.getId().getValue());
channels = pixelsDesc.copyChannels();
objects = java.util.ArrayList();
%
for c = 1:sizeC
ch = channels.get(c-1);
ch.getLogicalChannel().setName(omero.rtypes.rstring(char(channels_names{c})));
% ...
objects.add(ch);
end
%
factory.getUpdateService().saveAndReturnArray(objects);
There is also this RawPixelStore -> SetTimepoint function that might be useful but I am not sure.
http://users.openmicroscopy.org.uk/~spl ... tTimepoint
Basically the question is, is it possible to set it up at once, in a cheapest way.
Best,
Y.