- Edited
Hello!
We are using subpixel depth and I was wondering if there was any clever workaround to encode the RAW16 depth values. I've tried to pass the depth through an ImageManip node to change the frame type to GRAY8 but the device errors that this is invalid. I've also tried a custom Script node to use ImgFrame.setType()
to GRAY8, which seems to work for a few frames but then silently stops working.
Another idea was to split the RAW16 into two GRAY8 ImgFrames and then combine them on host, but I haven't figured out a way to split them yet.
I figure there must be some way to change the RAW16 ImgFrame on the device to 1+ GRAY8/NV12 ImgFrame(s) > encode it > send to host > decode > convert back to uint16, but I'm stumped.
Any theories or ideas? Thank you!