Usage: extractplane in.pgm n plane out.pgm
Description: The original 3D image is in.pgm. The parameter n is an integer. The parameter plane is set to xy, yx, xz, zx, yz, zy. The order of the letters x, y, z is meaningfull: for example, zy means that each row of the output image will correspond to a z-line of the original image, each column of the output image will correspond to a y-line of the original image. The output image out.pgm contains the nth plane of the given form extracted from in.pgm.
Types supported: byte 3d
Category: geo