Remove Channelby tprovoost / Thomas Provoost
Removes a channel from the sequence. See also Extract Channel.
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.sequence.SequenceUtil) seq = getSequence() if (seq == null) throw "Please open a sequence first" if (seq.getSizeC() < 2) throw "Sequence does not have enough channels to perform this operation." // Removes index 1 (second channel) of the sequence SequenceUtil.removeChannel(seq, 1)
This script has no documentation. A Problem ? ask the community.
Icy script publication Id : U1G1V1