Need help or advice ? Come to the Icy club ! - Every Wenesday morning from 9h30 to 12h30 - Francois Jacob Building - Main hall - Pasteur
Register

Call IJ Plugin

by tprovoost / Thomas Provoost

Call an ImageJ Plugin from the Script.

version 1 (last version):

download to use and modify in Icy. How do I use scripts ? A Problem ? ask the community.
Changelog for this version: initial version
importClass(Packages.icy.imagej.ImageJUtil)
importClass(Packages.ij.IJ)

// Get the focused sequence, test if null or not.
seq = getSequence()
if (seq == null) throw "No sequence opened"

// Convert the sequence into an understanble object for ImageJ
imPlus = ImageJUtil.convertToImageJImage(seq, null)

// Run the IJ Plugin
IJ.run(imPlus, "Find Edges", "")

// notify Icy that the data changed
seq.dataChanged()

This script has no documentation. A Problem ? ask the community.



Icy script publication Id : F7N3N8