Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[depthMap] Code simplification #1130

Merged
merged 49 commits into from
Dec 15, 2021
Merged

Conversation

gregoire-dl
Copy link
Member

@gregoire-dl gregoire-dl commented Nov 15, 2021

Description

Simplification of the depthMap module code

Features list

  • Create SgmParams for all Semi-Global Matching step parameters
  • Create RefineParams for all Refine step parameters
  • Check constness
  • Reduce function call stack

@gregoire-dl gregoire-dl added refactoring wip work in progress labels Nov 15, 2021
- Add SgmParams for SemiGlobalMatchingRc Parameters
- Add RefineParams for RefineRc Parameters
- Move sgmRcTc into SemiGlobalMatchingRc
- Move refineRcTc into RefineRc
RcTc::smoothDepthMap and RcTc::filterDepthMap are unused and need methods that have already been removed
SemiGlobalMatchingParams ::getDepthSimMapFromBestIdVal is unused
IdDepthMap files are no longer generated
Propagate volDim (instead of volDimX, volDimY, volDimZ) and SgmParams
And remove useless filename functions
@gregoire-dl gregoire-dl force-pushed the dev/depthMapSimplification branch from 939fad4 to af3e09f Compare November 24, 2021 14:21
@gregoire-dl gregoire-dl added review type:pr and removed wip work in progress labels Nov 29, 2021
@fabiencastan fabiencastan added this to the 2.5.0 milestone Dec 15, 2021
@fabiencastan fabiencastan merged commit 55f4002 into develop Dec 15, 2021
@fabiencastan fabiencastan deleted the dev/depthMapSimplification branch December 15, 2021 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants