필터 지우기
필터 지우기

How to find the 3D coordinates of images of a cube?

조회 수: 4 (최근 30일)
Santo Adam Terranova
Santo Adam Terranova 2020년 12월 2일
답변: Ashish Mishra 2020년 12월 9일
With given images of a cube (used edge detection), how do I find the 3D coordinates that correspond to some pixels?
For example if I choose a white pixel in the first image, how do you find the corresponding pixel in the other images?
The main goal is to calculate the volume of a cube, from just 3 pictures.
  댓글 수: 2
KSSV
KSSV 2020년 12월 2일
Where is the image attached?
Santo Adam Terranova
Santo Adam Terranova 2020년 12월 2일
These images are just pictures that are taken with an smartphone camera. One picture from the front, one from the side and one from above.

댓글을 달려면 로그인하십시오.

답변 (1개)

Ashish Mishra
Ashish Mishra 2020년 12월 9일
If you mention a pixel location in front image of the cube , it will represent a line in side or top view , so better if you wish to calculate the volume of the cube you can locate your desired pixel with the use of impixelinfo function .
Further do activate the datacursormode and set the figure WindowButtonMotionFcn to get the figure's current point property.
Alternatively you can also use imtool function to get the location of a desired pixel as well as complete measurement of any edge.

카테고리

Help CenterFile Exchange에서 Import, Export, and Conversion에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by