User Tools

Site Tools


Sidebar

Top
Profile
Freelancing
Seminar
Courses -2016
Courses 2018-
Textbooks
Documents
Downloads (-2016)
Downloads (2016-)
Weblog
RSS aggregates
Discussions
Archives
日本語


EMBL BioImage Data Analysis

EuBIAS

NEUBIAS

—- Contact
CMCI Alumni
ALMF
EMBL Heidelberg
EMBL Intranet


Popularity Ranking


Timeline of @cmci_

cmci_ avatar

RT @CornellBiotech: Join us for the Fiji (ImageJ) Summer Workshop Aug 10-12 https://t.co/hRVTW6JJyL
About 6 days, 7 hours ago by: Kota Miura (@cmci_)

cmci_ avatar

RT @christlet: Extending the classic full-width at half-maximum (FWHM) method for estimating image resolution on sub-resolutive structures…
About 2 weeks ago by: Kota Miura (@cmci_)

cmci_ avatar

RT @CiminiLab: I've made a Twitter Community for Bioimage Analysis- feel free to join and share widely! I'll fully admit this is an experim…
About 2 weeks, 2 days ago by: Kota Miura (@cmci_)

cmci_ avatar

RT @kjaMartens: We created a very simple method to get high precision and density in spectrally-resolved single-molecule localization micro…
About 1 month, 1 week ago by: Kota Miura (@cmci_)

cmci_ avatar

RT @random_walker: There’s a reproducibility crisis brewing in almost every scientific field that has adopted machine learning. On July 28,…
About 1 month, 1 week ago by: Kota Miura (@cmci_)

cmci_ avatar

@AthaleLab @IISERPune @serbonline @DBTIndia @IFCPAR @OfficialSICI @boschindia Congrats Prof. Chait!
About 1 month, 1 week ago by: Kota Miura (@cmci_)
blogtng:2010-08-03:coding_memo_for_jacob_bridge_between_java_and_bitplane_imaris

Coding memo for JACOB Bridge between Java and Bitplane Imaris

In addition to the previous page (http://cmci.embl.de/blogtng/2010-06-17/imaris_-_java), here is a list of commands for JACOB bridge for Java and Imaris.

- To get an Instance of Imaris

ActiveXComponent imarisApplication = new ActiveXComponent("Imaris.Application");

- General syntax for getting/setting field values of IApplication getter:

imarisApplication.getProperty("FIELD_VALUE", PARAMETER);

setter:

imarisApplication.setProperty("FIELD_VALUE", PARAMETER);

- To keep Imaris opened (otherwise closes after operation)

imarisApplication.setProperty("mUserControl", true);

- To get an Instance of Imaris data

ActiveXComponent IDataSet = imarisApplication.getPropertyAsComponent("mDataSet");

- Creating new data in Imaris (empty)

...
Variant[] parameter = new Variant[6];
int ijXsize = imagestack.getWidth();
int ijYsize = imagestack.getHeight();
int ijnSlices = imagestack.getSize();
parameter[0] = new Variant(1);	//1 for type 8bit 
parameter[1] = new Variant(ijXsize);	//x
parameter[2] = new Variant(ijYsize);	//y
parameter[3] = new Variant(ijnSlices);  //z
parameter[4] = new Variant(1);			//channel
parameter[5] = new Variant(1);			//time point
IDataSet.invoke("Create", parameter);	

- getting data parameter from Imaris (data shown in Imaris). An example with image size in x

int imXsize = localIDataSet.getProperty("mSizeX").changeType(Variant.VariantInt).getInt();
blogtng/2010-08-03/coding_memo_for_jacob_bridge_between_java_and_bitplane_imaris.txt · Last modified: 2016/05/24 12:46 (external edit)