diablodale / dp.kinect2

Kinect v2 (XBox One) plugin for Cycling '74 Max
21 stars 4 forks source link

Align color to depth creates a 256 x 424 image #4

Closed gavspav closed 9 years ago

gavspav commented 9 years ago

I have a Desktop PC running 8.1 64 bit. GTX 860, i5 4690K, 8GB Ram, Z87X D3H Max 6.1.8 32bit running the month demo

Align color to depth causes the colormap to spit out a 256x424 image (according to jit.fpsgui). Is this correct? I was expecting 512x424

Does the align feature use the sdk to do coordinate mapping? It is a shame that the resolution of the color image needs to be compromised.

gavspav commented 9 years ago

Hmm I've just realised this is only for UyVy images and I'm guessing it all gets upsampled on the gpu?

If so then please delete.

diablodale commented 9 years ago

This is expected. It depends on what @colormap value you choose. Choosing RGB outputs a 512x424 matrix representing 512x424 pixels. Choosing UYUV outputs a 256x424 matrix representing 512x424 pixels. UYVY is a compressed image format which represents the column resolution with half the data. Jitter Tutorial 49 can walk you though it.

diablodale commented 8 years ago

In the v1.1 beta of dp.kinect2, I have added the ability to @align=2 depth->color. When using this, the color image will continue to be HD and the other aligned matrices will be extrapolated upwards to have matching resolutions. You can download the beta at the usual location http://hidale.com/shop/dp-kinect2/