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

Export volume in MRC format. More...

Functions

function result = ib_image2mrc (O, Options)
 Export volume in MRC format. More...
 

Detailed Description

Export volume in MRC format.

Function Documentation

function result = ib_image2mrc (   O,
  Options 
)

Export volume in MRC format.

Note
Requires matTomo function set, provided in im_browser
Parameters
Oa dataset, [1:height,1:width,1:thickness] or [1:height,1:width,1,1:thickness]
Optionsa structure:
  • .volumeFilename a filename, use mrc extension
  • .pixSize.x - physical width of the voxels
  • .pixSize.y - physical height of the voxels
  • .pixSize.z physical thickness of the voxels
  • .pixSize.units - physical units
  • .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(), and cropObjectsDlg>cropBtn_Callback().

Here is the caller graph for this function: