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

Extracts a slice or its subsection from Amira Mesh to bitmap matrix [1:height, 1:width, 1:colors]. More...

Functions

function bitmap = amiraMeshSlice2bitmap (filename, sliceNo, x1, y1, x2, y2, options)
 Extracts a slice or its subsection from Amira Mesh to bitmap matrix [1:height, 1:width, 1:colors].
 

Detailed Description

Extracts a slice or its subsection from Amira Mesh to bitmap matrix [1:height, 1:width, 1:colors].

Function Documentation

◆ amiraMeshSlice2bitmap()

function bitmap = amiraMeshSlice2bitmap ( filename,
sliceNo,
x1,
y1,
x2,
y2,
options )

Extracts a slice or its subsection from Amira Mesh to bitmap matrix [1:height, 1:width, 1:colors].

Parameters
filename(optional), a filename of amira mesh file, when omitted a file selection dialog is started.
sliceNoslice number
x1starting x point
y1starting y point
x2ending x point
y2ending y point
optionsan optional structure with additional parameters .classType - a string with the class of the image, uint8, uint16, uint32 .width - width of the image .height - height of the image .depth - depth of the image .colors - number of colors
Return values
bitmap- dataset, [1:height, 1:width, 1:colors]
Required fields of options:

References mib_uigetfile().

Here is the call graph for this function: