swapbyteorder¶
Syntax: swapbyteorder(image)
Swaps byte order of each pixel value. Use this command to convert images read in wrong endianness to the correct one, or before saving an image if it should be saved in non-native byte order.
This command can be used in the distributed processing mode. Use distribute command to change processing mode from local to distributed.