mia-2dseri...oothgradMAD(1)

๐Ÿ“ฆ
version 2.4.7 ยท 4 versions
, in ubuntu resolute, ubuntu stonking

โœจ mia-2dseriessmoothgradMAD(1) โœจ

General Commands Manual โ€” yes bestie, that's the whole name, we don't abbreviate around here ๐Ÿ’…

okay so. sit down, grab a strawberry, because this page is A LOT and I am going to walk you through every single crumb of it. no cap. ๐ŸŒธ


๐ŸŒˆ NAME ๐ŸŒˆ

mia-2dseriessmoothgradMAD โ€” evaluate the pixel-wise time-intensity gradient of a 2D image series. that's the vibe. that's the whole job. ๐Ÿซถ


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

mia-2dseriessmoothgradMAD -i <in-file> -o <out-file> [options]
<PLUGINS:2dimage/filter>

๐Ÿ’œ DESCRIPTION ๐Ÿ’œ

so like, picture this: you hand it a bunch of images that are a temporal succession โ€” a lil movie, a series, a glow-up over time ๐ŸŽฌ โ€” and it goes and evaluates the temporal pixel-wise gaussian on them, and then evaluates pixel-wise its MAD.

and oh? you want more control? a spacial pre-filtering may be applied by specifying additional plugins (filter/2dimage). iconic. literally doing the most for you.


๐ŸŽ€ OPTIONS ๐ŸŽ€

  • -i, --in-file (input, required); string โ€” the input segmentation set. yes bestie, it's required, don't come to the function without it ๐Ÿ™ˆ
  • -o, --out-file (output, required); io โ€” output file name. for supported file types see PLUGINS:2dimage/io. also required, also mandatory, also no skipping โœจ
  • -k, --skip=0 โ€” skip files at the beginning. just, like, walk past them ๐Ÿ’…
  • -e, --enlarge-boundary=5 โ€” enlarge the cropbox by this number of pixels.
  • -c, --crop โ€” crop the image before running statistics. tidy.
  • -g, --gauss=1 โ€” gauss filter width for smoothing the gradient.

๐ŸŒŸ Help & Info ๐ŸŒŸ

  • -V, --verbose=warning โ€” verbosity of output, print messages of given level and higher priorities. supported priorities starting at lowest level are:
    • trace โ€” Function call trace
    • debug โ€” Debug output
    • info โ€” Low level messages
    • message โ€” Normal messages
    • warning โ€” Warnings
    • fail โ€” Report test failures
    • error โ€” Report errors
    • fatal โ€” Report only fatal errors
  • --copyright โ€” print copyright information.
  • -h, --help โ€” print this help.
  • -?, --usage โ€” print a short help.
  • --version โ€” print the version number and exit. bye bestie ๐Ÿ‘‹

๐Ÿงš Processing ๐Ÿงš

  • --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). let it cook. ๐Ÿ”ฅ
ngl the spelling "Maxiumum" is in the original and I am not touching it. it's canon now. ๐Ÿ’€

๐Ÿ”ฅ PLUGINS: 1d/spacialkernel ๐Ÿ”ฅ

  • cdiff โ€” central difference filter kernel, mirror boundary conditions are used.
    • (no parameters)
  • gauss โ€” spacial Gauss filter kernel, supported parameters are:
    • w = 1; uint in [0, inf) โ€” half filter width.
  • scharr โ€” this plugin provides the 1D folding kernel for the Scharr gradient filter.
    • (no parameters)

๐ŸŒธ PLUGINS: 1d/splinekernel ๐ŸŒธ

  • bspline โ€” B-spline kernel creation, supported parameters are:
    • d = 3; int in [0, 5] โ€” Spline degree.
  • omoms โ€” OMoms-spline kernel creation, supported parameters are:
    • d = 3; int in [3, 3] โ€” Spline degree.

๐Ÿฆ‹ PLUGINS: 2dimage/combiner ๐Ÿฆ‹

  • absdiff โ€” Image combiner 'absdiff'
    • (no parameters)
  • add โ€” Image combiner 'add'
    • (no parameters)
  • div โ€” Image combiner 'div'
    • (no parameters)
  • mul โ€” Image combiner 'mul'
    • (no parameters)
  • sub โ€” Image combiner 'sub'
    • (no parameters)

