You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using calibration::convert_color_2d_to_depth_2d() like this:
int result = calibration.convert_color_2d_to_depth_2d(p2d, depth, &target_p2d);
but I got error logs about invalid k4a_image_t. However, in other functions the depth image is usable.
To Reproduce
Just call this function.
Expected behavior
The k4a::image should be valid.
Logs
[2024-05-30 18:00:36.458] [error] [t=21900] C:\Users\daiyin\Desktop\OrbbecSDK-K4A-Wrapper\src\image\image.c (51): k4a_image_t_get_context(). Invalid k4a_image_t 000001B37CD5DAD0
[2024-05-30 18:00:36.458] [error] [t=21900] C:\Users\daiyin\Desktop\OrbbecSDK-K4A-Wrapper\src\image\image.c (420): Invalid argument to image_get_width_pixels(). image_handle (000001B37CD5DAD0) is not a valid handle of type k4a_image_t
[2024-05-30 18:00:36.458] [error] [t=21900] C:\Users\daiyin\Desktop\OrbbecSDK-K4A-Wrapper\src\image\image.c (51): k4a_image_t_get_context(). Invalid k4a_image_t 000001B37CD5DAD0
[2024-05-30 18:00:36.458] [error] [t=21900] C:\Users\daiyin\Desktop\OrbbecSDK-K4A-Wrapper\src\image\image.c (427): Invalid argument to image_get_height_pixels(). image_handle (000001B37CD5DAD0) is not a valid handle of type k4a_image_t
[2024-05-30 18:00:36.458] [error] [t=21900] C:\Users\daiyin\Desktop\OrbbecSDK-K4A-Wrapper\src\image\image.c (51): k4a_image_t_get_context(). Invalid k4a_image_t 000001B37CD5DAD0
[2024-05-30 18:00:36.458] [error] [t=21900] C:\Users\daiyin\Desktop\OrbbecSDK-K4A-Wrapper\src\image\image.c (389): Invalid argument to image_get_buffer(). image_handle (000001B37CD5DAD0) is not a valid handle of type k4a_image_t
Screenshots
Desktop (please complete the following information):
OS with Version: Windows 10 Professional 22H2
SDK Version: 1.10.1
Firmware version: 1.1.1
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm using
calibration::convert_color_2d_to_depth_2d()
like this:int result = calibration.convert_color_2d_to_depth_2d(p2d, depth, &target_p2d);
but I got error logs about invalid
k4a_image_t
. However, in other functions thedepth
image is usable.To Reproduce
Just call this function.
Expected behavior
The
k4a::image
should be valid.Logs
Screenshots
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: