Doxygen Source Code Documentation
AfniIndex2AfniXYZ.m File Reference
Go to the source code of this file.
Functions | |
if (m1~=1) | |
fprintf (1,'\a\nError in AfniIndex2AfniXYZ:Bad size for Indx\n\n') | |
Variables | |
function [err, XYZ] | |
Returns the XYZ coordinates of an AFNI voxel with an AFNI index of Indx | Indx = round (Indx) |
Returns the XYZ coordinates of an AFNI voxel with an AFNI index of Indx it s values are rounded to the nearest integer | Nxx |
Returns the XYZ coordinates of an AFNI voxel with an AFNI index of Indx it s values are rounded to the nearest integer | Nyy |
Returns the XYZ coordinates of an AFNI voxel with an AFNI index of Indx it s values are rounded to the nearest integer | m1 = size(Indx) |
err = 1 | |
return | |
NxxNyy = Nxx .* Nyy | |
Z = floor (Indx ./ NxxNyy) | |
Y = floor ((Indx - Z .* NxxNyy) ./ Nxx) | |
X = Indx - ( Y .* Nxx) - (Z .* NxxNyy) | |
XYZ = [X Y Z] |
Function Documentation
|
|
|
|
Variable Documentation
|
Definition at line 39 of file AfniIndex2AfniXYZ.m. |
|
Initial value: Definition at line 1 of file AfniIndex2AfniXYZ.m. |
|
Definition at line 29 of file AfniIndex2AfniXYZ.m. |
|
Definition at line 21 of file AfniIndex2AfniXYZ.m. Referenced by bandr_(), bandv_(), bisect_(), bqr_(), decode_mcu_AC_refine(), LMAP_XNAME(), LMAP_YNAME(), LMAP_ZNAME(), minfit_(), SUMA_FreeSurfer_ReadBin_eng(), tridib_(), tsturm_(), vpMatrixMult4(), and vpWindowPHIGS(). |
|
Definition at line 9 of file AfniIndex2AfniXYZ.m. |
|
Definition at line 31 of file AfniIndex2AfniXYZ.m. |
|
Definition at line 9 of file AfniIndex2AfniXYZ.m. |
|
Definition at line 40 of file AfniIndex2AfniXYZ.m. |
|
Definition at line 35 of file AfniIndex2AfniXYZ.m. |
|
Definition at line 37 of file AfniIndex2AfniXYZ.m. Referenced by SUMA_CoordChange(), SUMA_isinbox(), SUMA_process_NIML_data(), SUMA_SwitchState(), SUMA_XYZ_XYZmap(), and SUMA_XYZmap_XYZ(). |
|
Definition at line 34 of file AfniIndex2AfniXYZ.m. Referenced by clear_around_point(), display_coords(), radial_fill(), yuv2rgb_c_16(), yuv2rgb_c_24_bgr(), yuv2rgb_c_24_rgb(), and yuv2rgb_c_32(). |
|
Definition at line 33 of file AfniIndex2AfniXYZ.m. |