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)RSQ (
.rsq)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 (
.tifor.tiff; 3D or optionally 2D slice stacks)NIFTI (
.nii)Compressed (
.nii.gzrenamed to.nii_gzor_nii.gzfor compatibility reasons)
MATLAB (
.mat; version 5.0 or version 7.3 HDF format)MHD (
.mhd)MHA (
.mha; 3D or single 2D slice)NRRD (
.nrrd)TXM (
.txmor.xrm;.txrmunreconstructed)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)NeXus (
.nxs)Olympus VSI (
.vsi)HDF5 (
.h5or.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.