# Does anyone know what functions in kinectPV2 are similar to getRegisteredImage()?

**URL:** <https://discourse.processing.org/t/does-anyone-know-what-functions-in-kinectpv2-are-similar-to-getregisteredimage/30900>\
**Category:** Libraries\
**Created:** [June 25, 2021, 3:56am UTC](https://discourse.processing.org/t/does-anyone-know-what-functions-in-kinectpv2-are-similar-to-getregisteredimage/30900 "2021-06-25T03:56:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AbleYudada](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ableyudada/32/14190_2.png) [@AbleYudada](https://discourse.processing.org/u/AbleYudada)\
**Post date:** [June 25, 2021, 3:56am UTC](https://discourse.processing.org/t/does-anyone-know-what-functions-in-kinectpv2-are-similar-to-getregisteredimage/30900/1 "2021-06-25T03:56:07Z")

</div>

Hi everyone. I use depthtocolor but the effect is not so good!I feel that the RGB value above does not correspond well to the depth value.

---

<div class="post-metadata">

**Author:** ![th75](https://avatars.discourse-cdn.com/v4/letter/t/ebca7d/32.png) [@th75](https://discourse.processing.org/u/th75)\
**Post date:** [June 28, 2021, 12:06am UTC](https://discourse.processing.org/t/does-anyone-know-what-functions-in-kinectpv2-are-similar-to-getregisteredimage/30900/2 "2021-06-28T00:06:27Z")

</div>

Hi,

can you give some details? do you mean not correspond spatially? or the range of depth you get? or…

if it s spatially, there is an offset between the rgb image and the depth image, due to the distance between the two detector (rgb and infrared cameras)  
and (specially in v2) because the two detectors have different field of view, and need software mapping  
so it depends too on the code you have

---

<div class="post-metadata">

**Author:** ![AbleYudada](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ableyudada/32/14190_2.png) [@AbleYudada](https://discourse.processing.org/u/AbleYudada)\
**Post date:** [June 28, 2021, 4:14am UTC](https://discourse.processing.org/t/does-anyone-know-what-functions-in-kinectpv2-are-similar-to-getregisteredimage/30900/3 "2021-06-28T04:14:46Z")

</div>

Hi,Thank you for your reply!

I am currently studying the combination of 3d projection and kinect.

> **[bradenneufeld/K2P3Toolkit](https://github.com/bradenneufeld/K2P3Toolkit)**
>
> Fork of Gene Kogan's Kinect Projector Toolkit - Processing library for calibrating a Kinect v2 to a projector for aligning projections to moving bodies and surfaces - bradenneufeld/K2P3Toolkit

I am now figuring out its principle, and now I encounter the depth value corresponding to rgb, I think it should be the corresponding depth value at different depths to calibrate.
