3D construction by 2D images from single camera from Structure from Motion

1 次查看(过去 30 天)
I am construction 3D sturucre of object from single camera images. I used redmi note pro 5 mobile camera ,its image size is 3000*4000. Its rgb. I took several photos of chess board pattern calibrated using calibration code of single camera from Matlab. I got Interensic parameters and and Exentrisic parameters of camera. I used camera parameters for 3D costruction. I used 3D costruction by Stucture From Motion algorithm from 2 Images used in matlab suport. When I use my images using
I1 = undistortImage(I1, cameraParams);
I2 = undistortImage(I2, cameraParams);
I am getting very much more bent images
last I am getting only few points in 3D map.
please let me know what is problem. Is there any solution for this
  2 个评论
Vinitha Patil
Vinitha Patil 2020-4-7
I think I loaded camera parameter from vision toolbox directory.
I used
load upToScaleReconstructionCameraParameters.mat
from calibration code I got camera parameters in parmas. but I don't know how to load it in 3D costruction code.If
I used
load parmas
it is giving error
please hep me out for solving this problem
i attached calibration code
images = imageDatastore('C:\Users\HP\Documents\MATLAB\vinihtha\calibra');
imageFileNames = images.Files;
[imagePoints, boardSize] = detectCheckerboardPoints(imageFileNames);
squareSize = 39; % millimeters
worldPoints = generateCheckerboardPoints(boardSize, squareSize);
I = readimage(images, 1);
imageSize = [size(I, 1), size(I, 2)];
[params, ~, estimationErrors] = estimateCameraParameters(imagePoints, worldPoints, ...
'ImageSize', imageSize);figure;
showExtrinsics(params, 'CameraCentric');
figure;
showExtrinsics(params, 'PatternCentric');
figure;
showReprojectionErrors(params);displayErrors(estimationErrors, params);

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Camera Calibration 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by