PointCloudLibrary / PointCloudLibrary/pcl

How to combine pcl::visualization::PCLVisualizer and pcl::visualization::ImageViewer?

Open
#3,864 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

I want to add image near 3d model.
I got pcl::visualization::PCLVisualizer,and QVTKOpenGLWidget.
I didnt find way to add 2d image to scene in pcl(there is
pcl::visualization::ImageViewer, but then i need to set another
visualizator, and the model displayed before that - dissapear).
I found that pcl::visualization::PCLVisualizer got method
getShapeActorMap().
Questions:
-Could i add something like vtkImageSlice, whether it will be displayed?
-Could u give me some example how to emplace vtkImageSlice to ShapeActorMap?

If this approach is stupid and does not make sense, please let me know.
I will be glad to any help.

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 the PCLVisualizer and ImageViewer integration points used with QVTKOpenGLWidget, including getShapeActorMap(). Check whether vtkImageSlice is supported in the existing visualization scene and compare it with the separate ImageViewer approach. Done means documenting a working combined-view example or confirming that the requested integration is unsupported.

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
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.