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

Add tests for opencv_3d #1

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Add tests for opencv_3d #1

wants to merge 4 commits into from

Conversation

WanliZhong
Copy link

All tests are based on the googletest framework.

RAC_FIT_PLANE:

Test the basic function ransacFitPlanes(...) of RANSAC detect planes algorithm.

  1. SinglePlaneDetectionAccuray: Test whether a single plane can be correctly identified.
  2. SinglePlaneDetectionWithNormAccuray: Test whether a single plane can be correctly identified with normal vector.
  3. MultiPlaneDetectionAccuray: Test whether multiple planes can be correctly identified.
  4. SinglePlaneDetectionWithNormAccuray: Test whether multiple planes can be correctly identified with normal vector.

SAMPLING:

Test the basic functions voxelGrid(...), randomSampling(...) and farthestPointSampling(...) of RANSAC detect planes algorithm.

  1. VoxelGridFilterSampling: Test whether the cube with side length of 1 will be simplified to a point when the grid size is 1.1.
  2. RandomSampling: Test whether a point can be selected randomly from the cube.
  3. FarthestPointSampling: Test whether the two sampling points are the farthest point pair.

TLS:

Test the basic functions totalLeastSquaresPlaneEstimate(...) of RANSAC detect planes algorithm.

  1. ThreePointsPlane: Test the plane coefficient formed by three normal points.
  2. ThreePointsLine: Test the plane coefficient formed by 3 points on a line.
  3. LinePerpendiularAxis: Test the plane coefficient formed by 3 points on a line perpendicular to the coordinate axis.
  4. PlaneInAxis: Test the plane coefficient formed by 3 points in the coordinate axis plane.

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.

1 participant