-
Notifications
You must be signed in to change notification settings - Fork 1
RangeAdjust
This utility allows you to change the grey values of images, volumes and selfiles with images and volumes to a specified range.
$ range_adjust -i ...
Parameters
-
__OR__Adjust the grey level range of a single file -
__OR__If no output file is given, then the input one is rewritten -
`` Adjust the grey level range of a bunch of files
-
__OR__If no output extension neither root are given, then the input ones are rewritten -
`` Do not produce on screen information
-
`` Minimum value of the output image/volume
-
`` Maximum value of the output image/volume
-
-noise [sigma0] = Noise in the minimum and maximum values. The noise for each one (minandmax) are independently generated from a Gaussian distributionN(0,sigma). This random value is added to the suppliedminandmaxvalues -
`` Any valid mask within which the adjustment parameters will be estimated. The linear transformation will be applied to the whole image.
Change the range of a single image, overwriting the input image
$ range_adjust -i g0ta00001.xmp -min 0 -max 1
Change the range of a sel file, a new extension is given to output images, ie, if input images are of the like ofg0ta0001.xmp, then the output ones will beg0ta0001.ran. The output images have a minimum and maximum around the given min and max values
$ range_adjust -i g0ta.sel -oext ran -min 0 -max 1 -noise 0.1
Change the range of a single volume, computing the transformation parameters within a binary mask that is in the file mask.vol
$ range_adjust -i myvolume.vol -o myAdjustedVolume.vol -min 0 -max 1 -mask mask.vol
--Main.AlfredoSolano - 18 Jan 2007