![]() |
Microscopy Image Browser 2.91
MIB
|
Calculate update resolution fields in the imageData.img_info(ImageDescription
) or recalculate physical size of voxels.
More...
Functions | |
function [ img_info , pixSize ] = | mibUpdatePixSizeAndResolution (img_info, pixSize) |
Calculate update resolution fields in the imageData.img_info(ImageDescription ) or recalculate physical size of voxels. | |
Calculate update resolution fields in the imageData.img_info(ImageDescription
) or recalculate physical size of voxels.
function [ img_info , pixSize ] = mibUpdatePixSizeAndResolution | ( | 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 max, mibCalculatePixSizes(), mibCalculateResolution(), and min.
Referenced by mibCropObjectsController.cropBtn_Callback(), mibCropObjectsController.generatePatches(), mibController.menuFileExamples_Callback(), mibLoadImages(), and mibImage.updateServiceMetadata().