SMILX  1.01
Typedefs | Enumerations | Functions
milxDICOMApp.cxx File Reference

A swiss-army knife of DICOM images. This application implements conversion etc. of DICOM images with the SMILI library.You can convert DICOM series, print their tags and get other info. More...

#include <vector>
#include <locale>
#include <algorithm>
#include <tclap/CmdLine.h>
#include <milxFile.h>
#include <milxImage.h>

Go to the source code of this file.

Typedefs

typedef std::vector< std::string >::iterator stringiterator
 
typedef std::vector< std::vector< std::string > >::iterator listiterator
 
typedef std::vector< std::pair< std::string, std::string > >::iterator tagiterator
 
typedef unsigned char charPixelType
 
typedef itk::Image< charPixelType, milx::imgDimension > charImageType
 
typedef short shortPixelType
 
typedef itk::Image< shortPixelType, milx::imgDimension > shortImageType
 
typedef unsigned short ushortPixelType
 
typedef itk::Image< ushortPixelType, milx::imgDimension > ushortImageType
 
typedef int intPixelType
 
typedef itk::Image< intPixelType, milx::imgDimension > intImageType
 
typedef unsigned int uintPixelType
 
typedef itk::Image< intPixelType, milx::imgDimension > uintImageType
 
typedef float floatPixelType
 
typedef itk::Image< floatPixelType, milx::imgDimension > floatImageType
 
typedef itk::VectorImage< floatPixelType, milx::imgDimension > vectorImageType
 

Enumerations

enum  operations {
  none = 0, convert, duplicate, cat,
  split, scale, decimate, smooth,
  laplacian, thresholdscalars, flip, diffscalars,
  copyscalars, diffscalarspairs, statscalars, removescalars,
  mse, procrustes, icp, clip,
  voxelise, orient, flat, none = 0,
  info, convert, print, csv,
  none = 0, info, convert, labelinfo,
  rescale, invert, relabel, smooth,
  bilateral, median, gradmag, laplacian,
  distancemap, threshold, Otsu, crop,
  mask, resample, match, checker,
  add, diff, mean, merge,
  cast, flip, none = 0, convert,
  duplicate, cat, split, scale,
  decimate, smooth, laplacian, thresholdscalars,
  clip, flip, diffscalars, copyscalars,
  diffscalarspairs, statscalars, removescalars, mse,
  procrustes, icp
}
 

Functions

int main (int argc, char *argv[])
 

Detailed Description

A swiss-army knife of DICOM images. This application implements conversion etc. of DICOM images with the SMILI library.

You can convert DICOM series, print their tags and get other info.

Definition in file milxDICOMApp.cxx.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Program Info

Process Arguments

Optional

Switches XOR Switches

Mandatory

Add argumnets

XOR args

Parse the argv array.

Get the value parsed by each arg.

Display operation

Get UIDs and filenames

Todo:
handle 4D images here properly

Definition at line 58 of file milxDICOMApp.cxx.