2
0
1
3

May29

Optimal-RANSAC

Matlab

My main pages
Acknowledgement:Our Optimal-RANSAC was developed from the code by Peter Kovesi and is made publicly available with his consent.
The usage is explained in each file.

Description

Optimal-RANSAC finds the optimal set in almost every run and will therefore be repeatable as it yelds the same result. However it has some limitations. It works robustly for images with one plane only (hence only one model), e.g. for aerial images. It will yield the same result at least 99.95% of the times calledfor set with more than about 30 inliers. This number can be increased even further by demanding more equal results. Please see the last parameter ner (Number of Equal iteRations). If there are fewer inliers the parameter ner must be increased. When dealing with images taken on the ground of houses and similar it will sometimes yield different sets, all optimal with regard to the model it happens to find. Generally we have found that acc=1/(2 min(size(image)), and t=acc*8, produced reliable results.
One major advantage with the code is that it is able to cope with very low inlier ratios, even below 5%! It will be much faster than the theoretical speed fur such sets. Nonetheless, it will be a bit slower for high inlier ratio sets, but it will still yield the optimal set in every run.

Matlab Code

2
0
1
3

August28

Log Polar Transform using Gaussian Filtering

Matlab

My main pages
Acknowledgement:
The usage is explained in each file.

Description

The Log Polar TRansform (LPT) is not always implemented in a correct way. This implementation is based on Gaussian Sampling.

Matlab Code

  • logpolarGauss.m
  • Log Polar Transformation.
  • Sample2D.m
  • 2D Sampling using Gaussian Filtering.
  • Gauss2D.m
  • A 2D Gaussian Function.

    Example code:

    An example of how to use Sample2D.m
    This code rotates a part (depending on the chosen center and radius) of an image, using Sample2D. The size of the output image can als be set, as well as the sigma and mask size for the Gaussian filtering.
  • imrotGauss.m
  • Rotates a part of an image using Gaussian Filtering.