From: Sudipta Sinha <ssinha@cs...>  20030602 04:41:56

Hello, I am facing some trouble using FMatrixComputeNonLinear class in vxl's multiview geometry (mvl) module .. The way I am using it is illustrated in the attached code snippet. it seems FMatrixComputeNonLinear's compute(FMatrix *f) method does not modify the parameter f to the new value of F computed. so the problem i am having is that after making a call to FMatrixComputeNonLinear::compute() I have no way of getting back the new F matrix. Is this a known problem ? Do I have to modify vxl src code to fix this ? I will be grateful to know if someone else has had this problem before and how it was resolved. Thanks in advance, Sudipta  //////////////////////////////////////////////////////////////////// FMatrix fm; PairMatchSetCorner match; . . // computed a set of corresponding matches in 'match' // initial estimate of the F matrix is 'fm' //Non Linear Estimation FMatrix * init_fmatrix = new FMatrix(fm); cout << "F before non linear minimization " << *init_fmatrix <<endl; FMatrixComputeNonLinear computor(&match); computor.compute(init_fmatrix); cout << "F after non linear minimization "<< *init_fmatrix << endl; //////////////////////////////////////////////////////////////////// //In the above code snippet the value of 'init_fmatrix' does not change after the call to compute as expected ..  