Skip to content
This repository was archived by the owner on Aug 22, 2024. It is now read-only.

Fixes #1420: Correct wrong matrix transformation logic #1877

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/green_screen/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ int main(int argc, char **argv)
// We now have the secondary depth to secondary color transform. We also have the transformation from the
// secondary color perspective to the main color perspective from the calibration earlier. Now let's compose the
// depth secondary -> color secondary, color secondary -> color main into depth secondary -> color main
Transformation tr_secondary_depth_to_main_color = tr_secondary_depth_to_secondary_color.compose_with(
tr_secondary_color_to_main_color);
Transformation tr_secondary_depth_to_main_color = tr_secondary_color_to_main_color.compose_with(
tr_secondary_depth_to_secondary_color);

// Construct a new calibration object to transform from the secondary depth camera to the main color camera
k4a::calibration secondary_depth_to_main_color_cal =
Expand Down