How to remove several plane from a stack wave
Dahair
I wondered how can I remove several plane from a stack wave. For example, I have a stack wave (named "StackWave") which has the size M*N*100. If I want to insert a new plane(M*N) into plane number 0 of StackWave , I can use the command: ImageTransform /P=0/D=plane0 setPlane StackWave.
But what should I do if I want to remove the last 10 planes of StackWave? I tried Imagetransform /NP = 10 removeZplane StackWave, but it didn't work and thrown an imagetransformerror which said "syntax error"
Thanks!
redimension/n=(-1, -1, dimsize(stackwave, 2) - 10) stackwave
or
deletepoints/M=2 dimsize(stackwave, 2) - 10, 10, stackwave
October 26, 2014 at 03:49 pm - Permalink
Thanks! Both two commands work well!
October 26, 2014 at 06:31 pm - Permalink