Re: [micro-manager-general] Access live image from Matlab
Status: Beta
Brought to you by:
nicost
|
From: Vanessa K. <van...@gm...> - 2018-11-08 20:43:28
|
Hi Alex,
Here is my matlab code that asks MicroManager to take a picture and save it
to my computer. I have this functionality imbedded in a gui, hence the use
of gui.live() and gui.data().
%Take the picture, and put in a datastore type variable
image = gui.live().snap(true).get(0);
store = gui.data().createRAMDatastore();
store.putImage(image)
%Save the image
mode = javaMethod('valueOf', 'org.micromanager.data.Datastore$SaveMode', '
SINGLEPLANE_TIFF_SERIES');
savePath = "your folder name"
store.save(mode,savePath); Hope this helps!
Cheers,
Vanessa
On Thu, Nov 8, 2018 at 3:33 PM xandr <xa...@se...> wrote:
> Hi Vanessa,
>
> I'm also trying to work with live image from matlab. Do you mind posting
> your matlab code?
>
> Best,
> Alex
>
>
>
> --
> Sent from: http://micro-manager.3463995.n2.nabble.com/
>
>
> _______________________________________________
> micro-manager-general mailing list
> mic...@li...
> https://lists.sourceforge.net/lists/listinfo/micro-manager-general
>
|