Home > brede > brede_sur_unfold.m

brede_sur_unfold

PURPOSE ^

brede_sur_unfold - Unfold a surfaces

SYNOPSIS ^

function Sout = brede_sur_unfold(Sin, varargin)

DESCRIPTION ^

 brede_sur_unfold     - Unfold a surfaces

       Sout = brede_sur_unfold(Sin)

       Input:    Sin    'Sur' input structure

       Property: Info       Amount of feedback information
                 Iterations [ {125} | positive integer ] 
                 Type       [ {smoothsphere} | smoothing ]

       Output:   Sout   Unfolded 'sur' structure

       Unfold a surfaces, eg, unfold a cortex surface to a sphere.
 
       This function does not yet work correctly.

       Example: 
         S = brede_sur_tetrahedron('size', 0.07);
         S = brede_sur_refine(S, 'depth', 3);
         brede_sur_unfold(S, 'info', 21);

         % From a volume
         S1 = brede_vol_vol2sur(V, 'type', 'isosurface')
         color = brede_sur_color(S1, 'style', 'rgb');
         S2 = brede_sur_unfold(S1)
         figure, brede_ta3_frame, brede_ta3_sur(S2, 'color', color)

       See also BREDE, BREDE_SUR, BREDE_SUR_COLOR, BREDE_SUR_DIST,
                BREDE_SUR_REFINE, BREDE_SUR_SCALEVERT,
                BREDE_SUR_SMOOTHVERT, BREDE_SUR_TETRAHEDRON,
                BREDE_TA3_FRAME, BREDE_TA3_SUR, BREDE_VOL_VOL2VOL.

 $Id: brede_sur_unfold.m,v 1.3 2003/12/05 19:11:50 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