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.


image [input & output]

Data type: uint8 image, uint16 image, uint32 image, uint64 image, int8 image, int16 image, int32 image, int64 image, float32 image, complex32 image

Image to process.