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

Converts Amira Mesh to bitmap matrix [1:height, 1:width, 1:colors, 1:no_stacks]. More...

Functions

function [ bitmap , par , status ] = amiraMesh2bitmap (filename, options)
 Converts Amira Mesh to bitmap matrix [1:height, 1:width, 1:colors, 1:no_stacks].
 
function parValueText = amiraMesh2bitmap>loopHeader (fid, parValueText, level)
 

Detailed Description

Converts Amira Mesh to bitmap matrix [1:height, 1:width, 1:colors, 1:no_stacks].

Function Documentation

◆ amiraMesh2bitmap()

function [ bitmap , par , status ] = amiraMesh2bitmap ( filename,
options )

Converts Amira Mesh to bitmap matrix [1:height, 1:width, 1:colors, 1:no_stacks].

Parameters
filename(optional), a filename of amira mesh file, when omitted a file selection dialog is started.
optionsa structure with extra options
  • .hWaitbar -> handles to the existing waitbar
  • .maxZ -> maximal number of z-slices in the dataset
  • .depth_start - > [optional], to take only specified sections
  • .depth_end - > [optional], to take only specified sections
  • .depth_step -> [optional], Z-step to take not all sections
  • .xy_step -> [optional], XY-step, i.e. binning factor
  • .resizeMethod -> [optional], resize Method for binning the XY-dimension
  • .getMeta -> [optional], logical, default=true, acquire meta data
  • .verbose -> [optional], logical, default=true, make a printf message of the loaded file
Return values
bitmap- dataset, [1:height, 1:width, 1:colors, 1:no_stacks]
par- structure with parameters from Amira Mesh file
status- logical switch indicating success of the function
Required fields of options:

References amiraLabels2bitmap(), max, and mib_uigetfile().

Referenced by mibDeepStoreLoadImages(), mibGetImages(), and mibDeepController.processImages().

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

◆ amiraMesh2bitmap>loopHeader()

function parValueText = amiraMesh2bitmap>loopHeader ( fid,
parValueText,
level )