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: Siddhartha Roy
Subject: Re: Seeking help in Octave C++ API
Date: Mon, 5 Apr 2021 15:41:09 +0530

Hi,
I have installed image package but I don't know how to load the package while using C++. I mean I know how to load it in octave (by running "pkg load image") but I don't know how to load it while using C++.
"imreconstruct" is a function from the image package : this means to use imreconstruct or imregionalmax , we first need to load the image package in octave.
So, what I am telling is that to load image package in octave we need to run the command "pkg load image". but (i) what will be the equivalent way to load the image package in C++ in order to call imreconstruct or imregionalmax in C++.
& then (ii) what will be the way to call imreconstruct or imregionalmax in C++.
with regards,
Siddhartha Roy
Associate Software Engineer
Vehere Interactive Pvt. Ltd.


On Mon, Apr 5, 2021 at 2:05 PM Carlo De Falco <carlo.defalco@polimi.it> wrote:


> Il giorno 5 apr 2021, alle ore 09:06, Siddhartha Roy <roysiddhartha123@gmail.com> ha scritto:
>
> Hi,
> I have gone through that link. But unfortunately I am still unable to find the solution to calling imreconstruct function from a C++ code(my code may depend on the octave compiler but not depend on the octave script i.e. .m file).
> Please help me in this matter.
> with regards,
> Siddhartha Roy


I am not sure what you mean here ...

"imreconstruct" is a function from the image package,
to use it in your code you need the image package to be
installed and loaded and then you can invoke it the "interp.feval"
as shown in the manual.

BTW, I believe this discussion is better suited for the
help mailing list/discourse channel so please continue the thread there.

HTH,
c.


reply via email to

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