Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • B bob.ip.stereo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bob
  • bob.ip.stereo
  • Merge requests
  • !2

Unit test and pipeline debuging

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Vincent POLLET requested to merge unit_tests into improvements May 05, 2020
  • Overview 3
  • Commits 20
  • Pipelines 16
  • Changes 12

Hi David,

I am working on the unit test, but there are a few things I am not sure about. I thought we could have the discussion here, but let me know if it is not appropriate.

First thing, I am not sure I understand how the reproject_image function works.

projected_image = reproject_image(groundtruth, map_3d, color, camera_pair)

Here I was trying to project an image of the color camera onto the same camera, expecting that it would be an identity operation. However the output is different from the input image, it is shifted up right. Is it normal or am I understanding it wrong ? In order to project the image from the nir_left camera onto the color, would this work ?

projected_image = reproject_image(left_image, map_3d, color, camera_pair)

Second thing, what would be the best metric to measure if the generated output is close enough to the input ? Similarity measure from bob.ip.qualitymeasure looked promising, but is it enough ? What do you think ?

Thank you, Vincent

Edited Jun 18, 2020 by Vincent POLLET
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: unit_tests