![]() |
Microscopy Image Browser 2.91
MIB
|
convert pixel with x, y, z coordinate to the physical imaging units More...
Functions | |
function [ x , y , z ] = | convertPixelsToUnits (x, y, z, bb, pixSize, orientation) |
convert pixel with x, y, z coordinate to the physical imaging units | |
convert pixel with x, y, z coordinate to the physical imaging units
function [ x , y , z ] = convertPixelsToUnits | ( | x, | |
y, | |||
z, | |||
bb, | |||
pixSize, | |||
orientation ) |
convert pixel with x, y, z coordinate to the physical imaging units
x | -> x - coordinate in pixels |
y | -> y - coordinate in pixels |
z | -> z - coordinate in pixels |
bb | a vector with the bounding box of the dataset |
pixSize | a structure with the voxel sizes |
orientation | a number with the orientation of the dataset, 4 for xy |
x | -> x - coordinate in physical units, i.e. um |
y | -> y - coordinate in physical units, i.e. um |
z | -> z - coordinate in physical units, i.e. um |
Examples:
Referenced by Lines3D.replaceGraph().