Microscopy Image Browser  1.10
 All Classes Files Functions Variables Pages
saveXMLheader.m File Reference

Save XML header for the HDF5 formats (for example, Fiji Big Data Viewer) More...

Functions

function result = saveXMLheader (filename, options)
 Save XML header for the HDF5 formats (for example, Fiji Big Data Viewer) More...
 

Detailed Description

Save XML header for the HDF5 formats (for example, Fiji Big Data Viewer)

Function Documentation

function result = saveXMLheader (   filename,
  options 
)

Save XML header for the HDF5 formats (for example, Fiji Big Data Viewer)

Parameters
filenamename of the file: myfile.xml
optionsa structure with optional parameters .Format - a string, template for storing data "bdv.hdf5", ilastik.hdf5, matlab.hdf5 .height - height of the dataset .width - width of the dataset .colors - number of colors in the dataset .depth - number of z-stacks of the dataset .time - number of time points .pixSize - a structure with pixel size of the dataset (.x .y .z .units) .lutColor - [optional], a matrix with definition of color channels [1:colorChannel, R G B], (0-1) .ImageDescription - [optional], a string with description of the dataset .DatasetName - [optional], name of the dataset in the H5 file (not used with Big Data Viewer)
Return values
result0 - fail, 1 - success
Required fields of options:

Examples:

saveXMLheader('c:\data\mydataset.xml', options); // save xml file

References struct2xml().

Referenced by menuFileSaveImageAs().

Here is the call graph for this function:

Here is the caller graph for this function: