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

Calculate image resolution in Inch as default for saving tifs. More...

Functions

function
resolution = 
ib_calculateResolution (pixSize)
 Calculate image resolution in Inch as default for saving tifs. More...
 

Detailed Description

Calculate image resolution in Inch as default for saving tifs.

Function Documentation

function resolution = ib_calculateResolution (   pixSize)

Calculate image resolution in Inch as default for saving tifs.

Parameters
pixSizea structure with voxel physical dimensions, the three following fields are used:
  • .x - physical width of the pixel
  • .y - physical height of the pixel
  • .units - physical units: 'm', 'cm', 'mm', 'um', 'nm'
Return values
resolutiona vector [XResolution, YResolution] in Pixels/Inch
Required fields of pixSize:

Referenced by ib_updatePixSizeAndResolution(), ibresampleGui>resampleBtn_Callback(), mibBoundingBoxDlg>okBtn_Callback(), and imageData.updateParameters().

Here is the caller graph for this function: