PointCloudLibrary / PointCloudLibrary/pcl

[gpu/features] It is puzzling to understand the code in pcl/gpu/features/src/fpfh.cu

Open
#4,442 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind: bug kind: question module: gpu status: stale
Dominant language
C++
Stars
11.1k
Forks
4.7k
Avg merge
4d 10h
Merged PRs (30d)
6

Description

Recently, I just dig into the source code in pcl/gpu/features/src/fpfh.cu, but it really confuses me.

For example, in line 241, I think the for loop is not necessary because each thread will use one neightbor point's SPFH with a weighting scheme to assemble the FPFH. If there is a for loop, each thread will assemble the FPFH repeatedly.

And, the normalizeFeature in line 288, line 289 and line 290 also seems strange.

Is there anyone who can help me with these?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading pcl/gpu/features/src/fpfh.cu around lines 241 and 288-290, then trace how the loop and normalizeFeature are used in the FPFH calculation. Compare the implementation with the issue's understanding and document whether these sections are correct or identify the specific behavior that needs changing.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-vision
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.