![]() |
Microscopy Image Browser
1.233
|
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... | |
Save XML header for the HDF5 formats (for example, Fiji Big Data Viewer)
function result = saveXMLheader | ( | filename, | |
options | |||
) |
Save XML header for the HDF5 formats (for example, Fiji Big Data Viewer)
filename | name of the file: myfile.xml |
options | a structure with 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); or colors for materials of the model .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) .ModelMaterialNames [optional], a cell array with names of materials |
result | 0 - fail, 1 - success |
Examples:
References struct2xml().
Referenced by menuFileSaveImageAs(), menuModelsSaveAs(), and mibchopDatasetGui>chopBtn_Callback().