Skip to content

Conversation

@OhadMeir
Copy link
Contributor

@OhadMeir OhadMeir commented Aug 14, 2023

Drawing a cross in ROI during FL calibration and ground truth calculation.
The target is composed from 4 circles, each should be placed in a different quadrant of the frame. The cross helps setting the target correctly.
ROI cross

@OhadMeir OhadMeir requested a review from Nir-Az August 14, 2023 12:47

if( draw_cross )
{
glLineStipple( 1, 0x0808 );
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0x0808 is a color?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it's a bit mask pattern.
The dashed/dotted lines in GL are called stipples, and you can set a 16 bit mask of the "fill" of each line section.
I have tried several options and this looked best.

@Nir-Az
Copy link
Collaborator

Nir-Az commented Aug 14, 2023

Drawing a cross in ROI during FL calibration and ground truth calculation. The target is composed from 4 circles, each should be placed in a different quadrant of the frame. The cross helps setting the target correctly.

Can you add a screenshot in the description?

@OhadMeir
Copy link
Contributor Author

Can you add a screenshot in the description?

Done. Didn't know pictures can be added :-)

@Nir-Az Nir-Az merged commit 84c49ac into realsenseai:development Aug 14, 2023
OhadMeir pushed a commit to OhadMeir/librealsense that referenced this pull request Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants