Bad slicing in ndimage
__ndimage<T, dim>::slice
does not return a valid image (the shared_pointer is not initialized).
Exemple:
image3d<T> u = ...;
image2d<T> v = u.slice(0);
__ndimage<T, dim>::slice
does not return a valid image (the shared_pointer is not initialized).
Exemple:
image3d<T> u = ...;
image2d<T> v = u.slice(0);