Image Operationsby tprovoost / Thomas Provoost
Get an image from the current sequence. Add an image, then remove it.
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
// get the focused sequence seq = getSequence() if (seq == null) throw "Please open a sequence first" // get image at index t = 0 and z = 0 respectively img = seq.getImage(0, 0) // add the copy to the sequence seq.addImage(img) // remove an image at t = 0 and z = 1. Here, the copied image. seq.removeImage(0, 1); /* * Notes: * * On a "classic" sequence (with no holes), all those methods are equal: * img = getImage() * img = gui.getFocusedImage() * img = seq.getFirstImage() * img = seq.getFirstNonNullImage(). * img = seq.getImage(0, 0) */
This script has no documentation. A Problem ? ask the community.
Icy script publication Id : N3W3U4