Microscopy Image Browser  1.233
All Classes Files Functions Variables Pages
getImageMetadata.m File Reference

Get metadata for images. More...

Functions

function [
img_info , files ,

pixSize ] = 
getImageMetadata (filenames, options)
 Get metadata for images. More...
 

Detailed Description

Get metadata for images.

Function Documentation

function [ img_info , files , pixSize ] = getImageMetadata (   filenames,
  options 
)

Get metadata for images.

Parameters
filenamesa cell array with filenames of images
optionsa structure with additional parameters .bioformatsCheck -> 0 or 1; when 1 use the BioFormats library .waitbar -> 0 or 1; when 1 shows the progress bar .customSections -> 0 or 1; when 1 obtain part of the dataset .matlabVersion -> [optional] current version of Matlab .Font -> [optional] a structure with the font settings from im_browser .FontName .FontUnits .FontSize
Return values
img_infoin the format compatible with imageData.img_info containers.Map
filesa structure with file-info, can be empty: []
  • .object_type -> movie, hdf5_image, image
  • .filename
  • .seriesName -> index of the series for HDF5/Bioformats
  • .seriesRealName -> real names of the series for Bioformats
  • .height
  • .width
  • .color
  • .noLayers -> number of image frames in the file
  • .imgClass -> class of the image
  • .dim_xyczt -> dimensions for hdf5_image and Bioformats
  • .hDataset -> handle to Bioformats dataset
pixSizea structure with voxel dimensions (.x, .y, .z, .units, .t, .tunits)
Required fields of options:
Generated fields of pixSize:

References get_nrrd_metadata(), getAmiraMeshHeader(), getXMLheader(), ib_amiraImportGui(), mib_inputdlg(), p_json(), selectHDFSeries(), and xml2struct().

Referenced by ib_loadImages(), mibDriftAlignDlg>getMetaInfo(), mibrechopDatasetGui>combineBtn_Callback(), and mibrechopDatasetGui>loadModels().

Here is the call graph for this function:

Here is the caller graph for this function: