Correct behavior for 12 bit DPX?
Posted: 2011-08-26T15:47:56-07:00
Hello,
I obtained 12bit video frame and padded big endian DPX header. ( Using DVS Atomix board and their SDK )
So, if the content is in little endian, it should be displayed incorrectly.
However, ImageMagick displayed such image visually correctly while XnView displayed corrupted image.
With 10 bit DPX case, I found out that DVS's SDK manipulated "method A" and "method B" case wrongly. I mean, they define a macro for method B, but it was actually method A.
So, I think there is a possibility that they also did mistake for 12bit little endian and big endian format.
In other words, although I used "little endian" data with big endian header, if how ImageMagick displays is right, the data is actually in "big endian" format. Then, ImageMagick is right, DVS is wrong and XnView is wrong.
I would like to provide a screenshot, but this message board doesn't allow uploading an image files. Is there a way for me to upload the images and embed here?
OK. I just put a link to my picasaweb photo album
https://picasaweb.google.com/1081215374 ... 011082602#
I obtained 12bit video frame and padded big endian DPX header. ( Using DVS Atomix board and their SDK )
So, if the content is in little endian, it should be displayed incorrectly.
However, ImageMagick displayed such image visually correctly while XnView displayed corrupted image.
With 10 bit DPX case, I found out that DVS's SDK manipulated "method A" and "method B" case wrongly. I mean, they define a macro for method B, but it was actually method A.
So, I think there is a possibility that they also did mistake for 12bit little endian and big endian format.
In other words, although I used "little endian" data with big endian header, if how ImageMagick displays is right, the data is actually in "big endian" format. Then, ImageMagick is right, DVS is wrong and XnView is wrong.
I would like to provide a screenshot, but this message board doesn't allow uploading an image files. Is there a way for me to upload the images and embed here?
OK. I just put a link to my picasaweb photo album
https://picasaweb.google.com/1081215374 ... 011082602#