- •In the structure returned from imfinfo function.
- •In addition to these png parameters, you can use any
- •Images), 'rle' (run-length encoding of 1-bit
- •Interleave: The format in which the data is stored. This can be
- •Cdf file handling
- •Image An array of structures containing information
- •IdxMapInfo a structure with 'Map' and 'Size' describing the
- •Vdata | 'Fields'
- •Values for 'Interpolate' are: lon, lat
- •It is written in the file. Each dimension in the file's datasets
- •Hdf version 5 data objects
- •Cdf library interface
- •Inquire - return basic characteristics of cdf
- •InquireVar - return information about cdf variable
- •Hdf version 4 library interface
- •Identifier.
- •Values for funcstr. For example, hdfdf24('lastref') corresponds to the
- •Values for funcstr. For example, hdfdfr8('setpalette',map) corresponds
- •Identifier.
- •In cases where the hdf c library accepts null for certain inputs, an
- •Identical to maxcache, but is -1 if the operation fails.
- •Xdimsize,ydimsize,upleft,lowright)
- •Vector of up to 13 elements containing projection-specific
- •Vector containing the number of values to read along each
- •Is a vector containing the dimension sizes of the subsetted region.
- •Index (zero-based) of the desired level. Fieldlist is a string
- •Vert_field,range)
- •Is an array containing the rank (number of dimensions) for each
- •Is an array of compression parameters. Status is -1 and other
- •Hdf version 5 library interface
- •Iterate - Calls a user function for each attribute
- •Vlen_get_buf_size - Determines storage requirements for vl data
- •Is_hdf5 - Determines if a file is in the hdf5 format
- •Is_simple - Determines if dataspace is simple
- •LibTiff library interface
- •InkSet - Set of inks used in a separated image
- •NetCdf library interface
- •In most cases, the syntax of the matlab function is similar to the
InquireVar - return information about cdf variable
hyperGetVarData - read CDF variable hyperslab
hyperPutVarData - write CDF variable hyperslab
putVarData - write single datum to CDF variable
putVarRecordData - write entire CDF variable record
renameVar - rename existing CDF variable
setVarAllocBlockRecords - specify range of records to be allocated
setVarBlockingFactor - specify CDF variable blocking factor
setVarCacheSize - specify multi-file cache buffers
setVarCompression - specify CDF variable compression
setVarInitialRecs - specify initial records
setVarPadValue - specify pad value
setVarReservePercent - specify compression reserve percentage
setVarsCacheSize - specify cache buffers for all CDF variables
setVarSparseRecords - specify sparse record type
-- CDF Attributes/Entries --
createAttr - create attribute
deleteAttr - delete attribute
deleteAttrEntry - delete variable attribute entry
deleteAttrgEntry - delete global attribute entry
getAttrEntry - read variable attribute entry
getAttrgEntry - read global attribute entry
getAttrMaxEntry - return last entry number of variable attribute
getAttrMaxgEntry - return last entry number of global attribute
getAttrName - return attribute name
getAttrNum - return attribute number
getAttrScope - return attribute scope
getNumAttrEntries - return number of entries for variable attribute
getNumAttrgEntries - return number of entries for global attribute
getNumgAttributes - return number of global attributes
getNumAttributes - return number of variable attributes
inquireAttr - return information about attribute
inquireAttrEntry - return information about variable attribute entry
inquireAttrgEntry - return information about global attribute entry
putAttrEntry - write a variable attribute entry
putAttrgEntry - write a global attribute entry
renameAttr - rename attribute
-- EPOCH Utility Routines --
computeEpoch - calculate EPOCH value
computeEpoch16 - calculate EPOCH16 value
epochBreakdown - decompose EPOCH value
epoch16Breakdown - decompose EPOCH16 value
Please read the file cdfcopyright.txt for more information.
See also cdfread, cdfwrite, cdfinfo.
Hdf version 4 library interface
<hdf > - MEX-file interface to the HDF library.
HDF MATLAB-HDF gateway function.
HDF is a MEX-file interface to the HDF4 library developed and supported
by the HDF Group.
Currently HDF supports all or a portion of the following HDF4
interfaces: SD, V, VS, VF, VH, AN, DFR8, DF24, H, HE, and HD. In
addition, a MathWorks-specific ML interface contains a few utilities
for managing the gateway. To use these functions, you should be
familiar with the information about their respective interfaces
contained in the User's Guide and Reference Manual for HDF version
4.2r4. This documentation may be obtained from The HDF Group at
<http://www.hdfgroup.org>.
Functions are also available for the HDF-EOS version 2.16 interfaces
GD, PT, and SW. These functions are called HDFGD, HDFPT, and HDFSW,
respectively. Additional information about their respective
interfaces is contained in the following documents:
HDF-EOS Library User's Guide for the ECS Project,
Volume 1: Overview and Examples
HDF-EOS Library User's Guide for the ECS Project,
Volume 2: Function Reference Guide
This documentation may be obtained at
<http://newsroom.gsfc.nasa.gov/sdptoolkit/TKDocuments.html>, and
additional information may be found at <http://hdfeos.org/>.
You should not use this function directly. Instead, use the functions
that are interface specific. For example, to access an HDF function
in the SD interface, use HDFSD.
Please read the file hdf4copyright.txt for more information.
See also hdfan, hdfdf24, hdfdfr8, hdfgd, hdfh, hdfhd, hdfhe, hdfhx,
hdfinfo, hdfml, hdfpt, hdfread, hdfsd, hdfsw, hdftool, hdfv,
hdfvf, hdfvh, hdfvs, hdf5
Reference page in Help browser
doc hdf
<hdfan> - MATLAB Gateway to HDF multifile annotation interface.
HDFAN MATLAB gateway to HDF multifile annotation interface.
HDFAN is a gateway to the HDF multifile annotation (AN) interface.
The general syntax for HDFAN is
HDFAN(funcstr,param1,param2,...). There is a one-to-one correspondence
between AN functions in the HDF library and valid values for funcstr.
For example, HDFAN('endaccess',annot_id) corresponds to the C library
call ANendaccess(annot_id).
Syntax conventions
------------------
A status or identifier output of -1 indicates that the operation
failed.
The input variable annot_type can in general be one of these strings:
'file_label', 'file_desc', 'data_label', 'data_desc'.
AN_id refers to the multifile annotation interface identifier.
annot_id refers to an individual annotation identifier. You must be
sure to terminate access to all opened identifiers using either
hdfan('end',AN_id) or hdfan('endaccess',annot_id); otherwise the HDF
library may not properly write all data to the file.
Access functions
----------------
Access functions initialize the interface and provide and terminate
access to annotations. The HDFAN syntaxes for the AN access functions
include:
AN_id = hdfan('start', file_id)
Initializes the multifile annotation interface.
annot_id = hdfan('select', AN_id, index, annot_type)
Selects and returns the identifier for the annotation identified by
the given index value and annotation type.
status = hdfan('end', AN_id)
Terminates access to the multifile annotation interface.
annot_id = hdfan('create', AN_id, tag, ref, annot_type)
Creates a data annotation for the object identified by the
specified tag and reference number; annot_type may be 'data_label'
or 'data_desc'.
annot_id = hdfan('createf', AN_id, annot_type)
Creates a file label or file description annotation; annot_type may
be 'file_label' or 'file_desc'.
status = hdfan('endaccess', annot_id)
Terminates access to an annotation.
Read/write functions
--------------------
Read/write functions read and write file or object annotations. The
HDFAN syntaxes for the AN read/write functions include:
status = hdfan('writeann', annot_id, annot_string)
Write annotation corresponding to the given annotation identifier.
[annot_string, status] = hdfan('readann', annot_id)
[annot_string, status] = hdfan('readann', annot_id, max_str_length)
Read annotation corresponding to the given annotation identifier;
max_str_length is optional. If max_str_length is provided,
annot_string will not be longer than max_str_length.
General inquiry functions
-------------------------
General inquiry functions return information about the annotations in a
file. The HDFAN syntaxes for the AN general inquiry functions include:
num_annot = hdfan('numann', AN_id, annot_type, tag, ref)
Get number of annotations of specified type corresponding to given
tag/ref pair.
[ann_list, status] = hdfan('annlist', AN_id, annot_type, tag, ref)
Get list of annotations of given type in file corresponding to
given tag/ref pair.
length = hdfan('annlen', annot_id)
Get length of annotation corresponding to given annotation
