![]() |
Microscopy Image Browser
1.233
|
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... | |
Calculate update resolution fields in the imageData.img_info(ImageDescription
) or recalculate physical size of voxels.
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.
BoundingBox
information exist in the imageData.img_info(ImageDescription
) the function recalculates the imageData.pixSize based on information from the BoundingBox.BoundingBox
is missing, but imageData.img_info(XResolution
) is present the imageData.pixSize recalculated based on XResolution and YResolution informationBoundingBox
and XResolution
is missing, the resolution is recalculated based on imageData.pixSizeimg_info | information about the dataset, an instance of the containers .Map class |
pixSize | a structure (imageData.pixSize) with diminsions of voxels, .x .y .z .t .tunits .units
|
img_info | updated imageData.img_info |
pixSize | updated imageData.pixSize |
References ib_calculatePixSizes(), and ib_calculateResolution().
Referenced by ib_loadImages(), and imageData.replaceDataset().