How to obtain the transformation function which aligns a depth image to a color image?

MH 10 Reputation points
2024-04-05T12:51:05.8166667+00:00

Hi,

I have depth and RGB images, acquired with an Azure kinect, I want to overlay both images above each other, so I want to transform the depth image to RGB image. I read many discussions about this issue, but it seems I am missing something trivial because I cannot even obtain the transformation k4a_transformation_depth_image_to_color_camera() to get started.

I am a Civil engineer so I am not familiar with coding, now I am learning C++ but I am just know basic stuff so far. Providing me with any insight on this issue would be appreciated.

Azure Kinect DK
Azure Kinect DK
A Microsoft developer kit and peripheral device with advanced artificial intelligence sensors for sophisticated computer vision and speech models.
294 questions
0 comments No comments
{count} votes

Accepted answer
  1. LeelaRajeshSayana-MSFT 15,801 Reputation points Microsoft Employee
    2024-04-15T16:41:14.6266667+00:00

    @MH I just wanted to check if you have looked into the GitHub samples provided on the Azure Kinect Transformation method. Please also take a look into the Parameters section of the Use image transformation article where it states the parameters that needs to be passed to this method and the format in which each of these parameters are expected to be in.

    Please find the implementation of this method provided in the following GitHub transformation sample for reference.

    Hope this helps! If you still face any issues implementing this function, kindly share any additional error messages or warnings you may see while trying to test the method.


    If the response helped, please do click Accept Answer and Yes for the answer provided. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.