PointCloudLibrary / PointCloudLibrary/pcl

Changing the color of some points in PCLVisualizer

Open
#3,926 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I am working on a situation where the user interactively "paints" the point cloud. That means, every frame, the color of some number of points in the cloud needs to be changed. Looking at PCLVisualizer.h, one way to achieve this seems to be to use the "UpdatePointCloud" method. But, that method takes the entire point cloud as input and hence seems inefficient. Is there a better, more efficient way to change the color of just a small number of points in the point cloud being rendered?

Thanks.

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 with PCLVisualizer.h and inspect UpdatePointCloud, focusing on how point-cloud colors are updated for rendering. Determine whether the current API supports changing only a subset of points and define a concrete efficient behavior for interactive painting; done requires an agreed implementation approach and corresponding validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-vision
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.