3D object construction from four 2d images with 4 points.

1 view (last 30 days)
I'm currently trying to find a way to create a 3d mesh from four views of a 2d image. The top down, front and both sides. There are four points in each image that can be found in all four images. Unfortunately this is well beyond my experience with matlab and so far all I've managed to figure out is how to open the image and find the pixel locations. Any suggestions would be appreciated. I'm not certain if it'll help but in case I wasn't clear enough here is a link to the image I'm working with.
Here is the bit of code I have so far as well.
%Interface for the user to instruct matlab on where to find the images.
p1=input('Enter the location and name of the top hand image.');
%Opens up the actual images in order to be processes.
op1=imread('p1');
figure(1),imshow(op1);
title('Please select the four beeds on the top view.')
[u1,u2]=ginput(4);
title('Please select the four beeds on the left side image in the same order.')
[l1,l2]=ginput(4);
title('Please select the four beeds on the right side image in the same order.')
[r1,r2]=ginput(4);
title('Please select the four beeds on the top mirror view in the same order')
[t1,t2]=ginput(4);
  1 Comment
Rob
Rob on 3 May 2014
Hi Jonathan, I'm trying to do a similar thing.
Not sure if you ever got anywhere with this.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!