- A counting loop
while loop that counts from 0 to a number
specified as the first command line argument. Show the numbers on the screen.
- Generating slices
Use the previous script to generate an individual image for each of the first N slices of
Generate the images using
slicer imagename -z -num output_num.ppm
num is the number of the slice (starting from 0).
- Viewing images
View the images separately using
- Read the number of slices
fslval to automatically determine the total
number of slices.
- Merge all images into one (Advanced)
pngappend to make a single lightbox style image from all the