This demo shows transforming the depth image to color space and transforming the color image to depth space.
The color_format needs to be KinectAzure.K4A_IMAGE_FORMAT_COLOR_BGRA32 for this to work.
Color image:
Depth image:
Depth stream in color space:
Color stream in depth space: