|
Doxygen Source Code Documentation
BrikInfo.m File Reference
Go to the source code of this file.
|
Functions |
| if (~isempty(xtr)) |
end | if (is1D) |
| if (err) = BrikLoad(file(i).nm,Opt) |
| if (~isempty(vtmp)) |
| if (isempty(vtmp)) |
end | if (exist(BrickName)~=2) |
| if (fidin< 0) = ia(i)+100 |
| fclose (fidin) |
| if (~err) |
| for (i=1:1:Info.VOLREG_ROTCOM_NUM) |
Variables |
| function [err, Info, BRIKinfo] |
Orientation(:, 1)'forms the
three letter orientation code%The ith row of Orientation
describes the orientation
along that dimension.%see
AFNI's README.attributes for
a complete description of
these fields%MANDATORY FIELDS
AS SPECIFIED IN Debug Flag | DBG = 1 |
initailize return variables | err = 1 |
| Info = [] |
check if this is a D file | is1D = 0 |
end D | land [err, V, Info] = Read_1D(BrickName, 1) |
| ErrMessage = sprintf ('%s: Failed to read %s file', FuncName, BrickName) |
| return |
end clear | V = [] |
end | vtmp = findstr(BrickName,'.BRIK') |
remove BRIK | BrickName = BrickName(1:vtmp(1)-1) |
Info | RootName = BrickName(1:vtmp-1) |
| fidin = fopen(BrickName,'r') |
end | BRIKinfo = fscanf(fidin,'%c') |
| N_BRIKinfo = length(BRIKinfo) |
get subBrik info | Nx |
get subBrik info | Ny |
get subBrik info | Nz [err, Info.DATASET_DIMENSIONS] = BrikInfo_SectionValue (BRIKinfo, 'DATASET_DIMENSIONS') |
| DATASET_RANK [err, Info.DATASET_RANK] = BrikInfo_SectionValue(BRIKinfo, 'DATASET_RANK') |
| BRICK_TYPES [err, Info.BRICK_TYPES] = BrikInfo_SectionValue(BRIKinfo, 'BRICK_TYPES') |
| BRICK_STATS [err, Info.BRICK_STATS] = BrikInfo_SectionValue(BRIKinfo, 'BRICK_STATS') |
| BRICK_FLOAT_FACS [err, Info.BRICK_FLOAT_FACS] = BrikInfo_SectionValue(BRIKinfo, 'BRICK_FLOAT_FACS') |
| BYTEORDER_STRING [err, Info.BYTEORDER_STRING] = BrikInfo_SectionValue(BRIKinfo, 'BYTEORDER_STRING') |
| ORIENT_SPECIFIC [err, Info.ORIENT_SPECIFIC] = BrikInfo_SectionValue(BRIKinfo, 'ORIENT_SPECIFIC') |
| ORIGIN [err, Info.ORIGIN] = BrikInfo_SectionValue(BRIKinfo, 'ORIGIN') |
| DELTA [err, Info.DELTA] = BrikInfo_SectionValue(BRIKinfo, 'DELTA') |
| BRICK_LABS [err, Info.BRICK_LABS] = BrikInfo_SectionValue(BRIKinfo, 'BRICK_LABS') |
| BRICK_KEYWORDS [err, Info.BRICK_KEYWORDS] = BrikInfo_SectionValue(BRIKinfo, 'BRICK_KEYWORDS') |
| SCENE_DATA [err, Info.SCENE_DATA] = BrikInfo_SectionValue(BRIKinfo, 'SCENE_DATA') |
| TYPESTRING [err, Info.TYPESTRING] = BrikInfo_SectionValue(BRIKinfo, 'TYPESTRING') |
| TAXIS_NUMS [err, Info.TAXIS_NUMS] = BrikInfo_SectionValue(BRIKinfo, 'TAXIS_NUMS') |
| TAXIS_FLOATS [err, Info.TAXIS_FLOATS] = BrikInfo_SectionValue(BRIKinfo, 'TAXIS_FLOATS') |
| TAXIS_OFFSETS [err, Info.TAXIS_OFFSETS] = BrikInfo_SectionValue(BRIKinfo, 'TAXIS_OFFSETS') |
| IDCODE_STRING [err, Info.IDCODE_STRING] = BrikInfo_SectionValue(BRIKinfo, 'IDCODE_STRING') |
| IDCODE_DATE [err, Info.IDCODE_DATE] = BrikInfo_SectionValue(BRIKinfo, 'IDCODE_DATE') |
| BRICK_STATAUX [err, Info.BRICK_STATAUX] = BrikInfo_SectionValue(BRIKinfo, 'BRICK_STATAUX') |
| STAT_AUX [err, Info.STAT_AUX] = BrikInfo_SectionValue(BRIKinfo, 'STAT_AUX') |
| HISTORY_NOTE [err, Info.HISTORY_NOTE] = BrikInfo_SectionValue(BRIKinfo, 'HISTORY_NOTE') |
| NOTES_COUNT [err, Info.NOTES_COUNT] = BrikInfo_SectionValue(BRIKinfo, 'NOTES_COUNT') |
| NOTE_NUMBER_001 [err, Info.NOTE_NUMBER_001] = BrikInfo_SectionValue(BRIKinfo, 'NOTE_NUMBER_001') |
| TAGALIGN_MATVEC [err, Info.TAGALIGN_MATVEC] = BrikInfo_SectionValue(BRIKinfo, 'TAGALIGN_MATVEC') |
| VOLREG_CENTER_OLD [err, Info.VOLREG_CENTER_OLD] = BrikInfo_SectionValue(BRIKinfo, 'VOLREG_CENTER_OLD') |
| VOLREG_CENTER_BASE [err, Info.VOLREG_CENTER_BASE] = BrikInfo_SectionValue(BRIKinfo, 'VOLREG_CENTER_BASE') |
| VOLREG_ROTPARENT_IDCODE [err, Info.VOLREG_ROTPARENT_IDCODE] = BrikInfo_SectionValue(BRIKinfo, 'VOLREG_ROTPARENT_IDCODE') |
| VOLREG_ROTPARENT_NAME [err, Info.VOLREG_ROTPARENT_NAME] = BrikInfo_SectionValue(BRIKinfo, 'VOLREG_ROTPARENT_NAME') |
| VOLREG_GRIDPARENT_IDCODE [err, Info.VOLREG_GRIDPARENT_IDCODE] = BrikInfo_SectionValue(BRIKinfo, 'VOLREG_GRIDPARENT_IDCODE') |
| VOLREG_GRIDPARENT_NAME [err, Info.VOLREG_GRIDPARENT_NAME] = BrikInfo_SectionValue(BRIKinfo, 'VOLREG_GRIDPARENT_NAME') |
| VOLREG_INPUT_IDCODE [err, Info.VOLREG_INPUT_IDCODE] = BrikInfo_SectionValue(BRIKinfo, 'VOLREG_INPUT_IDCODE') |
| VOLREG_INPUT_NAME [err, Info.VOLREG_INPUT_NAME] = BrikInfo_SectionValue(BRIKinfo, 'VOLREG_INPUT_NAME') |
| VOLREG_BASE_IDCODE [err, Info.VOLREG_BASE_IDCODE] = BrikInfo_SectionValue(BRIKinfo, 'VOLREG_BASE_IDCODE') |
| VOLREG_BASE_NAME [err, Info.VOLREG_BASE_NAME] = BrikInfo_SectionValue(BRIKinfo, 'VOLREG_BASE_NAME') |
| VOLREG_ROTCOM_NUM [err, Info.VOLREG_ROTCOM_NUM] = BrikInfo_SectionValue(BRIKinfo, 'VOLREG_ROTCOM_NUM') |
| sp = pad_strn(num2str(i-1), '0', 6, 1) |
Function Documentation
|
Referenced by AFNI_finalize_write_palette_CB(), AFNI_finalsave_layout_CB(), AFNI_logger(), AppendFile(), backup(), calculate_results(), calcWithOffsets(), check_dicom_magic_num(), cleanUpAndFail(), clf(), close_backing_store(), CloseBitRateFile(), COMPRESS_fclose(), compressStream(), create_gert_script(), def_commons(), DELAY_main(), DUMP_main(), EXTRACT_main(), f__nowwriting(), f_clos(), f_end(), f_file_size(), f_open(), fileExists(), filexists(), FIM_selection(), final_cleanup(), float_file_size(), FramesToMPEG(), ge_header(), generateEPS(), GenMPEGStream(), GenPFrame(), get_input_stream(), get_UNIQ_string(), GetRemoteFrame(), GIF_Get_Next_Entry(), GIF_Read_File(), GOPStoMPEG(), handle_tta(), HISTO_main(), input_stream(), is_file(), ISQ_saver_CB(), JMovie2JPEG(), list_init_data(), main(), matrix_file_write(), MCW_filetype(), mcw_malloc_dump(), MD5_B64_file(), MD5_static_file(), mri_imcount_analyze75(), mri_imcount_dicom(), mri_imcount_mpeg(), mri_imcount_siemens(), mri_input_delay(), mri_possibly_dicom(), mri_read(), mri_read3D_analyze75(), mri_read_3D(), mri_read_3D_delay(), mri_read_analyze75(), mri_read_ascii(), mri_read_ascii_ragged(), mri_read_dicom(), mri_read_ppm(), mri_read_ppm3(), mri_read_ppm_header(), mri_read_siemens(), mri_warp3d_align_one(), mri_write(), mri_write_7D(), mri_write_analyze(), mri_write_ascii(), mri_write_pnm(), mri_write_raw(), multivector_read(), multivector_write(), NI_malloc_dump(), NI_read_file_nohead(), NI_read_URL_tmpdir(), NI_stream_close_keep(), output_information(), output_results(), output_rms_arrays(), output_state_history(), PBAR_read_bigmap(), PDF_write_file(), Pfile(), pgm_draw_frame(), pipe_color_transformer(), ply_close(), pm_closer(), pm_closew(), PRIC_main(), PrintEndStats(), process(), process_file(), ProcessRefFrame(), ps_closepl(), qhull_wrap(), r_mri_read_dicom(), RCREND_save_many_CB(), RCREND_save_this_CB(), read_ascii_floats(), read_colormap_file(), Read_file(), read_ge_header(), read_ge_image(), read_glt_matrix(), read_JPEG_file(), Read_part_file_delay(), read_piece(), read_quant_tables(), read_scan_script(), read_URL_ftp(), read_URL_http(), read_URL_tmpdir(), ReadDecodedRefFrame(), ReadFrame(), ReadInputFileNames(), ReadParamFile(), REND_save_many_CB(), REND_save_this_CB(), REORDER_parseMap(), RWC_read_time_series(), s_paus(), save_pgm(), save_ppm(), select_file_name(), SFIM_load_intervals(), start_formatting(), StartIOServer(), StartMasterServer(), SUMA_BinarySuck(), SUMA_BrainVoyager_Read(), SUMA_BrainVoyager_Read_vmr(), SUMA_Build_Cluster_From_Node(), SUMA_Cmap_To_SO(), SUMA_Cmap_To_SO_old(), SUMA_Convexity_Engine(), SUMA_EquateSurfaceSize(), SUMA_FileSelection_file_select_cb(), SUMA_filexists(), SUMA_FindVoxelsInSurface(), SUMA_FindVoxelsInSurface_SLOW(), SUMA_float_file_size(), SUMA_FormNeighbOffset(), SUMA_FreeSurfer_Read_eng(), SUMA_FreeSurfer_ReadBin_eng(), SUMA_FreeSurfer_WritePatch(), SUMA_FS_Write(), SUMA_generateEPS(), SUMA_IV_FaceSetsextract(), SUMA_IV_XYZextract(), SUMA_OrientTriangles(), SUMA_Pattie_Volume(), SUMA_ProjectSurfaceToSphere(), SUMA_qhull_wrap(), SUMA_read1D(), SUMA_Read_2Ddfile(), SUMA_Read_2Dfile(), SUMA_Read_dfile(), SUMA_Read_file(), SUMA_Read_SpecFile(), SUMA_Read_SureFit_Param(), SUMA_readFSannot(), SUMA_SaveSOascii(), SUMA_ScaleToMap_alaAFNI(), SUMA_SphereQuality(), SUMA_StretchToFitLeCerveau(), SUMA_Suggest_Touchup_Grad(), SUMA_SureFit_Read_Coord(), SUMA_SureFit_Read_Topo(), SUMA_SureFit_Write(), SUMA_Surface_Curvature(), SUMA_VEC_Write(), SUMA_write1D(), SUMA_Write_DrawnROI_1D(), SUMA_writeColorFile(), SUMA_writeFSfile(), SUMA_writeSpecFile(), T3D_check_outliers(), T3D_initialize_user_data(), t_runc(), TAG_read_CB(), TAG_write_CB(), testStream(), THD_copy_file(), THD_init_session(), THD_load_analyze(), THD_load_ctfmri(), THD_load_ctfsam(), THD_load_mpeg(), THD_open_1D(), THD_open_analyze(), THD_open_ctfmri(), THD_open_ctfsam(), THD_read_all_atr(), THD_write_1D(), THD_write_atr(), ts_fprint(), TS_parse_tpattern(), ts_write(), TTRR_load_file(), TTRR_save_CB(), uncompressStream(), v2s_write_outfile_1D(), vector_write(), VOLREG_main(), write_data_to_file(), write_float(), write_JPEG_file(), write_many_ts(), write_one_ts(), write_piece(), write_stream(), write_table(), and WriteDecodedFrame(). |
Variable Documentation
BRICK_FLOAT_FACS[err, Info.BRICK_FLOAT_FACS] = BrikInfo_SectionValue(BRIKinfo, 'BRICK_FLOAT_FACS') |
|
BRICK_STATS[err, Info.BRICK_STATS] = BrikInfo_SectionValue(BRIKinfo, 'BRICK_STATS') |
|
Number of subbriks end Info DATASET_RANK = BrikInfo_SectionValue(BRIKinfo, 'DATASET_RANK') |
|
Orientation (:,1)' forms the three letter orientation code % The ith row of Orientation describes the orientation along that dimension. % see AFNI's README.attributes for a complete description of these fields % MANDATORY FIELDS AS SPECIFIED IN Debug Flag DBG = 1 |
|
|
Initial value:
Definition at line 1 of file BrikInfo.m. |
SCENE_DATA[err, Info.SCENE_DATA] = BrikInfo_SectionValue(BRIKinfo, 'SCENE_DATA') |
|
sp = pad_strn(num2str(i-1), '0', 6, 1) |
|
|
Definition at line 271 of file BrikInfo.m.
Referenced by disp_numeric_data(), get_line_args(), glob(), init_seg_endpoints(), intraddr(), intrcall(), l_R(), mri_read_dicom(), name_path(), NCxdr_shortsb(), ne_d(), NI_decode_one_string(), NI_rowtype_define(), NI_stat_decode(), pr_att_string(), pr_tvals(), process_as_floats(), process_data(), putmnmx(), qSort3(), r_debug_check(), r_mri_read_dicom(), rd_F(), read_URL_ftp(), sphere_voronoi_angles(), sphere_voronoi_vectors(), suma2afni_surf(), SUMA_BrainVoyager_Read_vmr(), SUMA_OpenDX_Read_CruiseVolHead(), THD_open_3D(), THRESH_region_grow(), v1h_get_size_t(), v1h_put_size_t(), and xdr_shorts(). |
TAXIS_NUMS[err, Info.TAXIS_NUMS] = BrikInfo_SectionValue(BRIKinfo, 'TAXIS_NUMS') |
|
|