octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Seeking help in Octave C++ API


From: Carnë Draug
Subject: Re: Seeking help in Octave C++ API
Date: Thu, 1 Apr 2021 16:50:09 +0100

On Thu, 1 Apr 2021 at 16:26, Siddhartha Roy <roysiddhartha123@gmail.com> wrote:
> Hi Sir/Madam,
>
> I am trying to call the octave function
> "imregionalmax" in a C++ code. I have seen that, how to call "gcd"
> using fevel(). In that same way I am trying to call imregionalmax
> function but I am unable to do that. Can anyone please help me how
> to call "imregionalmax" function from a C++ code using Octave API. I
> am using ubuntu 18.04 and the version of octave is 4.2.2.
>
> Please provide a demo code if possible which will work.
> Your response will be highly appreciated.
> Thanking You.
>
> with regards,
> Siddhartha Roy
> Associate Software Engineer
> Vehere Interactive Pvt. Ltd.

Hi Sidhartha

Note that while it's doable to call Octave functions in a C++ program,
that will make your program dependent on the Octave libraries.  This
means that your program will bound by Octave's GPL.

I'm pointing this out because Anurag Shivam Prasad, also from Vehere,
has recently contacted me about a C++ implementation of imregionalmax.
One of the requirements was that it wouldn't be dependent on Octave so
that it could later be commercialised.  The route you're trying, i.e.,
using Octave's C++ API, will not work if that goal remains.

Best regards
David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]