PointCloudLibrary / PointCloudLibrary/pcl

Point Picking PCLVisualizer - set manually window x,y

Open
#2,831 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

The PCLVisualizer let us pick a point using the mouse: is it possible to implement a point picking, setting the X,Y coordinates in pixel of the render window instead of using the mouse click event? I've already searched a lot, other people had the same idea but no one could realize it.

I know that the point picking with mouse click is available through VTK https://vtk.org/doc/nightly/html/classvtkPointPicker.html

Can someone suggest how to modify the function in order to set x,y and get the correspondent 3D point?

Your Environment

  • Operating System and version: Ubuntu 18.04
  • PCL Version: 1.8

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 tracing PCLVisualizer's existing mouse-based point-picking path and compare it with VTK's vtkPointPicker documentation. Determine how pixel X,Y coordinates could enter that path and how the corresponding 3D point would be returned. Done means a defined implementation for programmatic pixel-based picking rather than only mouse-click picking.

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.