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

Save bitmap matrix to NRRD format. More...

Functions

function result = bitmap2nrrd (filename, bitmap, bb, options)
 Save bitmap matrix to NRRD format.
 

Detailed Description

Save bitmap matrix to NRRD format.

Function Documentation

◆ bitmap2nrrd()

function result = bitmap2nrrd ( filename,
bitmap,
bb,
options )

Save bitmap matrix to NRRD format.

Format description
http://teem.sourceforge.net/nrrd/format.html
Parameters
filenamefilename for NRRD
bitmapa dataset, [1:height, 1:width, 1:colors, 1:no_stacks]
bbbounding box information, a vector [minX, maxX, minY, maxY, minZ, maxZ]
optionsa structure with some optional parameters
  • .overwrite - if 1 do not check whether file with provided filename already exists
  • .showWaitbar - if 1 - show the wait bar, if 0 - do not show
Return values
resultresult of the function run, 1 - success, 0 - fail
Required fields of options:

References max.

Referenced by mibChopDatasetController.chopBtn_Callback(), mibCropObjectsController.cropBtn_Callback(), mibCropObjectsController.generatePatches(), mibImage.saveImageAsDialog(), and mibImage.saveModel().

Here is the caller graph for this function: