... either by detecting 2D, complaining, stopping
or, much better, in the following way:
The code anyway copies the data and so it can "blow" the 2D into a thin 3D during the copy... .and sciview's Volume would be happily displaying it (which is not the case for 2D images)
... either by detecting 2D, complaining, stopping
or, much better, in the following way:
The code anyway copies the data and so it can "blow" the 2D into a thin 3D during the copy... .and sciview's
Volumewould be happily displaying it (which is not the case for 2D images)