History of AFNI updates  

|
December 09, 2014 12:18PM
The next build of AFNI will include this feature -- it will be enabled from the popup menu attached to the top of the threshold slider -- the new 'Alpha' item.

If Alpha is turned on, then the opacity of the overlay ranges from 1 for above-threshold pixels down to the 'Floor' value -- set by the control just below 'Alpha' -- however, pixels with the threshold variable exactly equal to zero will not get the Floor value, but will get alpha=0.

In addition, the above-threshold pixel regions are outlined in black, unless the AFNI_EDGIZE_OVERLAY environment variable is set to NO -- this variable can be set interactively via the 'EditEnv' pseudo-plugin.

Note that the alpha (opacity) level at the pixel-wise level is scaled by the global opacity '1-9' control on the right side of the image viewer, so that '9' means that above-threshold pixels will be truly opaque, and '6' means they will be 6/9 opaque -- and lower opacity pixels will be have their opacity scaled down by the same factor.

Things will look better (less blocky) if you open 'Define Datamode' and set the resampling modes for the OLay and Stat to 'Li' (linear) rather than the default 'NN'.

An example image is linked to below, and hopefully shows up. Here, 'Alpha' is set to 'Linear', the 'Floor' is set to 0, the resampling modes are set to 'Li', and the effects of the black-outlining should be obvious.

Subject Author Posted

Feature request: Option to use threshold image as opacity

Isaac Schwabacher December 05, 2014 03:03PM

Re: Feature request: Option to use threshold image as opacity

Emperor Zhark December 08, 2014 09:02AM

Re: Feature request: Option to use threshold image as opacity

Isaac Schwabacher December 08, 2014 12:29PM

Re: Feature request: Option to use threshold image as opacity

Emperor Zhark December 09, 2014 12:18PM

Re: Feature request: Option to use threshold image as opacity

Emperor Zhark December 09, 2014 12:21PM

Re: Feature request: Option to use threshold image as opacity

Isaac Schwabacher December 12, 2014 04:28PM

Re: Feature request: Option to use threshold image as opacity

Isaac Schwabacher December 12, 2014 05:50PM

Re: Feature request: Option to use threshold image as opacity

Isaac Schwabacher December 09, 2014 12:53PM

Re: Feature request: Option to use threshold image as opacity

Isaac Schwabacher December 11, 2014 07:08PM

Re: Feature request: Option to use threshold image as opacity

jkeidel December 12, 2014 09:45AM

Re: Feature request: Option to use threshold image as opacity

Emperor Zhark December 12, 2014 04:48PM

Re: Feature request: Option to use threshold image as opacity

jkeidel December 15, 2014 07:17AM

Re: Feature request: Option to use threshold image as opacity

Isaac Schwabacher December 15, 2014 02:20PM

Re: Feature request: Option to use threshold image as opacity

jkeidel December 15, 2014 02:25PM

Re: Feature request: Option to use threshold image as opacity

Emperor Zhark December 15, 2014 02:59PM

Re: Feature request: Option to use threshold image as opacity

Isaac Schwabacher December 15, 2014 05:43PM