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 8429157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T05:15:25+00:00 2026-06-10T05:15:25+00:00

I am using opensource code prepared by Julien Pilet et al. under the title

  • 0

I am using opensource code prepared by Julien Pilet et al. under the title “Making Background Subtraction Robust to Sudden Illumination Changes”. I didn’t change anything, but just run it, then it gives me the following error:

error C3861: 'finite':identifier not found

I checked and this error occurred in the “imstat.h” file in the following lines:

if (!finite(det) || det<1e-5) {
        sigma_computed=false;
        n=0;
        one_over_sq_det= 1;
        memset(sigma,0,sizeof(sigma));
        sigma[0][0]=1;
        sigma[1][1]=1;
        sigma[2][2]=1;
        two_ln_sq_det = 2;
    } else {
        one_over_sq_det = 1/sqrtf(det);
        assert(finite(one_over_sq_det));
        two_ln_sq_det = 2*log(sqrtf(det));
        sigma_computed=true;
        n = new_n;
    }

The “imstat.h” file was included by the code in “emvisi2.h” file. Could someone help me understand this error? Seems like there is something wrong in some kind of class definition, but I couldn’t find it. Thank you.

  • 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-10T05:15:26+00:00Added an answer on June 10, 2026 at 5:15 am

    finite() is an obsolete BSD library function which you might find in some, but not all, versions of <cmath>.

    If you have a C++11 version of <cmath> or a C99 version of <math.h>, then an equivalent isfinite() should be available. This might not be available in older versions of the standard library.

    Microsoft also seem to declare an equivalent non-standard _finite() function in <float.h>.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a project that is using code from an OpenSource project. One
I'm making a web application fuzzer and for my proxy server, I'm using opensource
I'm debugging some opensource code on a 64-bit Solaris system, using GCC, that converts
Basically I am using some open source code called OrderedDictionary that is derived from
I am using svn to download the source code to an open source project.
I am working on an opensource app that using SubSonic 2.0.3 I need to
I'm using the Kundera tutorial at https://github.com/impetus-opensource/Kundera/wiki/Getting-Started-in-5-minutes . Eclipse does not find it when
Opensource, free XF.Network analogs (product for creating High Performance TCP/IP Server using C#.NET )
Im using opensource library called wxFreeChart to draw some XY charts. In example there
Currently I am using FOP to generate a pdf from java code and an

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.