Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8812313
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T03:34:37+00:00 2026-06-14T03:34:37+00:00

I have developed an application for object recognition, using the Chris Evans OpenSURF implementation

  • 0

I have developed an application for object recognition, using the Chris Evans OpenSURF implementation of SURF algorithm. I’m doing some experiments and I just realized that the algorithm does not behave well, if I launch the application through the IDE or directly with double clicking in the .exe file.
I have checked that the .exe file is the binary compiled of the code I’m launching through the IDE. It seems that there is something different maybe related with the floating point precision, when launching the app from IDE or from .EXE, because the SURF algorithm is deterministic and with the same input always must return the same output.
Some examples. The first and second columns are the number of points extracted from the images. The third column is the difference between this first and second.

EXE VS Diff

17340 17366 -26 Image001

4639 4631 8 Image002

3196 3189 7 Image003

10442 10441 1 Image004

1485 1477 8 Image005

5539 5555 -16 Image006

18102 18073 29 Image007

Anyone can tell me why the ouput is different if the algorithm and the code is exactly the same?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T03:34:38+00:00Added an answer on June 14, 2026 at 3:34 am

    This is because when we compile the code, then we have to on the optimization mode compilation.

    Optimization mode compilation is in to way whether to speed up or to short the code.
    In visual studio when you go to the project option then you see the optimization setting in the C/C++ option where you set the code maximum code optimization by following option depending on the code itself.

    1. Optimization: Maximum Speed
    2.Enable Intrinsic function : Yes
    3. Favor Size or Speed: Favor fast code

    and there is more option of optimization in COde Generation option

    Floating Point Model :Fast

    Note: 1.these options are to speed up the processing But some time unstable the code.

    1. Always build release version when testing the time.
    2. Run individual the program exe(not from the IDE like Visual Studio), because if you run it from Visual studio the debugger of visual studio is attached to it which slows the running time.
    3. Always use release version of dlls.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed an application which creates an outlook application using outlook object model.
I have developed an application using postgresql and it works well. Now I need
i have developed an application in which i fetch books using googleapibook search. I
I have developed application for OCR using tesseract Library, Application got exit during the
I have developed a application where i have a method that used managed object
I have developed a web application using Spring 3.1 In one of the module
I have developed a tab-based application using API level 7. It is running fine
I have developed application for drawing some shapes (lines mostly) , now i need
Well, I have developed a java application using several objects relationships that make the
I have developed a silverlight 3 application using Sockets connecting to a socket server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.