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

Calculate update resolution fields in the imageData.img_info(ImageDescription) or recalculate physical size of voxels. More...

Functions

function [
img_info ,
pixSize ] = 
ib_updatePixSizeAndResolution (img_info, pixSize)
 Calculate update resolution fields in the imageData.img_info(ImageDescription) or recalculate physical size of voxels. More...
 

Detailed Description

Calculate update resolution fields in the imageData.img_info(ImageDescription) or recalculate physical size of voxels.

Function Documentation

function [ img_info , pixSize ] = ib_updatePixSizeAndResolution (   img_info,
  pixSize 
)

Calculate update resolution fields in the imageData.img_info(ImageDescription) or recalculate physical size of voxels.

Parameters
img_infoinformation about the dataset, an instance of the containers.Map class
pixSizea structure (imageData.pixSize) with diminsions of voxels,
.x .y .z .t .tunits .units
the fields are
  • .x - physical width of a pixel
  • .y - physical height of a pixel
  • .z - physical thickness of a pixel
  • .t - time between the frames for 2D movies
  • .tunits - time units
  • .units - physical units for x, y, z. Possible values: [m, cm, mm, um, nm]
Return values
img_infoupdated imageData.img_info
pixSizeupdated imageData.pixSize
Generated fields of pixSize:

References ib_calculatePixSizes(), and ib_calculateResolution().

Referenced by ib_loadImages(), and imageData.replaceDataset().

Here is the call graph for this function:

Here is the caller graph for this function: