3D template matching by opencv
Asked Answered
P

4

5

I have a 3D matrix (very large, let call it L) and a 3D small one (very small, let call it S) and want to use OpenCV to find the closest pattern in L.

Does OpenCV do it for me? If yes, how I should use it? Thanks.

Pictogram answered 1/8, 2012 at 19:16 Comment(0)
C
2

No, OpenCV doesn't have anything for this.

Correggio answered 2/8, 2012 at 5:6 Comment(0)
L
4

What you need is the Point Cloud Library, which is an open source library to work with 3D data. I can tell you from my experience, that learning to use this library is very similar to learning OpenCV because many developers work for Willow Garage, the main sponsor of OpenCV.

If you go to the PCL tutorials you will find three useful sections to solve your problem:

1) finding features in your 3D point cloud, that you can later use for matching

2) 3D object recognition based on correspondence grouping

3) Point cloud registration using methods like iterative closest point, and feature matching

Leakey answered 5/10, 2012 at 17:8 Comment(0)
C
2

No, OpenCV doesn't have anything for this.

Correggio answered 2/8, 2012 at 5:6 Comment(0)
M
1

Do you have sparse pointcloud or just 3-dim matrix?

For 3-dim matrix you can use phase correlation using FFT. Good library is FFTW

Magdalen answered 22/11, 2012 at 10:51 Comment(0)
S
1

OpenCV has added some neat tools to accomplish this kind of task

Swanhildas answered 8/1, 2021 at 18:55 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.