Provided by: pixelmed-apps_20220618+dfsg-1_all
NAME
TIFFToDicom - Read a TIFF image input format file and create an image of a specified or appropriate SOP Class.
SYNOPSIS
TIFFToDicom jsonfile inputFile outputFilePrefix [modality [SOPClass [TransferSyntax]]] [ADDTIFF|DONOTADDTIFF] [USEBIGTIFF|DONOTUSEBIGTIFF] [ALWAYSWSI|NOTALWAYSWSI] [ADDPYRAMID|DONOTADDPYRAMID] [MERGESTRIPS|SPLITSTRIPS] [ADDDCMSUFFIX|DONOTADDDCMSUFFIX] [INCLUDEFILENAME|DONOTINCLUDEFILENAME] [CHANNELFILE channelfile] [SPACINGMM spacingmm] [SPACINGROWCOLMM spacingrowmm(y) spacingcolmm(x)] [THICKNESSMM thickness]
DESCRIPTION
Error: Incorrect number of arguments or bad arguments
OPTIONS
jsonfile - JSON file describing the functional groups and attributes and values to be added or replaced inputFileName - outputFilePrefix - outputFileSuffix - modality - may be null sopClass - may be null transferSyntax - may be null, used if multiframe, ignored if single frame (which is always written uncompressed) addTIFF - whether or not to add a TIFF IFD in the DICOM preamble to make a dual=personality DICOM-TIFF file sharing the same pixel data useBigTIFF - whether or not to create a BigTIFF rather than Classic TIFF file alwaysWSI - whether or not to add WSI-related information even if not WSI SOP Class, e.g., for float converted to parametric map addPyramid - whether or not to add multi-resolution pyramid (downsampled) layers to the TIFF IFD and a corresponding DICOM private data element in the same file mergeStrips - whether or not to merge an image with more than one strip into a single DICOM image, or to create a separate image or frame for each strip channelFile - may be null includeFileName - whether or not to record the original filename in the DICOM output spacingrowmm - PixelSpacing 1st value - spacing between adjacent rows (i.e. "y" spacing) (in mm) to use to override base layer spacing in case it is incorrect or not present (may be 0 if not supplied) spacingcolmm - PixelSpacing 2nd value - spacing between adjacent columns (i.e. "x" spacing) (in mm) to use to override base layer spacing in case it is incorrect or not present (may be 0 if not supplied) thicknessmm - SliceThickness and ImagedVolumeDepth value (in mm) to use (may be 0 if not supplied)
EXAMPLES
$ TIFFToDicom /etc/pixelmed/TIFFToDicom.WSI.json CMU-1.svs my_wsi SM 1.2.840.10008.5.1.4.1.1.77.1.6
AUTHOR
This manual page was written by Mathieu Malaterre <malat@debian.org> for the Debian GNU/Linux system (but may be used by others).
SEE ALSO
OrthancWSIDicomizer