๐Ÿ‘‘ PLUGINS: 2dimage/filter ๐Ÿ‘‘ (the big one, bestie)

  • adaptmed โ€” 2D image adaptive median filter, supported parameters are:
    • w = 2; int in [1, inf) โ€” half filter width.
  • 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:
    • w = 1; int in [1, inf) โ€” half filter width.
  • aniso โ€” 2D Anisotropic image filter, supported parameters are:
    • epsilon = 1; float in (0, inf) โ€” iteration change threshold.
    • iter = 100; int in [1, 10000] โ€” number of iterations.
    • k = -1; float in [0, 100] โ€” k the noise threshold (<=0 -> adaptive).
    • n = 8; set โ€” neighbourhood. Supported values are: ( 4, 8, )
    • psi = tuckey; dict โ€” edge stopping function. Supported values are:
      • tuckey โ€” tukey stopping function
      • pm1 โ€” stopping function 1
      • guess โ€” test stopping function
      • pm2 โ€” stopping function 2
  • bandpass โ€” intensity bandpass filter, supported parameters are:
    • max = 3.40282e+38; float โ€” maximum of the band.
    • min = 0; float โ€” minimum of the band.
  • binarize โ€” image binarize filter, supported parameters are:
    • max = 3.40282e+38; float โ€” maximum of accepted range.
    • min = 0; float โ€” minimum of accepted range.
  • close โ€” morphological close, supported parameters are:
    • hint = black; set โ€” a hint at the main image content. Supported values are: ( black, white, )
    • shape = [sphere:r=2]; factory โ€” structuring element. For supported plug-ins see PLUGINS:2dimage/shape
  • 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:
    • image =(input, required, io) โ€” second image that is needed in the combiner. For supported file types see PLUGINS:2dimage/io
    • op =(required, factory) โ€” Image combiner to be applied to the images. For supported plug-ins see PLUGINS:2dimage/combiner
    • reverse = 0; bool โ€” reverse the order in which the images passed to the combiner.
  • convert โ€” image pixel format conversion filter, supported parameters are:
    • a = 1; float โ€” linear conversion parameter a.
    • b = 0; float โ€” linear conversion parameter b.
    • map = opt; dict โ€” conversion mapping. Supported values are:
      • copy โ€” copy data when converting
      • linear โ€” apply linear transformation x -> a*x+b
      • range โ€” apply linear transformation that maps the input data type range to the output data type range
      • opt โ€” apply a linear transformation that maps the real input range to the full output range
      • optstat โ€” apply a linear transform that maps based on input mean and variation to the full output range
    • repn = ubyte; dict โ€” output pixel type. Supported values are:
      • bit โ€” binary data
      • sbyte โ€” signed 8 bit
      • ubyte โ€” unsigned 8 bit
      • sshort โ€” signed 16 bit
      • ushort โ€” unsigned 16 bit
      • sint โ€” signed 32 bit
      • uint โ€” unsigned 32 bit
      • slong โ€” signed 64 bit
      • ulong โ€” unsigned 64 bit
      • float โ€” floating point 32 bit
      • double โ€” floating point 64 bit
      • none โ€” no pixel type defined
  • crop โ€” Crop a region of an image, the region is always clamped to the original image size., supported parameters are:
    • end = [[-1,-1]]; streamable โ€” end of crop region.
    • start = [[0,0]]; streamable โ€” start of crop region.
  • dilate โ€” 2d image stack dilate filter, supported parameters are:
    • hint = black; set โ€” a hint at the main image content. Supported values are: ( black, white, )
    • shape = [sphere:r=2]; factory โ€” structuring element. For supported plug-ins see PLUGINS:2dimage/shape
  • distance โ€” 2D image distance filter, evaluates the distance map for a binary mask.
    • (no parameters)
  • 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:
    • b = [[1,1]]; 2dbounds โ€” blocksize.
    • bx = 1; uint in [1, inf) โ€” blocksize in x direction.
    • by = 1; uint in [1, inf) โ€” blocksize in y direction.
    • kernel = gauss; factory โ€” 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
  • erode โ€” 2d image stack erode filter, supported parameters are:
    • hint = black; set โ€” a hint at the main image content. Supported values are: ( black, white, )
    • shape = [sphere:r=2]; factory โ€” structuring element. For supported plug-ins see PLUGINS:2dimage/shape
  • gauss โ€” isotropic 2D gauss filter, supported parameters are:
    • w = 1; int in [0, inf) โ€” filter width parameter.
  • gradnorm โ€” 2D image to gradient norm filter, supported parameters are:
    • normalize = 0; bool โ€” Normalize the gradient norms to range [0,1]..
  • invert โ€” intensity invert filter
    • (no parameters)
  • 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:
    • c = 3; int in [2, inf) โ€” number of classes.
  • label โ€” Label connected components in a binary 2D image., supported parameters are:
    • n = 4n; factory โ€” Neighborhood mask to describe connectivity.. For supported plug-ins see PLUGINS:2dimage/shape

