Learn R Programming

neuroim2 (version 0.8.5)

cgb_smooth: Apply a precomputed CGB graph to volumetric data

Description

Apply a precomputed CGB graph to volumetric data

Usage

cgb_smooth(x, graph, passes = 1L, lambda = 1)

Value

Smoothed object of the same class as x.

Arguments

x

A NeuroVec (4D) or NeuroVol (3D).

graph

Graph list returned by cgb_make_graph.

passes

Number of smoothing passes (>=1). Each pass multiplies by W; if lambda < 1 a simple diffusion blend (1 - lambda)I + lambda W is applied per pass.

lambda

Blend factor in \([0,1]\) controlling diffusion strength.