User Tools

Site Tools


blogtng:2010-06-17:imagej_-_imarisxt-imaris

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
blogtng:2010-06-17:imagej_-_imarisxt-imaris [2010/06/17 23:57] kotablogtng:2010-06-17:imagej_-_imarisxt-imaris [2016/05/24 12:46] (current) – external edit 127.0.0.1
Line 34: Line 34:
    }    }
 </code> </code>
 +
 +Macro executer is a method in Adaptor class:
 +<code>
 + /**
 + * Apply a selected macro to Imaris DataSet
 + 
 + * @param aMacroDirectory The folder where the macro is lying
 + * aMacroFileName The filename of the macro
 + * aCreateNewChannels true if new channels should be created out of each existing ones
 +      aSelectedChannels if 0 the macro will apply to all channels and timepoints
 + 
 + * @return true if success
 + */
 + public boolean ApplyMacroToWholeDataSet(String aMacroFileName, boolean aCreateNewChannels, int aSelectedChannel)
 +</code>
 +
 +This method basically import dataset (image in the current window, could include also multiple channels and time points), creates ImagePlus, apply macro, then after processing in IJ, The processed image is exported back into Imaris. 
 +
 +-> plugin would be better with more functionalities to import information such as surface, array of detected spot information, tracks, statistics.. and so on.  
 +
 +------
 +**Extending the code**\\
 +  * extend bpImaris_Adapter.java (in my case for sending 4D) 
 +  *  jniwrap.jar, bpImaris_Adapter2.jar should be in the build path.
 +    * latter package is com.bitplane.imaris.imaris.* 
 +  * exporting method (Current image stack in ImageJ to Imaris) is below. Iterate this to export time series. 
 +<code>
 +public boolean ExportDataSetToImaris(int aSelectedChannel, int aSelectedTimepoint, boolean aCreateNewImage) {
 +...
 +</code>
 +    * ... should check if aCreateNewImage means new image within imaris. 
 +
  
blogtng/2010-06-17/imagej_-_imarisxt-imaris.1276819032.txt.gz · Last modified: 2016/05/24 12:46 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki