wkcuber.vendor.dm3
DM3 object.
DM3 object: parses DM3 file.
#  
data_type
Returns image DataType.
#  
data_type_str
Returns image DataType string.
#  
width
Returns image width (px).
#  
height
Returns image height (px).
#  
depth
Returns image depth (i.e. number of images in stack).
#  
size
Returns image size (width,height[,depth]).
#  
outputcharset
Returns Tag dump/output charset.
#  
filename
Returns full file path.
Dumps image Tags in a txt file.
#  
info
Extracts useful experiment info from DM3 file.
#  
imagedata
Extracts image data as numpy.array
#  
Image
Returns image data as PIL Image
#  
contrastlimits
Returns display range (cuts).
#  
cuts
Returns display range (cuts).
#  
pxsize
Returns pixel size and unit.
#  
tnImage
Returns thumbnail as PIL Image.
#  
thumbnaildata
Fetch thumbnail image data as numpy.array
Save thumbnail as PNG file.
#  
SUPPORTED_DATA_TYPES = {1: 'SIGNED_INT16_DATA', 2: 'REAL4_DATA', 6: 'UNSIGNED_INT8_DATA', 7: 'SIGNED_INT32_DATA', 9: 'SIGNED_INT8_DATA', 10: 'UNSIGNED_INT16_DATA', 11: 'UNSIGNED_INT32_DATA', 14: 'BINARY_DATA'}