Home > brede > brede_write_nuages.m

brede_write_nuages

PURPOSE ^

brede_write_nuages - Write Nuages cnt file

SYNOPSIS ^

function brede_write_nuages(filename, C, varargin)

DESCRIPTION ^

 brede_write_nuages   - Write Nuages cnt file

       brede_write_nuages(filename, C)

       Input:    filename  Filename of the nuages cnt-file
                 C         Contour coordinates

       Property: OrthoType  [ {transversal} | coronal | sagittal ]

       This function writes a Nuages cnt file from a matrix
       containing coordinates, eg, from a digitization of a contour
       of the brain. The Nuages cnt-file can be used as input to the 
       nuage unix program of Bernard Geiger. The result of the
       program can be read by the brede_read_off function and
       displayed using brede_ta3_patch. 

       The contour coordinate input matrix should be of N x 3, where
       the columns are x, y and z coordinates.  

       Example:
         C = brede_tal_concere
         brede_write_nuages('cerebellum.cnt', C);
         !nuages cerebellum.cnt -tri cerebellum.off -off  -prepros

       Ref: Bernhard Geiger, INRIA, man nuages, man prepros
            ftp://ftp-sop.inria.fr/prisme/NUAGES/Nuages/         

       See also BREDE, BREDE_TAL_CONCERE, BREDE_READ_OFF,
                BREDE_TA3_CONCORTEX.

 $Id: brede_write_nuages.m,v 1.3 2003/01/16 20:21:27 fnielsen Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 27-Nov-2009 18:11:22 by m2html © 2005