.TH mia\-2dseriessmoothgradMAD 1 "17 October 2014" "2.0.10" "USER COMMANDS" .SH NAME mia\-2dseriessmoothgradMAD \- Evaluate pixel\-wise time\-intensity gradient of a 2D image series. .SH SYNOPSIS .B mia\-2dseriessmoothgradMAD \-i \-o [options] .SH DESCRIPTION .B mia\-2dseriessmoothgradMAD Given a set of images of temporal sucession, evaluate the temporal pixel-wise gaussian and evaluate pixel-wise its MAD.A spacial pre-filtering may be applied by specifying additional plugins (filter/2dimage) .SH OPTIONS .RS .IP "\-i \-\-in-file=(input,required)" input segmentation set .IP "\-o \-\-out-file=(output,required)" output file name For supported file types see PLUGINS:2dimage/io .IP "\-k \-\-skip=0" Skip files at the beginning .IP "\-e \-\-enlarge-boundary=5" Enlarge cropbox by number of pixels .IP "\-c \-\-crop" crop image before running statistics .IP "\-g \-\-gauss=1" gauss filter width for moothing the gradient .RE .SS Help & Info .RS .IP "\-V \-\-verbose=warning" verbosity of output, print messages of given level and higher priorities. Supported priorities starting at lowest level are: .RS 10 .I info \(hy Low level messages .RE .RS 10 .I trace \(hy Function call trace .RE .RS 10 .I fail \(hy Report test failures .RE .RS 10 .I warning \(hy Warnings .RE .RS 10 .I error \(hy Report errors .RE .RS 10 .I debug \(hy Debug output .RE .RS 10 .I message \(hy Normal messages .RE .RS 10 .I fatal \(hy Report only fatal errors .RE .IP " \-\-copyright" print copyright information .IP "\-h \-\-help" print this help .IP "\-? \-\-usage" print a short help .IP " \-\-version" print the version number and exit .RE .SS Processing .RS .IP " \-\-threads=\-1" Maxiumum number of threads to use for processing,This number should be lower or equal to the number of logical processor cores in the machine. (\-1: automatic estimation). .RE .SH PLUGINS: 1d/spacialkernel .TP 10 .B gauss spacial Gauss filter kernel, supported parameters are: .P .RS 14 .I w = 1 (int) .RS 2 half filter width. in [0, 2147483647] .RE .RE .SH PLUGINS: 1d/splinekernel .TP 10 .B bspline B-spline kernel creation , supported parameters are: .P .RS 14 .I d = 3 (int) .RS 2 Spline degree. in [0, 5] .RE .RE .TP 10 .B omoms OMoms-spline kernel creation, supported parameters are: .P .RS 14 .I d = 3 (int) .RS 2 Spline degree. in [3, 3] .RE .RE .SH PLUGINS: 2dimage/combiner .TP 10 .B absdiff Image combiner 'absdiff' .P .RS 14 (no parameters) .RE .TP 10 .B add Image combiner 'add' .P .RS 14 (no parameters) .RE .TP 10 .B div Image combiner 'div' .P .RS 14 (no parameters) .RE .TP 10 .B mul Image combiner 'mul' .P .RS 14 (no parameters) .RE .TP 10 .B sub Image combiner 'sub' .P .RS 14 (no parameters) .RE .SH PLUGINS: 2dimage/filter .TP 10 .B adaptmed 2D image adaptive median filter, supported parameters are: .P .RS 14 .I w = 2 (int) .RS 2 half filter width. in [0, 2147483647] .RE .RE .TP 10 .B admean An adaptive mean filter that works like a normal mean filter, if the intensity variation within the filter mask is lower then the intensity variation in the whole image, that the uses a special formula if the local variation is higher then the image intensity variation., supported parameters are: .P .RS 14 .I w = 1 (int) .RS 2 half filter width. in [0, 2147483647] .RE .RE .TP 10 .B aniso 2D Anisotropic image filter, supported parameters are: .P .RS 14 .I epsilon = 1 (float) .RS 2 iteration change threshold. in [0.001, 100] .RE .RE .RS 14 .I iter = 100 (int) .RS 2 number of iterations. in [1, 10000] .RE .RE .RS 14 .I k = \-1 (float) .RS 2 k the noise threshold (<=0 \-> adaptive). in [0, 100] .RE .RE .RS 14 .I n = 8 (set) .RS 2 neighbourhood. Supported values are:( 4, 8, ) .RE .RE .RS 14 .I psi = tuckey (dict) .RS 2 edge stopping function. Supported values are: .RS 4 .I guess \(hy test stopping function .RE .RS 4 .I tuckey \(hy tukey stopping function .RE .RS 4 .I pm1 \(hy stopping function 1 .RE .RS 4 .I pm2 \(hy stopping function 2 .RE .RE .RE .TP 10 .B bandpass intensity bandpass filter, supported parameters are: .P .RS 14 .I max = 3.40282e+38 (float) .RS 2 maximum of the band. in [\-3.40282e+38, 3.40282e+38] .RE .RE .RS 14 .I min = 0 (float) .RS 2 minimum of the band. in [\-3.40282e+38, 3.40282e+38] .RE .RE .TP 10 .B binarize image binarize filter, supported parameters are: .P .RS 14 .I max = 3.40282e+38 (float) .RS 2 maximum of accepted range. in [0, 3.40282e+38] .RE .RE .RS 14 .I min = 0 (float) .RS 2 minimum of accepted range. in [0, 3.40282e+38] .RE .RE .TP 10 .B close morphological close, supported parameters are: .P .RS 14 .I hint = black (set) .RS 2 a hint at the main image content. Supported values are:( black, white, ) .RE .RE .RS 14 .I shape = [sphere:r=2] (factory) .RS 2 structuring element. For supported plug-ins see PLUGINS:2dimage/shape .RE .RE .TP 10 .B combiner Combine two images with the given combiner operator. if 'reverse' is set to false, the first operator is the image passed through the filter pipeline, and the second image is loaded from the file given with the 'image' parameter the moment the filter is run., supported parameters are: .P .RS 14 .I image =(input,required, io) .RS 2 second image that is needed in the combiner. For supported file types see PLUGINS:2dimage/io .RE .RE .RS 14 .I op = (required, factory) .RS 2 Image combiner to be applied to the images. For supported plug-ins see PLUGINS:2dimage/combiner .RE .RE .RS 14 .I reverse = 0 (bool) .RS 2 reverse the order in which the images passed to the combiner. .RE .RE .TP 10 .B convert image pixel format conversion filter, supported parameters are: .P .RS 14 .I a = 1 (float) .RS 2 linear conversion parameter a. in [\-3.40282e+38, 3.40282e+38] .RE .RE .RS 14 .I b = 0 (float) .RS 2 linear conversion parameter b. in [\-3.40282e+38, 3.40282e+38] .RE .RE .RS 14 .I map = opt (dict) .RS 2 conversion mapping. Supported values are: .RS 4 .I opt \(hy apply a linear transformation that maps the real input range to the full output range .RE .RS 4 .I range \(hy apply linear transformation that maps the input data type range to the output data type range .RE .RS 4 .I copy \(hy copy data when converting .RE .RS 4 .I linear \(hy apply linear transformation x -> a*x+b .RE .RS 4 .I optstat \(hy apply a linear transform that maps based on input mean and variation to the full output range .RE .RE .RE .RS 14 .I repn = ubyte (dict) .RS 2 output pixel type. Supported values are: .RS 4 .I float \(hy floating point 32 bit .RE .RS 4 .I sbyte \(hy signed 8 bit .RE .RS 4 .I ulong \(hy unsigned 64 bit .RE .RS 4 .I double \(hy floating point 64 bit .RE .RS 4 .I sint \(hy signed 32 bit .RE .RS 4 .I ushort \(hy unsigned 16 bit .RE .RS 4 .I sshort \(hy signed 16 bit .RE .RS 4 .I uint \(hy unsigned 32 bit .RE .RS 4 .I slong \(hy signed 64 bit .RE .RS 4 .I bit \(hy binary data .RE .RS 4 .I ubyte \(hy unsigned 8 bit .RE .RE .RE .TP 10 .B crop Crop a region of an image, the region is always clamped to the original image size., supported parameters are: .P .RS 14 .I end = [[\-1,\-1]] (streamable) .RS 2 end of crop region. .RE .RE .RS 14 .I start = [[0,0]] (streamable) .RS 2 start of crop region. .RE .RE .TP 10 .B dilate 2d image stack dilate filter, supported parameters are: .P .RS 14 .I hint = black (set) .RS 2 a hint at the main image content. Supported values are:( black, white, ) .RE .RE .RS 14 .I shape = [sphere:r=2] (factory) .RS 2 structuring element. For supported plug-ins see PLUGINS:2dimage/shape .RE .RE .TP 10 .B distance 2D image distance filter, evaluates the distance map for a binary mask. .P .RS 14 (no parameters) .RE .TP 10 .B downscale Downscale the input image by using a given block size to define the downscale factor. Prior to scaling the image is filtered by a smoothing filter to eliminate high frequency data and avoid aliasing artifacts., supported parameters are: .P .RS 14 .I b = [[1,1]] (2dbounds) .RS 2 blocksize. .RE .RE .RS 14 .I bx = 1 (uint) .RS 2 blocksize in x direction. in [1, 2147483647] .RE .RE .RS 14 .I by = 1 (uint) .RS 2 blocksize in y direction. in [1, 2147483647] .RE .RE .RS 14 .I kernel = gauss (factory) .RS 2 smoothing filter kernel to be applied, the size of the filter is estimated based on the blocksize.. For supported plug-ins see PLUGINS:1d/spacialkernel .RE .RE .TP 10 .B erode 2d image stack erode filter, supported parameters are: .P .RS 14 .I hint = black (set) .RS 2 a hint at the main image content. Supported values are:( black, white, ) .RE .RE .RS 14 .I shape = [sphere:r=2] (factory) .RS 2 structuring element. For supported plug-ins see PLUGINS:2dimage/shape .RE .RE .TP 10 .B gauss isotropic 2D gauss filter, supported parameters are: .P .RS 14 .I w = 1 (int) .RS 2 filter width parameter. in [0, 2147483647] .RE .RE .TP 10 .B gradnorm 2D image to gradient norm filter, supported parameters are: .P .RS 14 .I normalize = 0 (bool) .RS 2 Normalize the gradient norms to range [0,1].. .RE .RE .TP 10 .B invert intensity invert filter .P .RS 14 (no parameters) .RE .TP 10 .B kmeans 2D image k-means filter. In the output image the pixel value represents the class membership and the class centers are stored as attribute in the image., supported parameters are: .P .RS 14 .I c = 3 (int) .RS 2 number of classes. in [2, 255] .RE .RE .TP 10 .B label Label connected components in a binary 2D image., supported parameters are: .P .RS 14 .I n = 4n (factory) .RS 2 Neighborhood mask to describe connectivity.. For supported plug-ins see PLUGINS:2dimage/shape .RE .RE .TP 10 .B labelmap 2D image filter to remap label id's., supported parameters are: .P .RS 14 .I map =(input,required, string) .RS 2 Label mapping file. .RE .RE .TP 10 .B load Load the input image from a file and use it to replace the current image in the pipeline., supported parameters are: .P .RS 14 .I file =(input,required, io) .RS 2 name of the input file to load from.. For supported file types see PLUGINS:2dimage/io .RE .RE .TP 10 .B mask 2D masking, one of the two input images must by of type bit., supported parameters are: .P .RS 14 .I fill = min (dict) .RS 2 fill style for pixels outside of the mask. Supported values are: .RS 4 .I max \(hy set values outside the mask to the maximum value found in the image.. .RE .RS 4 .I zero \(hy set the values outside the mask to zero. .RE .RS 4 .I min \(hy set values outside the mask to the minimum value found in the image. .RE .RE .RE .RS 14 .I input =(input,required, io) .RS 2 second input image file name. For supported file types see PLUGINS:2dimage/io .RE .RE .RS 14 .I inverse = 0 (bool) .RS 2 set to true to use the inverse of the mask for masking. .RE .RE .TP 10 .B mean 2D image mean filter, supported parameters are: .P .RS 14 .I w = 1 (int) .RS 2 half filter width. in [0, 2147483647] .RE .RE .TP 10 .B median 2D image median filter, supported parameters are: .P .RS 14 .I w = 1 (int) .RS 2 half filter width. in [0, 2147483647] .RE .RE .TP 10 .B mlv Mean of Least Variance 2D image filter, supported parameters are: .P .RS 14 .I w = 1 (int) .RS 2 filter width parameter. in [0, 2147483647] .RE .RE .TP 10 .B ngfnorm 2D image to normalized-gradiend-field-norm filter .P .RS 14 (no parameters) .RE .TP 10 .B noise 2D image noise filter: add additive or modulated noise to an image, supported parameters are: .P .RS 14 .I g = [gauss:mu=0,sigma=10] (factory) .RS 2 noise generator. For supported plug-ins see PLUGINS:generator/noise .RE .RE .RS 14 .I mod = 0 (bool) .RS 2 additive or modulated noise. .RE .RE .TP 10 .B open morphological open, supported parameters are: .P .RS 14 .I hint = black (set) .RS 2 a hint at the main image content. Supported values are:( black, white, ) .RE .RE .RS 14 .I shape = [sphere:r=2] (factory) .RS 2 structuring element. For supported plug-ins see PLUGINS:2dimage/shape .RE .RE .TP 10 .B pruning Morphological pruning. Pruning until convergence will erase all pixels but closed loops., supported parameters are: .P .RS 14 .I iter = 0 (int) .RS 2 Number of iterations to run, 0=until convergence. in [1, 1000000] .RE .RE .TP 10 .B regiongrow Region growing startin from a seed until only along increasing gradients, supported parameters are: .P .RS 14 .I n = 8n (factory) .RS 2 Neighborhood shape. For supported plug-ins see PLUGINS:2dimage/shape .RE .RE .RS 14 .I seed =(input,required, io) .RS 2 seed image (bit valued). For supported file types see PLUGINS:2dimage/io .RE .RE .TP 10 .B sandp salt and pepper 3d filter, supported parameters are: .P .RS 14 .I thresh = 100 (float) .RS 2 thresh value. in [0, 3.40282e+38] .RE .RE .RS 14 .I w = 1 (int) .RS 2 filter width parameter. in [0, 2147483647] .RE .RE .TP 10 .B scale 2D image downscale filter, supported parameters are: .P .RS 14 .I interp = [bspline:d=3] (factory) .RS 2 interpolation method to be used . For supported plug-ins see PLUGINS:1d/splinekernel .RE .RE .RS 14 .I s = [[0,0]] (2dbounds) .RS 2 target size as 2D vector. .RE .RE .RS 14 .I sx = 0 (uint) .RS 2 target size in x direction, 0: use input size. in [0, 4294967295] .RE .RE .RS 14 .I sy = 0 (uint) .RS 2 target size in y direction, 0: use input size. in [0, 4294967295] .RE .RE .TP 10 .B selectbig 2D label select biggest component filter .P .RS 14 (no parameters) .RE .TP 10 .B sepconv 2D image intensity separaple convolution filter, supported parameters are: .P .RS 14 .I kx = [gauss:w=1] (factory) .RS 2 filter kernel in x\-direction. For supported plug-ins see PLUGINS:1d/spacialkernel .RE .RE .RS 14 .I ky = [gauss:w=1] (factory) .RS 2 filter kernel in y\-direction. For supported plug-ins see PLUGINS:1d/spacialkernel .RE .RE .TP 10 .B shmean 2D image filter that evaluates the mean over a given neighborhood shape, supported parameters are: .P .RS 14 .I shape = 8n (factory) .RS 2 neighborhood shape to evaluate the mean. For supported plug-ins see PLUGINS:2dimage/shape .RE .RE .TP 10 .B sort-label This plug-in sorts the labels of a gray-scale image so that the lowest label value corresponts to the lable with themost pixels. The background (0) is not touched .P .RS 14 (no parameters) .RE .TP 10 .B sws seeded watershead. The algorithm extracts exactly so many reagions as initial labels are given in the seed image., supported parameters are: .P .RS 14 .I grad = 0 (bool) .RS 2 Interpret the input image as gradient. . .RE .RE .RS 14 .I mark = 0 (bool) .RS 2 Mark the segmented watersheds with a special gray scale value. .RE .RE .RS 14 .I n = [sphere:r=1] (factory) .RS 2 Neighborhood for watershead region growing. For supported plug-ins see PLUGINS:2dimage/shape .RE .RE .RS 14 .I seed =(input,required, string) .RS 2 seed input image containing the lables for the initial regions. .RE .RE .TP 10 .B tee Save the input image to a file and also pass it through to the next filter, supported parameters are: .P .RS 14 .I file =(output,required, io) .RS 2 name of the output file to save the image too.. For supported file types see PLUGINS:2dimage/io .RE .RE .TP 10 .B thinning Morphological thinning. Thinning until convergence will result in a 8-connected skeleton, supported parameters are: .P .RS 14 .I iter = 0 (int) .RS 2 Number of iterations to run, 0=until convergence. in [1, 1000000] .RE .RE .TP 10 .B thresh This filter sets all pixels of an image to zero that fall below a certain threshhold and whose neighbours in a given neighborhood shape also fall below a this threshhold, supported parameters are: .P .RS 14 .I shape = 4n (factory) .RS 2 neighborhood shape to take into account. For supported plug-ins see PLUGINS:2dimage/shape .RE .RE .RS 14 .I thresh = 5 (double) .RS 2 The threshhold value. in [\-1.79769e+308, 1.79769e+308] .RE .RE .TP 10 .B transform Transform the input image with the given transformation., supported parameters are: .P .RS 14 .I file =(input,required, io) .RS 2 Name of the file containing the transformation.. For supported file types see PLUGINS:2dtransform/io .RE .RE .TP 10 .B ws basic watershead segmentation., supported parameters are: .P .RS 14 .I evalgrad = 0 (bool) .RS 2 Set to 1 if the input image does not represent a gradient norm image. .RE .RE .RS 14 .I mark = 0 (bool) .RS 2 Mark the segmented watersheds with a special gray scale value. .RE .RE .RS 14 .I n = [sphere:r=1] (factory) .RS 2 Neighborhood for watershead region growing. For supported plug-ins see PLUGINS:2dimage/shape .RE .RE .RS 14 .I thresh = 0 (float) .RS 2 Relative gradient norm threshold. The actual value threshhold value is thresh * (max_grad \- min_grad) + min_grad. Bassins separated by gradients with a lower norm will be joined. in [0, 1] .RE .RE .SH PLUGINS: 2dimage/io .TP 10 .B bmp BMP 2D-image input/output support .P .RS 14 Recognized file extensions: .BMP, .bmp .RE .RS 14 Supported element types: .RS 2 binary data, unsigned 8 bit, unsigned 16 bit .RE .RE .TP 10 .B datapool Virtual IO to and from the internal data pool .P .RS 14 Recognized file extensions: .@ .RE .TP 10 .B dicom 2D image io for DICOM .P .RS 14 Recognized file extensions: .DCM, .dcm .RE .RS 14 Supported element types: .RS 2 signed 16 bit, unsigned 16 bit .RE .RE .TP 10 .B exr a 2dimage io plugin for OpenEXR images .P .RS 14 Recognized file extensions: .EXR, .exr .RE .RS 14 Supported element types: .RS 2 unsigned 32 bit, floating point 32 bit .RE .RE .TP 10 .B jpg a 2dimage io plugin for jpeg gray scale images .P .RS 14 Recognized file extensions: .JPEG, .JPG, .jpeg, .jpg .RE .RS 14 Supported element types: .RS 2 unsigned 8 bit .RE .RE .TP 10 .B png a 2dimage io plugin for png images .P .RS 14 Recognized file extensions: .PNG, .png .RE .RS 14 Supported element types: .RS 2 binary data, unsigned 8 bit, unsigned 16 bit .RE .RE .TP 10 .B raw RAW 2D-image output support .P .RS 14 Recognized file extensions: .RAW, .raw .RE .RS 14 Supported element types: .RS 2 binary data, signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit .RE .RE .TP 10 .B tif TIFF 2D-image input/output support .P .RS 14 Recognized file extensions: .TIF, .TIFF, .tif, .tiff .RE .RS 14 Supported element types: .RS 2 binary data, unsigned 8 bit, unsigned 16 bit, unsigned 32 bit .RE .RE .TP 10 .B vista a 2dimage io plugin for vista images .P .RS 14 Recognized file extensions: .V, .VISTA, .v, .vista .RE .RS 14 Supported element types: .RS 2 binary data, signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit .RE .RE .SH PLUGINS: 2dimage/shape .TP 10 .B 1n A shape that only contains the central point .P .RS 14 (no parameters) .RE .TP 10 .B 4n 4n neighborhood 2D shape .P .RS 14 (no parameters) .RE .TP 10 .B 8n 8n neighborhood 2D shape .P .RS 14 (no parameters) .RE .TP 10 .B rectangle rectangle shape mask creator, supported parameters are: .P .RS 14 .I fill = 1 (bool) .RS 2 create a filled shape. .RE .RE .RS 14 .I height = 2 (int) .RS 2 height of rectangle. in [0, 2147483647] .RE .RE .RS 14 .I width = 2 (int) .RS 2 width of rectangle. in [0, 2147483647] .RE .RE .TP 10 .B sphere Closed spherical neighborhood shape of radius r., supported parameters are: .P .RS 14 .I r = 2 (float) .RS 2 sphere radius. in [0, 3.40282e+38] .RE .RE .TP 10 .B square square shape mask creator, supported parameters are: .P .RS 14 .I fill = 1 (bool) .RS 2 create a filled shape. .RE .RE .RS 14 .I width = 2 (int) .RS 2 width of rectangle. in [0, 2147483647] .RE .RE .SH PLUGINS: 2dtransform/io .TP 10 .B bbs Binary (non-portable) serialized IO of 2D transformations .P .RS 14 Recognized file extensions: .bbs .RE .TP 10 .B datapool Virtual IO to and from the internal data pool .P .RS 14 Recognized file extensions: .@ .RE .TP 10 .B vista Vista storage of 2D transformations .P .RS 14 Recognized file extensions: .v2dt .RE .TP 10 .B xml XML serialized IO of 2D transformations .P .RS 14 Recognized file extensions: .x2dt .RE .SH PLUGINS: generator/noise .TP 10 .B gauss This noise generator creates random values that are distributed according to a Gaussien distribution by using the Box-Muller transformation., supported parameters are: .P .RS 14 .I mu = 0 (float) .RS 2 mean of distribution. in [\-3.40282e+38, 3.40282e+38] .RE .RE .RS 14 .I seed = 0 (uint) .RS 2 set random seed (0=init based on system time). in [0, 4294967295] .RE .RE .RS 14 .I sigma = 1 (float) .RS 2 standard derivation of distribution. in [0, 3.40282e+38] .RE .RE .TP 10 .B uniform Uniform noise generator using C stdlib rand(), supported parameters are: .P .RS 14 .I a = 0 (float) .RS 2 lower bound if noise range. in [\-3.40282e+38, 3.40282e+38] .RE .RE .RS 14 .I b = 1 (float) .RS 2 higher bound if noise range. in [\-3.40282e+38, 3.40282e+38] .RE .RE .RS 14 .I seed = 0 (uint) .RS 2 set random seed (0=init based on system time). in [0, 4294967295] .RE .RE .SH EXAMPLE Evaluate the MAD\-image of the bounding box surrounding the segmentation from a series segment.set after applying a temporal Gaussian filter of width 5. No spacial filtering will be applied. The bounding box will be enlarged by 3 pixels in all directions. Store the image in OpenEXR format. .HP mia\-2dseriessmoothgradMAD \-i segment.set \-o mad.exr \-g 2 \-c \-e 3 .SH AUTHOR(s) Gert Wollny .SH COPYRIGHT This software is Copyright (c) 1999\(hy2013 Leipzig, Germany and Madrid, Spain. It comes with ABSOLUTELY NO WARRANTY and you may redistribute it under the terms of the GNU GENERAL PUBLIC LICENSE Version 3 (or later). For more information run the program with the option '\-\-copyright'.