select slice

Category: 3D Images
Description: A function to "browse" through an 3D-image with the numberblock-keys. 8 = first slice (z-direction) 4 = previous slice (z-direction) 6 = next slice (z-direction) 2 = last slice (z-direction) 7 = increase stepsize 1 = decrease stepsize 9 = increase zoom 3 = decrease zoom 5 = select visible slice The function returns the number of the selected slice (z-value of the 3D-image)
Comments: There is a limitation (or conflict) in User Defined Language with DM script. The operation "/" and "*" cannot be defined as operators in Notepad++ once we define "/*" and "*/" as comment block markers. So I have left "/" and "*" out from the operator list
Script version: 1.1
DM/GMS version: 3,4
Script written as a function: No
Source: Show code
Download Source Code: Download
Download Zip File: Download