How to find the 3D coordinates of images of a cube?
3 次查看(过去 30 天)
显示 更早的评论
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.
回答(1 个)
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!