Rank: 122291 based on 0 downloads (last 30 days) and 0 file submitted



Personal Profile:


Watch this Author's files


Comments and Ratings by Jun
Updated File Comments Rating
13 Sep 2010 Automatic 2d Rigid Body Image Registration Automatic 2d rigid registration using improved MI kernel Author: Matthew Sochor

Hi, All,
I had the same segment fault problem. But I found after did
the following it worked:
At the bottom of the file, in function void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { },
REMOVE this line:
pTranslate = (double *)mxGetPr(prhs[2]);

We ONLY have 2 input parameters. prhs is the array of pointers to the input mxArrays. The above line read the
third parameter and caused segment faults.

After remove the line, I compiled with Open Watcom 1.9
in Matlab Version 32-bit edition.
It worked nicely.


Contact us