I have a color image, corresponding point cloud captured by oak-D camera(see the image below) and i want to get the information of pixels in the color image and corresponding point cloud value in point cloud.
how can i get this information? for instance, i have a pixel value (200,250) in the color image and how to know the corresponding point value in the point cloud?
any help would be appreciated.
how to match rgb image pixels with corresponding pointcloud points
676 Views Asked by mannem At
1
There are 1 best solutions below
Related Questions in IMAGE-PROCESSING
- RuntimeError: Given groups=1, weight of size [64, 1, 3, 3], expected input[1, 3, 416, 416] to have 1 channels, but got 3 channels instead
- Unable to open shape_predictor_68_face_landmarks.dat
- When transferring mri t1 to mni152 spaces, the dimensions change and lose information, is that not a problem?
- How to detect the exact boundary of a Sudoku using OpenCV when there are multiple external boundaries?
- Nuke BlinkScript: Why does the convolution kernel scale down the image?
- CV2 Python - image merging based on homography matrix - error in mergeing
- Python pillow library text align center
- Implementing Image Processing for Dimension Measurement in Arduino-based Packaging System
- AI tools for generating clean clipping paths
- efficient way to remove a background from an image in python
- I want to segment an MRI image of the spine and obtain only the vertebrae using Matlab
- Find Gradient Magnitude using skimage.feature.hog module
- AR Image Display Issue
- Using python OpenCV to crop an image based on reference marks
- Python: Generating an image using Multiprocessing freezes
Related Questions in COMPUTER-VISION
- Trained ML model with the camera module is not giving predictions
- what's the difference between "nn layout" and "nt layout"
- Sketch Guided Text to Image Generation
- Pneumonia detection, using transfer learning
- Search for an icon on an image OpenCV
- DJI Tello won't follow me
- Unable to open shape_predictor_68_face_landmarks.dat
- Line Segmentation Problem: How to detect lines and draw bounding box of that line on handwritten letters Using CV2
- The regression problem of predicting multiple outputs from two-dimensional inputs
- Detecting Circles and Ellipses from Point Arrays in Java
- How to generate a VPI warpmap for polynomial distortion correction?
- Finding 3D camera location from a known 2D symbol inside an image
- How can I overlay a 3D model onto a detected object in real-time using computer vision?
- CUDA driver initialization failed, you might not have a CUDA gpu
- Implementing Image Processing for Dimension Measurement in Arduino-based Packaging System
Related Questions in POINT-CLOUD-LIBRARY
- Segmentation of a building (Pointcloud)
- How to compare 2 point-clouds?
- Given one set of 2D points as groud truth, how to match it with one observed set
- PCLVisualizer flashing when using .spinOnce()
- Filtering the point cloud coming from multiple lidars
- Why are the eigen vectors not calculated as expected for cube-like point clouds with the Eigen library?
- "[rosrun] Couldn't find executable named example below /home/USERNAME/catkin_ws/src/my_pcl_tutorial" Trying to get PCL working with ROS
- error: no matching function for call to -- ROS (C++)
- SOLVED No matching function for call to ‘pcl::VoxelGrid<pcl::PointXYZ>::VoxelGrid(bool) for using getRemovedIndices()
- vuforia area target point clound
- Incorrect reconstruction when moving a pointcloud using pcl::Poisson
- PointCloud upsampling
- How to make a rectangle by aligning the cloud of points obtained with four lidars?
- What's the principle of uniform_sampling in PCL?
- Volume Calculation on PointCloud
Related Questions in LUXONIS
- numpy array slow with large list
- Luxonis OAK-D S2 PoE: how do I use the SDK and flash a standalone application?
- Roboflow - Deploy to Luxonis OAK code provided by Roboflow does not work
- how to match rgb image pixels with corresponding pointcloud points
- How do I convert np.uint8 into a format usable by PIL.Image?
- Capture single frame from Luxonis OAK-D (DepthAi)
- Measure size of object by depth stereo camera with DepthAI
- How to capture and save single RGB photo with OAK-D Camera using DepthAI API?
- First tensorflow object detection model - from image to .pb (finally to myriad X blob for Oak-D) - rookie questions
- Failure to launch - shells and incomplete commands - in VScode
- Failure to connect to Luxonis Oak-D through Docker
- How to apply a model from the Model Zoo which has bigger input size than the OpenCV OAK-D's resolution(FHD 1920x1080)
- Issue with DepthAI demo
- openvino could not compile blob from frozen tensorflow pb, xml or bin model
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It sounds like you want to project a 2D image to a 3D point cloud using the computed disparity map. To do this you will also need to know about your camera intrinsics. Since you are using the oak-D, you should be able to get everything you need with the following piece of code.
Once you have all you camera parameters, you should be able to use opencv to approach this.
First you will need to construct the Q matrix (or rectified transformation matrix).
You will need to provide
Here's a coded example:
Next you will need to reproject the image to 3D, using the known disparity map and the Q matrix. The operation is illustrated below, but opencv makes this much easier.
This will give you an array of 3D points. This array specifically has the shape: (rows, columns, 3), where the 3 corresponds the (x,y,z) coordinate of the point cloud. Now you can use the a pixel location to index into xyz and find it's corresponding (x, y, z) point.
See the docs for more details