Lucid.Util.ImportImageFromForeignFile¶
Import an image to OMNI file format from one of the supported file formats.
Supported Formats¶
OMNI (
.omni
)AIM (
.aim
)ISQ (
.isq
)BMP (
.bmp
; 2D or optionally 2D slice stacks)PNG (
.png
; 2D or optionally 2D slice stacks)JPG (
.jpg
/ ‘.jpeg’; 2D or optionally 2D slice stacks)CZI (
.czi
; 3D or single 2D slice)DICOM (
.dcm
; 3D or optionally 2D slice stacks)DICOMDIR (
dicomdir
; 3D)TIFF (
.tif
or.tiff
; 3D or optionally 2D slice stacks)NIFTI (
.nii
)Compressed (
.nii.gz
renamed to.nii_gz
or_nii.gz
for compatibility reasons)
MHD (
.mhd
)MHA (
.mha
; 3D or single 2D slice)NRRD (
.nrrd
)TXM (
.txm
)Zeiss Exported raw (
.bin
/header.txt
)PAR / REC (
.par
/.rec
)MINC (
.mnc
)ANALYZE (
.hdr
/.img
)SCV (
.uint16_scv
)VGI (
.vgi
/.raw
)GOM Volume (
.gom_volume
/.raw
)PyHST VOLUME XML (
.vol
/.vol.xml
)HDF5 (
.h5
or.hdf5
)Numpy array (
.npy
)
2D Slice Stacks¶
There is optional support for stacks of 2D image files:
The respective input parameter must be set.
The filenames must end in a sequential increasing integer number.
The selected input file must be the first slice.
The slice files must be accessed via the XF User Data mapping mechanism.