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

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

Functions

function [ bitmap ,
par ] = 
amiraMesh2bitmap (filename, options)
 Converts Amira Mesh to bitmap matrix [1:height, 1:width, 1:colors, 1:no_stacks]. More...
 

Detailed Description

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

Function Documentation

function [ bitmap , par ] = 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
Return values
bitmap- dataset, [1:height, 1:width, 1:colors, 1:no_stacks]
par- structure with parameters from Amira Mesh file
Required fields of options:

References amiraLabels2bitmap().

Referenced by ib_getImages().

Here is the call graph for this function:

Here is the caller graph for this function: