Haofun123 / procamcalib

Automatically exported from code.google.com/p/procamcalib
0 stars 0 forks source link

MATLAB Error Obtained When Calibrating #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Load Camera Calibration
2. Set Projector's Calib Images (Same Images)
3. Ray Plane Intersection
4. Calibration (Error)

What is the expected output? What do you see instead?
The expected out is for the projector to be calibrated, but I get an error 
message as soon as I hit the Calibrate button even though every other step was 
completed error free up until this point. 

What version of the product are you using? On what operating system?
V 5.0 on Windows Vista

Please provide any additional information below.

Here is the error obtained following the last printed line from the program. 

Initialization of the image distortion to zero.

??? Error using ==> minus
Matrix dimensions must agree.

Error in ==> compute_extrinsic_init at 67
Y = X_kk - (X_mean*ones(1,Np));

Error in ==> comp_ext_calib at 22
            [omckk,Tckk] = compute_extrinsic_init(x_kk,X_kk,fc,cc,kc,alpha_c);

Error in ==> go_calib_optim_iter at 293
comp_ext_calib;

Error in ==> go_calib_optim at 56
go_calib_optim_iter;

Error in ==> calibrate_projector at 45
go_calib_optim

??? Error while evaluating uicontrol Callback

Original issue reported on code.google.com by Richard....@gmail.com on 13 Jan 2011 at 5:21

GoogleCodeExporter commented 8 years ago
I apologize, moments after I started this I noticed a similar post. Wish I 
could delete it. 

Original comment by Richard....@gmail.com on 13 Jan 2011 at 5:23

GoogleCodeExporter commented 8 years ago
hi, richard
did you meet this kind of problem?

You may now run 'Calibration' to recalibrate based on this new set of images.
active_images =
     1

Aspect ratio optimized (est_aspect_ratio = 1) -> both components of fc are 
estimated
(DEFAULT).
Principal point optimized (center_optim=1) - (DEFAULT). To reject principal 
point,
set center_optim=0
Skew not optimized (est_alpha=0) - (DEFAULT)
Distortion not fully estimated (defined by the variable est_dist):
     Sixth order distortion not estimated (est_dist(5)=0) - (DEFAULT) .

Warning: View #1 ill-conditioned. This image is now set inactive.
Error: There is no active image. Run Add/Suppress images to add images

i try a lot of images but still get same results. i also follow the way step by 
step to do it. but still cant find out the error where i did wrong.

Original comment by allen-c...@hotmail.com on 17 Jan 2011 at 5:16

GoogleCodeExporter commented 8 years ago
No, sorry the only problem I receive is the matrix dimensions error. 

Original comment by Richard....@gmail.com on 18 Jan 2011 at 8:29

GoogleCodeExporter commented 8 years ago
hi,richard
That is fine. Can you attached your images to me.let me have a try to process 
on your images. 
thanks.allen

Original comment by allen-c...@hotmail.com on 19 Jan 2011 at 3:49