Git Product home page Git Product logo

javasurf's People

Contributors

mitemitreski avatar

Watchers

 avatar

javasurf's Issues

Unrelevant features are detected

On any image I apply the library to, features appear in the lower right corner 
in a stationnary position

What steps will reproduce the problem?
1. take a pure white 512*512 png image
2.  threshold = 2000;
    balanceValue = 0.9;
    octaves = 8;
3. Run the algorithm/test suite against this image

The lower right corner contains irrelevant features, they are present even on 
non white images. (And if there is pattern, they don't move relative to the 
image even if the pattern rotates). This makes it very annoying when using the 
library to match and overlay 2 similar images.

The number of those detections increase with the number of octaves.




What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 25 Jun 2010 at 8:00

Attachments:

Assymetrical convolution

First notice that when computing IntegralSquare, point A is excluded and point 
D is included (you got sum(pixel) for x>xA && x<=xD && y>yA && y<=yD)

This is fine because point coordinates are computed using (int)(x-scale) for 
point A and (int)(x+scale) for point D resulting in truncation (except if scale 
if an integer value).

Looking at HAARConvolution.makeConvolutionDx for example, we can see that the 
width of the positive wavelet is 1 pixel greater than the width of the negative 
one. This is because the positive wavelet include the pixels values for the 
center of the filter. This is not good as the filter there is 0.

Suggest to modify code as follow:


  return (  integralImage.getIntegralSquare(x1, y1, x2-1, y3) 
          - integralImage.getIntegralSquare(x2, y1, x3, y3));

Same comment for other methods in HARRConvolution and GAUSSConvolution.

Original issue reported on code.google.com by [email protected] on 1 May 2011 at 10:24

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.