Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

landmark_file.c File Reference

#include <volume_io/internal_volume_io.h>
#include <bicpl/objects.h>
#include <bicpl/vols.h>

Include dependency graph for landmark_file.c:

Include dependency graph

Go to the source code of this file.

Defines

#define USE_X_POSITION_FOR_WEIGHT

Functions

public STRING get_default_landmark_file_suffix (void)
public Status input_landmark_file (Volume volume, STRING filename, Colour colour, Real size, Marker_types type, int *n_objects, object_struct **object_list[])
public Status io_tag_point (FILE *file, IO_types io_direction, Volume volume, Real size, marker_struct *marker)


Define Documentation

#define USE_X_POSITION_FOR_WEIGHT
 


Function Documentation

public STRING get_default_landmark_file_suffix void   ) 
 

Definition at line 36 of file landmark_file.c.

Referenced by input_landmark_file(), and input_objects_any_format().

public Status input_landmark_file Volume  volume,
STRING  filename,
Colour  colour,
Real  size,
Marker_types  type,
int *  n_objects,
object_struct **  object_list[]
 

Definition at line 59 of file landmark_file.c.

References add_object_to_list(), marker_struct::colour, create_object(), get_default_landmark_file_suffix(), get_marker_ptr(), io_tag_point(), MARKER, and marker_struct::type.

Referenced by input_objects_any_format().

public Status io_tag_point FILE *  file,
IO_types  io_direction,
Volume  volume,
Real  size,
marker_struct marker
 

Definition at line 114 of file landmark_file.c.

References BOX_MARKER, marker_struct::colour, convert_talairach_to_voxel(), convert_voxel_to_talairach(), io_point(), marker_struct::label, marker_struct::patient_id, marker_struct::position, marker_struct::size, marker_struct::structure_id, marker_struct::type, WHITE, and y.

Referenced by input_landmark_file(), and input_landmarks_as_labels().


Generated on Wed Jul 28 09:11:08 2004 for BICPL by doxygen 1.3.7