Today I decided to add support for explicit big endian images to cornerstone. Sometimes I run into images that don't render properly and wonder if this is due to a byte swap issue. To help me remember what a byte swapping issue looks like, I figured I would take screen captures with and without the bytes swapped. Here is the image displayed properly:
And with the bytes not properly swapped:
That is interesting. But this problem could happen for OW data only or what ? For OB, the pixel data will not have any change (i think). Or is it happening only due to a completely different interpretation of imaging parameters when the endian-ness change.
ReplyDeleteIt will only happen on OW data
ReplyDelete