Microscopy Image Browser  1.233
All Classes Files Functions Variables Pages
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. More...
 

Detailed Description

Save bitmap matrix to NRRD format.

Function Documentation

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:

Referenced by menuFileSaveImageAs(), menuModelsSaveAs(), cropObjectsDlg>cropBtn_Callback(), and mibchopDatasetGui>chopBtn_Callback().

Here is the caller graph for this function: