[micro-manager-general] Access live image from Matlab
Status: Beta
Brought to you by:
nicost
|
From: Vanessa K. <van...@ma...> - 2018-06-06 20:47:42
|
Hi all, I'm trying to obtain the current image on a Snap/Live display window from Matlab. As per https://micro-manager.org/wiki/Version_2.0_API_How_do_I#Access_image_data_and_metadata.3F, I have started with: MMsetup_javaclasspath('C:\Program Files\Micro-Manager-2.0beta') addpath(genpath( 'C:\Program Files\Micro-Manager-2.0beta\')); import mmcorej.* import org.micromanager.data.Datastore; import org.micromanager.display.DisplayManager; import org.micromanager.display.DisplayWindow; import java.util.List; %Get the datastore of current open window Datastore store = mm.displays().getCurrentWindow().getDatastore(); However this throws the error: No constructor 'org.micromanager.data.Datastore' with matching signature found. Error in trialMicroGUI (line 21) Datastore store = mm.displays().getCurrentWindow().getDatastore(); I'm using the most recent nightly build of version 2.0beta. My javaclasspath includes all .jar files in the plugins\Micro-Manager\ folder. Any suggestions as to where I'm going wrong here would be appreciated. Thank you, Vanessa |