Generate Sequenceby tprovoost / Thomas Provoost
Generates a sequence and add it to the GUI. See also "Generate Image" 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.sequence.Sequence) importClass(Packages.icy.type.DataType) importClass(Packages.icy.image.IcyBufferedImage) // Create a new sequence seq = new Sequence() // Creates an image of 512x512 with 1 channel of type Unsigned Byte img = new IcyBufferedImage(512, 512, 1, DataType.UBYTE) seq.addImage(img) // set the name of the sequence seq.setName("My Generated Sequence") // add the sequence in the gui gui.addSequence(seq)
This script has no documentation. A Problem ? ask the community.
Icy script publication Id : A7J7G9