Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project!

## Re: [Vxl-users] why the Monte_Carlo don't exit

 Re: [Vxl-users] why the Monte_Carlo don't exit From: Peter.V - 2002-03-05 16:30:30 ```> 00075 if(points[j].get_y() /points[j].get_w() >= row_check_lower (etc) Thanks for the bug fix. I've corrected the CVS version of file Probabilities.cxx -- Peter. ```

 Re: [Vxl-users] why the Monte_Carlo don't exit From: Peter.V - 2002-03-05 16:30:30 ```> 00075 if(points[j].get_y() /points[j].get_w() >= row_check_lower (etc) Thanks for the bug fix. I've corrected the CVS version of file Probabilities.cxx -- Peter. ```
 Re: [Vxl-users] why the Monte_Carlo don't exit From: Nick Hurlburt - 2002-03-05 23:48:18 ```--- Peter.Vanroose@... wrote: > > 00075 if(points[j].get_y() /points[j].get_w() >= row_check_lower > (etc) > > Thanks for the bug fix. I've corrected the CVS version of file > Probabilities.cxx Are we all looking at the same Probability.cxx? The newest version in the CVS, 1.6, has: // Select from the first list for(int j = 0; j < index.size(); j++) { double x = points[j].get_x(), y = points[j].get_y(), w = points[j].get_w(); if (w < 0) { x *= -1; y *= -1; w *= -1; } if(y >= row_check_lower*w && y < row_check_upper*w && x >= col_check_lower*w && x < col_check_upper*w) list.push_back(index[j]); } This is not the same as what was suggested, and it still doesn't work. Is the corrected version not up on CVS yet? Nick __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ ```
 Re: [Vxl-users] why the Monte_Carlo don't exit From: Peter Vanroose - 2002-03-06 07:27:18 ```> double x = points[j].get_x(), y = points[j].get_y(), w = points[j].get_w(); > if (w < 0) { x *= -1; y *= -1; w *= -1; } > if(y >= row_check_lower*w && y < row_check_upper*w && > x >= col_check_lower*w && x < col_check_upper*w) > list.push_back(index[j]); > > This is not the same as what was suggested, and it still doesn't work. It is equivalent to what is suggested, but avoids division (potentially by 0). Peter. ```
 Re: [Vxl-users] why the Monte_Carlo don't exit From: Nick Hurlburt - 2002-03-06 14:52:36 ```> > This is not the same as what was suggested, and it still doesn't work. > > It is equivalent to what is suggested, but avoids division (potentially by > 0). Alright. It still stalls forever on my machine, but that might just be because RANSAC calls it with an inappropriate bucket setting and without well-enough dispersed points. My own cheap hack for Probability.cxx (which I've been meaning to fix "someday") works, so I know it's the standard Probability file that's sticking. Someone should get the two files to play nicer with each other, maybe me if I get around to it. Nick __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ ```