dso icon indicating copy to clipboard operation
dso copied to clipboard

Some strange code, need explanation

Open ProstoNekitos opened this issue 5 years ago • 1 comments

Can you pls explain me wats going on https://github.com/JakobEngel/dso/blob/ae1d0b3d972367b0a384e587852bedcf5f414e69/src/FullSystem/FullSystem.cpp#L657

ProstoNekitos avatar Aug 27 '19 18:08 ProstoNekitos

Hi @ProstoNekitos,

before the loop the FullSystem::activatePointsMT_Reductor function is called. This function calls the optimizeImmaturePoint function foreach ImmaturePoint. However, such values ​​are returned in multiple places, e.g.,

https://github.com/JakobEngel/dso/blob/e59db70710ead30d6b47959f886665ddd9cb4f85/src/FullSystem/FullSystemOptPoint.cpp#L153

https://github.com/JakobEngel/dso/blob/e59db70710ead30d6b47959f886665ddd9cb4f85/src/FullSystem/FullSystemOptPoint.cpp#L164

https://github.com/JakobEngel/dso/blob/e59db70710ead30d6b47959f886665ddd9cb4f85/src/FullSystem/FullSystemOptPoint.cpp#L170

This is used to mark invalid points.

cheers

s3r637 avatar Oct 19 '19 10:10 s3r637