#include <volume_io/internal_volume_io.h>
#include <bicpl/vols.h>
Include dependency graph for talairach.c:
Go to the source code of this file.
Defines | |
#define | TALAIRACH_OFFSET 16.0 |
#define | FALSE 0 |
#define | TRUE 1 |
Functions | |
private void | read_talairach_coordinate_system (void) |
private void | check_initialized (void) |
public void | convert_voxel_to_talairach (Real x_voxel, Real y_voxel, Real z_voxel, int nx_voxels, int ny_voxels, int nz_voxels, Real *x_tal, Real *y_tal, Real *z_tal) |
public void | convert_talairach_to_voxel (Real x_tal, Real y_tal, Real z_tal, int nx_voxels, int ny_voxels, int nz_voxels, Real *x_voxel, Real *y_voxel, Real *z_voxel) |
private Real | convert_to_mm (Real tal, int n_planes, Real limit_low, Real limit_high, Real brain_dist_low, Real brain_dist_high, Real brain_limit_low, Real brain_limit_high) |
public void | convert_talairach_to_mm (Real x_tal, Real y_tal, Real z_tal, Real *x_mm, Real *y_mm, Real *z_mm) |
private Real | convert_from_mm (Real mm, int n_planes, Real limit_low, Real limit_high, Real brain_dist_low, Real brain_dist_high, Real brain_limit_low, Real brain_limit_high) |
public void | convert_mm_to_talairach (Real x_mm, Real y_mm, Real z_mm, Real *x_tal, Real *y_tal, Real *z_tal) |
Variables | |
private int | nx = 128 |
private int | ny = 128 |
private int | nz = 80 |
private Real | x_low = -1.28 |
private Real | x_high = 1.28 |
private Real | y_low = -1.28 |
private Real | y_high = 1.28 |
private Real | z_low = -0.50 |
private Real | z_high = 1.10 |
private Real | x_dist_minus_1 = -67.0 |
private Real | x_dist_1 = 67.0 |
private Real | y_dist_minus_1 = -86.0 |
private Real | y_dist_1 = 86.0 |
private Real | z_dist_0 = 0.0 |
private Real | z_dist_1 = 75.0 |
private BOOLEAN | initialized = FALSE |
|
|
Definition at line 22 of file talairach.c. Referenced by convert_mm_to_talairach(), and convert_talairach_to_mm(). |
|
|
Definition at line 63 of file talairach.c. References initialized, read_talairach_coordinate_system(), and TRUE. |
|
Definition at line 360 of file talairach.c. Referenced by convert_mm_to_talairach(). |
|
Definition at line 397 of file talairach.c. References check_initialized(), convert_from_mm(), nx, ny, nz, TALAIRACH_OFFSET, x_dist_1, x_dist_minus_1, x_high, x_low, y_dist_1, y_dist_minus_1, y_high, y_low, z_dist_0, z_dist_1, z_high, and z_low. |
|
Definition at line 320 of file talairach.c. References check_initialized(), convert_to_mm(), nx, ny, nz, TALAIRACH_OFFSET, x_dist_1, x_dist_minus_1, x_high, x_low, y_dist_1, y_dist_minus_1, y_high, y_low, z_dist_0, z_dist_1, z_high, and z_low. |
|
Definition at line 244 of file talairach.c. References check_initialized(), nx, ny, and nz. Referenced by io_tag_point(). |
|
Definition at line 282 of file talairach.c. Referenced by convert_talairach_to_mm(). |
|
Definition at line 206 of file talairach.c. References check_initialized(), nx, ny, and nz. Referenced by io_tag_point(). |
|
Definition at line 86 of file talairach.c. References FALSE, nx, ny, nz, TRUE, x_dist_1, x_dist_minus_1, x_high, x_low, y_dist_1, y_dist_minus_1, y_high, y_low, z_dist_0, z_dist_1, z_high, and z_low. Referenced by check_initialized(). |
|
Definition at line 45 of file talairach.c. |
|
|
|
|
Definition at line 39 of file talairach.c. Referenced by convert_mm_to_talairach(), convert_talairach_to_mm(), and read_talairach_coordinate_system(). |
|
Definition at line 38 of file talairach.c. Referenced by convert_mm_to_talairach(), convert_talairach_to_mm(), and read_talairach_coordinate_system(). |
|
Definition at line 32 of file talairach.c. Referenced by convert_mm_to_talairach(), convert_talairach_to_mm(), and read_talairach_coordinate_system(). |
|
Definition at line 31 of file talairach.c. Referenced by convert_mm_to_talairach(), convert_talairach_to_mm(), and read_talairach_coordinate_system(). |
|
Definition at line 41 of file talairach.c. Referenced by convert_mm_to_talairach(), convert_talairach_to_mm(), and read_talairach_coordinate_system(). |
|
Definition at line 40 of file talairach.c. Referenced by convert_mm_to_talairach(), convert_talairach_to_mm(), and read_talairach_coordinate_system(). |
|
Definition at line 34 of file talairach.c. Referenced by convert_mm_to_talairach(), convert_talairach_to_mm(), and read_talairach_coordinate_system(). |
|
Definition at line 33 of file talairach.c. Referenced by convert_mm_to_talairach(), convert_talairach_to_mm(), and read_talairach_coordinate_system(). |
|
Definition at line 42 of file talairach.c. Referenced by convert_mm_to_talairach(), convert_talairach_to_mm(), and read_talairach_coordinate_system(). |
|
Definition at line 43 of file talairach.c. Referenced by convert_mm_to_talairach(), convert_talairach_to_mm(), and read_talairach_coordinate_system(). |
|
Definition at line 36 of file talairach.c. Referenced by convert_mm_to_talairach(), convert_talairach_to_mm(), and read_talairach_coordinate_system(). |
|
Definition at line 35 of file talairach.c. Referenced by convert_mm_to_talairach(), convert_talairach_to_mm(), and read_talairach_coordinate_system(). |