The heart database: programs



We provide source code for automated segmentation, for computing statistics, and some other tools.

Requirements

Everything works on a linux-compatible operating system. On windows, you can use cygwin.

We use a particular file format that is an extension of PGM for 3D. The format is described on the data page. The program extractplane below can extract a 2D PGM from a 3D one.

Extractplane.c File Reference

Extracts a plane normal to one of the directions x,y,z from a 3D image....

Download

You can obtain the program here.

Detailed Description

Extracts a plane normal to one of the directions x,y,z from a 3D image.

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

Author: Michel Couprie

Others programs coming SOON

Site info

© 2006-2007 A2SI Lab.