total_variation#
- diffct.solvers.total_variation(volume, *, operator=None, voxel_spacing=1.0, eps=1e-06, reduction='mean')[source]#
Isotropic TV over every voxel, with physical forward differences.
Differences vanish at the global outer boundary. Spatially partitioned volumes exchange a single neighboring face in forward and backward; the reported scalar counts replicated ownership once and gradients stay local.