๐Ÿ’– labelmap ๐Ÿ’–

Image filter that remaps label id's โ€” so basically a glow-up for your labels โœจ but heads up bestie, it only works on images with integer valued intensities/labels. Supported parameters are:

  • map =(input, required, string) โ€” the label mapping file, periodt.

๐ŸŒธ labelscale ๐ŸŒธ

A filter that only creates output voxels that already exist in the input image. The scaling is done via a voting algorithm โ€” it picks the target pixel value based on the highest pixel count of a certain label in the corresponding source region. And if the region has two labels with the same count?? ๐Ÿ˜ญ bestie the one with the lower number wins. Supported parameters are:

  • out-size =(required, 2dbounds) โ€” target size, given as two comma separated values.

๐Ÿฆ‹ load ๐Ÿฆ‹

Loads the input image from a file and uses it to replace the current image in the pipeline, iykyk. Supported parameters are:

  • file =(input, required, io) โ€” name of the input file to load from. For supported file types see PLUGINS:2dimage/io.

๐ŸŽ€ mask ๐ŸŽ€

2D masking, and no cap: one of the two input images must be of type bit. Supported parameters are:

  • fill = min; dict โ€” fill style for pixels outside of the mask. Supported values are:
    • min โ€” set values outside the mask to the minimum value found in the image.
    • zero โ€” set the values outside the mask to zero.
    • max โ€” set the values outside the mask to the maximum value found in the image.
  • input =(input, required, io) โ€” second input image file name. For supported file types see PLUGINS:2dimage/io.
  • inverse = 0; bool โ€” set to true to use the inverse of the mask for masking.

โญ maxflow โญ

This filter implements the... uses the max-flow min-cut algorithm for image segmentation. Supported parameters are:

  • sink-flow =(input, required, io) โ€” image of float type to define the per-pixel flow to the sink. For supported file types see PLUGINS:2dimage/io.
  • source-flow =(input, required, io) โ€” image of float type to define the per-pixel flow to the source. For supported file types see PLUGINS:2dimage/io.

๐ŸŒˆ mean ๐ŸŒˆ

2D image mean filter, so cozy fr. Supported parameters are:

  • w = 1; int in [1, inf) โ€” half filter width.

๐Ÿ”ฅ meanvar ๐Ÿ”ฅ

Filter that evaluates simultaneously the pixel wise mean and the variance of an image in a given window. Pixel intensities below the given threshold get ignored, and at their locations the output mean and variation are set to zero. The mean intensity image is passed directly as a float image to the pipeline, and the variation image is saved to a file given with the varfile parameter. Supported parameters are:

  • thresh = 0; double in [0, inf) โ€” intensity thresholding parameter: pixels with intensities below this threshold get set to zero, and also aren't used when evaluating mean and variation.
  • varfile =(output, required, io) โ€” name of the output file to save the variation image to. For supported file types see PLUGINS:2dimage/io.
  • w = 1; uint in [1, inf) โ€” filter width parameter.

๐Ÿ‘‘ median ๐Ÿ‘‘

2D image median filter, the icon it is. Supported parameters are:

  • w = 1; int in [1, inf) โ€” half filter width.

๐Ÿ’œ medianmad ๐Ÿ’œ

Filter that evaluates simultaneously the pixel wise median and the median absolute deviation (MAD) of an image in a given window. Pixel intensities below the given threshold get ignored, and at their locations the output median and MAD get set to zero. The median intensity image is passed directly to the pipeline, and the variation image is saved to a file given with the varfile parameter. Both output images have the same pixel type as the input image. Supported parameters are:

  • madfile =(output, required, io) โ€” name of the output file to save the median absolute deviation image to. For supported file types see PLUGINS:2dimage/io.
  • thresh = 0; double in [0, inf) โ€” intensity thresholding parameter: pixels with intensities below this threshold get set to zero, and also aren't used when evaluating mean and variation.
  • w = 1; uint in [1, inf) โ€” filter width parameter.

