uploading data from matlab
Posted: Fri May 20, 2011 9:20 am
Hi all...
I am trying to import images from matlab inside a ScreenPlateWell hierarchy but having trouble doing so... The only function I found to upload actual pixel info (ie in matlab a matrix of value of whatever type) is uploadPlane (in the Gateway for example, or others seemingly equivalent in RawPixelsStore). Is that true, or is there a higher level function?
When I try to use it on a newly created pixels objects, it complains that Pixels.dimensionOrder is not set. So I am sure those info are somewhere in the doc, but I somehow was unable to find them: What are the acceptable values for those not quite self-explaining fields? (Pixels.dimensionOrder, but also model::PixelsType in createImage, etc...) For the various model objects, what fields are mandatory? What are the constructors, as they do not seems to be on the slice2html doc?
Finally if you had a code snippet for creating a valid image with valid pixels set to given matlab matrices (or the equivalent in java or python as it should be quite similar) I would be very grateful indeed...
Many thanks...
I am trying to import images from matlab inside a ScreenPlateWell hierarchy but having trouble doing so... The only function I found to upload actual pixel info (ie in matlab a matrix of value of whatever type) is uploadPlane (in the Gateway for example, or others seemingly equivalent in RawPixelsStore). Is that true, or is there a higher level function?
When I try to use it on a newly created pixels objects, it complains that Pixels.dimensionOrder is not set. So I am sure those info are somewhere in the doc, but I somehow was unable to find them: What are the acceptable values for those not quite self-explaining fields? (Pixels.dimensionOrder, but also model::PixelsType in createImage, etc...) For the various model objects, what fields are mandatory? What are the constructors, as they do not seems to be on the slice2html doc?
Finally if you had a code snippet for creating a valid image with valid pixels set to given matlab matrices (or the equivalent in java or python as it should be quite similar) I would be very grateful indeed...
Many thanks...