Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

Intracranial.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002    Major portions of this software are copyrighted by the Medical College
00003    of Wisconsin, 1994-2000, and are released under the Gnu General Public
00004    License, Version 2.  See the file README.Copyright for details.
00005 ******************************************************************************/
00006 
00007 /*---------------------------------------------------------------------------*/
00008 /*
00009   This is the header file for Intracranial.c.
00010 
00011   File:    Intracranial.h
00012   Author:  B. Douglas Ward
00013   Date:    04 June 1999
00014 
00015   Mod:     Set MAX_STRING_LENGTH equal to THD_MAX_NAME.
00016   Date:    02 December 2002
00017 */
00018 
00019 /*---------------------------------------------------------------------------*/
00020 /*
00021   Global variables and constants.
00022 */
00023 
00024 
00025 static THD_3dim_dataset * anat;       /* input anatomical dataset  */
00026 
00027 static float min_val_float = 25.0;    /* minimum voxel intensity limit */
00028 static int   min_val_int   = 25;
00029 static float max_val_float = 150.0;   /* maximum voxel intensity limit */
00030 static int   max_val_int   = 150;
00031 
00032 static float min_conn_float = 4.0;    /* minimum voxel connectivity to enter */
00033 static int   min_conn_int   = 4;
00034 static float max_conn_float = 2.0;    /* maximum voxel connectivity to leave */
00035 static int   max_conn_int   = 2;
00036 
00037 #define MAX_STRING_LENGTH THD_MAX_NAME
00038 
00039 
00040 /*---------------------------------------------------------------------------*/
00041 
00042 /** macro to test a malloc-ed pointer for validity **/
00043 
00044 #define MTEST(ptr) \
00045 if((ptr)==NULL) \
00046 ( SI_error ("Cannot allocate memory") )
00047      
00048 /*---------------------------------------------------------------------------*/
00049 /*
00050   Forward declarations
00051 */
00052 
00053 void check_one_output_file 
00054 (
00055   char * filename                   /* name of output file */
00056 );
00057      
00058 /*---------------------------------------------------------------------------*/
00059 
00060 
00061 
00062 
 

Powered by Plone

This site conforms to the following standards: