Main Page   Modules   File List  

section.c File Reference

computes a 2d cross section from a 3d image More...


Detailed Description

computes a 2d cross section from a 3d image

Usage: section in.pgm x0 y0 z0 x1 y1 z1 x2 y2 z2 out.pgm

Description: The points P0 ( x0, y0, z0 ), P1 ( x1, y1, z1 ) and P2 ( x2, y2, z2 ) form a basis for a plane in the 3d space. The intersection of this plane with the domain of the 3d image in.pgm form the domain of the 2d image out.pgm . The grayscale values of out.pgm are obtained by trilinear interpolation from the grayscale values of in.pgm . The coordinates of the basis for the plane are expressed in "real world" dimensions.

Types supported: byte 3d

Category: geo

Author:
Michel Couprie

Generated on Fri Dec 17 11:59:38 2004 for Pink by doxygen1.2.18