Microscopy Image Browser 2.91
MIB
Loading...
Searching...
No Matches
mibGetImageMetadata.m File Reference

Get metadata for images. More...

Functions

function [ img_info , files , pixSize ] = mibGetImageMetadata (filenames, options)
 Get metadata for images.
 

Detailed Description

Get metadata for images.

Function Documentation

◆ mibGetImageMetadata()

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

Get metadata for images.

Parameters
filenamesa cell array with filenames of images
optionsa structure with additional parameters .mibBioformatsCheck -> 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 .mibPath -> [optional] a string with path to MIB directory, an optional parameter to mibInputDlg.m .id - id of the current dataset, needed to generate filename for Memoizer class for the virtual mode .BioFormatsMemoizerMemoDir -> obj.mibModel.preferences.ExternalDirs.BioFormatsMemoizerMemoDir; % path to temp folder for Bioformats .BioFormatsIndices -> numeric, indices of images in file container to be opened with BioFormats, when [] or 0 - get all image series .Font -> [optional] a structure with the font settings from mib .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
  • .BioFormatsMemoizerMemoDir -> path to directory containing BioFormats Memoizer memo file, only for BioFormats reader
  • .level -> level of the image pyramid to load or an inden within TIF container
  • .xMin -> optional for loading of a region within the image, min X coordinate of the region to load
  • .xMax -> optional for loading of a region within the image, max X coordinate of the region to load
  • .yMin -> optional for loading of a region within the image, min Y coordinate of the region to load
  • .yMax -> optional for loading of a region within the image, max Y coordinate of the region to load
  • .xyStep -> optional for loading of a region within the image, XY step, pixels between are skipped
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(), max, mibInputDlg(), mibInputMultiDlg(), min, p_json(), selectHDFSeries(), and xml2struct().

Referenced by mibRechopDatasetController.combineBtn_Callback(), mibAlignmentController.getMetaInfo(), mibRechopDatasetController.loadModels(), mibLoadImages(), and mibWoundHealingAssayController.Stitch().

Here is the call graph for this function:
Here is the caller graph for this function: