TIFFToDicom(1)

TIFFToDicom1

Read a tiff image input format file and create an image of a specified or appropriate sop class.

Usage

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]

Overview

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

Releases

Unchanged in 2 releases since Debian 12 (Bookworm).

  1. 12–13

Author

This manual page was written by Mathieu Malaterre <[email protected]> for the Debian GNU/Linux system (but may be used by others).

From pixelmed-apps 20250211+dfsg-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.