Skip to content

AFNI/NIfTI Server

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

Doxygen Source Code Documentation


GE_readHeaderPixel.m File Reference

Go to the source code of this file.


Functions

 width (pixels) of image pix_hdr
 height (pixels) of image pix_hdr
 depth (1, 8, 16, or 24 bits) of pixel pix_hdr
pix_hdr, 'img_ovrflow', fread(fid, 1,'int32setfield ()
version of the header structure
if 
fseek (fid, 2, 0)

Variables

function pix_hdr
type of compression
version of the header structure
if 
byte_align

Function Documentation

depth ,
,
16  ,
or 24  bits
 

Referenced by choose_visual(), DepthCueSlice(), drawable_geom(), Gif_NewXContextFromVisual(), glutGet(), MCW_get_depth(), subdivide(), SUMA_binTesselate(), SUMA_CreateIcosahedron(), and surf_to_node_list().

version of the header structure if fseek fid  ,
,
 

height pixels   ) 
 

Referenced by __glutCreateWindow(), __glutDefaultReshape(), AlphaScaleColors(), apply_frame(), apply_image(), calculate_min_code_bits(), colormap_image_floyd_steinberg(), colormap_image_posterize(), CompositeSlice(), convert_bgr15(), convert_bgr16(), convert_bgr24(), convert_bgr32(), convert_internal(), convert_rgb15(), convert_rgb16(), convert_rgb24(), convert_rgb32(), copy_data_area(), DepthCueSlice(), drawable_geom(), drive_MCW_grapher(), fill_data_area(), finalize_sequence(), flip_image(), Fsize_Note(), generateEPS(), get_used_colors(), Gif_ClipImage(), Gif_CopyImage(), Gif_InterlaceLine(), Gif_SetUncompressedImage(), Gif_XSubImage(), Gif_XSubMask(), glutCreateSubWindow(), glutGet(), glutInit(), glutInitWindowSize(), glutSolidCone(), glutWireCone(), GRA_drawing_EV(), grabPixels(), handle_screen(), histogram(), internal_draw_frame(), ISQ_drawing_EV(), JMovie2JPEG(), main(), mark_used_colors(), MCW_check_iconsize(), merge_image(), mpeg2_header_sequence(), mpeg2_init_fbuf(), mri_drawemptyrectangle(), mri_drawfilledrectangle(), mri_drawtext(), mri_to_XImage(), pgm_setup(), pixar_to_XImage(), plx_TXT(), ppmd_filledrectangle(), ppmd_text(), processEvents(), put_sub_image_colormap(), ReadAYUV(), ReadDecodedRefFrame(), ReadEYUV(), ReadPPM(), ReadSub4(), ReadY(), real_write_image_data(), rotate_image(), save_pgm(), save_ppm(), scale_image(), ScaleColors(), sequence_ext(), Setup_keys(), simple_frame_data(), SUMA_AxisText(), SUMA_CreatePromptActionArea(), SUMA_DrawMesh(), SUMA_generateEPS(), SUMA_grabPixels(), SUMA_read_ppm(), SUMA_WidgetResize(), TranslateSlice(), transp_frame_data(), try_assign_transparency(), view_frame(), VPDepthCueIntImage(), vpGetImage(), vpSetImage(), write_compressed_data(), write_image_data(), and WriteDecodedFrame().

pix_hdr, 'img_ovrflow', fread(fid,1,'int32' setfield  )  [virtual]
 

width pixels   ) 
 

Referenced by __glutCreateWindow(), __glutDefaultReshape(), alloc_vals_list(), AlphaScaleColors(), apply_frame(), apply_image(), apply_image_disposal(), calculate_min_code_bits(), color_quantize(), color_quantize3(), colormap_image_floyd_steinberg(), colormap_image_posterize(), CompositeSlice(), convert_bgr15(), convert_bgr16(), convert_bgr24(), convert_bgr32(), convert_internal(), convert_rgb15(), convert_rgb16(), convert_rgb24(), convert_rgb32(), copy_data_area(), DepthCueSlice(), drawable_geom(), drive_MCW_grapher(), fill_data_area(), finalize_sequence(), flip_image(), Fsize_Note(), generateEPS(), get_used_colors(), Gif_ClipImage(), Gif_SetUncompressedImage(), Gif_XSubImage(), Gif_XSubMask(), glutCreateSubWindow(), glutGet(), glutInit(), glutInitWindowSize(), GRA_drawing_EV(), grabPixels(), handle_screen(), histogram(), ISQ_drawing_EV(), JMovie2JPEG(), lazy_det(), main(), mark_used_colors(), MCW_check_iconsize(), merge_image(), mpeg2_header_sequence(), mri_drawemptyrectangle(), mri_drawfilledrectangle(), mri_to_XImage(), multivector_write(), pass2_fs_dither(), pass2_no_dither(), PDF_float_to_pdf(), pgm_setup(), pixar_to_XImage(), plx_TXT(), ppmd_filledrectangle(), prescan_quantize(), processEvents(), put_sub_image_colormap(), pwrit_(), quantize3_ord_dither(), quantize_fs_dither(), quantize_ord_dither(), ReadAYUV(), ReadDecodedRefFrame(), ReadEYUV(), ReadPPM(), ReadSub4(), ReadY(), real_write_image_data(), realloc_vals_list(), rotate_image(), save_pgm(), save_ppm(), scale_image(), ScaleColors(), SeparateLine(), sequence_ext(), Setup_keys(), simple_frame_data(), srface_(), SUMA_AxisText(), SUMA_cmap_wid_input(), SUMA_DrawMesh(), SUMA_generateEPS(), SUMA_grabPixels(), SUMA_read_ppm(), SUMA_WidgetResize(), TranslateSlice(), transp_frame_data(), try_assign_transparency(), view_frame(), VPDepthCueIntImage(), vpGetImage(), vpSetImage(), write_compressed_data(), write_image_data(), WriteDecodedFrame(), yuv2rgb_c_16(), yuv2rgb_c_24_bgr(), yuv2rgb_c_24_rgb(), and yuv2rgb_c_32().


Variable Documentation

version of the header structure if byte_align
 

Definition at line 32 of file GE_readHeaderPixel.m.

type of compression
 

Definition at line 23 of file GE_readHeaderPixel.m.

byte displacement to user defined data pix_hdr
 

Initial value:

 GE_readHeaderPixel(fid, byte_align)
%
% pix_hdr = read_pixel_header(fid, byte_align)
%
% Loads the pixel header from the file with filed id fid
% and returns it as a structure. 
% if byte_align = 1 then 32-bit alignment (SGI, LX2 format)
% if byte_align = 0 then 16-bit alignment (Sun, 5.X format)
%
% Souheil J. Inati
% Dartmouth College
% May 2000
% souheil.inati@dartmouth.edu
%

% define the structure and read
pix_hdr = struct('img_magic', fread(fid,1,'int32'))

Definition at line 51 of file GE_readHeaderPixel.m.

 

Powered by Plone

This site conforms to the following standards: