![]() |
Microscopy Image Browser
1.233
|
Convert matrix [1:height, 1:width, 1:no_stacks] to Amira Mesh Labels. More...
Functions | |
| function result = | bitmap2amiraLabels (filename, bitmap, format, voxel, color_list, modelMaterialNames, overwrite, showWaitbar) |
| Convert matrix [1:height, 1:width, 1:no_stacks] to Amira Mesh Labels. More... | |
Convert matrix [1:height, 1:width, 1:no_stacks] to Amira Mesh Labels.
| function result = bitmap2amiraLabels | ( | filename, | |
| bitmap, | |||
| format, | |||
| voxel, | |||
| color_list, | |||
| modelMaterialNames, | |||
| overwrite, | |||
| showWaitbar | |||
| ) |
Convert matrix [1:height, 1:width, 1:no_stacks] to Amira Mesh Labels.
| filename | filename for Amira Mesh file |
| bitmap | the dataset, [1:height, 1:width, 1:no_stacks] |
| format | [optional], saving format: 'binaryRLE', 'ascii', 'binary' (default) |
| voxel | [optional], a structure with voxel size:
|
| color_list | [optional], a matrix with colors for the materials as [materialId][Red, Green, Blue] from 0-1; can be empty |
| modelMaterialNames | [optional], cell array with names of the materials, can be empty |
| overwrite | [optional], if 1 do not check whether file with provided filename already exists |
| showWaitbar | [optional], if 1 - show the wait bar, if 0 - do not show |
| result | result of the function run, 1 - success, 0 - fail |
Referenced by menuMaskSaveAs(), menuModelsSaveAs(), cropObjectsDlg>cropBtn_Callback(), and mibchopDatasetGui>chopBtn_Callback().