๐Ÿงš mlv ๐Ÿงš

Mean of Least Variance 2D image filter. Supported parameters are:

  • w = 1; int in [1, inf) โ€” filter width parameter.

โœจ ngfnorm โœจ

2D image to normalized-gradient-field-norm filter. Like, that's the whole vibe:

(no parameters)


๐Ÿ“ noise ๐Ÿ“

2D image noise filter: adds additive or modulated noise to an image. Supported parameters are:

  • g = [gauss:mu=0,sigma=10]; factory โ€” noise generator. For supported plug-ins see PLUGINS:generator/noise.
  • mod = 0; bool โ€” additive or modulated noise.

๐Ÿซถ open ๐Ÿซถ

Morphological open, slay. Supported parameters are:

  • hint = black; set โ€” a hint at the main image content. Supported values are: ( black, white, ).
  • shape = [sphere:r=2]; factory โ€” structuring element. For supported plug-ins see PLUGINS:2dimage/shape.

๐Ÿ’… pruning ๐Ÿ’…

Morphological pruning. Heads up: pruning until convergence will erase all pixels but closed loops. Supported parameters are:

  • iter = 0; int in [1, 1000000] โ€” number of iterations to run, with 0 meaning until convergence.

๐ŸŒธ regiongrow ๐ŸŒธ

Region growing, starting from a seed until... only along increasing gradients. Supported parameters are:

  • n = 8n; factory โ€” neighborhood shape. For supported plug-ins see PLUGINS:2dimage/shape.
  • seed =(input, required, io) โ€” seed image (bit valued). For supported file types see PLUGINS:2dimage/io.

๐ŸŽ€ sandp ๐ŸŽ€

salt and pepper 3d filter. Supported parameters are:

  • thresh = 100; float in (0, inf) โ€” thresh value.
  • w = 1; int in [1, inf) โ€” filter width parameter.

๐Ÿฆ‹ scale ๐Ÿฆ‹

2D image downscale filter. Supported parameters are:

  • interp = [bspline:d=3]; factory โ€” interpolation method to be used. For supported plug-ins see PLUGINS:1d/splinekernel.
  • s = [[0,0]]; 2dbounds โ€” target size as 2D vector.
  • sx = 0; uint in [0, inf) โ€” target size in x direction, where 0 means use input size.
  • sy = 0; uint in [0, inf) โ€” target size in y direction, where 0 means use input size.

โญ selectbig โญ

2D label select biggest component filter, no notes needed:

(no parameters)


๐Ÿ”ฅ sepconv ๐Ÿ”ฅ

2D image intensity separable convolution filter. Supported parameters are:

  • kx = [gauss:w=1]; factory โ€” filter kernel in x-direction. For supported plug-ins see PLUGINS:1d/spacialkernel.
  • ky = [gauss:w=1]; factory โ€” filter kernel in y-direction. For supported plug-ins see PLUGINS:1d/spacialkernel.

๐Ÿ’œ shmean ๐Ÿ’œ

2D image filter that evaluates the mean over a given neighborhood shape. Supported parameters are:

  • shape = 8n; factory โ€” neighborhood shape to evaluate the mean. For supported plug-ins see PLUGINS:2dimage/shape.

๐ŸŒˆ sobel ๐ŸŒˆ

The 2D Sobel filter for gradient evaluation. Important though bestie: the output pixel type of the filtered image is the same as the input pixel type, so converting the input beforehand to a floating point valued image is recommendable, fr fr. Supported parameters are:

  • dir = x; dict โ€” gradient direction. Supported values are:
    • x โ€” gradient in x-direction.
    • y โ€” gradient in y-direction.

๐Ÿ‘‘ sort-label ๐Ÿ‘‘

This plug-in sorts the labels of a gray-scale image so that the lowest label value corresponds to the label with the most pixels. The background (0) is not touched. That's it:

(no parameters)


๐Ÿงš sws ๐Ÿงš

