pub fn synthseg_network_grid(grid: &Grid, params: &SynthSegParams) -> [usize; 3]Expand description
The padded 1 mm grid SynthSeg’s network runs on for a scan on grid, in the scan’s voxel axis
order: resampled to 1 mm (unless within 0.05 mm already), centre-cropped by
SynthSegParams::crop, and padded to a multiple of 32 and at least 128 per axis, as
preprocess does. SynthSegParams::head_crop can only shrink it, so with a head crop this
is an upper bound. This is the grid the memory figures in SynthSegInference::LOW_MEMORY
refer to (e.g. 192×256×128 for a 184×256×128 1 mm scan).