seeded watershed. The algorithm extracts exactly as many regions as initial labels are given in the seed image. Supported parameters are:

  • grad = 0; bool โ€” interpret the input image as gradient.
  • mark = 0; bool โ€” mark the segmented watersheds with a special gray scale value.
  • n = [sphere:r=1]; factory โ€” neighborhood for watershed region growing. For supported plug-ins see PLUGINS:2dimage/shape.
  • seed =(input, required, string) โ€” seed input image containing the labels for the initial regions.

๐Ÿ“ tee ๐Ÿ“

Saves the input image to a file and also passes it through to the next filter. Supported parameters are:

  • file =(output, required, io) โ€” name of the output file to save the image to. For supported file types see PLUGINS:2dimage/io.

โœจ thinning โœจ

Morphological thinning. Thinning until convergence will result in a 8-connected skeleton. Supported parameters are:

  • iter = 0; int in [1, 1000000] โ€” number of iterations to run, with 0 meaning until convergence.

๐Ÿ’… thresh ๐Ÿ’…

This filter sets all pixels of an image to zero that fall below a certain threshold, and whose neighbours in a given neighborhood shape also fall below this threshold. Supported parameters are:

  • shape = 4n; factory โ€” neighborhood shape to take into account. For supported plug-ins see PLUGINS:2dimage/shape.
  • thresh = 5; double โ€” the threshold value.
  • tmean โ€” a 2D image thresholded tmean filter ๐Ÿ’… okay so listen: the output pixel value is zero if the input pixel value is below the given threshold. Otherwise? The pixels in the evaluation windows only count if their input pixel intensity is above the threshold. It's giving picky, but in a good way โœจ Here's what you can tweak:
    • t = 0; float โ€” the threshold, bestie. Pixels below it don't get taken into account. Periodt.
    • w = 1; int in [1, inf) โ€” the half filter width ๐ŸŽ€
  • transform โ€” transforms the input image with the transformation you hand it, no questions asked ๐Ÿ’ซ supported parameters are literally just this one:
    • file =(input, required, io) โ€” the name of the file holding the transformation. For the file types that are actually supported, go peek at PLUGINS:2dtransform/io ๐Ÿฆ‹
  • ws โ€” basic watershead segmentation ๐ŸŒŠ (yes it's spelled like that, iykyk). Supported parameters:
    • evalgrad = 0; bool โ€” set this to 1 if your input image does not represent a gradient norm image. Just saying.
    • mark = 0; bool โ€” set to 1 and it marks the segmented watersheds with a special gray scale value ๐Ÿ‘‘
    • n = [sphere:r=1]; factory โ€” the neighborhood used for watershead region growing. For the plug-ins that work here, see PLUGINS:2dimage/shape ๐ŸŒธ
    • thresh = 0; float in [0, 1) โ€” relative gradient norm threshold, okurrr. The actual threshold value is thresh * (max_grad - min_grad) + min_grad. Bassins separated by gradients with a lower norm will be joined. That's just facts ๐Ÿ’€

๐ŸŒˆ PLUGINS: 2dimage/io ๐ŸŒˆ

All the ways to read and write your 2D images, bestie. Choose your fighter:

  • bmp โ€” BMP 2D-image input/output support ๐Ÿ’– This plug-in reads and writes binary images and 8-bit gray scale images. Read-only support is provided for 4-bit gray scale images. The color table is ignored and the pixel values are taken as literal gray scale values. No cap.
    • Recognized file extensions: .BMP, .bmp
    • Supported element types: binary data, unsigned 8 bit
  • datapool โ€” Virtual IO to and from the internal data pool ๐Ÿซง
    • Recognized file extensions: .@
  • dicom โ€” 2D image io for DICOM ๐Ÿฉป
    • Recognized file extensions: .DCM, .dcm
    • Supported element types: signed 16 bit, unsigned 16 bit
  • exr โ€” a 2dimage io plugin for OpenEXR images โœจ
    • Recognized file extensions: .EXR, .exr
    • Supported element types: unsigned 32 bit, floating point 32 bit
  • jpg โ€” a 2dimage io plugin for jpeg gray scale images ๐Ÿ“ธ
    • Recognized file extensions: .JPEG, .JPG, .jpeg, .jpg
    • Supported element types: unsigned 8 bit
  • png โ€” a 2dimage io plugin for png images ๐ŸŽ€
    • Recognized file extensions: .PNG, .png
    • Supported element types: binary data, unsigned 8 bit, unsigned 16 bit
  • raw โ€” RAW 2D-image output support ๐Ÿ’…
    • Recognized file extensions: .RAW, .raw
    • Supported element types: 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
  • tif โ€” TIFF 2D-image input/output support ๐ŸŒธ
    • Recognized file extensions: .TIF, .TIFF, .tif, .tiff
    • Supported element types: binary data, unsigned 8 bit, unsigned 16 bit, unsigned 32 bit
  • vista โ€” a 2dimage io plugin for vista images ๐Ÿฆ‹
    • Recognized file extensions: .-, .V, .VISTA, .v, .vista
    • Supported element types: 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

๐Ÿงš PLUGINS: 2dimage/shape ๐Ÿงš

Shapes for your kernels and neighborhoods, because a girl needs options:

  • 1n โ€” a shape that only contains the central point ๐ŸŽฏ
    • (no parameters) โ€” yeah, nothing to configure, it's minimalism
  • 4n โ€” 4n neighborhood 2D shape ๐Ÿ“
    • (no parameters)
  • 8n โ€” 8n neighborhood 2D shape โญ
    • (no parameters)
  • rectangle โ€” rectangle shape mask creator, supported parameters are:
    • fill = 1; bool โ€” create a filled shape ๐Ÿ’–
    • height = 2; int in [1, inf) โ€” height of rectangle ๐Ÿ“
    • width = 2; int in [1, inf) โ€” width of rectangle ๐Ÿ“
  • sphere โ€” closed spherical neighborhood shape of radius r. Supported parameters are:
    • r = 2; float in (0, inf) โ€” sphere radius ๐Ÿ”ฎ
  • square โ€” square shape mask creator, supported parameters are:
    • fill = 1; bool โ€” create a filled shape โœ…
    • width = 2; int in [1, inf) โ€” width of rectangle ๐Ÿ“ (yes, it says rectangle, we don't make the rules)

๐Ÿ’œ PLUGINS: 2dtransform/io ๐Ÿ’œ

Ways to save and load your 2D transformations:

  • bbs โ€” Binary (non-portable) serialized IO of 2D transformations โš ๏ธ non-portable, so don't go shipping these files around like they're universal, bestie.
    • Recognized file extensions: .bbs
  • datapool โ€” Virtual IO to and from the internal data pool ๐Ÿซง
    • Recognized file extensions: .@
  • vista โ€” Vista storage of 2D transformations ๐Ÿฆ‹
    • Recognized file extensions: .v2dt
  • xml โ€” XML serialized IO of 2D transformations ๐Ÿท๏ธ
    • Recognized file extensions: .x2dt

๐Ÿ”ฅ PLUGINS: generator/noise ๐Ÿ”ฅ

Randomness, but make it fashion:

  • gauss โ€” this noise generator creates random values that are distributed according to a Gaussien distribution by using the Box-Muller transformation ๐Ÿง โœจ supported parameters are:
    • mu = 0; float โ€” mean of distribution.
    • seed = 0; uint in [0, inf) โ€” set random seed (0 = init based on system time) โฐ
    • sigma = 1; float in (0, inf) โ€” standard derivation of distribution.
  • uniform โ€” uniform noise generator using C stdlib rand() ๐ŸŽฒ supported parameters are:
    • a = 0; float โ€” lower bound if noise range.
    • b = 1; float โ€” higher bound if noise range.
    • seed = 0; uint in [0, inf) โ€” set random seed (0 = init based on system time) โฐ

โœจ EXAMPLE โœจ

Okay so this is the moment. We wanna 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, okay? The bounding box will be enlarged by 3 pixels in all directions. And we store the image in OpenEXR format ๐Ÿ’–

mia-2dseriessmoothgradMAD -i segment.set -o mad.exr -g 2 -c -e 3

๐Ÿ‘‘ AUTHOR(s) ๐Ÿ‘‘

Gert Wollny ๐Ÿ’… the icon, the moment, the legend.


This software is Copyright (c) 1999โ€2015 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.


and that's a wrap on this one, bestie ๐Ÿซถ it's USER COMMANDS, version v2.4.7, and the page date is mia-2dseri...oothgradMAD(1) โ€” go read it again if you need to, mwah ๐Ÿ’‹

๐Ÿ“ฆ where this page comes from